In two-step mediation MR, we explored 54 immune cell traits associated with DM, among these, only the Resting CD4 + regulatory T cell absolute count emerged as a potential mediator influencing the risk of AA, accounting for 10.64% of the effect. This evidence concerns the gene CD4 and diabetes mellitus.