BackgroundAlthough increasing evidence has reported an increased risk of atherosclerosis (AS) in rheumatoid arthritis (RA), the communal molecular mechanism of this phenomenon is still far from being fully elucidated. Hence, this article aimed to explore the pathogenesis of RA complicated with AS.MethodsBased on the strict inclusion/exclusion criteria, four gene datasets were downloaded from the Gene Expression Omnibus (GEO) database. After identifying the communal differentially expressed genes (DEGs) and hub genes, comprehensive bioinformatics analysis, including functional annotation, co-expression analysis, expression validation, drug-gene prediction, and TF-mRNA-miRNA regulatory network construction, was conducted. Moreover, the immune infiltration of RA and AS was analyzed and compared based on the CIBERSORT algorithm, and the correlation between hub genes and infiltrating immune cells was evaluated in RA and AS respectively.ResultsA total of 54 upregulated and 12 downregulated communal DEGs were screened between GSE100927 and GSE55457, and functional analysis of these genes indicated that the potential pathogenesis lies in immune terms. After the protein-protein interaction (PPI) network construction, a total of six hub genes (CCR5, CCR7, IL7R, PTPRC, CD2, and CD3D) were determined as hub genes, and the subsequent comprehensive bioinformatics analysis of the hub genes re-emphasized the importance of the immune system in RA and AS. Additionally, three overlapping infiltrating immune cells were found between RA and AS based on the CIBERSORT algorithm, including upregulated memory B cells, follicular helper T cells and γδT cells.ConclusionsOur study uncover the communal central genes and commonness in immune infiltration between RA and AS, and the analysis of six hub genes and three immune cells profile might provide new insights into potential pathogenesis therapeutic direction of RA complicated with AS.