Our study provides new evidence for sex differences in the association between AIP and serum α-klotho levels. Here, KL is linked to autoimmune pancreatitis.