Back to Blog
Endoscopy & Procedures

What Is the ERCP Procedure Used For

L
Liver and Gastro Care
●July 24, 2026 ●3 min read
What Is the ERCP Procedure Used For

ERCP (endoscopic retrograde cholangiopancreatography) is a specialised endoscopic procedure that combines a side-viewing endoscope with X-ray imaging to diagnose and treat problems of the bile ducts and pancreatic duct. It is mainly used to remove bile duct stones, relieve blockages causing jaundice, place stents across narrowings and treat bile leaks, often avoiding open surgery. ERCP is done under sedation, usually takes 30–90 minutes, and is now mostly a treatment procedure, because MRCP and EUS handle much of the diagnosis.

Key points

  • ERCP treats gallstones in the bile duct, strictures, tumours blocking bile flow and leaks.
  • No cuts on the skin; the scope goes through the mouth to the duodenum.
  • The main risk is pancreatitis (roughly 3–10%); serious complications are uncommon.
  • In Pakistan, ERCP usually costs about Rs. 50,000 to Rs. 200,000.

Table of Contents

  1. What Is ERCP Used For?
  2. ERCP vs Endoscopy vs MRCP
  3. Preparation
  4. The Procedure
  5. Is ERCP Painful?
  6. Risks
  7. Recovery
  8. Cost in Pakistan
  9. Frequently Asked Questions

What Is ERCP Used For?

  • Removing stones from the common bile duct; see gallbladder stone symptoms
  • Relieving obstructive jaundice; see jaundice causes
  • Draining infected bile in cholangitis (an emergency)
  • Placing plastic or metal stents across benign or malignant strictures
  • Treating bile leaks after gallbladder surgery
  • Gallstone pancreatitis with ongoing duct blockage; see lablaba (pancreas)
  • Taking brushings or biopsies from duct narrowings

ERCP vs Endoscopy vs MRCP

Upper endoscopy MRCP ERCP
What it sees Food pipe, stomach, duodenum lining Bile and pancreatic ducts (MRI) Ducts via X-ray dye
Treatment possible? Yes, for lining problems No (imaging only) Yes: stones, stents, drainage
Invasive? Minimally No More specialised

Preparation

  • Fast for 6–8 hours
  • Blood tests including clotting and kidney function
  • Adjust blood thinners and diabetes medicines as advised
  • Tell the team about allergies, especially to contrast dye
  • Bring a companion; some patients stay overnight

The Procedure

  1. Sedation or anaesthesia is given; you usually lie on your front or left side.
  2. The duodenoscope is passed to the opening of the bile duct (papilla).
  3. A thin tube is inserted and dye injected; X-rays show the ducts.
  4. A small cut (sphincterotomy) may widen the opening.
  5. Stones are removed with balloons or baskets; stents are placed if needed.

Is ERCP Painful?

You are sedated, so the procedure itself is not painful. Afterwards, a sore throat and some bloating are common. Abdominal pain that is severe or increasing may signal pancreatitis and needs prompt review.

Risks

  • Post-ERCP pancreatitis (most common; usually mild)
  • Bleeding after sphincterotomy
  • Infection (cholangitis)
  • Perforation (rare)
  • Sedation-related problems

Preventive medicines and techniques reduce the risk of pancreatitis.

Recovery

  • Observation for several hours; overnight stay in some cases
  • Clear fluids first, then light diet if well
  • No driving for 24 hours after sedation
  • Stents may need replacement or removal later
  • Gallbladder removal is often advised after duct stones are cleared

Cost in Pakistan

ERCP in Pakistan usually costs about Rs. 50,000 to Rs. 200,000, depending on what is needed (stone removal, stents, metal stents) and the hospital. Call or WhatsApp for an estimate.

Dr. Omer Hassaan Aftab Ahmad, interventional endoscopist in Islamabad, performs ERCP for bile duct stones and blockages. See our ERCP page.

Urdu Mein Khulasa

ای آر سی پی ایک خاص اینڈوسکوپی ہے جس میں منہ کے راستے آلہ ڈال کر ایکسرے کی مدد سے پت کی نالی اور لبلبے کی نالی کا علاج کیا جاتا ہے۔ اس سے پت کی نالی کی پتھری نکالی جاتی ہے، یرقان کی رکاوٹ دور کی جاتی ہے اور تنگی میں اسٹنٹ ڈالا جاتا ہے، اکثر آپریشن کے بغیر۔ یہ بے ہوشی کی دوا کے ساتھ ہوتی ہے۔ اس کی سب سے عام پیچیدگی لبلبے کی سوزش ہے جو عموماً ہلکی ہوتی ہے۔

Frequently Asked Questions

What is ERCP performed for?

Mainly to remove bile duct stones, relieve blockages causing jaundice, place stents and treat bile leaks.

Is ERCP a high-risk procedure?

It carries more risk than a routine endoscopy, mainly pancreatitis, but serious complications are uncommon in experienced hands.

Is ERCP painful?

No, it is done under sedation. Mild throat soreness and bloating are common afterwards.

What is the difference between endoscopy and ERCP?

Endoscopy examines the lining of the upper gut; ERCP uses a special scope and X-rays to treat the bile and pancreatic ducts.

How long does ERCP take?

Usually 30–90 minutes, depending on what needs to be done.

Conclusion

ERCP is a powerful, minimally invasive way to clear blocked bile ducts and relieve jaundice. For ERCP assessment in Islamabad, consult Dr. Omer Hassaan Aftab Ahmad on 0336 5993116.

Share:
L

Written by

Liver and Gastro Care