After adjusting for auxiliary variables, AIP was positively correlated with prediabetes and diabetes (odds ratio [OR]: 3.447, 95% confidence interval [CI]: 1.829–6.497). This evidence concerns the gene AIP and diabetes mellitus.