Objective To investigate the effects and safety of ciprofol in painless endoscopic retrograde cholangiopancreatography.Methods A total of 150 patients undergoing painless ERCP for common bile duct stones were randomly divided into three groups with 50 cases in each group.Group C received 0.1 μg sufentanil combined with 2 mg/kg propofol for induction,and 6mg/(kg·h)propofol for maintenance intraoperatively;group R1 received 0.1 μg/kg sufentanil combined with 0.4 mg/kg ciprofol for induction and 1 mg/(kg·h)ciprofol for maintenance;group R2 received 0.1 μg/kg sufentanil combined with 0.5 mg/kg ciprofol for induction and ciprofol 1.5 mg/(kg·h)for maintenance.The number of successful cases of sedation,the number of adverse events and the changes of hemodynamic indexes in the three groups were compared.Results There were no significant differences in MOAA/S score immediately after anesthesia induction and 30 seconds after induction,no significant differences in the incidence of coughing andrecovery time among three groups.Compared with the group R1,the group R2 had a lower incidence of physical movements and a higher success rate of sedation.There was no significant difference in the incidence of bradycardia,hiccups,and postoperative nausea among the three groups.Compared with group C,the incidence of hypotension was lower in the group R1,the number of respiratory depression and the injection pain in the groups R1 and R2 was less.There was no significant difference in heart rate changes among the three groups of patients at each time point.There was no significant difference in mean arterial pressure among the three groups when entering the examination room and when entering the postanesthesia care unit.Compared with group C,the mean arterial pressure of groups R1 and R2 was higher after anesthesia induction;and the mean arterial pressure of group R1 was higher after duodenal papilla intubation and after operation.Compared with the group R1,the mean arterial pressure of the R2 group was lower after duodenal papilla intubation.Conclusion The regimen of sufentanil 0.1 μg/kg combined with ciprofol 0.5 mg/kg for induction and 1.5 mg/(kg·h)for intraoperative maintenance has a good application effect in painless ERCP,with advantages of high success rate of sedation and low rate of adverse events.