Our Services
Medical Information
Helpful Resources
Published on: 3/12/2026
An ERCP is typically recommended when your doctor suspects a blockage in the bile or pancreatic duct, which can often be diagnosed and treated in a single procedure. Gallstones are the most common cause, but infections, scar-tissue strictures, pancreatitis, and tumors are also possible reasons.
Key considerations include recognizing urgent red flags (fever with jaundice, severe abdominal pain, or confusion), preparing properly, understanding risks like post-procedure pancreatitis, and planning follow-up care such as gallbladder surgery or stent management.
Because the underlying cause of an ERCP recommendation can range from routine gallstones to serious conditions, understanding your specific symptoms is critical before your procedure. A free, instant, online symptom check can help you clarify what's driving your symptoms, identify urgent warning signs, and prepare informed questions for your doctor—empowering you to navigate next steps with confidence.
Reviewed for medical accuracy: 07/03/2026
Not seeing your question? No worries.
Submit your own QuestionIf your doctor has recommended an ERCP, it usually means there's concern about a blockage in your bile duct or pancreatic duct. Hearing this can feel overwhelming. The good news is that ERCP (Endoscopic Retrograde Cholangiopancreatography) is a well-established, highly effective procedure used to diagnose and treat these blockages — often in the same session.
Let's break down what this means, why bile duct blockages happen, and what you should do next.
An ERCP is a specialized procedure that combines:
Unlike many tests, ERCP is not just diagnostic — it's often therapeutic. That means your doctor can treat the problem during the same procedure.
During an ERCP, your doctor can:
You are typically sedated or under anesthesia, so you should not feel pain during the procedure.
Your bile ducts carry bile from your liver and gallbladder to your small intestine. Bile helps digest fats. When the duct becomes blocked, bile backs up into the liver — and this can lead to serious complications if not treated.
Here are the most common causes:
Gallstones that form in the gallbladder can travel into the bile duct and become stuck.
This may cause:
Gallstones are one of the most frequent reasons people undergo an ERCP.
A blocked bile duct can become infected, leading to acute cholangitis, a potentially life-threatening condition that requires urgent treatment.
Symptoms may include:
If you're concerned you may be experiencing symptoms of Acute Cholangitis, a free AI-powered symptom checker can help you quickly assess your risk level and determine if you need immediate medical attention. This condition can become serious quickly — so seek urgent medical care if you suspect infection.
Scar tissue can narrow the bile duct. Causes may include:
Strictures can block bile flow gradually over time.
In some cases, blockages are caused by:
Not every blockage is cancer — gallstones are far more common — but doctors must rule it out. ERCP allows for tissue sampling if needed.
Inflammation of the pancreas can cause swelling that compresses nearby ducts, leading to obstruction.
A bile duct blockage should never be ignored.
Without treatment, complications may include:
The purpose of ERCP is to relieve the blockage quickly and prevent these complications.
Understanding the process may help ease anxiety.
Most ERCP procedures take 30 minutes to an hour, depending on complexity.
ERCP is generally safe when performed by experienced specialists, but like any procedure, it carries risks.
Possible complications include:
The overall risk of serious complications is low, but it's important to understand them. Your doctor will discuss your personal risk based on your health history.
Most people go home the same day.
After the procedure, you may experience:
You should seek immediate medical care if you experience:
These could signal a complication that needs urgent evaluation.
If ERCP has been recommended, here's how to approach it calmly and proactively:
Ask your doctor:
Some situations are emergencies — especially if infection is suspected.
Seek urgent care if you have:
These symptoms could indicate acute cholangitis, which requires immediate treatment.
Depending on the cause, you may need:
ERCP may solve the immediate blockage, but long-term management depends on the underlying cause.
Do not delay care if you experience:
A blocked bile duct with infection can escalate quickly. Early treatment saves lives.
If you're facing an ERCP, it means your doctor is addressing a potentially serious — but often treatable — bile duct problem.
In most cases:
ERCP is both a diagnostic and therapeutic tool, allowing doctors to identify and fix the issue during the same procedure.
While complications are possible, delaying treatment for a blocked bile duct is often riskier than the procedure itself.
If you're unsure about your symptoms or want to better understand your risk, you can use a free Acute Cholangitis symptom checker to help evaluate what you're experiencing — and always speak to a doctor immediately if you have symptoms that could be serious or life-threatening.
Being informed helps you stay calm, ask the right questions, and move forward confidently with your care.
(References)
* Chahal P, Sharma A, Mullin GE. Endoscopic retrograde cholangiopancreatography (ERCP) in the current era: Indications, complications, and training. Gastrointest Endosc. 2017 Nov;86(5):803-812. doi: 10.1016/j.gie.2017.07.031. Epub 2017 Aug 22. PMID: 28838327.
* Zhang XF, Meng K, Huang W, Li W. Obstructive jaundice: A review of causes, diagnosis, and management. Ann Hepatol. 2018 Sep-Oct;17(5):715-721. doi: 10.5604/01.3001.0012.1868. PMID: 29329972.
* Sethi S, Sethi N, Wadhwa V, Thandassery RB, Mashiana HS, Minocha V, Sharma A, Puri R. Endoscopic retrograde cholangiopancreatography: patient selection, preparation, and follow-up. Gastroenterology Report (Oxford). 2018 Dec;6(5):329-335. doi: 10.1093/gastro/goy045. Epub 2018 Nov 13. PMID: 30564295; PMCID: PMC6296839.
* Kota V, Tandan M, Reddy DN. ERCP-related complications and their management: A comprehensive review. World J Gastroenterol. 2016 Nov 28;22(44):9780-9788. doi: 10.3748/wjg.v22.i44.9780. PMID: 27891007; PMCID: PMC5127885.
* Singh P, Rastogi A, Shalimar. Role of Endoscopic Ultrasound in the Management of Biliary Obstruction. Clin Endosc. 2017 Jul;50(4):307-313. doi: 10.5946/ce.2016.155. Epub 2017 May 31. PMID: 28746777; PMCID: PMC5530113.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.