AIP is caused by a mutation in the HMBS gene (also known as PBGD) and is involved in the synthesis of porphyrinogen in the porphyrin biosynthesis pathway, with a prevalence rate of 50 cases per 1 million people [2–4]. Here, HMBS is linked to autoimmune pancreatitis.