Results: This analysis identified several codifferentially expressed genes (Co-DEGs) for IGT and T2DM, including CFB, TSHR, VNN2, APOC1, CLDN2, SLPI, LCN2, CXCL17, FAIM2, and REG3A. Validation of these genes and the determination of ROC curves were performed using the GSE76895 dataset. This evidence concerns the gene FAIM2 and type 2 diabetes mellitus.