For general information only. This library does not replace advice, diagnosis or treatment from a qualified health professional. In an emergency, call 911.

Library / Conditions

Bile duct stones

Bile duct stones are gallstones that have moved into, or formed in, the main tube that carries bile from the liver and gallbladder to the gut.

Overview

Bile duct stones are gallstones that are sitting in the common bile duct. The medical name is choledocholithiasis (say ko-LED-oh-ko-lih-THY-uh-sis).

To understand this condition, it helps to know a little about how bile flows. Your liver makes bile, a yellow-green fluid that helps you digest fat. Bile is stored in the gallbladder, a small pouch under the liver. When you eat, the gallbladder squeezes bile into a tube called the common bile duct. This duct carries bile into the first part of the small intestine (the duodenum). Near its end, it joins the duct from the pancreas.

Most bile duct stones start in the gallbladder and then slip out into the bile duct. Less often, stones form in the duct itself. A stone may pass into the gut on its own without causing trouble. But if it gets stuck, it can block the flow of bile. This can cause pain, yellowing of the skin (jaundice), a serious infection of the bile duct, or inflammation of the pancreas.

The good news is that bile duct stones can usually be removed, most often with a procedure done through a flexible camera tube, without open surgery. Because a blocked duct can become dangerous, bile duct stones are almost always treated even if symptoms settle.

Symptoms

Some people with small stones in the bile duct have no symptoms at all. The stone may be found by chance on a scan or blood test. When symptoms do happen, they are usually caused by the stone blocking the duct. They can include:

  • Pain in the upper right or upper middle part of the belly. It can be steady and severe, last from 30 minutes to several hours, and may spread to the back or right shoulder blade.
  • Jaundice: yellowing of the skin and the whites of the eyes.
  • Dark urine, like tea or cola.
  • Pale or clay-coloured stools.
  • Itchy skin.
  • Nausea and vomiting.
  • Fever, chills or shaking, which can be a sign of infection in the bile duct.

Symptoms can come and go if a stone moves back and forth and only blocks the duct some of the time.

Causes

Gallstones form when substances in bile, mainly cholesterol or a waste product called bilirubin, harden into solid pieces. Stones can be as small as a grain of sand or as large as a golf ball.

Stones that move from the gallbladder

This is the most common cause. A small gallstone is pushed out of the gallbladder when it squeezes and travels into the common bile duct. A good number of people who have gallstones in the gallbladder will also have stones in the bile duct at some point.

Stones that form in the bile duct

Sometimes stones form inside the duct itself, even years after the gallbladder has been removed. This is more likely when bile flows slowly or gets infected, for example when the duct is narrowed or widened, or after earlier surgery on the bile ducts.

Risk factors

Anything that raises your chance of getting gallstones also raises your chance of bile duct stones. Risk factors include:

  • Having gallstones in your gallbladder
  • Being older, especially over age 60
  • Being female, and pregnancy
  • Having a family history of gallstones
  • Living with obesity
  • Losing weight very quickly, including after weight-loss surgery
  • Some blood conditions that break down red blood cells faster, such as sickle cell disease
  • A narrowing or other change in the shape of the bile ducts
  • Past surgery on the gallbladder or bile ducts

Diagnosis

Your health care provider will ask about your symptoms and examine your belly. They will usually order some of the following tests.

Blood tests

Liver tests can show whether bile is backing up. A high level of bilirubin (the substance that causes jaundice) and certain liver enzymes suggest a blocked duct. Blood tests can also look for infection and for inflammation of the pancreas.

Imaging tests

  • Ultrasound: usually the first scan. It uses sound waves to look for gallstones and to see if the bile duct is wider than normal. Stones in the lower part of the duct can be hard to see on ultrasound.
  • MRCP (magnetic resonance cholangiopancreatography): a special MRI scan that gives clear pictures of the bile and pancreas ducts without using a camera tube or X-rays.
  • Endoscopic ultrasound (EUS): a thin, flexible tube with a small ultrasound probe on the end is passed through your mouth into your stomach and duodenum while you are sedated. It gives very close-up pictures of the bile duct.
  • CT scan: may be used, especially if the cause of pain is unclear, but it can miss some stones.

Which tests you need depends on how likely it is that you have a stone. If tests strongly suggest a stone, your team may go straight to a procedure that can both confirm and remove it.

Treatment

The goal is to clear the stones from the bile duct and stop new ones from coming down from the gallbladder.

Removing stones with ERCP

The most common treatment is ERCP (endoscopic retrograde cholangiopancreatography). While you are sedated or under anesthesia, a doctor passes a flexible camera tube through your mouth and stomach into the duodenum. They make a small cut to widen the opening of the bile duct (called a sphincterotomy) and then pull the stones out with a tiny balloon or basket. A short plastic tube called a stent may be left in place to keep bile flowing.

