Our Services
Medical Information
Helpful Resources
Published on: 3/10/2026
If your doctor recommended an ERCP, it usually means a suspected blockage in the bile or pancreatic duct that can often be both diagnosed and treated in one session; gallstones are the most common cause, but infection, strictures from scarring, pancreatitis, or tumors are also possible.
There are several factors to consider, including urgent red flags like fever with jaundice, severe abdominal pain, or confusion, plus how to prepare, understand risks such as pancreatitis, and plan follow-up like gallbladder surgery or stent care; see the complete guidance below, which may change your next steps.
If 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 experiencing any combination of these warning signs, use this free Acute Cholangitis symptom checker to evaluate your symptoms and understand whether 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, consider checking them with a free Acute Cholangitis symptom assessment tool to help determine your next steps — 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.