Objective To investigate the epidemiological characteristics and co-morbidities of chronic kidney disease (CKD) in middle-aged and elderly population in Mianyang, and to explore the relationship between comorbidity and CKD prevalence in middle-aged and elderly populations. Methods A stratified cluster random sampling technique was utilized to enroll 4 828 residents over 40 years of age who underwent health checkups in Mianyang communities from January 2022 to February 2024. The characteristics of the onset and co-morbidities of CKD in the middle-aged and elderly population was analyzed, and relationship between comorbidities and CKD was verified using Logistics regression method. Results The detection rate of CKD in the middle-aged and elderly population in Mianyang area was 10.94%. The detection rate of CKD yielded no significant difference among residents of different genders and occupations (P>0.05), while statistical difference was reported in terms of age, physical activity patterns and living habits (P<0.05). The detection rate of CKD was high in residents with a number of co-morbidities≥2 (P<0.05). Multivariate Logistic regression analysis denoted that smoking, alcohol consumption, diabetes mellitus, hypertension, hyperuricaemia, hyperlipidaemia, coronary heart disease, stroke, and number of co-morbidities≥2 were risk factors for CKD in middle-aged and elderly population (P<0.05). Conclusion The middle-aged and elderly population of smoking, alcohol consumption, diabetes, hypertension, hyperuricaemia, coronary heart disease, hyperlipidaemia, and number of co-morbidities ≥2 are at high risk of developing CKD.