AIP is the most common and severe form of acute porphyria with hepatic implications, and results from a deficiency of about 50% in the hydroxymethylbilane synthase (HMBS) gene, which encodes the third enzyme of the heme pathway, referred to as porphobilinogen deaminase (PBGD). This evidence concerns the gene HMBS and autoimmune pancreatitis.