Objective:To evaluate the clinical effect of YM-W type gastrointestinal motility treatment device on the quality of bowel preparation of elderly patients with constipation. Methods:A convenient sampling method was used to select 70 elderly patients with constipation who underwent colonoscopy examination at the Sixth People's Hospital affiliated to Shanghai Jiao Tong University School of Medicine from July 2022 to May 2023. The patients were randomly divided into a control group and an intervention group by using random number method,with 35 cases in each group. The control group received routine intestinal preparation,while the intervention group underwent a gastrointestinal motility treatment with 30 minutes on the basis of control group. The scores of Boston bowel preparation scale,first defecating time,usage time from defecating to no-slag,and the amount of laxatives used from defecating to no-slag of two groups were compared after intervention. Results:For the scores of Boston bowel preparation scale,the left colon (2.9±0.55),transverse colon (2.2±0.69),right colon (2.2±0.58) and total score (7.69±1.69) in the intervention group were all higher than those (2.6±0.60,2.6±0.65,1.8±0.76,6.66±1.83) in the control group,with statistically significant differences between the two groups (Z=-0.304,-2.84,-2.488,-3.141,P<0.05),respectively. Both of the first defecating time and usage time from defecating to no-slag in the intervention group were significantly shorter than those in the intervention group (Z=-3.64,-2.52,P<0.05). The amount of laxatives used from defecating to no-slag in the intervention group was less than that in the control group (Z=-1.18,P<0.05). The adverse reaction rate of patients in the intervention group was significantly lower than that in the control group (F=31.8,P<0.05),and the difference between the two groups was statistically significant. Conclusion:The gastrointestinal motility treatment device can enhance the cleanliness quality of bowel before elderly patients with constipation undergo colonoscopy examination,which is worth to be applied in clinical practice.