Acute intermittent porphyria (AIP) is the most common type of acute porphyria, caused by reduced porphobilinogen deaminase activity, leading to accumulations of neurotoxic compounds. The gene discussed is HMBS; the disease is autoimmune pancreatitis.