Large or hard stones may need to be broken up first. This can be done with a crushing basket, a balloon that stretches the opening, or laser or shock-wave energy delivered through a small camera inside the duct. Sometimes more than one ERCP is needed.

ERCP is generally safe, but like any procedure it has risks. The most common is inflammation of the pancreas (pancreatitis). Bleeding, infection and, rarely, a tear in the bowel can also happen. Your team will talk with you about these.

Removing the gallbladder

If you still have your gallbladder, your doctor will usually recommend surgery to remove it, called a cholecystectomy. This is most often done by keyhole (laparoscopic) surgery. It stops new stones from dropping into the duct. It is often done during the same hospital stay or soon after the stones are cleared. In some hospitals, the surgeon removes the bile duct stones during the same operation.

Treating infection and other problems

If the bile duct is infected, you will get antibiotics through a vein, fluids, and pain relief, and the duct will be drained as soon as it is safe. If you are too unwell for ERCP, the duct can sometimes be drained with a thin tube placed through the skin.

Medicines that dissolve gallstones, such as ursodiol (ursodeoxycholic acid), are not used to clear stones from the bile duct. They work too slowly and are not reliable for this.

Recovery and self-care

Many people go home the same day or the next day after ERCP if there are no problems. People who were very unwell, for example with an infection, usually stay longer. After keyhole gallbladder surgery, many people go home the same day or the next day and return to normal activities within one to two weeks.

  • Follow the eating and activity advice your team gives you after your procedure.
  • Take any medicines exactly as prescribed, and ask before stopping or changing them.
  • Watch for warning signs such as fever, worsening belly pain or jaundice, and get help quickly if they happen.
  • If a stent was placed, make sure you know when it needs to be removed or changed. Stents can block if left too long.
  • Most people can eat normally once the gallbladder is out. Some notice looser stools for a while after surgery. Eating smaller meals and cutting back on very fatty foods may help.

Complications

A stone that blocks the bile duct can lead to serious problems, which is why treatment is important:

  • Cholangitis: a bacterial infection of the bile duct. It causes fever, chills, belly pain and jaundice and can quickly spread to the blood (sepsis). It is a medical emergency.
  • Gallstone pancreatitis: a stone blocks the opening shared with the pancreas duct, causing the pancreas to become inflamed. This causes severe upper belly pain, often going through to the back, with vomiting.
  • Obstructive jaundice: a long-lasting blockage can lead to liver irritation and, over a long time, liver damage.
  • Liver abscess: rarely, infection can form a pocket of pus in the liver.

Outlook

For most people, the outlook is very good. ERCP clears the bile duct in the large majority of cases, and removing the gallbladder greatly lowers the chance that stones will come back. Stones can return in some people, especially if the bile duct is wide or narrowed, so your team may ask you to watch for symptoms. Serious infection or severe pancreatitis can be life-threatening, which is why fast treatment matters.

Prevention

You cannot always prevent gallstones, but some steps may lower your risk:

  • Keep to a healthy weight, and if you need to lose weight, aim to lose it gradually rather than very quickly.
  • Stay active.
  • Eat a balanced diet with plenty of fibre, fruit, vegetables and whole grains.
  • If you have gallstones in your gallbladder that cause symptoms, talk with your provider about having it removed. This helps prevent stones from moving into the bile duct.

When to get medical help

See a doctor soon if you have:

  • Repeated episodes of pain in the upper right or upper middle part of your belly, especially after meals
  • Yellowing of your skin or eyes
  • Dark urine, pale stools or itchy skin with no clear cause

Go to the emergency department or call emergency services if you have:

  • Belly pain together with fever, chills or shaking
  • Yellow skin or eyes together with fever or confusion
  • Severe belly pain that does not go away, or that spreads to your back, especially with vomiting
  • Fever, worsening pain or vomiting after an ERCP or gallbladder surgery
  • Feeling very unwell, faint or confused

In an emergency, call 911.

References

  1. U.S. National Library of Medicine. MeSH: Choledocholithiasis. meshb.nlm.nih.gov
  2. MedlinePlus: Gallstones. medlineplus.gov/gallstones.html
  3. NIDDK: Gallstones. niddk.nih.gov/health-information/digestive-diseases/gallstones
  4. NICE: Gallstone disease: diagnosis and management (CG188). nice.org.uk/guidance/cg188
  5. ASGE: Guideline on the role of endoscopy in the evaluation and management of choledocholithiasis (2019). doi.org/10.1016/j.gie.2018.10.001