Ten SLC24A2-related genes (RRP36, RPF1, GRWD1, FBL, EXOSC5, BCCIP, UTP14A, TWISTNB, TBL3, and SKIV2L) were identified as hub genes, based on which the LASSO model accurately predicts the occurrence of T2D (AUC = 0.841). This evidence concerns the gene FBL and type 2 diabetes mellitus.