Acute intermittent porphyria (AIP; OMIM#176000) is a type of hepatic porphyria caused by abnormal hydroxymethylbilane synthase (HMBS; EC 2.5.1.61), also known as porphyrinogen deaminase (PBGD) [4]. Here, HMBS is linked to autoimmune pancreatitis.