In this study, using bioinformatics and machine learning algorithms, PDK1, XBP1 and ACACB, which were related to fatty acid metabolic pathway, were identified as three Hub genes associated with immune cell infiltration into the RA synovial tissue and exhibited high diagnostic efficiency. Here, XBP1 is linked to rheumatoid arthritis.