Medically reviewed by Prof. Dr. Zahid Mahmood, MBBS, FCPS — General, Laparoscopic & Laser Surgeon, Lahore.
Common bile duct stones, also called CBD stones or choledocholithiasis, are gallstones located in the main tube that carries bile from the liver and gallbladder into the intestine. They may cause upper-abdominal pain, jaundice, infection of the bile ducts or acute pancreatitis.
A stone blocking the common bile duct can become dangerous, particularly when infection develops. Prompt blood tests and imaging identify the level and cause of obstruction. Most confirmed stones are removed by ERCP or during gallbladder surgery.
What is the common bile duct?
Bile produced by the liver flows through small channels into the right and left hepatic ducts. These join to form the common hepatic duct. The cystic duct from the gallbladder then joins it, creating the common bile duct.
The CBD passes behind the first part of the intestine and through or beside the pancreas before opening into the duodenum. Near its lower end, it lies close to the pancreatic duct. This explains why an impacted stone can obstruct bile, trigger pancreatic inflammation or cause infection.
How do CBD stones develop?
Most CBD stones form inside the gallbladder and migrate through the cystic duct into the common bile duct. These are called secondary duct stones. Some pass naturally into the intestine, while others become trapped.
Less commonly, stones form primarily within the bile duct because of bile stasis, infection, narrowing or altered anatomy. Primary duct stones may occur years after gallbladder removal. Therefore, previous cholecystectomy does not completely exclude a bile-duct stone.
Symptoms of common bile duct stones
Some CBD stones are found incidentally and cause no symptoms. Others produce:
- Severe or persistent pain in the upper-right or upper-middle abdomen
- Pain radiating to the back or right shoulder blade
- Yellowing of the eyes and skin
- Dark urine and pale or clay-coloured stools
- Generalised itching
- Nausea, vomiting and loss of appetite
- Fever or shaking chills if infection develops
Symptoms may fluctuate if a stone moves and temporarily relieves the blockage. Intermittent improvement does not guarantee that the duct is clear.
When is a CBD stone an emergency?
A blocked bile duct can become infected, producing acute cholangitis. The classic combination is upper-right abdominal pain, jaundice and fever, known as Charcot’s triad. Not every patient has all three symptoms.
Seek emergency hospital care for:
- Jaundice with fever, chills or abdominal pain
- Confusion, drowsiness, fainting or severe weakness
- Low blood pressure, rapid heartbeat or breathing difficulty
- Repeated vomiting or inability to drink
- Severe upper-abdominal pain spreading to the back
- Reduced urine output or signs of dehydration
Cholangitis can progress to sepsis and organ failure. Treatment requires intravenous fluids, antibiotics and urgent drainage of the obstructed bile duct, usually by ERCP.
Complications of CBD stones
- Obstructive jaundice: bile pigments build up in the blood because bile cannot drain.
- Acute cholangitis: infection develops above the obstruction.
- Gallstone pancreatitis: a stone passing through or lodging at the shared duct opening inflames the pancreas.
- Liver abscess or sepsis: severe infection spreads within the liver or bloodstream.
- Secondary biliary damage: prolonged obstruction can injure the liver and bile ducts.
How are CBD stones diagnosed?
The clinician asks about pain, fever, jaundice, previous gallstone attacks, pancreatitis, gallbladder surgery and medicines. Examination checks temperature, circulation, abdominal tenderness, jaundice, dehydration and mental state.
The diagnostic approach estimates whether the probability of a retained duct stone is low, intermediate or high. This helps avoid unnecessary ERCP, which is highly effective but carries important risks.
Blood tests
Common tests include:
- Liver function tests: bilirubin, alkaline phosphatase and gamma-GT often rise with obstruction; ALT and AST may rise sharply when a stone passes.
- Full blood count and C-reactive protein: assess inflammation and infection.
- Amylase or lipase: look for pancreatitis.
- Kidney function, electrolytes and clotting: guide resuscitation and safe intervention.
- Blood cultures: are taken when cholangitis or sepsis is suspected.
Normal or improving liver tests do not always exclude a small retained stone. Results must be interpreted together with symptoms and imaging.
Ultrasound
Abdominal ultrasound is usually the first scan. It detects gallbladder stones, measures the bile duct and looks for dilatation caused by obstruction. However, bowel gas and the deep location of the lower CBD mean ultrasound may not directly show every duct stone.
A normal ultrasound does not completely exclude choledocholithiasis when liver tests or symptoms remain suspicious.
MRCP
Magnetic resonance cholangiopancreatography (MRCP) is a specialised MRI scan that maps the bile and pancreatic ducts without placing an instrument inside them. It is painless, does not use ionising radiation and can identify the number, position and approximate size of stones.
MRCP is especially useful when ultrasound has not shown a stone but the CBD is dilated or liver tests are abnormal. It diagnoses the problem but cannot remove the stone.
Endoscopic ultrasound
Endoscopic ultrasound (EUS) uses a flexible camera with an ultrasound probe passed through the mouth under sedation. From the stomach and duodenum it provides close views of the lower bile duct and can detect very small stones or sludge.
EUS may be used when MRCP is inconclusive, unavailable or likely to miss a tiny stone. In suitable centres, a positive EUS can be followed immediately by ERCP during the same sedation.
What is ERCP?
Endoscopic retrograde cholangiopancreatography (ERCP) is primarily a treatment rather than a routine diagnostic scan. A flexible side-viewing endoscope is passed through the mouth, stomach and into the duodenum. The bile-duct opening is cannulated, contrast outlines the duct under X-ray, and treatment is performed.
During ERCP the specialist may:
- Make a small cut in the bile-duct opening, called sphincterotomy
- Remove stones with a balloon or basket
- Crush difficult stones using mechanical or cholangioscopy-guided lithotripsy
- Insert a temporary plastic or metal stent to drain bile when immediate clearance is not possible
- Take samples if a narrowing or tumour is suspected
Who should proceed directly to ERCP?
Direct ERCP is generally appropriate when the probability of a retained stone is high—for example, a stone is visible on imaging, ascending cholangitis is present, or marked jaundice occurs together with a dilated bile duct.
For an intermediate probability, MRCP, EUS or imaging during surgery is usually used first. Avoiding purely diagnostic ERCP prevents exposing patients without stones to procedural complications.
Risks of ERCP
ERCP is commonly successful, but possible complications include:
- Acute pancreatitis
- Bleeding after sphincterotomy
- Infection of the bile ducts or gallbladder
- Perforation of the duodenum or bile duct
- Reaction to sedation, contrast or medicines
- Incomplete stone clearance or stent blockage
Modern prevention may include rectal anti-inflammatory medication, careful technique and pancreatic-duct stenting or intravenous hydration in selected high-risk patients. Individual risks should be discussed during consent.
What if the stone cannot be removed at the first ERCP?
Large, impacted, numerous or unusually shaped stones may require more than one procedure. The endoscopist may place a temporary stent to restore bile flow and schedule repeat ERCP with balloon dilatation, mechanical lithotripsy or direct cholangioscopy-guided fragmentation.
A stent is not usually a permanent substitute for clearing a benign stone. Follow-up must not be missed because a blocked or forgotten stent can cause cholangitis.
Other ways to remove CBD stones
Alternatives depend on available expertise:
- Laparoscopic common bile duct exploration: stones are removed through the cystic duct or a small opening in the CBD during gallbladder surgery.
- Intraoperative ERCP: endoscopic clearance is performed during the same anaesthetic as cholecystectomy.
- Percutaneous drainage or stone treatment: access is obtained through the liver when ERCP is impossible or has failed.
- Open surgery: now less common but may be required for difficult stones, altered anatomy or failure of minimally invasive methods.
Why is gallbladder removal still needed after ERCP?
ERCP clears stones from the bile duct but leaves the gallbladder and its stones behind. If the gallbladder remains, further stones can migrate and cause recurrent jaundice, cholangitis, pancreatitis or cholecystitis.
Patients fit for surgery are therefore usually advised to undergo laparoscopic cholecystectomy soon after duct clearance—often during the same admission or within about two weeks. Timing depends on infection, pancreatitis severity, other illnesses and local surgical resources.
Can CBD stones occur after gallbladder removal?
Yes. A stone may have been present but undetected at the time of surgery, or a new brown pigment stone can form later within a dilated or poorly draining bile duct. Symptoms may appear months or years after cholecystectomy.
MRCP or EUS confirms the diagnosis, and ERCP is usually the preferred treatment when anatomy permits.
Recovery after ERCP
Patients are monitored until sedation wears off. Mild sore throat, bloating or temporary abdominal discomfort can occur. Eating and discharge timing depend on the indication, the procedure and whether cholangitis, pancreatitis or another complication is present.
After sedation, patients should follow the unit’s advice about driving, important decisions, work and having a responsible adult present. If a stent was inserted, obtain written instructions for removal or exchange.
Warning signs after ERCP
Seek urgent medical help for:
- New or worsening severe abdominal pain
- Repeated vomiting or abdominal swelling
- Fever, chills, confusion or faintness
- Persistent or worsening jaundice
- Vomiting blood or passing black stools
- Breathing difficulty or severe weakness
These may indicate pancreatitis, infection, bleeding or perforation and should not be watched at home.
Can diet dissolve CBD stones?
No food, herbal remedy or “gallbladder flush” can reliably remove an obstructing common bile duct stone. A low-fat diet may reduce gallbladder symptoms while awaiting treatment, but it cannot clear the duct or prevent cholangitis.
Bile-acid medicines have a very limited role in selected gallbladder cholesterol stones and are not a dependable treatment for an obstructed CBD.
Common questions
Are CBD stones the same as gallbladder stones?
They are made of similar material, but their location differs. Gallbladder stones remain inside the gallbladder; CBD stones lie in the main bile duct and carry a greater risk of jaundice, cholangitis and pancreatitis.
Can a CBD stone pass naturally?
Small stones sometimes pass into the intestine, but it is not possible to predict this safely. A confirmed stone can obstruct or become infected and generally requires specialist treatment.
Can ultrasound miss a bile-duct stone?
Yes. Ultrasound may show duct dilatation without seeing the stone. MRCP or EUS is more sensitive when suspicion remains.
Does ERCP remove the gallbladder?
No. ERCP treats the bile duct from inside the intestine. Laparoscopic cholecystectomy is a separate operation to remove the gallbladder.
Is jaundice always caused by stones?
No. Hepatitis, medicines, blood disorders, benign strictures and cancers of the pancreas or bile ducts can also cause jaundice. Imaging must confirm the cause.
Can a person have CBD stones with normal bilirubin?
Yes. A non-obstructing or intermittently obstructing stone may not continuously raise bilirubin. Symptoms, other liver tests and imaging remain important.
Key message
Common bile duct stones can cause obstruction, jaundice, cholangitis and pancreatitis. Ultrasound and liver tests begin the assessment; MRCP or EUS confirms uncertain cases, while ERCP removes confirmed stones and drains infected bile. After successful duct clearance, gallbladder removal is usually recommended for suitable patients to prevent another attack.
Medical references
- O’Connell PR, McCaskie AW, Sayers RD, editors. Bailey & Love’s Short Practice of Surgery. 28th ed. Chapter 71: The gallbladder and bile ducts, pp. 1249, 1253–1254.
- National Institute for Health and Care Excellence. Gallstone disease: diagnosis and management (CG188).
- European Society of Gastrointestinal Endoscopy. Endoscopic management of common bile duct stones: ESGE guideline. Endoscopy. 2019;51:472–491.
- American Society for Gastrointestinal Endoscopy. Guideline on the role of endoscopy in the evaluation and management of choledocholithiasis. Gastrointest Endosc. 2019;89:1075–1105.
- American Society for Gastrointestinal Endoscopy. Guideline on the management of cholangitis. Gastrointest Endosc. 2021.
This article provides general education and does not replace an examination or individual medical advice. Seek emergency care for jaundice with fever, severe abdominal pain, confusion, fainting, repeated vomiting or breathing difficulty.