# ERCP in Acute Pancreatitis

ERCP is a therapeutic, not routine diagnostic, procedure in acute pancreatitis. Perform urgent biliary drainage for cholangitis, use selective intervention for persistent obstruction, and avoid routine early ERCP when neither is present because it adds procedural risk without demonstrated benefit.

**Clinical question:** When should ERCP be performed in patients with acute pancreatitis suspected to have a biliary cause?

Updated: 2026-09-15T18:38:15.411384+00:00

## What matters in practice
- Perform urgent therapeutic ERCP when acute biliary pancreatitis is complicated by cholangitis; biliary drainage and stone extraction or stenting address the obstructed infected duct. [3][8]
- Do not use routine early ERCP for unselected acute gallstone pancreatitis without cholangitis or evidence of persistent biliary obstruction; randomized evidence did not show significant reductions in mortality or local/systemic complications. [9][21]
- For suspected retained common bile duct stones without an immediate drainage indication, use EUS or MRCP to establish a therapeutic target rather than diagnostic ERCP. [10][23][24]
- Reserve ERCP for patients with a reasonable likelihood of therapeutic intervention because adverse events occur in 6% to 15%; pancreatitis, bleeding, infection, and perforation are principal complications. [10][19]
- Biliary sludge and microlithiasis can cause biliary colic, cholangitis, and pancreatitis; EUS is useful when standard evaluation is unrevealing. [1][2][24]

## Which acute pancreatitis patients need urgent ERCP?

The decision turns on cholangitis or clinically consequential persistent biliary obstruction.

Perform urgent therapeutic ERCP in acute biliary pancreatitis with acute cholangitis. Cholangitis is bacterial infection superimposed on biliary obstruction, most commonly from common bile duct stones; initial management requires antibiotics followed by adequate biliary drainage, preferably by ERCP. Untreated mortality has been reported as high as 50%, whereas mortality below 2% is achievable with adequate treatment. [8]

Treat severe gallstone pancreatitis with progressively deranged liver tests plus cholangitis features—fever, rigors, or positive blood cultures—as an immediate ERCP indication. At ERCP, perform common bile duct evaluation and achieve drainage with sphincterotomy, stone extraction, or biliary stenting as anatomically required. [3]

In acute biliary pancreatitis with biliary obstruction but no cholangitis, select ERCP for a persistent obstruction phenotype rather than automatically performing it at presentation. A study comparing timing strategies found urgent ERCP was not superior to early ERCP in biliary obstruction without cholangitis; timing should be individualized to illness severity, obstruction suspicion, and response to initial conservative management. [16][9]
- Proceed directly to therapeutic ERCP when cholangitis coexists with acute biliary pancreatitis. [3][8]
- During urgent ERCP, plan a drainage endpoint: stone extraction, sphincterotomy when indicated, or stent placement if extraction is not achievable. [3]
- Do not delay source control for cross-sectional confirmation when the clinical syndrome is obstructive cholangitis. [3][8]

*ERCP selection in suspected acute biliary pancreatitis. [3][9][10][16][21][24]*

| Clinical branch | ERCP decision | Next action |
| --- | --- | --- |
| Acute pancreatitis with cholangitis | Urgent therapeutic ERCP. [3][8] | Drain the bile duct with stone extraction, sphincterotomy, or stenting as required. [3][8] |
| Biliary obstruction without cholangitis | Selective early ERCP; urgent ERCP has not shown superiority over early ERCP in this subgroup. [16] | Assess whether obstruction persists and use EUS or MRCP if diagnostic clarification will determine need for therapy. [9][10] |
| Gallstone pancreatitis without cholangitis or evidence of persistent obstruction | No routine early ERCP. [9][21] | Use conservative pancreatitis management and noninvasive/endoscopic imaging selectively for retained duct stones. [10][21][24] |
| Unclear biliary cause or possible microlithiasis after unrevealing initial evaluation | Avoid diagnostic ERCP alone. [10][24] | Use EUS, which can identify bile duct stones, sludge, microlithiasis, pancreatic lesions, chronic pancreatitis features, and pancreas divisum. [1][2][24] |

## When early ERCP should be avoided

Most patients with gallstone pancreatitis do not benefit from routine duct instrumentation.

