ERCP carries more risk than most endoscopic procedures, which is why gastroenterologists treat it as a therapeutic tool rather than a first-line diagnostic test. Overall complication rates in the general population run roughly 5–10%, though the number climbs higher in patients with certain underlying conditions. The procedure’s unique combination of instrumentation, contrast injection, and interventions like sphincterotomy creates several distinct avenues for harm, from inflamed pancreases to perforated bowel walls. Understanding each of those avenues, and who is most vulnerable to them, is what separates informed consent from a signature on a form.
Post-ERCP Pancreatitis Is the Most Common Complication
Inflammation of the pancreas after ERCP, known as post-ERCP pancreatitis (PEP), is the complication patients and doctors worry about most. It develops when the instruments, contrast dye, or pressure from fluid injection irritate or mechanically obstruct the pancreatic duct opening. Swelling at the sphincter blocks the normal flow of pancreatic secretions, which can trigger a cascade where digestive enzymes activate inside the pancreas itself and start digesting it from within.1PubMed Central. Post-endoscopic retrograde cholangiopancreatography pancreatitis In the general ERCP population, PEP occurs in roughly 3–10% of procedures, but that range shifts depending on who the patient is. Among people with liver cirrhosis, for example, a large meta-analysis found pancreatitis in about 5% of cases, with an overall complication rate of roughly 15%.2Clinical Endoscopy. Safety of endoscopic retrograde cholangiopancreatography (ERCP) in cirrhosis compared to non-cirrhosis and effect of Child-Pugh score on post-ERCP complications
Most cases of PEP are mild, meaning a day or two of abdominal pain with a brief hospital stay. But moderate-to-severe pancreatitis, which can require intensive care, prolonged fasting, and occasionally surgery, is not rare enough to dismiss. In a well-known randomized trial of high-risk patients, moderate-to-severe pancreatitis occurred in about 4–9% of participants depending on the treatment arm.3PubMed Central. A randomized trial of rectal indomethacin to prevent post-ERCP pancreatitis That is not a trivial number when you consider thousands of ERCPs are performed daily worldwide.
Reducing the Chance of Pancreatitis
The good news is that PEP prevention has improved meaningfully over the past decade. The most well-established measure is rectal indomethacin, an anti-inflammatory suppository given just before or immediately after the procedure. A landmark trial found that indomethacin cut PEP rates nearly in half in high-risk patients, from about 17% in the placebo group to around 9%.3PubMed Central. A randomized trial of rectal indomethacin to prevent post-ERCP pancreatitis That trial changed practice worldwide, and rectal indomethacin is now standard of care in most centers.
For the highest-risk patients, indomethacin alone may not be enough. A large multicenter trial found that combining indomethacin with a small temporary plastic stent placed in the pancreatic duct was more effective than indomethacin alone, with PEP occurring in about 11% of the combination group versus 15% of the indomethacin-only group.4The Lancet. Rectal indomethacin alone versus indomethacin plus a prophylactic pancreatic stent for preventing pancreatitis after ERCP (STRING) Current guidelines support using both measures in patients at high risk, though the stent adds technical complexity and isn’t always feasible.
Bleeding After Sphincterotomy
When ERCP includes a sphincterotomy, which is a small cut made to widen the bile duct opening, bleeding becomes a real concern. A single-endoscopist analysis of over 2,700 cases found post-sphincterotomy bleeding in about 4.5% of patients, with the majority of episodes occurring during the procedure itself rather than days later.5PubMed Central. Risk factors for therapeutic ERCP-related complications: an analysis of 2,715 cases performed by a single endoscopist Most bleeding stops on its own or is controlled endoscopically with injections or heat application. Transfusions are needed in a small minority.
Delayed bleeding, occurring hours to days after the procedure, is less common but harder to manage because the patient has often gone home. One study found delayed bleeding in about 1.4% of sphincterotomy cases, with episodes sometimes appearing more than 72 hours after the procedure.6PubMed Central. Post-endoscopic sphincterotomy delayed bleeding occurs in patients with just 1-day interruption of direct oral anticoagulants or hemodialysis The strongest risk factors for bleeding identified in a systematic review of nearly 150,000 patients include being on blood thinners, having a clotting disorder, being on hemodialysis, and having liver cirrhosis.7PubMed. Risk factors for bleeding after endoscopic retrograde cholangiopancreatography: a systematic review and meta-analysis Patients with clotting problems carried particularly elevated odds. If you are on anticoagulants, your gastroenterologist will coordinate with your prescribing doctor about when to pause the medication, though even a brief interruption may not fully eliminate the risk.
Perforation of the Bowel Wall
Perforation is the most feared ERCP complication, though it is also the rarest, occurring in well under 1% of cases. Among cirrhotic patients in one meta-analysis, perforation occurred in about 0.3%.2Clinical Endoscopy. Safety of endoscopic retrograde cholangiopancreatography (ERCP) in cirrhosis compared to non-cirrhosis and effect of Child-Pugh score on post-ERCP complications The classification system most endoscopists use (the Stapfer system) divides perforations into types based on location and severity. Large free-wall tears of the duodenum (type I) typically need emergency surgery. Perforations around the ampulla from sphincterotomy (type II) can often be managed without an operation using stents, antibiotics, and drainage, with non-operative treatment succeeding in about 79% of these cases, though mortality still reaches roughly 9%.8PubMed Central. Endoscopic retrograde cholangiopancreatography-related perforations: Diagnosis and management Small ductal perforations (type III) from guidewires almost always heal with conservative care.9PubMed Central. Prevention and Management of Endoscopic Retrograde Cholangiopancreatography-Related Perforation: A Guideline-Based Narrative Review
When type II perforations do require surgery, the procedures can be complex. One surgical team described a modified technique involving reconstruction of the bile duct connection and intestinal rerouting, discharging 11 of 12 patients successfully.10PubMed Central. Surgical management of Stapfer Type 2 ERCP perforations The key with perforation is early detection: if the endoscopist recognizes the injury during or immediately after the procedure, outcomes are far better than if it is caught a day later when peritonitis has set in.
Infection and the Duodenoscope Problem
Cholangitis, an infection of the bile ducts, occurs in roughly 1–3% of ERCPs. The mechanism is straightforward: when the procedure fails to drain an obstructed bile duct completely, bacteria that were introduced or already present multiply in the stagnant bile. A study of 44 patients who developed bloodstream infections after ERCP found that 87% had incomplete bile duct drainage when sepsis set in.11PubMed. Septicemia after endoscopic retrograde cholangiopancreatography Patients at especially high risk for incomplete drainage, such as those with retained gallstones, certain autoimmune conditions affecting the bile ducts, or tumors in the liver, are sometimes given preventive antibiotics before or during the procedure.12PubMed Central. Prevention of Bacterial Infection in Biliary and Pancreatic Endoscopy—A Review
A separate and more insidious infection risk comes from the duodenoscope itself. Unlike most endoscopes, duodenoscopes have a complex elevator mechanism at their tip that is notoriously difficult to clean. Outbreaks of drug-resistant bacteria traced to contaminated duodenoscopes have occurred at hospitals around the world, and investigations have shown that standard reprocessing methods do not always produce a pathogen-free instrument.13PubMed Central. Duodenoscope-associated infection prevention: A call for evidence-based decision making In one documented case, three patients who underwent ERCP with the same duodenoscope developed infections with drug-resistant organisms. The contamination was only confirmed after the scope was physically dismantled and the forceps elevator was sampled, revealing bacteria identical to those found in the patients.14PubMed Central. Uncovering the spread of drug-resistant bacteria through next-generation sequencing based surveillance Newer duodenoscope designs with disposable elevator caps aim to reduce this risk, but the problem is not fully solved.
Sedation-Related Complications
ERCP is typically performed under deep sedation or general anesthesia, and the sedation itself introduces a layer of risk that has nothing to do with the bile ducts. Because patients lie prone or on their side during a long, technically demanding procedure, maintaining a safe airway is more challenging than during a standard upper endoscopy. A systematic review comparing different sedation approaches found that monitored anesthesia care (MAC, where you breathe on your own under deep sedation) resulted in more episodes of low oxygen levels compared to general anesthesia with a breathing tube.15PubMed Central. Safety and sedation-associated adverse event reporting among patients undergoing endoscopic cholangiopancreatography
A randomized trial in high-risk patients quantified the difference starkly: sedation-related adverse events occurred in about half of patients receiving MAC versus roughly 10% of those under general anesthesia, driven primarily by the frequent need for airway maneuvers under MAC.16PubMed. A randomized controlled trial evaluating general endotracheal anesthesia versus monitored anesthesia care and the incidence of sedation-related adverse events during ERCP in high-risk patients This does not mean every ERCP should be done under general anesthesia, as that carries its own costs and staffing requirements. But for patients with obesity, severe lung disease, or a history of airway problems, general anesthesia is often the safer choice.
Who Faces the Highest Risk
Not every patient walks into an ERCP suite with the same odds of a complication. Several patient-specific factors reliably raise the risk of pancreatitis specifically: suspected sphincter of Oddi dysfunction, female sex, a normal bilirubin level (which sounds counterintuitive but usually means the duct is not dilated, making cannulation harder), and a prior episode of PEP. Having multiple risk factors compounds the danger significantly.17PubMed. Understanding risk factors and avoiding complications with endoscopic retrograde cholangiopancreatography
On the procedural side, difficulty getting into the bile duct is a major driver of complications. Selective bile duct cannulation fails in 15–35% of attempts even for experienced endoscopists, and every additional minute of probing at the papilla raises the chance of pancreatic inflammation.18PubMed. Difficult biliary cannulation during ERCP: how to facilitate biliary access and minimize the risk of post-ERCP pancreatitis Once cannulation is judged to be difficult, the risk of pancreatitis and outright technical failure both climb.19PubMed Central. Difficult biliary cannulation: Historical perspective, practical updates, and guide for the endoscopist Techniques like precut sphincterotomy, where the endoscopist cuts into the papilla to gain access, can salvage a failed cannulation but also carry their own bleeding risk.7PubMed. Risk factors for bleeding after endoscopic retrograde cholangiopancreatography: a systematic review and meta-analysis
Why Your Endoscopist’s Volume Matters
ERCP is among the most operator-dependent procedures in gastroenterology, and the data on volume-outcome relationships are fairly clear. A systematic review and meta-analysis found that high-volume endoscopists had nearly twice the odds of procedural success compared to low-volume operators, and their patients experienced about 30% fewer adverse events overall.20PubMed. Impact of center and endoscopist ERCP volume on ERCP outcomes: a systematic review and meta-analysis Bleeding was also less frequent with high-volume endoscopists. A separate study drilling into specific indications found that high endoscopist volume predicted higher cannulation success and lower PEP rates, even after adjusting for patient characteristics.21PubMed Central. Outcome of ERCP related to case-volume
This is one area where patients can advocate for themselves. If your ERCP is elective rather than emergent, asking about your endoscopist’s annual procedure volume is entirely reasonable. Many professional societies have suggested minimum thresholds for training and ongoing competency, and centers that do more ERCPs tend to have the infrastructure, from anesthesia support to nursing expertise, that makes complications less likely and recovery smoother.
ERCP With Altered Anatomy or During Pregnancy
Patients who have had Roux-en-Y gastric bypass face a unique challenge: the standard duodenoscope cannot reach the bile duct through their surgically rearranged intestines. Techniques using long balloon-tipped enteroscopes can sometimes get there, but success has historically been limited. In one study, single-balloon enteroscopy succeeded in 68% of patients who had previously failed conventional ERCP.22PubMed. Endoscopic retrograde cholangiopancreatography using a single-balloon enteroscope in patients with altered Roux-en-Y anatomy A newer approach, EUS-directed transgastric ERCP (EDGE), creates a temporary passage from the excluded stomach to allow a standard duodenoscope to be used, and is gaining traction at specialized centers.23PubMed Central. Review of ERCP Techniques in Roux-en-Y Gastric Bypass Patients: Highlight on the Novel EUS-Directed Transgastric ERCP (EDGE) Technique
Pregnancy adds another layer of concern because of radiation from fluoroscopy. A systematic review found that overall adverse outcomes occurred in about 16% of pregnant women undergoing ERCP. Fetal adverse outcomes were roughly similar whether radiation was used or avoided (about 5–6%), suggesting that limiting fluoroscopy time and using lead shielding can keep fetal exposure within acceptable limits.24PubMed Central. Safety of endoscopic retrograde cholangiopancreatography (ERCP) in pregnancy: A systematic review and meta-analysis Some centers perform ERCP without any fluoroscopy at all during pregnancy, relying on bile aspiration and other cues to confirm duct access.25PubMed Central. Long-term follow-up after fetal radiation exposure during endoscopic retrograde cholangiopancreatography When a pregnant woman has a genuine bile duct obstruction, the risks of leaving it untreated, including sepsis and preterm labor, generally outweigh the procedural risks.
What Happens If You Go Home Same Day
Many ERCPs are performed on an outpatient basis, meaning you are sent home the same day. For most patients this works fine, but a secondary analysis of a major trial found that among high-risk patients discharged after outpatient ERCP, about 22% required hospitalization within 30 days. Patients who were discharged and came back later had worse outcomes than those who were kept in the hospital from the start: more moderate-to-severe pancreatitis (about 24% vs 14%) and longer hospital stays (roughly 6 days vs 4 days).26PubMed Central. Thirty-day hospital admission following high-risk outpatient ERCP: incidence and analysis of risk factors based on a secondary analysis of the Stent Versus Indomethacin trial dataset Factors linked to readmission included attempts at pancreatic duct cannulation and biliary stent placement. This underscores that post-procedure monitoring decisions should be tailored to the individual, especially for patients with multiple risk factors for pancreatitis. If your doctor suggests an overnight observation, the data supports that caution.
When ERCP Can Be Avoided Entirely
Because ERCP carries real risks, one of the most effective safety strategies is not doing it when it is not needed. Purely diagnostic ERCPs, performed just to take pictures of the bile ducts without any planned treatment, have been largely replaced by safer imaging techniques. Endoscopic ultrasound (EUS) and magnetic resonance cholangiopancreatography (MRCP) can both visualize the bile ducts without entering them. A prospective trial found that EUS was especially useful for confirming a normal biliary tree and was considered a low-risk alternative to ERCP, with the EUS-first strategy offering the best cost-utility by avoiding unnecessary procedures.27PubMed. Can endoscopic ultrasound or magnetic resonance cholangiopancreatography replace ERCP in patients with suspected biliary disease? A prospective trial and cost analysis Another study found that performing EUS first, even in patients thought to have a high likelihood of bile duct stones, avoided unnecessary diagnostic ERCP in about 58% of cases.28Clinical Endoscopy. Endoscopic Ultrasonography Can Prevent Unnecessary Diagnostic Endoscopic Retrograde Cholangiopancreatography Even in Patients with High Likelihood of Choledocholithiasis and Inconclusive Ultrasonography
The shift in practice is worth knowing about if you have been told you need an ERCP. If the plan is purely diagnostic, asking whether EUS or MRCP could answer the question first is a legitimate conversation to have with your doctor. ERCP should ideally be reserved for situations where treatment, such as stone removal, stent placement, or sphincterotomy, is likely to be needed.
Long-Term Consequences After Sphincterotomy
Most discussions of ERCP risk focus on what can go wrong in the first week. But for patients who undergo sphincterotomy, particularly younger patients, long-term follow-up reveals a different set of issues. Cutting the sphincter permanently alters the barrier between the intestine and the bile duct, potentially allowing bacteria and air to reflux upward. A study following patients younger than 60 for a median of 15 years found that 24% developed late complications, most commonly recurrent bile duct stones and narrowing of the sphincterotomy site.29PubMed. Long-term follow-up after endoscopic sphincterotomy for bile duct stones in patients younger than 60 years of age
Another long-term study documented stone recurrence in about 12% of patients, along with liver abscesses in a small number and cholecystitis in about a fifth of patients who still had their gallbladders in place.30PubMed. Long-term consequence of endoscopic sphincterotomy for bile duct stones Multivariate analysis from a third study identified a wide bile duct (15 mm or more) and brown pigment stones as independent predictors of late problems.31PubMed. Risk factors predictive of late complications after endoscopic sphincterotomy for bile duct stones: long-term (more than 10 years) follow-up study None of this means sphincterotomy should be avoided when it is needed. But it does mean that younger patients undergoing the procedure should understand they may need surveillance or repeat interventions years down the road.
Radiation Exposure for Patients and Staff
Fluoroscopy is used during nearly every ERCP to guide wire and catheter placement in real time. The radiation doses per procedure are generally modest for the patient, but they are not zero, and concern exists primarily around cumulative exposure for people who undergo multiple ERCPs over their lifetime. For the medical staff standing in the room, the concern is even more practical: endoscopists, nurses, and technicians accumulate radiation exposure across hundreds or thousands of cases over a career. A review of the topic emphasized that this occupational exposure carries a potential increase in the lifetime risk of malignancy for medical personnel, making protective equipment, distance from the source, and minimizing fluoroscopy time important habits rather than optional extras.32PubMed Central. Minimizing radiation exposure in endoscopic retrograde cholangiopancreatography: a review for medical personnel Some centers are moving toward reducing fluoroscopy use by relying more on cholangioscopy, wire-guided techniques, and aspiration to confirm duct access, an approach already used routinely in pregnant patients.