It was determined whether RA and OA joint samples expressed hub genes such as CD8A, CD2, GZMB, CCL5, CXCL9, IL7R, and CD27. As a result of our study, we may be able to identify new diagnostic markers and therapeutic targets for RA and OA. Here, CXCL9 is linked to rheumatoid arthritis.