Using the Mendelian randomization analysis, our study provided evidence for a causal relationship between serum CD28 levels and DKD with T2DM in the Chinese population. Here, CD28 is linked to type 2 diabetes mellitus.