Introduction
If you have been told that you have stones in your bile duct, you are probably trying to understand what comes next. Bile duct stones — known medically as choledocholithiasis — can cause sudden pain, jaundice, fever, or pancreatitis, and they usually need to be removed promptly. The good news is that most stones can now be cleared without open surgery, using a procedure called ERCP that works through the mouth and stomach rather than through an incision.
This guide explains what bile duct stones are, how they are treated, what each procedural approach involves, and what recovery typically looks like. It also addresses what happens to the gallbladder, since most bile duct stones originally come from there, and what you can do to reduce the chance of stones returning. The decisions about timing, sequence, and approach are made together with your gastroenterologist or surgeon based on your individual situation.
What Are Bile Duct Stones?
The bile duct is a narrow tube that carries bile — a digestive fluid made in the liver — into the small intestine. Along the way, it joins with the duct from the gallbladder, the small organ that stores bile between meals. The shared channel that drains into the intestine is called the common bile duct.

*AI-generated image - for illustration only. Clinical accuracy is not guaranteed.
When a gallstone forms in the gallbladder and then slips out into this duct system, it can become lodged in the common bile duct. This is choledocholithiasis. Bile cannot drain properly, pressure builds up, and bilirubin (a yellow pigment normally cleared in bile) backs up into the bloodstream, causing jaundice. The blockage can also lead to infection of the bile (cholangitis) or inflammation of the pancreas (pancreatitis), because the pancreatic duct joins the bile duct just before it enters the intestine.
Stones in the bile duct are different from stones that stay in the gallbladder. Gallbladder stones may cause no symptoms for years. Bile duct stones, in contrast, more often cause acute illness and almost always need treatment.
Two Origins of Bile Duct Stones
Doctors usually distinguish between two kinds of bile duct stones based on where they formed:
- Secondary stones — the most common kind. These formed in the gallbladder and migrated down into the bile duct. Most patients with choledocholithiasis fall into this group.
- Primary stones — less common. These formed within the bile ducts themselves, often because of slow bile flow, infection, or narrowing of the duct. Primary stones are more likely to recur even after the gallbladder is removed.
Why Bile Duct Stones Need to Be Treated
Unlike silent gallbladder stones, stones lodged in the bile duct generally need to be removed even if they are not currently causing severe symptoms. The reason is that they tend to cause serious complications if left in place. Major gastroenterology societies, including the European Society of Gastrointestinal Endoscopy (ESGE) and the American Society for Gastrointestinal Endoscopy (ASGE), recommend stone removal whenever bile duct stones are confirmed, except in unusual circumstances where the risks of intervention outweigh the benefits.
The complications doctors aim to prevent include:
- Cholangitis — bacterial infection of the obstructed bile, which can become life-threatening
- Gallstone pancreatitis — inflammation of the pancreas, which can range from mild to severe
- Obstructive jaundice — persistent backup of bilirubin that can damage the liver over time
- Sepsis — when infection from the bile spreads into the bloodstream
Who Is a Candidate for Bile Duct Stone Removal?
Almost everyone with confirmed bile duct stones is considered for removal. The clinical decision is less about whether to treat and more about which approach is safest and most likely to succeed. Factors your doctor will weigh include:
- Whether you are acutely unwell with cholangitis or pancreatitis, in which case treatment may need to be urgent
- The size and number of stones, and how high in the duct system they sit
- Whether you still have a gallbladder, and whether it also contains stones
- Any prior surgery on the upper digestive tract (such as gastric bypass), which can change how the bile duct is reached
- Your age, overall health, and ability to tolerate sedation or anaesthesia
- Whether you are pregnant, which affects timing and imaging choices
In some patients, particularly those who are very frail, doctors may prioritise drainage of the bile duct over complete stone clearance, leaving a stent in place rather than attempting a difficult extraction.
Recognising the Symptoms
If you are reading this after a diagnosis, you may already have experienced one or more of the typical symptoms. Knowing what they are also helps you recognise a recurrence later.
Common Symptoms
- Pain in the upper right or middle abdomen, often coming in waves, sometimes spreading to the back or right shoulder
- Yellowing of the skin and the whites of the eyes (jaundice)
- Dark, tea-coloured urine
- Pale or clay-coloured stools
- Itching of the skin
- Nausea and vomiting
- Loss of appetite
Warning Signs of a Serious Complication
Some symptoms suggest infection or pancreatitis and need urgent medical attention. These include:
- Fever with shaking chills
- Severe abdominal pain that does not ease
- Confusion, drowsiness, or feeling faint
- Rapid heartbeat or low blood pressure
- Worsening jaundice
The classic combination of right-upper-abdomen pain, fever, and jaundice is sometimes called Charcot’s triad and points strongly toward cholangitis. If these symptoms appear, hospital assessment should not be delayed.
How Bile Duct Stones Are Diagnosed
The diagnosis usually combines blood tests with imaging.
Blood Tests
Liver function tests typically show raised bilirubin and raised liver enzymes (especially alkaline phosphatase and gamma-GT). When the pancreas is also involved, amylase and lipase rise. White blood cell counts and inflammatory markers may be elevated if infection is present.
Imaging
- Abdominal ultrasound is usually the first test. It can show a dilated bile duct and gallbladder stones, although small bile duct stones may not be directly visible.
- Magnetic resonance cholangiopancreatography (MRCP) is a specialised MRI scan that gives detailed pictures of the bile and pancreatic ducts without using contrast injection. It is highly accurate for detecting bile duct stones.
- Endoscopic ultrasound (EUS) uses an ultrasound probe at the tip of an endoscope to scan the bile duct from inside the stomach and duodenum. It is particularly useful when stones are suspected but not seen on other tests.
- CT scan may be used in some situations, especially when pancreatitis or other abdominal problems need to be ruled out.
ERCP — described below — is no longer used purely for diagnosis, because non-invasive tests have largely replaced it for that purpose. ERCP is now reserved for situations where stones are likely and treatment will follow in the same procedure.
Procedural Approaches to Removing Bile Duct Stones
Several techniques exist for removing bile duct stones. The most widely used by far is ERCP, but understanding the alternatives helps explain why your specialist may suggest a particular path.
Endoscopic Retrograde Cholangiopancreatography (ERCP)
ERCP is the first-line treatment for bile duct stones in most patients, according to current ESGE, ASGE, and BSG guidance. It combines an endoscope with X-ray imaging to access the bile duct through the natural opening where it drains into the duodenum (the first part of the small intestine).
During ERCP, the endoscopist:
- Passes a side-viewing endoscope through the mouth, stomach, and into the duodenum
- Identifies the small opening of the bile duct, called the ampulla of Vater
- Threads a fine catheter into the bile duct and injects contrast dye to outline the stones on X-ray
- Enlarges the duct opening, usually by making a small cut in the muscle around it (sphincterotomy) or by stretching it with a balloon (papillary balloon dilation)
- Removes stones using a wire basket or a balloon catheter pulled through the duct
- Sometimes places a temporary plastic stent to keep the duct draining, especially if stones could not be fully cleared or if there is infection

