GIandHepatology.com

When Should ERCP Be Performed in Acute Pancreatitis?

Answer in brief: ERCP is therapeutic, not a routine diagnostic test for acute pancreatitis. In acute biliary pancreatitis, urgent ERCP is indicated when acute cholangitis is present and is appropriate when there is strong evidence of persistent common-bile-duct obstruction. In patients without cholangitis or ongoing obstruction, routine urgent ERCP has not shown benefit and exposes patients to procedure-related harm. When retained stones are uncertain, MRCP or EUS can clarify the diagnosis before ERCP.

Why routine ERCP fell out of favor

Gallstones are a leading cause of acute pancreatitis, but the obstructing stone often passes spontaneously. ERCP carries risks including post-ERCP pancreatitis, bleeding, perforation, infection and sedation-related events. The question is therefore not whether the pancreatitis is biliary, but whether there is a therapeutic target in the bile duct that justifies intervention.

Cholangitis changes the answer

Fever, jaundice, inflammatory features and evidence of biliary obstruction should raise concern for cholangitis. In that setting, biliary decompression is time-sensitive and ERCP is generally the preferred intervention when technically feasible. Patients with severe instability may require expedited multidisciplinary management and occasionally an alternative drainage route if ERCP cannot be performed.

Persistent obstruction without cholangitis

A rising or persistently elevated bilirubin, visible duct stone, worsening cholestatic tests or clearly dilated duct in the right clinical context may indicate persistent obstruction. When the probability is intermediate rather than high, EUS or MRCP should be used to avoid unnecessary ERCP. EUS is particularly useful when small stones or sludge are suspected; MRCP is noninvasive and broadly useful when anatomy and availability permit.

Prevent recurrence

ERCP is not a substitute for definitive gallstone management. Patients with mild gallstone pancreatitis who are appropriate surgical candidates generally benefit from cholecystectomy during the index admission or according to current surgical guidance. If cholecystectomy is not possible, endoscopic sphincterotomy may reduce recurrent biliary events in selected patients.

Practical clinical algorithm

  1. Assess for cholangitis immediately.
  2. Estimate probability of retained common-bile-duct stone or persistent obstruction.
  3. High probability/therapeutic target: proceed to ERCP.
  4. Intermediate probability: use EUS or MRCP before ERCP.
  5. Low probability and no cholangitis: supportive pancreatitis care; do not perform routine urgent ERCP.
  6. Address definitive gallstone prevention, usually cholecystectomy when appropriate.

Common mistakes to avoid

  • Equating “gallstone pancreatitis” with an automatic indication for ERCP.
  • Using diagnostic ERCP when MRCP or EUS would answer the question.
  • Delaying ERCP in true cholangitis.
  • Treating duct clearance as the complete management of gallstone pancreatitis.

Trainee takeaway

ERCP is justified by cholangitis or a persistent obstructing stone, not by pancreatitis alone.

Frequently asked questions

Does every patient with gallstone pancreatitis need ERCP?

No. Most do not need urgent ERCP if there is no cholangitis or persistent duct obstruction.

Which test is better before ERCP, EUS or MRCP?

Both are effective; EUS is excellent for small stones/sludge, while MRCP is noninvasive. Choice depends on local expertise, anatomy and urgency.

Does ERCP prevent recurrent gallstone pancreatitis?

It can reduce biliary events in selected nonsurgical patients, but cholecystectomy is generally the definitive strategy for suitable patients.

Relevant free books from Dr. Thomson

  • Best Practice Guidelines in Hepatopancreaticobiliary Disorders — available as a free digital download from GIandHepatology.com.
  • Endoscopy and Diagnostic Imaging – Part II — available as a free digital download from GIandHepatology.com.

References

1. Thomson ABR. Endoscopy and Diagnostic Imaging – Part II. CAPstone Academic Publishers; 2012. ISBN 978-1477400654.

2. Tenner S, Vege SS, Sheth SG, et al. American College of Gastroenterology Guidelines: Management of Acute Pancreatitis. Am J Gastroenterol. 2024;119:419-437.

3. Crockett SD, Wani S, Gardner TB, et al. AGA Institute Guideline on Initial Management of Acute Pancreatitis. Gastroenterology. 2018;154:1096-1101.

Educational content only. Clinical decisions should incorporate the individual patient, local resources, product labeling, and the most current applicable guideline.