Avoid routine early ERCP in unselected acute gallstone pancreatitis. In a Cochrane review, early routine ERCP versus early conservative management did not produce statistically significant differences in mortality (risk ratio 0.74, 95% CI 0.18-3.03), local complications (risk ratio 0.86, 95% CI 0.52-1.43), or systemic complications (risk ratio 0.59, 95% CI 0.31-1.11). [21]

The absence of cholangitis does not itself exclude a retained duct stone, but it removes the immediate source-control rationale for ERCP. In this setting, establish whether a treatable ductal lesion is present before exposing the patient to an invasive procedure whose overall adverse-event rate is 6% to 15%. [10]

Routine diagnostic ERCP has been displaced by EUS and MRCP. Detection rates for choledocholithiasis with ERCP, MRCP, and EUS are reported as comparable at greater than 90%, while EUS may better demonstrate microlithiasis that can be masked by contrast during ERCP. [24]
- Do not equate gallstone pancreatitis with an automatic ERCP indication. [9][21]
- Do not use ERCP solely to search for a common bile duct stone when EUS or MRCP can determine whether therapeutic ERCP is needed. [10][23][24]
- Reconsider ERCP if the patient develops cholangitis or objective evidence supports persistent obstruction. [3][9]

*Why diagnostic confirmation should usually precede ERCP in stable patients. [10][23][24]*

| Test | Clinical role | Decision consequence |
| --- | --- | --- |
| EUS | Second-step evaluation for occult biliary disease, including sludge, microlithiasis, stones, pancreatic abnormalities, and pancreas divisum. [1][2][24] | Positive treatable ductal finding supports therapeutic ERCP; negative examination can avoid ERCP. [2][10] |
| MRCP | Noninvasive biliary imaging; one study reported 91% sensitivity, 98% specificity, and 97% diagnostic accuracy for choledocholithiasis. [23] | Use to select patients for therapeutic ERCP when immediate drainage is not required. [23] |
| ERCP | Therapeutic duct access with ability to extract stones, perform sphincterotomy, or place a stent. [3][10] | Use when drainage or another endoscopic intervention is likely, not as a default diagnostic test. [10][24] |

## How to evaluate suspected retained stones before ERCP

Use clinical trajectory and targeted imaging to distinguish passed stones from persistent duct disease.

Obtain transabdominal ultrasound, clinical chemistry including liver tests, serum triglycerides and calcium, a complete prescription and over-the-counter medication review, and cross-sectional abdominal imaging as part of etiologic evaluation in acute pancreatitis. If this initial evaluation does not establish a cause and biliary disease remains plausible, advance to EUS or MRCP rather than diagnostic ERCP. [2]

Choose EUS when occult stones, biliary sludge, or microlithiasis are leading concerns. Biliary sludge and microlithiasis may cause clinically significant pain, cholangitis, and pancreatitis; microlithiasis is often categorized clinically as small gallstones. [1] In idiopathic acute recurrent pancreatitis, EUS diagnostic yield was 75% in one study, and biliary tract disease was the most common treatable etiology. [2]

Choose MRCP when a noninvasive ductal map will answer the retained-stone question or define obstruction before intervention. MRCP can select patients with choledocholithiasis for therapeutic ERCP, avoiding procedure-related morbidity in patients without an actionable lesion. [23][24]

Use ERCP after EUS or MRCP when findings identify a ductal stone or obstruction requiring drainage. If imaging suggests a nonstone obstructive process, ERCP may provide direct ampullary evaluation and biopsy capability, whereas MRCP is useful for defining the cause and anatomic extent of perihilar obstruction. [24]
- A negative transabdominal ultrasound does not exclude sludge or microlithiasis; consider EUS when the presentation remains biliary. [1][2][24]
- In recurrent unexplained pancreatitis with nondilated ducts, EUS, secretin-enhanced MRCP, and ERCP have all been studied as second-step tests; ERCP carries substantial morbidity when used diagnostically. [22]
- If an obstructing lesion is confirmed and therapy is needed, convert the diagnostic plan to therapeutic ERCP rather than repeating noninvasive imaging. [3][10]

## Risk, consent, and post-ERCP surveillance

The threshold for ERCP should reflect both urgency of drainage and meaningful procedure-related harm.

Discuss ERCP adverse events when the indication is elective or uncertain. The ASGE choledocholithiasis guideline reports adverse events in 6% to 15% of ERCPs. Acute pancreatitis is the most common complication; bleeding, infection, and perforation are other major adverse events. [10][19]