*AI-generated image - for illustration only. Clinical accuracy is not guaranteed.

*AI-generated image - for illustration only. Clinical accuracy is not guaranteed.
When a stone is too large to extract whole, it can be broken up first. Mechanical lithotripsy uses a stronger wire basket to crush the stone inside the duct. Electrohydraulic and laser lithotripsy deliver energy directly onto the stone through a thin scope (a cholangioscope) passed into the bile duct during ERCP. These techniques have made it possible to clear stones that would previously have required surgery.
Endoscopic Ultrasound-Guided Drainage
In selected patients in whom ERCP is not possible — for example, after certain types of gastric surgery that change the anatomy — EUS-guided techniques can be used to create a new drainage pathway from the stomach to the bile duct. This is a specialised intervention available at centres with the necessary expertise.
Laparoscopic Common Bile Duct Exploration
This is a surgical approach in which the bile duct is opened and cleared during keyhole gallbladder surgery. It may be considered when ERCP has failed, when both the gallbladder and bile duct stones can be addressed in a single operation, or in settings where this expertise is well established. Stones are removed through the cystic duct or through a small opening directly in the bile duct, often with a thin scope and basket.
Open Common Bile Duct Exploration
Open surgery to clear the bile duct was the standard treatment before ERCP became widely available. Today it is used mainly when minimally invasive options have failed or are not possible — for example, with very large or impacted stones, complex duct anatomy, or when other abdominal surgery is needed at the same time.
Percutaneous Transhepatic Approach
If neither ERCP nor surgery is feasible, an interventional radiologist may access the bile duct through the skin and liver, using imaging guidance, to drain bile and sometimes remove stones. This is typically reserved for patients who are too unwell for other options or whose anatomy prevents endoscopic access.
What About the Gallbladder?
Because most bile duct stones come from the gallbladder, addressing the gallbladder is an important part of preventing recurrence. The standard approach in most patients with an intact gallbladder is laparoscopic cholecystectomy — keyhole removal of the gallbladder — following clearance of the bile duct.

