Endoscopic Retrograde Cholangiopancreatography: Cannulation Technique and Post-ERCP Complications
A contemporary technical and clinical guide to ERCP covering patient selection, sedation and antibiotic prophylaxis, selective cannulation strategies, sphincterotomy technique, stone extraction, stent placement, and systematic prevention of post-ERCP pancreatitis with rectal NSAID and aggressive hydration.
Procedure Overview
Endoscopic retrograde cholangiopancreatography combines endoscopic and fluoroscopic techniques to diagnose and treat diseases of the biliary and pancreatic ductal systems. A side-viewing duodenoscope is advanced to the major duodenal papilla, the duct of interest is selectively cannulated with a guidewire-loaded sphincterotome or catheter, contrast is injected under fluoroscopy to delineate ductal anatomy, and therapeutic interventions (sphincterotomy, stone extraction, stricture dilation, stent placement, tissue acquisition) are performed. Once a diagnostic modality, ERCP is now almost exclusively therapeutic, having been supplanted for diagnosis by magnetic resonance cholangiopancreatography and endoscopic ultrasound.
The most important procedural safety framework centers on post-ERCP pancreatitis prevention: prophylactic rectal indomethacin 100 mg, aggressive lactated Ringer’s hydration, careful wire-guided cannulation, minimization of pancreatic duct injection, and prophylactic pancreatic stent placement in very-high-risk patients. Second-order safety priorities include hemostasis during sphincterotomy, recognition and management of perforation, and appropriate antibiotic prophylaxis in biliary obstruction. Overall adverse event rates approach 5–10 percent, with post-ERCP pancreatitis (3–10 percent), bleeding (1–2 percent), cholangitis (1–3 percent), and perforation (0.3–0.6 percent) as the four classic complications.
1. Indications and Patient Selection
ERCP is a therapeutic procedure, and its indications should be rigorously justified against the 5–10 percent adverse event rate. Diagnostic ERCP has been essentially abandoned in favor of MRCP and EUS, which provide excellent ductal imaging without procedural risk. Therapeutic ERCP is indicated when there is high pre-test probability of a treatable pancreaticobiliary lesion based on clinical picture and prior imaging.
Established Therapeutic Indications
| Category | Indication | Intervention |
|---|---|---|
| Choledocholithiasis | Symptomatic CBD stones with cholangitis or obstructive jaundice | Sphincterotomy + stone extraction (balloon/basket) |
| Gallstone pancreatitis with cholangitis or persistent biliary obstruction | Urgent ERCP within 24 h | |
| Retained CBD stone after cholecystectomy | Sphincterotomy + extraction | |
| Biliary obstruction | Malignant distal biliary obstruction (pancreatic, distal CBD cancer) | SEMS placement for palliation |
| Benign biliary stricture (post-transplant, chronic pancreatitis, primary sclerosing cholangitis) | Balloon dilation + stenting (plastic multi-stenting or cSEMS) | |
| Biliary leak | Post-cholecystectomy cystic duct stump leak, duct of Luschka, bile duct injury | Sphincterotomy ± stenting to decompress |
| Pancreatic pathology | Pancreatic duct disruption, ductal stones, pseudocyst drainage, IPMN evaluation | Pancreatic sphincterotomy, stent, EUS-guided drainage collaboration |
| Acute cholangitis | Tokyo Guidelines moderate/severe cholangitis not responding to antibiotics within 24 h | Urgent biliary drainage (stent or decompression) |
| Ampullary tumors | Ampullary adenoma (benign) | Endoscopic ampullectomy in expert centers |
Contraindications
Pre-procedure Checklist
Pre-procedure evaluation includes review of indication and prior imaging (MRCP, CT, EUS findings that guide therapy), informed consent covering the specific procedural plan and named risks (pancreatitis 3–10 percent, bleeding 1–2 percent, cholangitis 1–3 percent, perforation 0.3–0.6 percent, sedation-related events, failure of procedure requiring alternative drainage), NPO status for at least 8 hours, medication reconciliation (hold P2Y12 inhibitors 5–7 days, continue aspirin, plan DOAC interruption 1–2 days and warfarin bridge decision based on indication), review of allergies (iodine contrast, latex, medications), and confirmation of laboratory studies (CBC, PT/INR, BMP within 30 days; bilirubin, ALP, AST, ALT; type and screen if therapeutic intervention planned). Pre-procedure antibiotic prophylaxis is required when biliary drainage may be incomplete.
2. Equipment, Sedation, and Prophylaxis
Duodenoscope and Accessories
A side-viewing therapeutic duodenoscope (Olympus TJF-Q190V, Pentax ED34-i10T, Fujifilm ED-580XT or equivalent) with 4.2 mm therapeutic working channel allows passage of 11.5 Fr stents, mechanical lithotripters, and cholangioscopy systems. The side-viewing optics and elevator mechanism are essential for en face papillary approach and accessory angulation. Single-use duodenoscopes or disposable elevator caps are increasingly employed to eliminate duodenoscope-associated infection risk following FDA safety warnings on carbapenem-resistant Enterobacteriaceae transmission. Essential accessories include wire-guided sphincterotomes (traction-type, typically 0.025–0.035 inch guidewire lumen), 260 cm hydrophilic guidewires (Jagwire, VisiGlide, or equivalent), retrieval balloons (8.5–18 mm), Dormia baskets, mechanical lithotriptors, plastic stents (7, 8.5, 10 Fr — straight and double-pigtail), self-expandable metal stents (fully covered, partially covered, and uncovered biliary SEMS), and contrast agents (low-osmolar iodinated contrast such as Omnipaque 300 or Isovue 300 diluted 1:1 with saline).
Sedation
| Sedation Approach | Agents | Dosing | Monitoring |
|---|---|---|---|
| Moderate sedation (RN) | Midazolam + fentanyl | Midazolam 1–2 mg IV q5–10 min + fentanyl 25–50 mcg IV q5 min | Pulse ox, BP, HR, capnography |
| MAC (anesthesia) | Propofol (preferred for complex cases) | Propofol 10–40 mcg/kg/min infusion + boluses 10–20 mg IV | Anesthesia-provided airway management |
| General anesthesia | Propofol ± volatile agent, endotracheal intubation | Anesthesia-managed | Required for aspiration risk (gastric outlet obstruction, GI bleeding), long duration, prone positioning difficulty |
The BEACON trial and several meta-analyses suggest anesthesia-assisted sedation (MAC with propofol) provides superior patient comfort, shorter recovery, and higher procedural success in complex ERCP compared with endoscopist-directed moderate sedation, without increasing major complications. Most high-volume centers have transitioned to routine anesthesia involvement.
Antibiotic Prophylaxis
PEP Prophylaxis Bundle
Multiple evidence-based strategies reduce post-ERCP pancreatitis incidence and should be bundled for maximum protection:
- Rectal NSAID: Indomethacin 100 mg PR or diclofenac 100 mg PR within 60 minutes before or immediately after ERCP. Reduces PEP by 40–50 percent in high-risk, 30–40 percent in average-risk. Contraindicated in active GI bleeding, eGFR < 30, NSAID allergy, uncontrolled HF.
- Aggressive IV hydration: Lactated Ringer’s 3 mL/kg/hr during and for 8 hours after ERCP (total roughly 2 L in 24 hours for a 70 kg patient). Multiple RCTs show 40–50 percent PEP reduction. Avoid in decompensated HF or renal failure.
- Wire-guided cannulation (avoid contrast-guided): Reduces PEP by 30–50 percent compared with contrast injection-guided technique.
- Minimize pancreatic duct opacification: Every unintentional PD injection or wire pass increases PEP risk ~2-fold. Limit to single wire pass, minimize contrast.
- Prophylactic pancreatic stent: 5 Fr × 3–5 cm single-pigtail PD stent in very high-risk patients (sphincter of Oddi dysfunction, prior PEP, difficult cannulation with inadvertent PD cannulation, pancreatic sphincterotomy). Reduces PEP by ~50 percent in high-risk; confirm spontaneous passage at 2 weeks or remove at repeat endoscopy.
- Sublingual glyceryl trinitrate: Emerging option (Cochrane suggests modest benefit); limited adoption due to hypotension risk.
3. Cannulation and Therapeutic Technique
Step-by-Step Cannulation
Step 1 — Position and Advance Duodenoscope
Place the patient in left lateral or prone position. Advance the side-viewing duodenoscope through the pharynx under sedation with gentle downward pressure to traverse the upper esophageal sphincter (blind tip advancement). Advance through esophagus, past GEJ, through stomach, and traverse the pylorus via a “roll-over” maneuver. Reach the second duodenum where the major papilla is visualized. Shorten the scope to the short position (30–35 cm at incisor) for optimal papillary access.
Step 2 — Papilla Inspection and Preparation
Achieve en face view of the papilla with the apex toward 12 o’clock. Inspect for anatomic variations: periampullary diverticulum (10 percent prevalence, may displace the papilla into the diverticulum), prior sphincterotomy (scarring, patent opening), ampullary adenoma or mass, intramural bulging suggesting impacted stone. Elevator up to align the catheter axis with the long axis of the papilla.
Step 3 — Wire-Guided Selective Cannulation
Advance a sphincterotome preloaded with a 0.025 or 0.035 inch hydrophilic guidewire (Jagwire, VisiGlide). Orient the sphincterotome tip at 11–12 o’clock for biliary cannulation. Gently contact the papillary orifice and advance the wire under fluoroscopy. Target 5 attempts or 5 minutes maximum before escalation. Confirm biliary access by wire trajectory in the expected CBD course on fluoroscopy — the wire should curve cephalad toward the common hepatic duct rather than turning toward the tail of the pancreas.
Step 4 — Sphincterotomy
Once deep biliary cannulation is confirmed, the sphincterotome is positioned with 1/3 of the cutting wire inside the papilla and 2/3 external. Cut using Endocut I mode (Erbe) or equivalent blended current (cut effect 2, cut duration 3, cut interval 3) in 3–5 mm incremental steps toward 11–12 o’clock. Extend the cut to the papillary apex or the level of the transverse fold, typically 10–15 mm total. Larger ampullary orifices may be needed for large stones (balloon dilation of sphincterotomy to 12–15 mm can be added — EPBD technique).
Step 5 — Therapeutic Intervention (Stone / Stent / Dilation)
After sphincterotomy, proceed with the indicated therapy. For stones: balloon sweep with retrieval balloon 8.5–18 mm inflated to size of stone and pulled across the ampulla under fluoroscopy. For refractory stones exceeding 15 mm, proceed with mechanical lithotripsy or refer for cholangioscopy-guided electrohydraulic or laser lithotripsy. For strictures: stricture dilation with 4–8 mm balloon followed by plastic or metal stent placement per indication. For leaks: sphincterotomy alone may suffice for small leaks; larger leaks benefit from transpapillary stent to bypass resistance.
Step 6 — Prophylactic Pancreatic Stent (if indicated)
In very high-risk patients for PEP (sphincter of Oddi dysfunction, prior PEP, difficult cannulation with inadvertent PD cannulation, pancreatic sphincterotomy, precut), place a 5 Fr × 3–5 cm single-pigtail pancreatic duct stent unflanged proximally to promote spontaneous dislodgment. Confirm spontaneous passage at 2-week follow-up KUB; remove endoscopically if still in place.
Step 7 — Rectal NSAID and Post-Procedure Care
Administer indomethacin 100 mg PR within 60 minutes of procedure completion. Begin lactated Ringer’s 3 mL/kg/hr IV continued for 8 hours post-procedure in the absence of volume overload contraindications. Monitor in recovery for 2 hours; most routine ERCP patients are discharged same day. Admit overnight for any moderate-to-severe abdominal pain, fever, hemodynamic concern, or complex inpatient context.
Difficult Cannulation — Escalation Strategies
Selective biliary cannulation fails in 10–15 percent of attempts by even experienced endoscopists. Escalation strategies after 5 attempts or 5 minutes include:
- Pancreatic wire technique: If inadvertent pancreatic wire passage occurs, leave the PD wire in place and re-attempt biliary cannulation with a second wire alongside (double-wire technique). Success rate 70–90 percent; mandates prophylactic PD stent.
- Transpancreatic septotomy: With PD wire in place, incise the common septum between pancreatic and biliary orifices using a standard sphincterotome. Effective but requires pancreatic stent.
- Needle-knife precut sphincterotomy: Start at papillary orifice and cut cephalad toward 11 o’clock in 2–3 mm increments, exposing the biliary mucosa. Success rate 70–85 percent; PEP risk 2–3 fold increased unless performed early.
- Needle-knife fistulotomy: For distended intraduodenal bulge from dilated CBD, start above the papillary orifice and create a fistula into the CBD, bypassing the sphincter entirely. Lower PEP risk than precut through orifice.
- Early precut: Current evidence favors precut performed after 3–5 failed attempts rather than after prolonged conventional trials — counterintuitively, early precut reduces overall PEP risk.
- Rendezvous procedure: If ERCP fails, EUS-guided transgastric or transduodenal rendezvous can deliver a guidewire antegrade through the papilla for subsequent retrograde cannulation. Alternative is percutaneous transhepatic rendezvous with interventional radiology.
4. Tips, Pitfalls, and Difficult Scenarios
5. Complications and Management
The four classic ERCP complications are pancreatitis, bleeding, cholangitis, and perforation. Contemporary rates, recognition, and management are summarized below.
| Complication | Incidence | Recognition | Management |
|---|---|---|---|
| Post-ERCP pancreatitis | 3–10% overall; 15–25% high-risk | Epigastric pain radiating to back within 24 h; lipase > 3× ULN; CT findings if severe | IV fluids, analgesia, NPO; most mild PEP resolves in 3–4 days; severe PEP managed per standard pancreatitis pathway |
| Bleeding (post-sphincterotomy) | 1–2% | Immediate during procedure OR delayed 1–10 days; hematemesis, melena, Hgb drop | Hemoclips, epinephrine injection (1:10,000 at bleed site), thermal coagulation, fully covered SEMS for refractory bleeding; angiography/embolization if endoscopic fails |
| Cholangitis | 1–3% overall; higher if incomplete drainage | Fever, jaundice, RUQ pain (Charcot triad) within 24–72 h | Antibiotics (piperacillin-tazobactam 4.5 g IV q6h or ceftriaxone 1 g + metronidazole 500 mg); urgent re-ERCP for drainage if incomplete |
| Perforation | 0.3–0.6% | Stauer I (lateral duodenal wall), II (retroperitoneal peri-Vaterian), III (bile duct), IV (scope-related); free air on CT; signs of peritonitis | Type I: surgical; Type II–III: NPO, antibiotics, drainage (percutaneous or endoscopic); Type IV: surgical if delayed recognition |
| Stent migration | 3–8% | Recurrent symptoms, stent not seen on imaging, distal migration passed per rectum | Retrieval if proximal migration (forceps, snare); new stent placement |
| Stent occlusion | 30% of plastic at 3 mo; 15% of SEMS at 6 mo | Recurrent cholangitis, worsening liver tests | Stent exchange; upsize to larger diameter or switch to SEMS if appropriate |
| Sedation-related events | 1–5% (desaturation, hypotension) | Intraprocedural | Supplemental O2, airway repositioning, sedation dose reduction; naloxone or flumazenil if oversedation |
| Cardiopulmonary events | < 1% | Intraprocedural arrhythmia, MI, CVA, aspiration | ACLS, abort procedure, transfer to appropriate care |
PEP Severity Grading
| Grade | Criteria |
|---|---|
| Mild | New or worsening abdominal pain + lipase > 3× ULN + need for hospitalization < 3 days |
| Moderate | Hospitalization 4–10 days |
| Severe | Hospitalization > 10 days OR hemorrhagic pancreatitis, phlegmon, pseudocyst, or need for percutaneous drainage/surgery |
- Perforation: Stapfer Type I (lateral duodenal wall, usually requires surgery) — immediate surgical consult; Type II (retroperitoneal) — conservative management feasible with NPO, antibiotics, and possible endoscopic closure
- Uncontrolled post-sphincterotomy bleed: after failed endoscopic hemostasis — urgent interventional radiology for transarterial embolization of gastroduodenal artery branches
- Severe PEP with organ failure: ICU admission for volume resuscitation, ventilatory and renal support; surgical consultation for infected necrosis or phlegmon requiring drainage
- Failed ERCP for biliary drainage in cholangitis: EUS-guided biliary drainage (hepaticogastrostomy or choledochoduodenostomy) at expert center, or percutaneous transhepatic cholangiography drainage if EUS not available
- Stone extraction failure: cholangioscopy-guided electrohydraulic/laser lithotripsy at expert center, or surgical choledocholithotomy for refractory cases
6. Outcomes and Learning Curve
Technical Success Benchmarks
Comparative Modalities
| Modality | Best Use | Limitations |
|---|---|---|
| ERCP | Therapeutic: stones, stenting, sphincterotomy, tissue acquisition | 5–10% complication rate; 10–15% cannulation failure |
| MRCP | Diagnostic anatomy, pre-ERCP planning, pregnancy | Not therapeutic; 3–5 mm minimum detection; motion artifacts |
| EUS | Diagnostic (suspected microlithiasis, pancreatic mass), FNA, rendezvous access, celiac plexus block | Operator-dependent; limited proximal biliary visualization |
| Cholangioscopy (SpyGlass) | Indeterminate strictures, refractory stones, targeted biopsy | Adds cost and time; expertise required |
| PTC | Failed ERCP, hilar obstruction with failed endoscopic approach | Higher bleeding and infection than ERCP; external drainage discomfort |
Learning Curve and Credentialing
Competency in ERCP requires supervised training in a dedicated advanced endoscopy fellowship (12-month ASGE-accredited) with minimum volumes generally cited as 200 supervised ERCPs for basic competency, 300 for advanced competency including precut, and 400+ for complex therapeutic procedures (cholangioscopy, ampullectomy, EUS-ERCP). Ongoing competency requires an annual volume threshold of approximately 50–100 ERCPs per year based on multiple society benchmarks, with institutions ideally performing > 200 procedures annually. Lower-volume operators have consistently higher complication rates and lower technical success, supporting centralization toward high-volume referral centers for complex cases.
Quality Indicators (ASGE)
| Quality Indicator | Benchmark |
|---|---|
| Selective cannulation rate (native papilla) | > 90% expert; > 80% trainee-competency |
| CBD stone clearance ≤ 10 mm | > 90% at single procedure |
| Stent placement for malignant distal obstruction | > 95% technical success |
| PEP rate | < 7% overall; documented prophylaxis use |
| Perforation rate | < 1% |
| Bleeding rate (sphincterotomy) | < 2% clinically significant |
| Informed consent and post-procedure documentation | 100% |
Procedural Experience: What Clinicians Have Learned at the Scope
(The content below synthesizes published clinical patterns and expert consensus rather than first-person case reports.)Every extra pass at the papilla is made by someone tired, behind on the list, and reluctant to hand the wire over, which is what makes ERCP the procedure where the difference between safe and dangerous practice is measured in cannulation attempts, not technical flair.
Setup Refinements
Routine indomethacin 100 mg per rectum within 30 minutes of scope insertion has become non-negotiable in experienced practice for any patient without absolute contraindication, regardless of perceived risk stratification. The Elmunzer-trial-derived risk reduction in post-ERCP pancreatitis is large enough that clinicians now consider indomethacin a procedural-setup item alongside intravenous access and supplemental oxygen — not a “high-risk patients only” decision. Aggressive lactated Ringer’s at 3 mL/kg/hour intraprocedurally for high-risk cases provides an independent additional reduction that compounds with the indomethacin effect.
The Trap Clinicians Fall Into
The trap is pushing wire-guided cannulation past five attempts or five minutes because “I almost have it” or “the angle is improving.” Beyond that threshold, post-ERCP pancreatitis rates climb steeply with each additional cannulation pass, and the pancreatic-duct trauma is cumulative. The discipline now is to convert to precut sphincterotomy (transpancreatic septotomy or needle-knife) at the five-attempts-or-five-minutes mark rather than pushing through.
Stop-and-Reassess Trigger
Three findings make experienced clinicians stop and re-strategize: repeated unintentional pancreatic duct cannulation beyond the second event, a target sign or pneumoperitoneum suspicion during sphincterotomy, or any retroperitoneal extravasation on contrast injection. The first triggers prophylactic pancreatic duct stenting and conversion to precut; the second triggers immediate cessation, fluoroscopy review, and surgical consultation if perforation is confirmed; the third triggers immediate scope withdrawal and CT imaging.
PEP Prevention Doctrine
Clinicians treat post-ERCP pancreatitis prevention as a four-component stack: indomethacin per rectum for every eligible patient, aggressive lactated Ringer’s during and after the procedure for high-risk patients, prophylactic pancreatic duct stenting (5 Fr, 3–5 cm) in any case with difficult cannulation or repeated pancreatic duct entries, and limiting contrast injection into the pancreatic duct. Each component reduces PEP risk independently.
Illustrative Scenario
A woman in her early sixties was referred urgently for retained common bile duct stone with cholangitis, two weeks post-cholecystectomy. The referring team had attempted cannulation eight times across two ERCP sessions, with repeated unintentional pancreatic duct injections producing mild post-procedure pancreatitis on the first attempt. By the time she was transferred, anatomy was distorted and the papilla was edematous. The treating clinicians positioned her semi-prone, gave indomethacin 100 mg per rectum at scope insertion, started lactated Ringer’s at 3 mL/kg/hour, and after two confirmatory wire passes into the pancreatic duct elected to perform transpancreatic septotomy precut over a 5 Fr 5 cm prophylactic pancreatic duct stent. Wire access to the bile duct was achieved within 90 seconds after the precut; sphincterotomy and balloon stone extraction completed without complication. She remained in observation overnight with serial lipase that peaked at twice the upper limit of normal asymptomatically and was discharged the following morning with the pancreatic stent in place; the stent was confirmed passed on abdominal X-ray at two weeks.
Procedural Adjustments to the Standard Technique
- Indomethacin 100 mg per rectum within 30 minutes of scope insertion in every ERCP patient without contraindication, regardless of pre-procedure risk stratification. The Elmunzer-trial-derived absolute risk reduction is large enough that universal use, not high-risk-only use, is the standard seasoned clinicians now hold.
- Wire-guided cannulation only, never contrast-assisted first, with conversion to precut sphincterotomy at the five-attempts-or-five-minutes threshold. Pushing past this threshold compounds pancreatic-duct trauma.
- Prophylactic 5 Fr 3–5 cm pancreatic duct stent in any difficult cannulation case, defined as more than two pancreatic duct guidewire passes, precut sphincterotomy, sphincter of Oddi manometry, or ampullectomy. The stent is removed or confirmed self-expulsed at 2 weeks by plain abdominal X-ray.
- Aggressive lactated Ringer’s at 3 mL/kg/hour intraprocedurally and 1.5 mL/kg/hour for 8 hours post-procedure in high-risk patients (young, female, prior pancreatitis, difficult cannulation, sphincter of Oddi dysfunction). The independent risk reduction layered onto indomethacin is meaningful and the volume cost is acceptable in patients without overt heart failure.
7. Frequently Asked Questions
- Endoscopic Submucosal Dissection (ESD): Technique, Indications, and Complications for Early GI Cancer
- Endoscopic Mucosal Resection: Colonic Polyp and Gastric Lesion Technique
- Coronary Angiography: Access, Technique, Complications, and FFR Integration
- Arthrocentesis Technique: Joint Aspiration, Synovial Fluid Analysis, and Complications
- EndoFLIP: Endoscopic Functional Lumen Imaging Probe Technique Guide
- Pericardiocentesis: Echo-Guided Subxiphoid Technique, Drainage Catheter Management, and Complication Avoidance
Primary guideline documents this article draws on. Links resolve via DOI to the publisher; access may require a subscription.
- BSG/ESGE 2021: endoscopy in patients on antiplatelet or anticoagulant therapy (Gut · 2021)
- ASGE 2016: management of antithrombotic agents for endoscopic procedures (Gastrointestinal Endoscopy · 2016)