When infection risk is increased because complete biliary drainage may not be achieved, use antibiotic prophylaxis. Examples include hilar strictures and primary sclerosing cholangitis; if drainage remains incomplete after ERCP, continue antibiotics after the procedure whether or not a stent was placed. [9]

Monitor patients after ERCP for at least 4 hours in usual practice because most post-ERCP pancreatitis becomes symptomatic within hours. Selected low-risk patients may be discharged earlier only after a minimum of 2 hours, endoscopist review, and safety-net instructions. [4]
- Document the therapeutic objective before cannulation: drainage, stone extraction, or stenting. [3][10]
- If complete drainage is uncertain, administer antibiotic prophylaxis and continue antibiotics when post-procedure drainage is incomplete. [9]
- Assess post-procedure abdominal pain and clinical deterioration during recovery; extend observation when symptoms, sedation recovery, or procedural complexity require it. [4]

*ERCP safety actions linked to procedural findings. [4][9][10][19]*

| Situation | Action | Rationale |
| --- | --- | --- |
| Therapeutic probability is low | Use EUS or MRCP before ERCP. [10][23][24] | ERCP adverse events occur in 6% to 15%. [10] |
| Known or suspected obstruction with possible incomplete drainage | Give antibiotic prophylaxis. [9] | Incomplete drainage increases post-ERCP cholangitis risk. [9] |
| Drainage remains incomplete | Continue antibiotics after ERCP. [9] | Persistent obstructed biliary segments remain susceptible to infection. [9] |
| Post-ERCP recovery | Observe for at least 4 hours; selected low-risk patients require at least 2 hours plus endoscopist review before discharge. [4] | Most post-ERCP pancreatitis becomes symptomatic within several hours. [4] |

## ERCP in recurrent acute pancreatitis

Recurrent attacks warrant etiologic definition before endoscopic treatment.

In recurrent acute pancreatitis without a cause after standard evaluation, pursue EUS and/or secretin-enhanced MRCP to identify a correctable biliary or pancreatic abnormality. EUS can identify duct stones or sludge, chronic pancreatitis features, pancreatic masses, and pancreas divisum; a dominant dorsal duct without communication between dorsal and ventral ducts supports pancreas divisum on EUS. [2]

Treat a demonstrated biliary cause rather than labeling the episode idiopathic. Biliary sludge and microlithiasis can be associated with recurrent pancreatitis and may account for a portion of otherwise idiopathic cases; management in an EUS study was tailored with cholecystectomy for surgical causes or ERCP with sphincterotomy or stone extraction for endoscopically treatable disease. [1][2]

Avoid diagnostic ERCP, bile aspiration for crystals, and sphincter of Oddi manometry as routine early testing in unexplained recurrent pancreatitis because invasive evaluation can expose patients to substantial morbidity. [22]
- Use EUS when microlithiasis or occult choledocholithiasis is suspected after unrevealing first-line evaluation. [1][2][24]
- Use secretin-enhanced MRCP or EUS to evaluate ductal anatomy in recurrent unexplained pancreatitis with nondilated ducts. [22]
- Reserve ERCP for an endoscopic therapeutic target rather than diagnostic exploration. [10][22][24]

