Diabetes mellitus (DM) and gout cohabitation severely reduces patient life quality while raising financial burden on individual and society. The aim of this study was to elucidate the association between physical activity (PA) and the prevalence of gout among type 2 DM (T2DM) and hyperuricemia (HUA) patients. In all, we recruited 2291 T2DM patients with HUA. Among them, 448 had gout and 1843 did not. We collected patient data, such as anthropometry, laboratory reports, and medical history, for our analyses. The PA assessment was based on the Chinese version of International PA Questionnaire-short (IPAQ). Moreover, the relationship between PA and gout risk was examined using multivariate logistic regression models. Total PA was markedly low among gout patients, relative to controls (p < 0.05). Based on the IPAQ categorical score, 38.2% exhibited "low," 26.8% "moderate," and 35.0% "high" PA among gout patients. In comparison, 12.4% performed "low," 53.8% "moderate," and 33.8% "high" PA among controls. Multivariate analysis revealed that, after adjustment of confounding factors, both low (OR 6.382) and high PA (OR 2.048) had a higher prevalence of gout, as compared to moderate PA. Moreover, we revealed that the male sex, age, HUA duration, serum uric acid, glycated hemoglobin, dyslipidemia history, and drinking status were also independent indicators of the prevalence of gout. Furthermore, stratification analyses revealed results consistent with our prior results. PA intensity was associated with the prevalence of gout among T2DM and HUA patients, and the lowest prevalence was achieved from moderate intensity PA. Key Points • PA intensity was associated with the prevalence of gout among T2DM and HUA patients. • The lowest prevalence of gout was achieved from moderate intensity PA.