In this study, the relationship between T2DM and NETs-RGs was discussed through bioinformatics analysis, and five diagnostic genes related to NETs were identified in T2DM, including ITIH3, FGF1, NRCAM, AGER, and CACNA1C. Here, AGER is linked to type 2 diabetes mellitus.