*AI-generated image - for illustration only. Clinical accuracy is not guaranteed.
Current guidelines from BSG and ESGE generally favour removing the gallbladder relatively soon after ERCP — often during the same hospital admission or within a few weeks — in patients who are fit for surgery. Delaying cholecystectomy is associated with a higher risk of further attacks of bile duct stones, biliary colic, or pancreatitis.
In patients who are not fit for surgery, the gallbladder may be left in place, with the understanding that recurrent problems are more likely. In these patients, leaving a stent in the bile duct or repeating ERCP if symptoms recur are reasonable options that doctors may discuss.
Preparing for the Procedure
Preparation depends on whether your procedure is urgent (for cholangitis or severe pancreatitis) or planned. For a planned ERCP, you can usually expect:
- Fasting — nothing to eat for around 6 to 8 hours before, and limited clear fluids until a few hours before, according to the team’s instructions
- Medication review — you will be asked about all medicines, especially blood thinners (such as warfarin, clopidogrel, or direct oral anticoagulants), which may need to be paused. Diabetes medications often need adjustment because of fasting.
- Blood tests — including clotting, kidney function, and a recent liver panel
- Pregnancy testing in women of reproductive age, because X-rays are used during ERCP
- Information and consent — the endoscopist will explain the procedure, expected benefits, and risks, including the risk of post-ERCP pancreatitis
You will need someone to take you home and stay with you afterward, because sedation impairs reflexes and judgement for the rest of the day.
What Happens During the Procedure
ERCP is typically performed in an X-ray-equipped endoscopy room. You will be given sedation through a vein — either deep sedation or, in many centres, a general anaesthetic. A small mouthguard protects your teeth as the endoscope is passed. You lie on your left side or your front, depending on the team’s preference.
The procedure itself usually takes 30 to 60 minutes, though complex cases can take longer. You will not feel the endoscope or the work inside the duct. Throughout, the endoscopy team monitors your breathing, oxygen levels, heart rate, and blood pressure.

