Erythropoietic protoporphyria (EPP) and X-linked protoporphyria (XLP) are inborn errors of heme biosynthesis with the same phenotype but resulting from autosomal recessive loss-of-function mutations in the ferrochelatase (FECH) gene and gain-of-function mutations in the X-linked erythroid-specific 5-aminolevulinate synthase (ALAS2) gene, respectively. The EPP phenotype is characterized by acute, painful, cutaneous photosensitivity and elevated erythrocyte protoporphyrin levels. We report the FECH and ALAS2 mutations in 155 unrelated North American patients with the EPP phenotype. FECH sequencing and dosage analyses identified 140 patients with EPP: 134 with one loss-of-function allele and the common IVS3-48T>C low expression allele, three with two loss-of-function mutations and three with one loss-of-function mutation and two low expression alleles. There were 48 previously reported and 23 novel FECH mutations. The remaining 15 probands had ALAS2 gain-of-function mutations causing XLP: 13 with the previously reported deletion, c.1706_1709delAGTG, and two with novel mutations, c.1734delG and c.1642C>T(p.Q548X). Notably, XLP represented ~10% of EPP phenotype patients in North America, two to five times more than in Western Europe. XLP males had twofold higher erythrocyte protoporphyrin levels than EPP patients, predisposing to more severe photosensitivity and liver disease. Identification of XLP patients permits accurate diagnosis and counseling of at-risk relatives and asymptomatic heterozygotes.