In our study, the levels of AIP in the T2D group were higher than those in the controls, and AIP was independently associated with the serum FGF19 levels in T2D patients. The gene discussed is FGF19; the disease is autoimmune pancreatitis.