Urgent

Choledocholithiasis & ERCP

CBD stones · GI / Surgical
Physician-written · Verified by three sets of doctors · Reviewed November 2026

Bedside summary

Common bile duct stones causing obstructive jaundice, pain and the risk of cholangitis or gallstone pancreatitis. Management hinges on duct clearance (ERCP with sphincterotomy, or surgical bile duct exploration) followed by cholecystectomy.

Red flags

  • Charcot's triad / Reynolds pentad (cholangitis with shock and confusion)
  • Haemodynamic instability
  • Rising bilirubin with sepsis
  • Severe post-ERCP abdominal pain (pancreatitis or perforation)
  • Melaena or haematemesis post-sphincterotomy

Assessment

Differential diagnosis

  • Choledocholithiasis
  • Ascending cholangitis
  • Gallstone pancreatitis
  • Malignant biliary obstruction (pancreatic/cholangiocarcinoma)
  • Mirizzi syndrome
  • Benign biliary stricture
  • Drug-induced cholestasis

Investigations

  • LFTs (obstructive picture: raised ALP, GGT, bilirubin)
  • FBC, CRP, amylase/lipase, U&E, clotting, group & save
  • Transabdominal ultrasound (duct dilatation >6 mm, stones)
  • MRCP for intermediate probability of CBD stones
  • Endoscopic ultrasound if MRCP equivocal
  • Blood cultures if febrile
  • Consider CT if malignancy suspected

Management

  • Risk-stratify likelihood of CBD stones (ASGE criteria: bilirubin, duct dilatation, ascending cholangitis)
  • Resuscitate and treat sepsis if cholangitis features present
  • High probability: proceed to ERCP with sphincterotomy and stone extraction
  • Intermediate probability: image with MRCP or EUS before intervention
  • Correct coagulopathy before sphincterotomy and give prophylactic rectal NSAID to reduce post-ERCP pancreatitis
  • Clear the duct endoscopically (balloon/basket); place a stent if incomplete clearance
  • Consider single-stage laparoscopic cholecystectomy with bile duct exploration where expertise exists
  • Perform cholecystectomy during the same admission (or within 2 weeks) after duct clearance
  • Repeat imaging/ERCP for retained or impacted stones
  • Monitor for post-ERCP pancreatitis, bleeding and perforation
  • Arrange biliary stent removal/exchange if placed
  • Provide dietary and safety-net advice on recurrent symptoms

Drugs & doses

Diclofenac 100 mg PR at ERCP (post-ERCP pancreatitis prophylaxis)
Piperacillin-tazobactam 4.5 g IV TDS if cholangitis
Vitamin K 10 mg IV if coagulopathic
IV crystalloid resuscitation (balanced solution)
Paracetamol 1 g IV/PO QDS; avoid opioids that cause sphincter of Oddi spasm where possible

Disposition

Admit under general/HPB surgery; arrange ERCP within 72 hours (urgently if cholangitis). Escalate septic/unstable patients to critical care and emergency biliary decompression.

Complications & pitfalls

  • Post-ERCP pancreatitis
  • Cholangitis and sepsis
  • Sphincterotomy bleeding
  • Duodenal/biliary perforation
  • Retained or recurrent stones
  • Biliary stricture

Exam pearls

  • Rectal NSAID prophylaxis reduces post-ERCP pancreatitis and is standard
  • Same-admission cholecystectomy after ERCP prevents recurrent biliary events
  • A dilated duct with stones and jaundice is high-probability — go straight to ERCP
  • Single-stage laparoscopic bile duct exploration avoids two procedures where expertise exists

Disclaimer: Educational decision support for qualified clinicians and students — not a substitute for clinical judgement, local protocols or a full drug reference. Confirm every dose and contraindication against your formulary before prescribing.