Oppositely, protective factors such as IgG (OR:0.956, 95% CI: 0.915–0.999, p<0.05), IgM (OR:0.739, 95% CI: 0.549–0.995, p<0.05), ALB (OR:0.9, 95% CI: 0.863–0.939, p<0.001), A/G ratio (OR:0.433, 95% CI: 0.236–0.794, p<0.01), the levels of Th2 (OR:0.913, 95% CI: 0.873–0.956, p<0.001) and Treg cells (OR:0.974, 95% CI: 0.962–0.987, p<0.001) reduced the probability of combined T2D in patients with RA. This evidence concerns the gene CD40LG and rheumatoid arthritis.