What are the indications, pre‑procedure preparation, and technique for performing an endoscopic retrograde cholangiopancreatography (ERCP)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: June 1, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

ERCP Procedure: Indications, Preparation, and Technique

ERCP is primarily a therapeutic procedure for biliary and pancreatic duct interventions, with diagnostic roles now largely replaced by less invasive imaging modalities like MRCP and EUS. 1

Indications for ERCP

Primary Indications (Strongest Evidence for Intervention)

The following conditions predict high diagnostic yield and therapeutic success 2:

  • Cholangitis - predicts choledocholithiasis in 66% of cases
  • Clinical evidence of biliary leak
  • Acute biliary pancreatitis
  • Abnormal intraoperative cholangiogram - predicts choledocholithiasis in 52% of cases
  • Stent change or removal for benign or malignant disease

Secondary Indications (Require Multiple Criteria)

Only proceed when all three of the following are present 2:

  • Pain attributable to biliary disease
  • Imaging evidence of biliary disease
  • Abnormal liver function tests

When all three criteria are met, there is statistically significant association with choledocholithiasis. Proceeding with fewer than three criteria increases risk of negative findings and adverse events.

Specific Therapeutic Applications

For chronic pancreatitis complications 3:

  • Pancreatic duct stones ≤5 mm: Standard ERCP with sphincterotomy, dilation, and balloon/basket retrieval
  • Pancreatic duct stones >5 mm: Extracorporeal shock wave lithotripsy (ESWL) with or without subsequent ERCP achieves >90% fragmentation and two-thirds complete clearance; alternatively, pancreatoscopy-directed lithotripsy when ESWL unavailable
  • Pancreatic duct strictures: Stricture dilation with long-term stent placement (6-12 months) relieves pain in up to 85% of patients
  • Biliary strictures from CP: Fully covered self-expanding metal stents (FCSEMS) preferred over multiple plastic stents due to reduced need for exchanges

Pre-Procedure Preparation

Risk Assessment

Evaluate the following high-risk factors 4:

Cardiopulmonary status:

  • Chronic cardiopulmonary disease requires specific precautions
  • Plan endoscopic sedation strategy based on comorbidities
  • Consider monitored anesthesia care (MAC) over general anesthesia for most patients 5

Infection risk:

  • Patients with biliary obstruction or suspected cholangitis require prophylactic antibiotics
  • Post-procedure cholangitis occurs in <1% when properly managed 6

Pancreatitis risk factors:

  • Identify patients at high risk for post-ERCP pancreatitis (PEP)
  • Implement PEP prophylaxis measures per protocol 7

Equipment Selection

Guidewire selection is critical for successful cannulation 4:

  • Choose appropriate guidewire material and tip configuration based on anticipated anatomy
  • Have multiple guidewire options available for difficult cannulation scenarios

Technique

Cannulation Approach

Follow systematic escalation strategy 7:

  1. Initial attempt: Standard biliary cannulation technique
  2. Difficult access: Employ alternative cannulation methods per WEO guidelines
  3. Failed cannulation: Consider percutaneous or EUS-guided approaches

Sphincterotomy and Dilation

Technique selection depends on stone size and duct anatomy 3, 7:

  • Standard sphincterotomy for routine access
  • Papillary balloon dilation for specific indications
  • Sequential upsizing for stricture remodeling

Special Circumstances 7

Address altered anatomy systematically:

  • Periampullary diverticulum: Modified approach required
  • Post-surgical anatomy: May require alternative access routes
  • Duodenal stenosis: Consider EUS-guided alternatives if endoscopic access impossible

Adverse Events and Quality Metrics

Post-ERCP pancreatitis remains the most common complication 7, 6:

  • Current rates: 2.3% clinical pancreatitis, 8.3% hyperamylasemia 6
  • Implement pre-, intra-, and post-procedural PEP prophylaxis measures 7

Other complications 6:

  • Cholangitis: <1% with appropriate technique
  • Hemorrhage and perforation: rare with proper patient selection
  • Unusual indications increase risk of unplanned hospitalization 2

Quality indicators to track:

  • High cannulation success rate
  • Low PEP rate
  • These should be goals for all endoscopists 7

Critical Pitfalls to Avoid

  • Do not proceed with ERCP based on single secondary criterion - wait until all three (pain, imaging, abnormal LFTs) are present to avoid unnecessary procedures and complications 2
  • Do not use ERCP diagnostically when MRCP or EUS can provide the information non-invasively 1
  • Do not attempt prolonged cannulation without escalating to alternative techniques - this increases PEP risk 7
  • Do not forget antibiotic prophylaxis in patients with biliary obstruction or suspected cholangitis

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.