Subgroup analysis revealed that the association between the AIP and T2DM decreased with increasing age (interaction P < 0.001). This evidence concerns the gene AIP and type 2 diabetes mellitus.