In the inherited metabolic disorder acute intermittent porphyria (AIP), high sugar intake prevents porphyric attacks due to the glucose effect and the following high insulin levels that may lower AIP disease activity. Here, INS is linked to autoimmune pancreatitis.