Skin

A 36 year old male patient presents with patchy loss of hair on scalp, eyebrows and beard. He also gives a history of rapid greying of hair in a few areas. The likely diagnosis is: