image
1066
image Language
image

ERCP (Endoscopic Retrograde Cholangiopancreatography): Uses, Procedure, Risks and Recovery

Feb 19. 2025
Share Via:

Direct answer

ERCP is an endoscopic procedure that combines a side-viewing endoscope with X-ray fluoroscopy to examine and treat the bile ducts and pancreatic duct. In current practice, ERCP is used mainly as a treatment, removing bile duct stones, placing stents, relieving blockage, rather than as a purely diagnostic scan, because safer imaging tests exist for diagnosis.

Key takeaways

  • ERCP is primarily therapeutic. Diagnosis-only ERCP has largely been replaced by MRCP and endoscopic ultrasound (EUS).
  • ERCP treats blockage, not the gallbladder itself. Stones inside the gallbladder still need surgery (cholecystectomy).
  • Post-ERCP pancreatitis is the most important risk and is not rare; it occurs in a meaningful minority of patients and can be serious.
  • A normal-looking cholangiogram does not exclude disease. Small stones, early tumours and pancreatic parenchymal disease can be missed.
  • Preparation rules differ by hospital. Follow the written instructions given by the unit performing your ERCP.

At a glance

FeatureDetail
Full nameEndoscopic Retrograde Cholangiopancreatography
TypeEndoscopic procedure with fluoroscopic (X-ray) imaging; mostly therapeutic
Organs assessedBile ducts, pancreatic duct, ampulla of Vater, duodenum
RouteThrough the mouth, oesophagus, stomach, into the duodenum
AnaesthesiaDeep sedation or general anaesthesia, depending on the case and unit
Typical durationCommonly 30-90 minutes; complex cases longer
Recovery in hospitalUsually several hours of monitoring; some patients stay overnight
Contrast usedIodinated contrast injected directly into the ducts
Main alternativesMRCP, endoscopic ultrasound, intraoperative cholangiogram, PTBD

Also known as

  • ERCP test
  • Bile duct endoscopy
  • Endoscopic bile duct stone removal (when therapeutic)
  • Cholangiopancreatography, endoscopic
  • Commonly said in Indian clinics as "pittey ki naali ki endoscopy" or "bile duct ki dooarbeen"

What ERCP is

ERCP uses a side-viewing duodenoscope passed through the mouth to reach the duodenum, where the bile duct and pancreatic duct open at the ampulla of Vater. A fine catheter or guidewire is passed through the scope into the duct. Contrast is injected and X-ray images (fluoroscopy) show the shape of the duct system.

Through the same channel, the endoscopist can cut the ampullary muscle (sphincterotomy), pull out stones with a balloon or basket, dilate a narrowing, brush or biopsy a stricture, and place plastic or metal stents. ERCP therefore acts as an operation performed from the inside, without an abdominal incision.

Why ERCP is done

  • Bile duct stones (choledocholithiasis): removal after sphincterotomy, often in people with obstructive jaundice or gallstone pancreatitis.
  • Acute cholangitis: urgent drainage of an infected, obstructed bile duct.
  • Malignant biliary obstruction: stenting for cancers of the pancreas head, bile duct (cholangiocarcinoma), ampulla or gallbladder, and tissue sampling by brush cytology or biopsy.
  • Benign strictures: post-surgical, post-transplant, chronic pancreatitis-related or inflammatory narrowings.
  • Bile leak: after cholecystectomy or liver surgery, treated by stenting.
  • Pancreatic duct problems: selected cases of chronic pancreatitis with stones or strictures, and pancreatic duct disruption.
  • Parasitic biliary disease: such as ascariasis, occasionally seen in parts of India.

Who should have an ERCP

ERCP is appropriate when there is a high probability of a duct problem that can be treated endoscopically. Typical candidates include people with:

  • Jaundice with imaging showing a dilated bile duct and a likely stone or stricture.
  • Confirmed bile duct stones on MRCP, EUS or ultrasound.
  • Cholangitis, fever, jaundice and upper abdominal pain, needing drainage.
  • Gallstone pancreatitis with ongoing biliary obstruction or cholangitis.
  • Suspected bile leak after gallbladder or liver surgery.
  • Obstructive jaundice from a tumour requiring stenting before surgery or chemotherapy, or for palliation.

