Colonoscopy with computer-aided detection (CADe) has been shown in non-blinded trials to improve detection of colon polyps and adenomas by providing visual alarms during the procedure. We aimed to assess the effectiveness of a CADe system that avoids potential operational bias. We did a double-blind randomised trial at the endoscopy centre in Caotang branch hospital of Sichuan Provincial People's Hospital in China. We enrolled consecutive patients (aged 18–75 years) presenting for diagnostic and screening colonoscopy. We excluded patients with a history of inflammatory bowel disease , colorectal cancer, or colorectal surgery or who had a contraindication for biopsy; we also excluded patients who had previously had an unsuccessful colonoscopy and who had a high suspicion for polyposis syndromes, inflammatory bowel disease, and colorectal cancer. We allocated patients (1:1) to colonoscopy with either the CADe system or a sham system. Randomisation was by computer-generated random number allocation. Patients and the endoscopist were unaware of the random assignment. To achieve masking, the output of the system was shown on a second monitor that was only visible to an observer who was responsible for reporting the alerts. The primary outcome was the adenoma detection rate (ADR), which is the proportion of individuals having a complete colonoscopy, from caecum to rectum, who had one or more adenomas detected. The primary analysis was per protocol. We also analysed characteristics of polyps and adenomas missed initially by endoscopists but detected by the CADe system. This trial is complete and is registered with http://www.chictr.org.cn , ChiCTR1800017675. Between Sept 3, 2018, and Jan 11, 2019, 1046 patients were enrolled to the study, of whom 36 were excluded before randomisation, 508 were allocated colonoscopy with polyp detection using the CADe system, and 502 were allocated colonoscopy with the sham system. After further excluding patients who met exclusion criteria, 484 patients in the CADe group and 478 in the ...