---
title: "Why ERCP is done before gallbladder surgery"
description: "This page explains why ERCP before gallbladder surgery is done to clear bile duct stones first, making keyhole removal safer."
url: https://jaipurhospital.in/ercp-gallbladder-surgery-two-procedures-needed/
language: en
publisher: Jaipur Hospital, Jaipur
---

Understanding & candidacy · Gallbladder Stone Surgery

# Why ERCP is done before gallbladder surgery

By Jaipur Hospital medical team Medical review by Dr. Tanmay Jain: pending Published 25 Nov 2026

If a gallstone has moved into the bile duct, doctors usually clear the duct with an ERCP before taking out the gallbladder. This two-step approach makes the keyhole surgery safer and simpler.

Treatment at the hospital: [Gallbladder Stone Surgery in Jaipur](https://jaipurhospital.in/gall-bladder-surgery-cholecystectomy/)

At a glance

- ERCP clears bile duct stones through the mouth before gallbladder surgery.
- Clearing the duct first makes later keyhole gallbladder surgery simpler.
- Pancreatitis is the most common ERCP risk, occurring in up to 1 in 12 cases.
- A missed stone after surgery can cause jaundice or infection needing another ERCP.

*Key figures*

- 6% to 15% of cases ERCP adverse event rate
- about 1 in 200 (0.5%) ERCP 30-day mortality
- up to 1 in 12 cases ERCP pancreatitis rate
- within 72 hours Typical interval to surgery after ERCP

## What ERCP does for bile duct stones

*How ERCP is done*

1. Reach the bile duct Tube passed through mouth to small intestine
2. Inject dye for X-ray Ducts show up on X-ray
3. Remove stones if found Small cut at duct opening, stones pulled out
4. Place stent if needed Keeps duct open for bile flow

ERCP stands for endoscopic retrograde cholangio-pancreatography. It is a procedure that lets a doctor reach the bile duct through the mouth, down the food pipe and stomach, into the first part of the small intestine. A flexible tube with a camera on the end is used to find the opening of the bile duct.

Key points

- ERCP reaches the bile duct through the mouth, not through the skin.
- Stones are removed with a tiny basket or balloon after a small cut.
- A stent may be left to keep the duct open.

Dye is injected so the ducts show up on X-ray. If stones are seen, a small cut can be made at the duct opening and the stones are pulled out with a tiny basket or balloon. A small plastic or metal tube called a stent may be left in place to keep the duct open and let bile flow. ERCP is not surgery in the traditional sense because no cut is made through the skin.

You will usually have a blood test before the procedure to check clotting and blood counts. You must not eat for at least six hours beforehand so the stomach is empty. An antibiotic is often given before the procedure starts. The procedure is done under sedation or sometimes a general anaesthetic.

After ERCP you may have some tummy pain, bloating or discomfort when swallowing for a few days. Simple painkillers such as paracetamol can help. You should tell any doctor you see afterwards that you have had an ERCP so they can contact the specialist team if needed.

> ERCP is not surgery in the traditional sense because no cut is made through the skin.

## Why the bile duct is cleared before gallbladder surgery

Common bile duct stones are gallstones that have moved out of the gallbladder and become stuck in the main bile duct. Clearing the duct first with ERCP makes the later keyhole surgery to remove the gallbladder less urgent and usually more straightforward. The operation then focuses only on taking out the gallbladder.

If the duct is not cleared beforehand, the surgeon may need to deal with the stones during the operation. This can make the keyhole procedure longer and more complex. A planned two-step approach avoids this.

## Can the surgeon remove bile duct stones during keyhole surgery

*Bile duct exploration during surgery*

**How stones are removed**

Through cystic duct or common bile duct

**X-ray check during operation**

Cholangiograms used to find stones

**Possible complications**

Infection, tube issues, retained stones, narrowing

Surgeons can remove stones from the common bile duct during keyhole surgery by operating through the cystic duct or the common bile duct itself. Special X-rays called cholangiograms are used during the operation to check for stones.

The evidence lists specific complications of bile duct exploration during surgery, including infection around the tube, difficulty removing the tube, retained stones in the duct, and narrowing of the duct needing further treatment.

If stones are found unexpectedly during the gallbladder operation, the surgeon may deal with them then, or may finish the gallbladder removal and arrange a separate ERCP afterwards. Your doctor will advise which approach suits your situation.

## Risks of ERCP compared with gallbladder surgery

*ERCP risk numbers*

- up to 1 in 12 cases Pancreatitis
- 6% to 15% Adverse events
- about 1 in 200 Death within 30 days

ERCP is not surgery in the traditional sense because no cut is made through the skin. However, it carries specific risks. Pancreatitis (inflammation of the pancreas) is the most common complication and occurs in up to 1 in 12 cases; it usually causes abdominal pain for 24 to 48 hours. Severe pancreatitis can also happen.

Key points

- Pancreatitis is the most common ERCP complication.
- Bleeding, infection and perforation are other ERCP risks.
- Gallbladder surgery has separate risks like bile duct injury and bile leak.

Other risks include bleeding, especially if a small cut (sphincterotomy) is made to widen the bile duct opening, infection in the bile ducts (cholangitis), and a hole (perforation) in the wall of the small intestine. Studies report adverse events in 6% to 15% of ERCP cases. The chance of dying within 30 days of ERCP is about 1 in 200.

Keyhole gallbladder removal has its own risks, such as bile duct injury, bile leak, wound infection, and diarrhoea. Both procedures are done under general anaesthesia. Your doctor will explain which risks apply most to you based on your health.

## Can both procedures happen in the same hospital stay

After ERCP for common bile duct stones, laparoscopic cholecystectomy may be performed early, defined as within 72 hours. Your surgical team will decide the safest schedule for you. In some cases, the surgeon may remove duct stones during the operation, or you might need another procedure later. Ask your doctor what is planned for your admission.

## What happens if a stone is missed and stays in the duct after surgery

A stone that remains in the common bile duct after gallbladder removal is called a retained stone. It can cause pain, jaundice (yellow skin or eyes), or infection (cholangitis). If this happens, you will need another procedure, usually an ERCP, to remove the stone. Special X-rays (cholangiograms) during the operation help the surgeon check for stones in the ducts.

## When to contact your doctor

*When to seek urgent care*

- After ERCP Severe pain, fever, vomiting, black or bloody stools
- After gallbladder surgery Jaundice, pain not helped by medicines, wound infection, bile leak

[Emergency? Call 0141 255 1500, 24×7](tel:+911412551500)

After ERCP, contact your doctor or go to the emergency department if you have:

- Severe abdominal pain that does not settle
- Fever and chills
- Vomiting
- Black or bloody stools

Let any doctor you see know you had an ERCP so they can contact the specialist team for advice.

After gallbladder surgery, seek urgent care for:

- Yellow skin or eyes (jaundice)
- Pain not helped by medicines
- Persistent vomiting
- Signs of wound infection such as spreading redness or pus
- Symptoms of a bile leak like worsening pain and feeling unwell

For any emergency, call 108 for an ambulance.

This article was drafted with the assistance of AI tools and thoroughly reviewed, fact-checked, and edited by our editorial team.

## When to see a doctor

Get medical help soon if you notice:

- Severe abdominal pain that does not settle after ERCP
- Yellow skin or eyes after gallbladder surgery

[Emergency? Call 0141 255 1500, 24×7](tel:+911412551500)

Frequently asked questions

### Is ERCP considered surgery?

No. ERCP is done through the mouth using a flexible tube with a camera (endoscope).

It does not involve cutting the skin.

### Do I need to stop eating before ERCP?

Yes.

You must not eat for at least six hours before the procedure so the stomach and small intestine are empty.

### Will I need a blood test before ERCP?

A blood test to check clotting and blood count is usually needed shortly before ERCP, often within the previous two weeks.

### What are the signs of a problem after ERCP or gallbladder surgery?

Contact your doctor straight away if you develop yellow skin or eyes (jaundice), severe tummy pain not helped by medicines, fever, or vomiting that does not settle.

### Can I live normally without a gallbladder?

Yes.

Most people live a healthy life without a gallbladder. Bile flows straight from the liver into the small intestine instead of being stored.

### What if I am diabetic?

Special arrangements are needed for the ERCP if you take tablets or insulin for diabetes.

Tell your care team in advance.

FAQ library

## Questions and answers about gallbladder stone surgery

[See all questions](https://jaipurhospital.in/faqs/gallbladder-stones/)

- [Understanding gallbladder stone surgery](https://jaipurhospital.in/faqs/gallbladder-stones/#topic-understanding)
- [Preparing for gallbladder stone surgery](https://jaipurhospital.in/faqs/gallbladder-stones/#topic-preparing)
- [Risks and results of gallbladder stone surgery](https://jaipurhospital.in/faqs/gallbladder-stones/#topic-risks-and-results)

Treatment at Jaipur Hospital

## Gallbladder Stone Surgery in Jaipur

Laparoscopic gallbladder removal (cholecystectomy) for gallstones.

[About gallbladder stone surgery at Jaipur Hospital](https://jaipurhospital.in/gall-bladder-surgery-cholecystectomy/)

Read next

## Related guides

- [Understanding & candidacyGallstone Symptoms and When Surgery Is NeededUnderstand gallstone symptoms, warning signs, and how doctors decide if you need gallbladder removal surgery. A patient guide from Jaipur Hospital, Jaipur.](https://jaipurhospital.in/gallstone-symptoms-and-surgery-decision/)
- [Understanding & candidacySilent gallstones: do I need surgery if I have no pain?Most silent gallstones need no surgery. Learn when doctors advise removal — porcelain gallbladder, certain blood disorders such as sickle cell disease or chronic...](https://jaipurhospital.in/silent-gallstones-need-surgery-if-have-no-pain/)
- [Recovery & aftercareEating after gallbladder removal: Indian meals that workMost people can eat a normal, healthy diet after their gallbladder is removed. A plain-language guide from Jaipur Hospital, Jaipur.](https://jaipurhospital.in/eating-gallbladder-removal-indian-meals-work/)

The information on the Web Site is provided for informational purposes only and is not meant to substitute the advice provided by our doctor or other health care professional. You should not use the information available on or through the Web Site for treating a health problem or disease or prescribing any medication. All images used on this website are for illustrative purposes only.
