In summary, we found that IO status was associated with increased FPG and aggravated HOMAB, and two IO-related genes (TFRC and SLC11A2) might induce the occurrence of T2DM by influencing insulin secretion, which provides potential therapeutic targets for T2DM patients. Here, TFRC is linked to type 2 diabetes mellitus.