An autosomal dominant porphyria that is due to a deficiency of hydroxymethylbilane synthase in the liver, the third enzyme in the 8-enzyme biosynthetic pathway of heme. Clinical features are recurrent and life-threatening neurologic disturbances, abdominal pain, and elevated level of aminolevulinic acid and porphobilinogen in the urine.