Machine learning-based methods indicated that RA combined with MDD is likely related to six diagnostic markers: AURKA, BTN3A2, CXCL10, ERAP2, MARCO, and PLA2G7. CXCL10 and MARCO are closely associated with diverse immune cells in RA. Here, BTN3A2 is linked to rheumatoid arthritis.