After adjusting for age and sex, logistic regression analysis showed that RF_IgA positive, RF_IgG positive, and RF_IgM positive were not independent risk factors for DM in RA patients (P > 0.05). Here, CD40LG is linked to diabetes mellitus.