ERCP is generally not appropriate as a first test for unexplained abdominal pain alone, for normal liver tests with a normal ultrasound, or simply to "check" the ducts. In those situations the risk of the procedure can outweigh the information gained. The decision rests with the gastroenterologist or hepatobiliary team assessing the whole clinical picture. Results and outcomes vary depending on individual clinical circumstances.

What ERCP cannot detect or exclude

  • ERCP does not image the liver, pancreas or gallbladder tissue. It outlines duct lumens. A pancreatic mass that does not distort the duct may be invisible.
  • Small stones can be missed. Contrast can obscure tiny stones, and stones may pass spontaneously before the procedure. A clear cholangiogram does not exclude stone disease.
  • Negative brushings do not exclude cancer. Brush cytology from a stricture has limited sensitivity; a negative result means malignant cells were not identified, not that cancer is absent.
  • ERCP does not stage cancer. Spread to lymph nodes, liver or peritoneum needs CT, MRI, EUS or PET.
  • ERCP does not treat stones inside the gallbladder. It clears the bile duct; the gallbladder itself usually still needs surgical removal.
  • ERCP does not assess liver fibrosis, hepatitis or diffuse liver disease.
  • Stents can be reached only if the anatomy allows. After certain gastric or bypass surgery, the ampulla may not be reachable with a standard scope.

If symptoms such as jaundice, fever or pain persist or return after a normal or "successful" ERCP, go back to your doctor, further imaging or repeat intervention may be needed.

Related but different examinations

TestQuestion it answersKey difference from ERCP
MRCP (MRI cholangiopancreatography)Is there a stone, stricture or duct abnormality?Non-invasive, no sedation, no contrast into ducts, no pancreatitis risk. Purely diagnostic, cannot treat. Less reliable for very small stones.
Endoscopic ultrasound (EUS)Is there a small stone, a pancreatic mass, and can it be sampled?Excellent for small distal duct stones and pancreatic masses, allows fine-needle biopsy. Cannot clear the duct or place a biliary stent in the usual way.
Abdominal ultrasound (USG abdomen, sonography)Are the ducts dilated? Are there gallbladder stones?First-line, cheap, safe. Frequently misses stones in the lower bile duct because of overlying bowel gas.
CT abdomenIs there a mass, complication or collection?Better for tumours, staging and pancreatitis complications; poor for small bile duct stones.
PTBD / percutaneous cholangiographyCan an obstructed duct be drained when ERCP fails or is not possible?Radiology route through the skin and liver; used when the ampulla is unreachable or ERCP is unsuccessful.
Intraoperative cholangiogram / laparoscopic duct explorationAre there duct stones at the time of gallbladder surgery?Done during surgery; can treat stones in the same sitting in suitable patients.
Diagnostic ERCP vs therapeutic ERCP, Diagnostic-only ERCP is now rarely justified. Almost all ERCPs today include a planned treatment.

These tests answer different questions. Which one comes first depends on the clinical problem: painless jaundice with weight loss usually starts with ultrasound then CT or EUS; suspected duct stones after gallstone pancreatitis often start with MRCP or EUS; cholangitis with a known obstruction goes straight to ERCP for drainage.

How to prepare

Preparation is set by the unit performing the procedure. The written instructions you are given take precedence over any general guidance, including this page.

  • Fasting: most units ask for no solid food for several hours and no clear fluids for a shorter period before sedation. Confirm exact timings with your unit.
  • Medicines: bring a full list, including blood thinners, antiplatelets, insulin, oral diabetes medicines, herbal and AYUSH preparations and gym supplements. Do not stop or change any prescribed medicine on your own, ask the prescriber or the endoscopy team.
  • Allergies: report any previous reaction to iodinated contrast, antibiotics or anaesthetic drugs.
  • Implants and devices: tell the team about pacemakers, defibrillators and previous gastrointestinal surgery, as these affect planning.
  • Escort: sedation affects judgement and coordination for the rest of the day. Arrange for a responsible adult to accompany you home. Do not drive.
  • Consent: the risks, including pancreatitis, are explained and consent is taken before sedation.

People with diabetes on glucose-lowering treatment

Fasting can cause hypoglycaemia. The dose and timing of insulin or tablets may need adjustment on the day, this must be decided by your treating doctor in advance, not by you or by a general instruction sheet.

People on blood thinners or antiplatelet drugs

Sphincterotomy carries bleeding risk, so these medicines are sometimes withheld, but stopping them can be dangerous in people with recent stents or mechanical valves. Only the prescribing cardiologist or physician, together with the endoscopist, should make this decision.

People with heart failure, advanced CKD or fluid restriction

Intravenous fluids given around ERCP (often used to reduce pancreatitis risk) must be adjusted in these groups. Tell the team about your cardiac or kidney condition and any fluid limit before the procedure.

Pregnancy

ERCP in pregnancy is done only when clearly necessary, usually for duct stones or cholangitis, with measures to minimise radiation exposure and sometimes without fluoroscopy. It requires a senior endoscopist and obstetric input.

Children

Paediatric ERCP is uncommon and is performed in specialised centres under general anaesthesia with paediatric-sized equipment where available.

What happens during the procedure

You lie on the X-ray table, usually on your left side or prone. A mouthguard protects the teeth. Sedation or anaesthesia is given through a drip, and oxygen and monitoring are attached.

  • Scope insertion: the duodenoscope passes through the mouth, oesophagus and stomach into the duodenum. It does not interfere with breathing.
  • Cannulation: a catheter and guidewire are steered into the bile duct or pancreatic duct at the ampulla. This step can take time and is not always successful at the first attempt.
  • Imaging: contrast is injected and fluoroscopic images are taken.
  • Treatment: depending on findings, sphincterotomy, stone extraction with a balloon or basket, mechanical lithotripsy, balloon dilatation, brush cytology, biopsy, or stent placement.
  • Recovery: the scope is removed and you are monitored until the sedation wears off.

How long ERCP takes

  • Procedure itself: commonly 30-90 minutes. Straightforward stone removal is often at the shorter end; difficult cannulation, large stones needing lithotripsy, or hilar stenting can take considerably longer.
  • Preparation and check-in: allow additional time in the hospital before the procedure.
  • Immediate recovery: usually a few hours of observation after sedation.
  • Discharge: some units discharge the same day; many keep patients overnight, particularly after sphincterotomy or in people with cholangitis or other illnesses.
  • Return to routine: often the next day if there are no complications, with a few days of reduced activity after therapeutic work. Recovery varies depending on individual clinical circumstances.

Understanding your ERCP report

There is no numerical "normal range" for ERCP. The report is a description of what the endoscopist saw and did. Typical elements include:

  • Cannulation: whether the bile duct or pancreatic duct was entered, and how many attempts were needed.
  • Cholangiogram findings: duct calibre, filling defects (usually stones), strictures, irregular narrowing, leaks.
  • Interventions performed: sphincterotomy, stone clearance and whether it was complete, stent type, size and position.
  • Samples taken: brushings or biopsies sent for cytology or histopathology, these results come later and are separate from the procedure report.
  • Plan: repeat ERCP for stent exchange, surgery referral, or further imaging.

A report stating "no filling defect seen" means no stone was visualised at that moment. It does not prove the duct has never contained stones. Every report needs interpretation by the doctor who requested the procedure, alongside your symptoms, liver tests and other imaging.

When ERCP findings can be misleading

Findings that can appear falsely abnormal

  • Air bubbles injected with contrast can mimic stones as filling defects.
  • Inflammation from recent pancreatitis or a stent can make a duct look narrowed when there is no tumour.
  • Benign strictures in chronic pancreatitis, IgG4-related disease or primary sclerosing cholangitis can closely resemble malignancy on the cholangiogram alone.
  • Extrinsic compression by a node or vessel can look like an intrinsic duct lesion.

Findings that can appear falsely normal or be underestimated

  • A stone that has already passed leaves a clear duct despite having caused jaundice or pancreatitis.
  • Dense contrast can hide small stones, which are then found on later imaging or repeat ERCP.
  • Incomplete duct filling above a tight stricture leaves the upstream system unassessed.
  • Negative brush cytology frequently occurs even when cancer is present; a single negative sample should not be read as reassurance.
  • A duct that is not cannulated is simply not assessed, not proven normal.

Risks and safety

ERCP carries a higher complication rate than diagnostic endoscopy such as gastroscopy or colonoscopy. Risk differs by what is done and by the patient.

Post-ERCP pancreatitis

The commonest significant complication. It ranges from mild abdominal pain with a short hospital stay to severe pancreatitis needing intensive care. Risk is higher in young patients, women, those with suspected sphincter of Oddi dysfunction, normal-calibre ducts, difficult cannulation and inadvertent pancreatic duct injection. Rectal NSAIDs, aggressive hydration and pancreatic stents are used in selected patients to reduce this risk.

Bleeding

Mainly associated with sphincterotomy. Usually controlled endoscopically; occasionally needs transfusion or radiological intervention. Risk rises with coagulation disorders, liver disease and antithrombotic therapy.

Infection (cholangitis, cholecystitis)

More likely when an obstructed system is opacified but not fully drained, and in hilar strictures. Antibiotics are used in selected situations.

Perforation

Uncommon but serious; can involve the duodenal wall, the sphincterotomy site or the duct. May require surgery.

Sedation and anaesthesia risks

Breathing depression, low blood pressure, aspiration and cardiac events, particularly in older adults and those with heart or lung disease.

Stent-related problems

Plastic stents block or migrate over time and generally need planned exchange. Metal stents can also occlude. Missing a scheduled stent exchange can lead to cholangitis.

Radiation

Fluoroscopy involves ionising radiation. Exposure is kept as low as practicable and is a specific consideration in pregnancy and in patients needing repeated procedures.

Red flags after ERCP

Emergency: go to an emergency department now

  • Severe, persistent upper abdominal pain, especially radiating to the back, with vomiting.
  • High fever with shaking chills, confusion or drowsiness.
  • Vomiting blood, or black tarry stools.
  • Breathlessness, chest pain, fainting or very low blood pressure symptoms.
  • A rigid, board-like or rapidly swelling abdomen.

Same day: contact the endoscopy unit or your doctor today

  • New or deepening jaundice, or dark urine and pale stools returning.
  • Fever without chills, or feeling generally unwell.
  • Persistent vomiting or inability to keep fluids down.
  • Moderate abdominal pain that is not settling with prescribed pain relief.

Routine appointment

  • Mild sore throat or bloating for a day or two.
  • Questions about biopsy or cytology results still awaited.
  • Planning a scheduled stent exchange or follow-up imaging.

Special situations

Pregnancy

Performed only for a clear therapeutic indication such as duct stones with cholangitis. Radiation is minimised, lead shielding is used, and some centres perform wire-guided ERCP without fluoroscopy. Ultrasound in pregnancy in India is governed by the PC-PNDT Act 1994; sex determination is prohibited, and this applies to any obstetric imaging done around the admission.

Children

Indications include choledochal cysts, pancreaticobiliary maljunction, stones and trauma. Performed under general anaesthesia in centres with paediatric expertise.

Older adults

Generally tolerated, but sedation risk is higher. Stenting may be preferred over prolonged stone clearance attempts in frail patients.

Diabetes on glucose-lowering therapy

Requires a planned fasting and medication schedule agreed with the treating doctor, and blood glucose monitoring around the procedure.

Chronic kidney disease

Iodinated contrast is injected into the ducts rather than the bloodstream, so systemic exposure is low, but fluid loading used to prevent pancreatitis must be tailored. Sedative and antibiotic doses may need adjustment.

Heart failure

Standard aggressive hydration protocols may not be safe. Fluid volumes should be individualised and monitored.

Altered surgical anatomy

After Billroth II, Roux-en-Y or Whipple surgery, standard ERCP may not reach the ampulla. Balloon enteroscopy-assisted ERCP, EUS-guided drainage or percutaneous drainage may be needed, and availability differs between hospitals.

