Background: Carbapenem-resistant Klebsiella pneumoniae (CRKP) is associated with nosocomial infections that poses a serious threat to public health. According to a previous study, endoscopic retrograde cholangiopancreatography (ERCP) is considered a risk factor of CRKP transmission in the hospital. Methods: In this study, two cases infected with CRKP after ERCP were investigated. The origin of CRKP was determined by collecting the isolates from patients and screening the environment for ERCP units and the specific endoscopes. The antimicrobials susceptibility testing and molecular typing were performed for these CRKP. After post-ERCP infection happened, the procedure of endoscope disinfection was changed and hydrogen dioxide disinfection of ERCP unit was performed.Results: A total of five CRKP isolates were obtained from patients and screening the environment for ERCP units and the specific endoscopes, including three from the patients and two from the ERCP operating room. The CRKP from the patients and environment were both ST11, and the pulsed-field gel electrophoresis results showed that they shared identical bands, which indicated that the contaminated environment was associated with the nosocomial CRKP infections. After the control measures of endoscopes and hydrogen dioxide disinfection, post-ERCP infection decreased in the next six months.Conclusion: Early warning and response system should be established to control the spreading of CRKP in ERCP operation unit.