Doctors Note Logo

Published on: 3/10/2026

Facing an ERCP? Why Your Bile Duct Is Blocked & Essential Next Steps

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.

answer background

Explanation

Facing an ERCP? Why Your Bile Duct Is Blocked & Essential 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.


What Is an ERCP?

An ERCP is a specialized procedure that combines:

  • Endoscopy (a thin, flexible tube with a camera passed through your mouth into your small intestine)
  • Fluoroscopy (X-ray imaging) to visualize the bile and pancreatic ducts

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:

  • Remove gallstones from the bile duct
  • Place a stent to open a blocked duct
  • Widen narrowed areas (strictures)
  • Take tissue samples (biopsies)
  • Treat leaks in bile ducts

You are typically sedated or under anesthesia, so you should not feel pain during the procedure.


Why Is Your Bile Duct Blocked?

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:

1. Gallstones (Most Common Cause)

Gallstones that form in the gallbladder can travel into the bile duct and become stuck.

This may cause:

  • Sudden upper right abdominal pain
  • Jaundice (yellowing of the skin or eyes)
  • Dark urine
  • Pale stools

Gallstones are one of the most frequent reasons people undergo an ERCP.


2. Inflammation or Infection (Cholangitis)

A blocked bile duct can become infected, leading to acute cholangitis, a potentially life-threatening condition that requires urgent treatment.

Symptoms may include:

  • Fever and chills
  • Abdominal pain
  • Jaundice
  • Low blood pressure
  • Confusion (in severe cases)

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.


3. Scar Tissue (Strictures)

Scar tissue can narrow the bile duct. Causes may include:

  • Prior surgery
  • Chronic inflammation
  • Pancreatitis
  • Autoimmune conditions

Strictures can block bile flow gradually over time.


4. Tumors or Cancer

In some cases, blockages are caused by:

  • Pancreatic cancer
  • Cholangiocarcinoma (bile duct cancer)
  • Tumors in nearby organs

Not every blockage is cancer — gallstones are far more common — but doctors must rule it out. ERCP allows for tissue sampling if needed.


5. Pancreatitis-Related Blockage

Inflammation of the pancreas can cause swelling that compresses nearby ducts, leading to obstruction.


Why Is a Blocked Bile Duct Serious?

A bile duct blockage should never be ignored.

Without treatment, complications may include:

  • Severe infection (acute cholangitis)
  • Liver damage
  • Sepsis (body-wide infection)
  • Pancreatitis
  • Persistent jaundice

The purpose of ERCP is to relieve the blockage quickly and prevent these complications.


What Happens During an ERCP?

Understanding the process may help ease anxiety.

Before the Procedure:

  • You'll need to fast for several hours.
  • Blood tests may be done.
  • Your doctor will review medications (especially blood thinners).

During ERCP:

  • You are sedated or under anesthesia.
  • A scope is passed through your mouth into your small intestine.
  • A small catheter is inserted into the bile duct.
  • Contrast dye is injected to visualize blockages.
  • Treatment (stone removal, stent placement, dilation) is performed as needed.

Most ERCP procedures take 30 minutes to an hour, depending on complexity.


What Are the Risks of ERCP?

ERCP is generally safe when performed by experienced specialists, but like any procedure, it carries risks.

Possible complications include:

  • Pancreatitis (most common complication)
  • Bleeding
  • Infection
  • Perforation (rare)
  • Reaction to sedation

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.


What Happens After ERCP?

Most people go home the same day.

After the procedure, you may experience:

  • Mild sore throat
  • Bloating
  • Temporary abdominal discomfort

You should seek immediate medical care if you experience:

  • Severe abdominal pain
  • Persistent vomiting
  • Fever
  • Black or bloody stools
  • Chest pain

These could signal a complication that needs urgent evaluation.


Essential Next Steps If You're Facing an ERCP

If ERCP has been recommended, here's how to approach it calmly and proactively:

✅ 1. Understand the Reason

Ask your doctor:

  • What is causing the blockage?
  • Is it likely gallstones, infection, scar tissue, or something else?
  • Are additional imaging tests needed?

✅ 2. Know the Urgency

Some situations are emergencies — especially if infection is suspected.

Seek urgent care if you have:

  • Fever
  • Shaking chills
  • Confusion
  • Severe abdominal pain
  • Yellowing of the eyes

These symptoms could indicate acute cholangitis, which requires immediate treatment.


✅ 3. Prepare Properly

  • Follow fasting instructions exactly.
  • Review medications with your doctor.
  • Arrange transportation home.
  • Ask about when you can return to work or normal activity.

✅ 4. Plan for Follow-Up

Depending on the cause, you may need:

  • Gallbladder removal (if stones are the cause)
  • Repeat ERCP
  • Ongoing monitoring
  • Oncology referral (if cancer is found)

ERCP may solve the immediate blockage, but long-term management depends on the underlying cause.


When to Speak to a Doctor Immediately

Do not delay care if you experience:

  • Fever and jaundice together
  • Severe abdominal pain
  • Fainting or confusion
  • Persistent vomiting
  • Signs of sepsis (rapid heartbeat, low blood pressure, chills)

A blocked bile duct with infection can escalate quickly. Early treatment saves lives.


The Bottom Line

If you're facing an ERCP, it means your doctor is addressing a potentially serious — but often treatable — bile duct problem.

In most cases:

  • The cause is gallstones
  • The procedure successfully removes the blockage
  • Recovery is quick

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.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.

Learn more about diseases

Acute Cholangitis

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.