Type 2 diabetes mellitus (T2DM) is an independent risk factor of knee osteoarthritis (KOA). This study was mainly based on data from the Taiwan National Health Insurance Database. Using big data analysis, we showed that glucagon-like peptide-1 receptor agonist (GLP-1RA) treatment is helpful for patients with T2DM who have a lower risk of KOA or total knee replacement (TKR). A total of 35,762 patients with T2DM were included in this study. We divided these patients into 988 patients with T2DM without KOA and 372 patients with T2DM with KOA who received GLP-1RA treatment and those who did not receive GLP-1RA treatment. The patients were matched for sex, age, and inclusion date by 1:1 propensity score, which was included in the control group. Cox proportional hazards analyses were performed to compare KOA risk and TKR rate during a maximum follow-up period of 5 years. There were 1976/744 patients with T2DM without/with KOA who received and did not receive GLP-1RA treatment, including 1052/322 men (53.24/43.28%) and 924/422 women (46.76/56.72%). At the end of follow-up, there were 46/39 (4.66/10.48%) patients with T2DM without/with KOA who received GLP-1RA treatment and underwent KOA/TKR were lower than those without GLP-1RA treatment 87/70 (8.81/18.82%). Cox proportional hazard regression analysis showed a lower rate of KOA/TKR among patients with GLP-1RA treatment (adjusted hazard ratio [HR] = .852
95% confidence interval [CI] = .784-.930, P <
.001/ adjusted HR = .913
95% CI = .885-.977, P = .015, respectively). Kaplan-Meier analysis showed that the cumulative risk of KOA/TKR in patient with/without GLP-1RA was significantly different (log-rank test, P <
.001/P <
.001, respectively). This study aimed to provide clinicians with the option of GLP-1RA as a treatment for patients with T2DM with or without KOA to reduce the risk of KOA or TKR among such patients.