The liver, gallbladder and pancreas play important roles in digestion. They are connected through a network of small tubes called bile ducts and pancreatic ducts, which carry bile and digestive fluids into the small intestine. When these ducts become blocked, narrowed or damaged, they can affect digestion and lead to serious complications.
One procedure used to treat certain conditions affecting these ducts is Endoscopic Retrograde Cholangiopancreatography (ERCP). It combines upper gastrointestinal endoscopy with X-ray imaging to examine the bile and pancreatic ducts and perform treatments when required.
But when is ERCP needed? Doctors may recommend it when gallstones become lodged in the bile duct, when there is a blockage, or when a duct becomes narrowed or develops a leak.
Understanding the ERCP procedure, its uses, possible risks and recovery process can help patients feel more prepared before undergoing treatment.
ERCP stands for Endoscopic Retrograde Cholangiopancreatography. It is a specialised endoscopic procedure used to diagnose and treat selected conditions affecting the bile ducts and pancreatic ducts.
During the procedure, a doctor uses a thin, flexible instrument called an endoscope, which has a camera and light at its tip. The endoscope is passed through the mouth into the stomach and the first part of the small intestine. A small opening connects the bile and pancreatic ducts to the intestine. Through this opening, the doctor can introduce a thin catheter and inject a contrast dye to make the ducts visible under X-ray imaging.
Specialised instruments can also be passed through the endoscope to remove stones, widen narrowed areas, take tissue samples or place a stent to improve the flow of bile or pancreatic fluid.
Important: ERCP is now primarily used as a therapeutic procedure rather than for diagnosis alone. Tests such as ultrasound, MRCP and endoscopic ultrasound (EUS) may be preferred when the purpose is only to identify a suspected duct problem.
Doctors recommend ERCP when there is a specific problem affecting the bile or pancreatic ducts that may require endoscopic treatment.
Common situations in which ERCP Treatment is needed include:
1. Bile Duct Stones: Gallstones sometimes move from the gallbladder into the common bile duct. These are known as common bile duct stones or choledocholithiasis. A stone lodged in the bile duct can prevent bile from flowing normally and may cause pain, jaundice or infection. ERCP for bile duct stones helps doctors locate and remove the stones, often without the need for open surgery.
2. Bile Duct Blockage: A blockage in the bile duct can prevent bile from reaching the intestine. It may occur due to stones, strictures or growths affecting the bile duct or nearby organs. ERCP may be used to remove the blockage or place a stent to restore bile drainage.
3. Bile Duct Narrowing (Biliary Stricture): A biliary stricture is an abnormal narrowing of the bile duct. It may develop due to inflammation, previous surgery, injury or certain diseases. During ERCP, the doctor may widen the narrowed section using a balloon or place a stent to help maintain the opening.
4. Bile Duct Infections: A blocked bile duct can lead to an infection called cholangitis. This condition may cause fever, abdominal pain and jaundice. When infection is associated with an obstructed bile duct, ERCP may be required to drain the infected bile and relieve the blockage. The timing of the procedure depends on the severity of the infection and the patient’s condition.
5. Pancreatic Duct Problems: Certain conditions can cause narrowing, blockages or leakage in the pancreatic duct. In selected patients, ERCP may be used to place a pancreatic duct stent, improve drainage or manage specific duct-related complications.
6. Bile Duct or Pancreatic Duct Leaks: Injuries or complications following surgery or certain medical conditions may cause bile or pancreatic fluid to leak. ERCP may help manage selected leaks by placing a stent that supports drainage and allows the affected area to heal.
One of the common reasons for performing ERCP is the removal of stones from the common bile duct. When gallstones move into the bile duct, they may become trapped and obstruct the normal flow of bile. This can lead to symptoms such as abdominal pain, yellowing of the eyes and skin, dark urine and fever.
During ERCP, the doctor may perform the following steps:
For larger or difficult stones, additional techniques such as balloon dilation or specialised stone-fragmentation methods may be required.
ERCP treats stones in the bile duct, but it does not remove the gallbladder. Patients with gallbladder stones may need a separate discussion with their surgeon about whether gallbladder removal is appropriate to reduce the risk of future episodes.
The ERCP procedure is performed by a trained gastroenterologist or endoscopist in a hospital or specialised endoscopy unit. It generally involves the following stages.
1. Before the Procedure: Before ERCP, the doctor reviews the patient’s medical history, symptoms, scan reports and blood test results. Patients may be advised to:
Medication adjustments should only be made according to the treating doctor’s instructions.
2. Sedation or Anaesthesia: Medication is given to help the patient remain comfortable during the procedure. Depending on the patient’s condition and the hospital’s protocol, sedation or general anaesthesia may be used.
3. Inserting the Endoscope: The doctor gently passes the endoscope through the mouth, oesophagus and stomach into the duodenum, which is the first part of the small intestine.
4. Examining the Bile and Pancreatic Ducts: A thin catheter is guided through the endoscope into the opening of the bile or pancreatic duct. Contrast dye is introduced, and X-ray imaging helps the doctor examine the ducts.
5. Performing the Required Treatment: Depending on the findings, the doctor may remove stones, widen a narrowed duct, collect tissue samples or insert a stent.
6. Observation After the Procedure: Once the procedure is completed, the patient is monitored while the effects of sedation or anaesthesia wear off. Some patients may be discharged the same day, while others may need hospital observation or an overnight stay.
ERCP offers several benefits when appropriately recommended for conditions affecting the bile and pancreatic ducts.
The suitability and benefits of ERCP depend on the patient’s diagnosis and overall health.
Although ERCP is an established procedure, it carries certain risks. The doctor will assess the potential benefits and complications before recommending it. Possible complications include:
ERCP recovery varies depending on the type of treatment performed, the patient’s health and whether any complications occur.
Immediately After ERCP: Patients are monitored until the effects of sedation or anaesthesia have sufficiently worn off. Temporary symptoms may include:
These symptoms may settle with time. The medical team will advise when it is safe to start drinking fluids and eating.
Food and Diet After ERCP: Dietary instructions depend on the procedure performed and the patient’s condition. Some patients may initially be advised to take clear fluids before gradually returning to their usual diet. Others may require specific dietary instructions or a longer period of observation. Patients should follow the diet plan recommended by their doctor rather than starting solid foods immediately without guidance.
Many patients can return home on the same day after an uncomplicated procedure. Some may need overnight monitoring, particularly if the procedure was complex or the underlying condition requires further treatment. The time needed to resume normal activities depends on the patient’s recovery and the doctor’s advice. Patients should avoid driving, operating machinery or making important decisions for the period advised after sedation or anaesthesia.
Patients should seek immediate medical attention if they experience:
These symptoms may indicate a complication and should not be ignored.
Both ERCP and MRCP are used to evaluate problems affecting the bile and pancreatic ducts, but they serve different purposes.
| Feature | ERCP | MRCP |
|---|---|---|
| Full form | Endoscopic Retrograde Cholangiopancreatography | Magnetic Resonance Cholangiopancreatography |
| Type | Endoscopic procedure with X-ray imaging | Non-invasive MRI-based imaging test |
| Main purpose | Primarily treatment, with diagnostic assessment when needed | Mainly diagnosis and imaging |
| Stone removal | Can remove bile duct stones | Cannot remove stones |
| Stent placement | Can place duct stents | Cannot place stents |
| Invasiveness | Invasive endoscopic procedure | Non-invasive imaging test |
| Risks | Includes pancreatitis, bleeding, infection and perforation | Does not carry the same endoscopic risks as ERCP |
If a doctor suspects a bile duct stone but the diagnosis is not yet confirmed, MRCP or EUS may be recommended before deciding whether ERCP is necessary.
Certain symptoms may indicate a problem with the bile ducts or pancreas and require medical evaluation. Consult a gastroenterologist if you experience:
Fever, jaundice and abdominal pain occurring together may indicate acute cholangitis, a potentially serious infection that requires urgent medical assessment. Early diagnosis helps doctors identify the cause of the blockage and determine whether ERCP or another treatment is appropriate.
ERCP is an important endoscopic procedure used to treat selected conditions affecting the bile and pancreatic ducts. It is particularly useful for removing bile duct stones, relieving blockages, managing narrowed ducts and restoring the normal flow of bile. Understanding when ERCP is needed, how the procedure is performed and what to expect during recovery can help patients make informed decisions about their treatment.
If you experience symptoms such as jaundice, persistent abdominal pain or fever associated with suspected bile duct obstruction, consult a gastroenterologist for timely evaluation. At Progress Gastro Care, patients can consult a gastroenterology specialist for the evaluation of bile duct and pancreatic conditions and guidance on appropriate treatment options.
No. ERCP is an endoscopic procedure performed through the mouth using a flexible endoscope and specialised instruments. It does not usually require external surgical incisions.
ERCP may be recommended when gallstones move into the common bile duct and cause obstruction, infection or other complications. It can help remove these stones and restore bile flow.
The procedure is generally performed under sedation or anaesthesia to minimise discomfort. Some patients may experience temporary bloating, a sore throat or mild abdominal discomfort afterwards.
The duration varies depending on the complexity of the condition and the treatment required. Stone removal, stent placement and treatment of narrowed ducts may require different amounts of time.
Many patients recover from an uncomplicated ERCP within a short period and may return home on the same day. Recovery may take longer if additional treatment, hospital observation or management of complications is required.
Many bile duct stones can be removed during ERCP. However, large or difficult stones may require specialised techniques, more than one procedure or alternative treatment approaches.
No. ERCP is generally recommended when there is evidence or a strong clinical suspicion of a problem in the bile or pancreatic ducts that requires treatment. Gallstones confined to the gallbladder do not automatically require ERCP.