*AI-generated image - for illustration only. Clinical accuracy is not guaranteed.
The First 24 Hours
Most patients spend a short observation period in hospital, ranging from a few hours to overnight, depending on local practice and the complexity of the procedure. You may notice:
- A mildly sore throat from the endoscope
- Bloating or mild abdominal discomfort from air introduced during the procedure
- Drowsiness from sedation, which clears over several hours
Eating usually starts with sips of water, progressing to light food once the team is satisfied there are no complications.
The First Week
For an uncomplicated ERCP with stone clearance, many patients return to non-strenuous activities within a few days. Diet can usually be normalised gradually, often starting with lower-fat meals while the digestive system settles. Jaundice typically improves over days to a few weeks as bilirubin levels fall.
If a stent was placed, you will be told whether and when it needs to be removed or exchanged. Stents are not meant to stay indefinitely and require follow-up.
If Gallbladder Surgery Follows
When laparoscopic cholecystectomy is performed after stone clearance, recovery is similar to other keyhole abdominal surgeries: most patients go home within a day or two and resume normal activities within one to two weeks, with heavier physical work delayed for longer based on surgical advice.
Risks and Complications
ERCP is a safe procedure in experienced hands, but it carries more risks than ordinary endoscopy because of the work done inside the bile duct. Your team will discuss these with you in detail before consent. The main risks include:
- Post-ERCP pancreatitis — the most common complication. It usually presents as abdominal pain in the hours after the procedure. Most cases are mild, but a smaller proportion are moderate or severe and may require longer hospital care.
- Bleeding — from the cut made at the bile duct opening (sphincterotomy). This is usually controlled at the time or with a repeat endoscopy.
- Infection (cholangitis) — particularly if drainage is incomplete
- Perforation — a tear in the wall of the duodenum or bile duct. This is uncommon but can be serious and sometimes needs surgery.
- Reaction to sedation or anaesthesia
- Retained stones — small stones occasionally remain and may need a second procedure
Surgical approaches carry their own risks, including bile leak, bleeding, wound infection, and the general risks of anaesthesia. Your surgical team will outline these specifically if surgery is planned.
Life After Bile Duct Stone Treatment
Follow-up Appointments
After successful stone clearance, follow-up typically includes:
- A clinic review with blood tests to confirm that liver function has returned to normal
- A plan for gallbladder removal if it has not yet been done
- Removal or exchange of any temporary stent, usually within weeks to a few months
- Repeat imaging in selected cases
Diet and Lifestyle
For most people, no strict long-term diet is needed after the bile duct is clear and the gallbladder is either healthy or removed. In the early weeks after ERCP or cholecystectomy, smaller, lower-fat meals are often more comfortable. Gradually, a normal balanced diet is usually well tolerated.
Steps that doctors commonly suggest to reduce the risk of new gallstones include:
- Maintaining a healthy body weight, and avoiding very rapid weight loss
- Eating a balanced diet with fibre, whole grains, fruits, and vegetables
- Staying physically active
- Managing conditions such as diabetes and high cholesterol with your doctor
- Not smoking
When to Seek Help Again
Once you have had bile duct stones, you will recognise the warning signs more easily. Contact your doctor — or go to an emergency department if symptoms are severe — if you develop:
- Returning right-upper-abdominal pain, especially with fever or chills
- New jaundice, dark urine, or pale stools
- Severe pain spreading to the back, suggesting possible pancreatitis
- Persistent vomiting or inability to keep fluids down
Recurrence of Bile Duct Stones
Even after successful treatment, bile duct stones can return. This is more likely if:
- The gallbladder was not removed and still contains stones
- The original stones were primary (formed in the bile duct itself)
- The bile duct is narrowed or dilated, slowing bile flow
- There is underlying liver disease
If recurrence occurs, the same range of treatments — usually starting with ERCP — can be used again. Long-term follow-up is more important for patients with risk factors for recurrence and is something to discuss with your gastroenterologist.
Bile Duct Stones in Children
Bile duct stones are much less common in children than in adults but do occur, particularly in children with blood disorders that increase stone formation (such as sickle cell disease or hereditary spherocytosis), with cystic fibrosis, or after long periods of intravenous nutrition. The general approach — imaging confirmation, ERCP for stone removal, and consideration of gallbladder removal — is similar to adults, but is performed in specialised paediatric centres with anaesthetic and endoscopic teams experienced in children. Decisions about timing and approach are individualised, especially in very young children where ERCP requires specific expertise and equipment.
Frequently Asked Questions
Can bile duct stones pass on their own?
Very small stones occasionally pass into the intestine without intervention, sometimes causing a brief episode of pain or pancreatitis as they do. However, doctors generally do not rely on this happening, because the risks of a stone remaining stuck are significant. Once stones in the bile duct are confirmed, removal is usually recommended.
Is ERCP painful?
You will not feel pain during the procedure itself, because of sedation or anaesthesia. Afterward, some patients have mild abdominal discomfort or a sore throat, which usually settles within a day. Severe pain after ERCP should be reported to the medical team, as it can be a sign of pancreatitis.
Will my gallbladder definitely need to be removed?
In most patients who still have their gallbladder and are fit for surgery, removal is recommended after the bile duct is cleared, because leaving the gallbladder in place increases the chance of further attacks. In patients who are not fit for surgery, or who have particular reasons to keep the gallbladder, alternative plans are discussed individually with the surgical and gastroenterology team.
Can I live a normal life without a gallbladder?
Yes. The liver continues to make bile, which now flows directly from the liver into the intestine rather than being stored in between meals. Most people notice no long-term difference. Some experience looser stools or sensitivity to very fatty meals in the first weeks or months, which usually improves with time.
What happens if a stone cannot be fully removed in one ERCP?
If complete clearance is not achieved — for example, with very large or hard stones — the endoscopist usually places a temporary stent to keep bile draining and plans a second procedure. Further options can include lithotripsy techniques to break the stone, or surgical exploration of the bile duct in selected cases.
How will I know if stones come back?
Returning symptoms — pain in the upper right abdomen, jaundice, dark urine, fever — are the most common signal. Blood tests showing rising bilirubin or liver enzymes, sometimes detected during routine follow-up, can also point to recurrence. MRCP or EUS is then used to confirm.
Are bile duct stones related to diet?
Diet plays a role in gallstone formation generally, but no specific food causes bile duct stones directly. A balanced diet, healthy weight, and avoiding very rapid weight loss are the lifestyle factors most consistently linked to reducing gallstone risk.
Is ERCP safe during pregnancy?
ERCP can be performed during pregnancy when necessary, with steps taken to minimise X-ray exposure and protect the baby. The decision to proceed and the timing are made carefully by a team experienced in this situation, usually when the risks of leaving stones untreated outweigh the risks of the procedure.
Conclusion
Bile duct stones are a treatable condition, and for most patients the path to recovery is well established: confirmation of stones with imaging, removal — usually by ERCP — and a plan for the gallbladder to reduce the chance of recurrence. The journey from acute illness to full recovery typically unfolds over weeks rather than months, with most people returning to their usual lives without long-term restrictions.
Because the right approach depends on stone size and location, your overall health, the state of your gallbladder, and any prior surgery, the specific plan is best worked out with a gastroenterologist and, where relevant, a hepatobiliary surgeon who can review your imaging and history together with you. Understanding the options — and the reasons doctors prefer them in particular situations — can make those conversations clearer and more reassuring.
Bile Duct Stones (Choledocholithiasis) in India — save up to 70% vs US/UK
Connect with 79+ specialists across 38 JCI/NABH hospitals. See cost details, compare hospitals, and meet the specialists.