Through bioinformatic analysis, we identified NETs-related diagnostic genes (ITIH3, FGF1, NRCAM, AGER, CACNA1C) in T2DM, and explored their mechanism of action from different aspects, providing new ideas for the studies related to diagnosis and treatment of T2DM. The gene discussed is AGER; the disease is type 2 diabetes mellitus.