Objective To investigate the efficacy of oral Danning tablets for bowel preparation for colonoscopy in diabetes mellitus patients.Methods A study was conducted from November 2022 to May 2024,100 type 2 diabetic patients(aged≥30 years)admitted to endocrinology department in our hospital were selected and scheduled for colonoscopy as research subjects.These patients were randomly divided into two groups:①A control group(n=50),received 68.56 g of polyethylene glycol electrolyte powder 10 hours before the colonoscopy and an additional 137.12 g six hours before the procedure.②An experimental group(n=50),in addition to the bowel preparation regimen of the control group,orally took Danning tablets three times daily,five tablets each time,starting two days before the colonoscopy.Results The experimental group had a BBPS score of(7.44±1.03),which was higher than the control group's BBPS score of(5.58±1.98),P<0.001.In the experimental group,96%of the bowel preparations were rated as excellent or good(BBPS score≥6),significantly higher than the 58%in the control group(P<0.001).Conclusion In diabetic patients undergoing colonoscopy,oral administration of Danning tablets during bowel preparation could improve bowel cleanliness and significantly enhance the quality of bowel preparation.