ERCP: What It Is, Why It’s Needed, and What Patients Should Know

Dr. Satya Maharshi
Dr. Tummalapalli S A Satya Maharshi Consultant Medical Gastroenterologist  ·  May 26, 2026
Share
Key Takeaway

If your doctor has recommended ERCP, this guide answers every question — what the procedure involves, why it's needed, and what to expect before and after.

If your doctor has recommended ERCP, this guide answers every question — what the procedure involves, why it’s needed, and what to expect before and after.

What Is ERCP?

ERCP (Endoscopic Retrograde Cholangiopancreatography) is a specialised endoscopic procedure that provides access to the bile duct and pancreatic duct through the mouth — without any external incisions. A flexible camera travels through the mouth into the stomach and duodenum, where these duct openings are located.

Beyond visualisation, gastroenterologists can treat conditions during the same session — removing stones, opening blockages, placing stents, and collecting tissue samples.

Why Is ERCP Needed?

ERCP is recommended when bile duct or pancreatic duct problems cannot be managed through medication or simpler investigations.

Bile Duct Conditions

  • Bile duct stones (choledocholithiasis): Stones migrating from the gallbladder into the bile duct, causing pain, jaundice, and potentially life-threatening infection
  • Bile duct strictures: Narrowing due to scarring, previous surgery, or cancer, causing bile backup
  • Biliary obstruction from cancer: Pancreatic or bile duct cancer causing obstruction
  • Primary Sclerosing Cholangitis (PSC): Inflammatory narrowing of bile ducts
  • Bile duct leak: Post-gallbladder surgery leaks requiring endoscopic sealing

Pancreatic Conditions

  • Pancreatic duct stones
  • Pancreatic duct stricture following pancreatitis
  • Pancreatic divisum (congenital variant causing recurrent pancreatitis)

What Happens During the Procedure?

ERCP is performed under conscious sedation or monitored anaesthesia care, typically lasting 30–60 minutes.

  1. Patient positioned on left side or abdomen on procedure table with X-ray guidance available
  2. Flexible endoscope gently passed through mouth into duodenum
  3. Ampulla of Vater (bile duct opening) identified
  4. Thin catheter passed through scope into bile duct
  5. Contrast dye injected for duct visualisation via fluoroscopy
  6. Treatment performed based on findings: sphincterotomy, stone extraction, stent placement, or biopsy
  7. Scope withdrawn; patient moved to recovery

Is ERCP Painful?

During the procedure, sedation ensures patient comfort. Post-procedure, mild bloating, throat discomfort, and abdominal soreness are normal and typically resolve within hours. Most patients are discharged the same day or following morning, depending on complexity.

What Are the Risks?

ERCP carries higher risk compared to routine endoscopy:

  • Post-ERCP pancreatitis (PEP): Most common complication (3–5% of cases), usually mild and self-limiting; risk reduced by experienced practitioners and preventive rectal indomethacin
  • Bleeding: Especially following sphincterotomy, usually controllable endoscopically; higher risk in patients on blood thinners
  • Cholangitis: Bile duct infection, preventable through antibiotic prophylaxis
  • Perforation: Rare, occurring in less than 1% of cases

The risk of not performing ERCP when needed is often greater than the procedural risks themselves. Untreated bile duct stones can cause severe infection, organ failure, and death.

How to Prepare for ERCP

  • Fasting: Nothing to eat or drink for 6–8 hours before the procedure
  • Medications: Inform doctor about all medications; blood thinners and diabetes medications require specific instructions
  • Allergies: Disclose contrast dye or iodine allergies
  • Escort: Arrange accompaniment; driving is not permitted after sedation
  • Reports: Bring previous scans, ultrasounds, MRI/MRCP reports, and blood investigations

What Happens After ERCP?

Patients are observed for 2–4 hours in recovery. The doctor reviews findings and explains procedures performed. Fluids can resume after 2–3 hours if comfortable; normal diet typically resumes the following day.

Seek immediate medical attention for:

  • Severe, worsening abdominal pain
  • High fever (above 38.5°C)
  • Unrelenting vomiting
  • Dark or tar-coloured stools

Why Expertise Matters in ERCP

ERCP is one of the most technically demanding procedures in gastroenterology. Success and complication rates vary significantly with endoscopist experience. High-volume ERCP centres performing 200+ procedures annually demonstrate consistently better outcomes, particularly for complex cases, post-surgical anatomy, and challenging presentations. Advanced techniques such as pre-cut sphincterotomy and needle-knife access require specialised training and regular practice.

Key Takeaway

ERCP is a powerful diagnostic and therapeutic tool for bile duct and pancreatic conditions. When performed by an experienced gastroenterologist at a high-volume centre, it resolves complex conditions that previously required open surgery — with a same-day or next-day discharge in most cases.

Dr. Satya Maharshi
Dr. Tummalapalli S A Satya Maharshi
Consultant Medical Gastroenterologist · AIG Hospitals, Hyderabad

DrNB Gastroenterology (NAMS) · MD General Medicine, Gold Medalist. Specialist in advanced endoscopy, EUS, ERCP, GI bleeding, liver and pancreatic disorders. Over 2,000 therapeutic ERCP and 20,000+ endoscopic procedures performed.

Found this helpful? Share it

Have Digestive or Liver Concerns?

Speak with Dr. Maharshi — specialist in gastroenterology, advanced endoscopy, and liver care in Hyderabad.