Ageing significantly contributes to osteoarthritis (OA) and metabolic syndrome (MetS) pathogenesis, yet the underlying mechanisms remain unknown. This study aimed to identify ageing-related biomarkers in OA patients with MetS. OA and MetS datasets and ageing-related genes (ARGs) were retrieved from public databases. The limma package was used to identify differentially expressed genes (DEGs), and weighted gene coexpression network analysis (WGCNA) screened gene modules, and machine learning algorithms, such as random forest (RF), support vector machine (SVM), generalised linear model (GLM), and extreme gradient boosting (XGB), were employed. The nomogram and receiver operating characteristic (ROC) curve assess the diagnostic value, and CIBERSORT analysed immune cell infiltration. We identified 20 intersecting genes among DEGs of OA, key module genes of MetS, and ARGs. By comparing the accuracy of the four machine learning models for disease prediction, the SVM model, which includes CEBPB, PTEN, ARPC1B, PIK3R1, and CDC42, was selected. These hub ARGs not only demonstrated strong diagnostic values based on nomogram data but also exhibited a significant correlation with immune cell infiltration. Building on these findings, we have identified five hub ARGs that are associated with immune cell infiltration and have constructed a nomogram aimed at early diagnosing OA patients with MetS.