ERCP in the Indian context

  • Gallstone disease shows a marked north-south gradient in India, with higher prevalence reported from the Gangetic belt. This means bile duct stone-related ERCP forms a large share of the workload in many northern centres.
  • Gallbladder cancer is comparatively common in parts of north and north-east India and often presents as obstructive jaundice needing biliary stenting.
  • Biliary ascariasis is still encountered in some regions and can be treated endoscopically.
  • Tuberculosis can cause biliary strictures and nodal compression of the bile duct; anti-tubercular therapy itself commonly causes drug-induced liver injury, which can confuse the picture when liver tests are abnormal.
  • Hepatitis E and A cause jaundice without duct obstruction. Jaundice alone is not an indication for ERCP, obstruction must be demonstrated first.
  • Herbal, AYUSH and gym-supplement related liver injury is an important cause of jaundice in India and must be considered before assuming a mechanical blockage. Tell your doctor about every non-prescription product you take.
  • Terminology: liver enzymes are frequently reported in India as SGPT (ALT) and SGOT (AST); the ultrasound may be written as USG abdomen or sonography. These are the same tests as their international names.
  • Access: therapeutic ERCP, EUS and enteroscopy-assisted ERCP are concentrated in tertiary centres. Referral pathways and waiting times differ widely between states and between public and private sectors.

Cost and insurance in India

ERCP is a procedure, not a simple test, so pricing is bundled rather than a single fixed fee. Costs in ? vary widely between cities, between government and private hospitals, and between straightforward and complex cases. Ask for a written estimate before admission.

What drives the cost

  • Therapeutic content: diagnostic cannulation costs far less than sphincterotomy with stone extraction, lithotripsy or multiple stents.
  • Consumables: baskets, balloons, guidewires and especially stents, a self-expanding metal stent costs many times more than a plastic stent.
  • Anaesthesia: anaesthetist-delivered sedation or general anaesthesia adds to the bill.
  • Stay: day-care versus overnight versus ICU admission after a complication.
  • Repeat procedures: plastic stents usually require planned exchange, so budget for more than one sitting.
  • Add-ons: pre-procedure MRCP or EUS, histopathology and cytology charges, antibiotics.
  • Hospital tier and city: metro tertiary private hospitals generally cost more than smaller centres.

Insurance

As ERCP typically involves hospital admission, it is usually considered under inpatient or day-care benefits in most health insurance policies when medically indicated. Coverage depends on the policy wording, waiting periods, pre-existing disease clauses, room-rent limits, sub-limits on consumables and implants such as stents, and whether the hospital is in the insurer's network. Confirm pre-authorisation with your insurer and the hospital's TPA desk before the procedure. Government schemes such as Ayushman Bharat PM-JAY cover defined packages at empanelled hospitals; check eligibility and package inclusion locally.

Myths and facts

MythFact
ERCP removes gallbladder stones, so surgery can be avoided.ERCP clears stones from the bile duct. Stones inside the gallbladder are not removed, and cholecystectomy is usually still advised to prevent recurrence.
ERCP is just a scan of the bile duct.ERCP is an interventional procedure with real complication risk. It is chosen when treatment is likely to be needed, not for curiosity.
Any jaundice needs an ERCP.Most jaundice in India is due to liver disease such as viral hepatitis or drug injury, where ERCP has no role and could cause harm.
If the ERCP was normal, nothing is wrong.A normal cholangiogram means no abnormality was identified in the opacified ducts. Persistent symptoms still need review.
A biopsy during ERCP definitely rules out cancer.Brushings and biopsies from strictures have limited sensitivity. A negative sample does not exclude malignancy; repeat sampling or EUS may be needed.
A stent placed at ERCP is permanent and can be forgotten.Plastic stents block over time and usually need planned exchange or removal. Missing a review can cause infection.
ERCP is painful because you are awake.ERCP is performed under deep sedation or general anaesthesia. Discomfort afterwards is usually limited to a sore throat and bloating.

Frequently asked questions

What is ERCP used for?

