dermatitis herpetiformis ( dh ) is an autoimmune skin disorder frequently associated with gastrointestinal disease characterized by intensely itchy , chronic papulo - vesicles , distributed symmetrically on extensor surfaces . it has also been found associated with a number of other autoimmune illnesses including autoimmune thyroid disease . pituitary mass mimicking as pituitary macroadenoma has also been reported in cases of primary hypothyroidism.[36 ] we report here a case which had a combination of primary hypothyroidism , pituitary mass mimicking macroadenoma and dh . a 15-year - old girl , resident of meerut , uttar pradesh , presented with complaints of diminution of vision of left eye since may 2008 and insidious onset , throbbing , progressively increasing headache on the left side since july 2008 . computed tomography of brain in august 2008 revealed a pituitary mass reported as microadenoma . with the advice to get a magnetic resonance imaging ( mri ) for the same , she reported to the neurosurgeon in a tertiary care super - specialty hospital in new delhi in september 2008 . referral to ophthalmologist revealed distant vision of left eye of 6/60 with pale optic disc suggestive of optic atrophy . hormonal assay revealed level of t3 of 0.3 ng / ml ( n 0.52 - 1.85 ) , t4 3.0 g / dl ( n 4.82 - 11.60 ) and thyroid stimulating hormone ( tsh ) > 100 lu / ml ( n 0.39 - 6.16 ) suggestive of hypothyroidism . fsh ( 3.5 u / l ) , lh ( 1.2 u / l ) , gh ( o.1 ng / ml ) and cortisol ( 9.3 mcg / dl ) levels were found to be normal . patient was diagnosed as a case of primary hypothyroidism and started on tablet thyroxin 150 g / day . mri of sella revealed well - defined , uniformly enhancing enlargement of the anterior lobe of pituitary gland . intravenous contrast showed heterogeneous enhancement , the lesion measured 13 ( cc )  7 ( ml )  6 ( ap ) mm . laterally the lesion was encroaching the duramater [ figure 1 ] , opined as pituitary macroadenoma . in the meantime patient also had two episodes of projectile vomiting , hence the endocrinologist opined that ideally the patient should be made euthyroid but in view of the signs of raised intracranial tension she can be taken up for surgery . the intravenous contrast view below showed heterogeneous enhancement with size of the pituitary being 13 ( cc )  7 ( ml )  6 ( ap ) mm the child was again reviewed by the neurosurgeon in october and advised admission for transcranial excision of the pituitary adenoma . ten days prior to her date of surgery , she developed mildly itchy vesicobullous rash on left side of her neck [ figure 2 ] , gradually spread to involve scalp , face , trunk and limbs with sparing of palms and soles . tense vesico - bullous rash on erythematous background on left side of the neck in addition , she had attained her menarche at the age of 13 . the periods were regular though painful initially , became irregular since september 2007 and subsequently she developed secondary amenorrhea since january 2008 . dermatological examination revealed tense vesicles and bullae over neck , face , trunk and extremities . few of the lesions had ruptured spontaneously to form superficial erosions , crusted lesions and few healed with hypopigmentation . histopathology of the bulla revealed split at dermoepidermal junction with collection of neutrophils in the cavity [ figure 3 ] . immunoflourescence revealed deposits of iga antibodies in granular pattern at the dermoepidermal junction with accentuation at dermal papilla , consistent with the diagnosis of dh . histopathology of bullous lesion showing split at dermoepidermal junction with collection of neutrophils in the bulla fluid ( h and e stain , 400 ) patient was started on tab prednisolone 10 mg thrice daily for 4 weeks and then gradually tapered over next 2 weeks . tablet dapsone 100 mg daily was added after 2 weeks of steroids and she was continuing on tab thyroxin . by mid february 2009 repeat mri scans in mid february revealed total regression of pituitary mass [ figure 5 ] . t3 ( 0.6 ng / ml ) and t4 ( 5.0 g / dl ) levels had normalized , although tsh levels were still high ( 60  iu / ml ) requiring adjustment of dose of thyroxin by the endocrinologist . clearance of skin rash after treatment mri scans of the brain showing regression of pituitary mass idiopathic hypothyroidism , triggered by autoimmunity , most commonly affects women in the age group of 30 - 70 . the trigger or the initiating agent of this autoimmune process is not known . in our case the primary event was primary hypothyroidism with its onset at the age of probably 14 years , when she had started having her menstrual irregularity in september 2007 . it was detected only after cd8-mediated damage to the thyroid tissue had destroyed substantial amount of the tissue and it was not able to produce adequate quantities of t3 and t4 hormones . this was inspite of increase stimulation of hypothalamus and anterior lobe of the pituitary gland producing high levels of tsh through the feedback mechanism . increased secretion of thyrotropin - releasing hormone ( trh ) by the hypothalamus led to hyperplasia of the anterior lobe of the pituitary gland to such an extent that it mimicked a macroadenoma . this pituitary mass because of its pressure affect on the optic chiasma causing impaired blood supply led to optic atrophy on the left side , which gave the presenting symptom of diminished vision . later as the pituitary mass kept increasing in size the symptoms of headache and projectile vomiting appeared . primary hypothyroidism was detected on routine screening in a case of pituitary macroadenoma by the endocrinologist . the child was started on thyroxin therapy and endocrinologist gave a go ahead to the neurosurgeon to remove the macroadenoma in view of the signs of increased intracranial tension . the surgery was planned twice and she was lucky both times . on the first occasion she did not report for surgery due to domestic compulsions and second time when she developed bullous rash just prior to the surgery requiring dermatological referral . although the patient was put on thyroxin replacement therapy , the autoimmune process was continuing as was manifested by the appearance of rash and demonstration of iga autoantibodies in the lesions of dh . autoimmune thyroiditis is a cd8 t - cell - mediated disease and these stimulated t - cells may as well be stimulating b - cells to secrete other autoantibodies including the ones responsible for dh . with the introduction of corticosteroids the autoimmune process was brought under control by decreasing cd8 cell - mediated damage to the thyroid tissueand decrease in autoantibodies by decreased b - cell stimulation , thus both autoimmune thyroiditis and dh improved . this would have led to some increase in endogenous production of thyroid hormones from the salvaged thyroid acini and along with exogenous thyroxin led to decrease levels of trh from the hypothalamus causing regression of pituitary mass . thus an unnecessary surgery could be avoided . the presence of pituitary mass mimicking macroadenoma in a case of primary hypothyroidism responding to thyroxin therapy has been reported earlier.[37 ] our case presented with pituitary mass , was found to have primary hypothyroidism and later developed dh , successfully treated with thyroxin , corticosteroids and dapsone .