Acute intermittent porphyria (AIP) is an autosomal dominant inborn error of metabolism that results from the half-normal activity of the third enzyme in the heme biosynthetic pathway, hydroxymethylbilane synthase (HMB-synthase). AIP is an ecogenetic condition, with life-threatening acute attacks precipitated by various factors including drugs, alcohol, fasting, and certain hormones. Biochemical diagnosis is problematic and the identification of mutations in the HMB-synthase gene provides accurate detection of presymptomatic heterozygotes, permitting avoidance of the acute precipitating factors. Two HMB-synthase isozymes are encoded by the HMB-synthase gene: one unique to erythroid cells and the other a housekeeping isozyme present in all cells. These two isozymes arise from a single gene by alternative splicing. The recent isolation of the cDNAs and entire genomic sequence encoding the HMB-synthase isozymes has facilitated the detection of diagnostically useful intragenic polymorphisms and disease-causing mutations. Of the 36 mutations identified to date, most caused the classic form of AIP. These mutations included small deletions and insertions, point mutations and RNA splice junction alterations and resulted in the half-normal activity of both the erythroid-specific and housekeeping isozymes. Most AIP mutations were private; however, certain mutations were frequently found in Dutch (R116W) and Swedish (W198X) AIP families. A variant form of AIP, in which patients have normal erythroid activity, but half-normal activity of the housekeeping isozyme, resulted from two mutations at the exon 1/intron 1 boundary, each altering splicing of the hepatic-specific transcript. In addition, 10 polymorphisms in the HMB-synthase gene have been identified that are useful for the diagnosis of presymptomatic AIP heterozygotes in families whose specific mutations have not been determined.