ERCP is used mainly to treat blockages of the bile duct and pancreatic duct, removing stones, opening narrowings, draining infection and placing stents. Tissue sampling from strictures is possible. Purely diagnostic ERCP is now uncommon because MRCP and endoscopic ultrasound give similar information without the procedural risk.

Is ERCP painful?

The procedure is done under deep sedation or general anaesthesia, so patients do not feel it. Afterwards, a sore throat, bloating and mild abdominal discomfort are common for a day. Severe or worsening abdominal pain after ERCP is not expected and needs urgent medical assessment, as it may indicate pancreatitis.

How long does ERCP take and when can I go home?

Most ERCPs take 30-90 minutes, with complex stone or stricture work taking longer. Expect several hours of monitoring afterwards. Some units discharge the same day; many keep patients overnight, especially after sphincterotomy or in people who are unwell. Your discharge time depends on your recovery and findings.

How is ERCP different from MRCP?

MRCP is an MRI scan that images the ducts without instruments, sedation or duct contrast, and carries no risk of pancreatitis, but it cannot treat anything. ERCP is invasive and can remove stones or place stents in the same sitting. MRCP is often done first to decide whether ERCP is needed.

What is the most serious risk of ERCP?

Post-ERCP pancreatitis is the most important complication and is not rare. Bleeding after sphincterotomy, infection of the bile duct, perforation and sedation-related problems can also occur. Risk depends on the patient, the indication and what is done. Your endoscopist will explain your individual risk before consent.

Do I still need gallbladder surgery after ERCP?

Usually yes, if the gallbladder still contains stones. ERCP clears the bile duct but leaves the gallbladder in place, so further stones can migrate and cause repeat blockage, pain or pancreatitis. The timing of cholecystectomy is decided by the surgical team according to your condition.

Can ERCP detect cancer?

ERCP can show strictures suspicious for cancer and allows brushings or biopsies. However, sampling sensitivity is limited and a negative result does not exclude malignancy. Cross-sectional imaging such as CT or MRI, plus endoscopic ultrasound with fine-needle sampling, are usually needed for diagnosis and staging.

Should I stop my blood thinner before ERCP?

Never stop a blood thinner on your own. Some ERCPs involve cutting the sphincter, which carries bleeding risk, so temporary adjustment is sometimes advised, but stopping can be dangerous with recent cardiac stents or mechanical heart valves. Only your prescriber and the endoscopy team should make this decision together.

What should I watch for after going home?

Seek emergency care for severe abdominal pain, persistent vomiting, high fever with chills, vomiting blood or black stools, or breathlessness. Contact the unit the same day for new jaundice, mild fever or pain that is not settling. Mild sore throat and bloating for a day or two are expected.

Sources

  • American Society for Gastrointestinal Endoscopy (ASGE), guidelines on the role of ERCP in choledocholithiasis and on adverse events of ERCP.
  • European Society of Gastrointestinal Endoscopy (ESGE), guidelines on post-ERCP pancreatitis prophylaxis, biliary stenting and endoscopic management of common bile duct stones.
  • Tokyo Guidelines for the management of acute cholangitis and cholecystitis.
  • Indian Society of Gastroenterology and Society of Gastrointestinal Endoscopy of India, position and practice statements on therapeutic ERCP.
  • Indian Council of Medical Research / National Cancer Registry Programme reports on gallbladder cancer incidence in India.
  • Pre-conception and Pre-natal Diagnostic Techniques (Prohibition of Sex Selection) Act, 1994, Government of India.
×
image image image
Request a Callback
Request A Call Back
Request Type
Image
Doctor
Book Appointment
Appointments
View Book Appointment
Image
Hospitals
Find Hospital
Hospitals
View Find Hospital
Chat
Image
health-checkup
Book Health Checkup
Health Checks
View Book Health Checkup
Image
phone
Call Us
Call Us
View Call Us
Image
Doctor
Book Appointment
Appointments
View Book Appointment
Image
Hospitals
Find Hospital
Hospitals
View Find Hospital
Image
health-checkup
Book Health Checkup
Health Checks
View Book Health Checkup
Image
phone
Call Us
Call Us
View Call Us