## References
1. Consensus definition of sludge and microlithiasis as a possible cause of pancreatitis | Gut — gut.bmj.com — https://gut.bmj.com/content/72/10/1919
2. Utility of endoscopic ultrasound in idiopathic acute recurrent pancreatitis | BMJ Open Gastroenterology — bmjopengastro.bmj.com — https://bmjopengastro.bmj.com/content/8/1/e000538
3. United Kingdom guidelines for the management of acute pancreatitis | Gut — gut.bmj.com — https://gut.bmj.com/content/42/suppl_2/S1
4. British Society of Gastroenterology Endoscopic Retrograde Cholangiopancreatography (ERCP) Quality Improvement Programme: minimum service standards and good practice statements | Frontline Gastroenterology — fg.bmj.com — https://fg.bmj.com/content/15/6/445
5. Endoscopic Management of Acute Biliary Pancreatitis: A Meta-Analysis | NEJM Clinician — clinician.nejm.org — https://clinician.nejm.org/endoscopic-management-acute-biliary-pancreatitis-meta-analysis-JG200002010000016
6. Increased ERCP-related adverse event from premature urgent ... — www.nature.com — https://www.nature.com/articles/s41598-024-64644-x
7. ASGE guideline: the role of ERCP in diseases of the biliary tract and the pancreas — www.sciencedirect.com — https://www.sciencedirect.com/science/article/abs/pii/S0016510705018560
8. Performance of diagnostic tools for acute cholangitis in patients with suspected biliary obstruction - Sperna Weiland - 2022 - Journal of Hepato-Biliary-Pancreatic Sciences - Wiley Online Library — onlinelibrary.wiley.com — https://onlinelibrary.wiley.com/doi/full/10.1002/jhbp.1096
9. Acute biliary conditions — www.sciencedirect.com — https://www.sciencedirect.com/science/article/abs/pii/S152169181300156X
10. ASGE guideline on the role of endoscopy in the evaluation and management of choledocholithiasis — www.sciencedirect.com — https://www.sciencedirect.com/science/article/pii/S0016510718331626
11. S2724 Primary Sclerosing Cholangitis in an Adolescent Presenting with Recurrent Acute Pancreatitis — journals.lww.com — https://journals.lww.com/ajg/fulltext/2024/10001/s2724_primary_sclerosing_cholangitis_in_an.2725.aspx
12. Prophylaxis of post-ERCP pancreatitis: a practice survey - ScienceDirect — www.sciencedirect.com — https://www.sciencedirect.com/science/article/abs/pii/S0016510709027096
13. Acute pancreatitis in pregnancy: A treatment paradigm based ... : International Journal of Applied and Basic Medical Research — journals.lww.com — https://journals.lww.com/ijab/fulltext/2013/03020/acute_pancreatitis_in_pregnancy__a_treatment.10.aspx
14. Abstracts of Papers Submitted to the Joint 45th... : Pancreas — journals.lww.com — https://journals.lww.com/pancreasjournal/fulltext/2014/11000/abstracts_of_papers_submitted_to_the_joint_45th.34.aspx
15. Epidemiology and Etiology of Biliary Acute Pancreatitis - The Pancreas - Wiley Online Library — onlinelibrary.wiley.com — https://onlinelibrary.wiley.com/doi/epdf/10.1002/9781119876007.ch12
16. Emergency Endoscopic Retrograde Cholangiopancreatography Did ... — journals.lww.com — https://journals.lww.com/pancreasjournal/_layouts/15/oaks.journals/downloadpdf.aspx?an=00006676-202201000-00007
17. Endoscopic Management of Recurrent Acute Pancreatitis — www.gastrojournal.org — https://www.gastrojournal.org/article/S1542-3565(19)30501-4/fulltext
18. Adverse Events Associated With Endoscopic Retrograde ... — www.gastrojournal.org — https://www.gastrojournal.org/article/S0016-5085(24)05657-9/fulltext
19. Complications of Endoscopic Retrograde Cholangiopancreatography — www.gastrojournal.org — https://www.gastrojournal.org/article/S0016-5085(25)00527-X/fulltext
20. How to Prevent Post-Endoscopic Retrograde ... — www.gastrojournal.org — https://www.gastrojournal.org/article/S0016-5085(20)30359-0/fulltext
21. Early routine endoscopic retrograde cholangiopancreatography strategy versus early conservative management strategy in acute gallstone pancreatitis - Tse, F - 2012 | Cochrane Library — www.cochranelibrary.com — https://www.cochranelibrary.com/es/cdsr/doi/10.1002/14651858.CD009779.pub2//th
22. Diagnostic yield of ERCP and secretin-enhanced MRCP and EUS in patients with acute recurrent pancreatitis of unknown aetiology - ScienceDirect — www.sciencedirect.com — https://www.sciencedirect.com/science/article/abs/pii/S1590865809000322
23. The diagnostic accuracy of magnetic resonance cholangiopancreatography and ultrasound compared with direct cholangiography in the detection of choledocholithiasis - ScienceDirect — www.sciencedirect.com — https://www.sciencedirect.com/science/article/abs/pii/S0009926099900235
24. Bile Duct Dilatation - an overview — www.sciencedirect.com — https://www.sciencedirect.com/topics/medicine-and-dentistry/bile-duct-dilatation

## Editorial note

Prepared from cited clinical literature using Astra's research workflow. Verify recommendations against current guidance and patient-specific factors.
