What Is a Bile Duct? Function, Blockage & Treatment

A bile duct is a thin tube that carries bile, a digestive fluid produced by the liver, down to the small intestine where it helps break down fats. You don’t have just one bile duct. Your body has an entire network of them, sometimes called the biliary tree, that branches through and below the liver like a plumbing system. Understanding this system matters because blockages, infections, and other problems in these ducts can cause serious symptoms that need prompt treatment.

How the Bile Duct System Is Organized

The biliary tree starts inside the liver, where tiny ducts collect bile from liver cells and merge into progressively larger channels. These eventually form two main branches: the right hepatic duct, which drains the right side of the liver, and the left hepatic duct, which drains the left side. The two meet near the base of the liver and merge into the common hepatic duct.

From there, the system picks up one more connection. The gallbladder, a small pouch that stores and concentrates bile between meals, empties through the cystic duct. This duct is typically 2 to 4 cm long and has a winding path before it joins the common hepatic duct. Once they merge, the resulting channel is called the common bile duct, and it’s the main pipeline that delivers bile to your digestive tract.

The common bile duct runs 7 to 11 cm in length, passing behind the upper portion of the small intestine (the duodenum) and through the head of the pancreas. At its lower end, it often joins up with the pancreatic duct before emptying into the duodenum. A healthy common bile duct measures about 6 mm across on ultrasound. A diameter of 7 mm or more is generally considered dilated and may signal a problem.

What Bile Does in Your Body

Bile is not a single substance. It’s a complex fluid whose major components, by proportion, are bile acids (67%), phospholipids (22%), proteins (4.5%), cholesterol (4%), and bilirubin (0.3%). Bile acids are the workhorses: they act like a detergent, breaking dietary fat into tiny droplets so your intestines can absorb them. Without bile reaching the intestine, you can’t properly absorb fat or the fat-soluble vitamins A, D, E, and K.

Bile also serves as the body’s main disposal route for bilirubin, a yellowish pigment left over when old red blood cells are recycled. The liver processes bilirubin and dumps it into bile, which carries it to the intestine. Bacteria in the gut convert it into the pigment that gives stool its normal brown color.

How Bile Flow Is Controlled

Your body doesn’t release bile continuously. Between meals, a muscular valve at the bottom of the common bile duct, called the sphincter of Oddi, stays mostly closed. This creates backpressure that diverts bile upward into the gallbladder for storage. The sphincter also prevents intestinal contents from flowing backward into the bile duct.

When you eat a meal containing fat or protein, cells lining the small intestine release a hormone that causes the gallbladder to contract. At the same time, the sphincter of Oddi relaxes. Bile squeezes out of the gallbladder, flows through the cystic duct into the common bile duct, and pours into the duodenum right when it’s needed. A second hormone, triggered by stomach acid reaching the intestine, prompts the duct lining to secrete water and bicarbonate, which increases the volume of bile and helps neutralize acid.

What Happens When a Bile Duct Is Blocked

A blocked bile duct is one of the most common and noticeable biliary problems. The most frequent cause is a gallstone that slips out of the gallbladder and lodges in the common bile duct. When bile can’t flow, it backs up into the liver and eventually spills into the bloodstream, producing a distinctive set of symptoms.

Jaundice is usually the most obvious sign: a yellowish tint to the skin and the whites of the eyes caused by rising bilirubin levels in the blood. Because the excess bilirubin is filtered by the kidneys, urine turns noticeably dark. And because bilirubin can no longer reach the intestine, stools lose their brown color and turn pale or clay-colored. Many people also experience upper abdominal pain, nausea, vomiting, weight loss, and in some cases, greasy or foul-smelling stools from poor fat absorption.

Infection and Inflammation

When bile stagnates behind a blockage, bacteria can multiply inside the duct and cause an infection called cholangitis. Acute cholangitis comes on suddenly with fever, abdominal pain, and jaundice. It can become dangerous quickly because the pressurized, infected bile can seep into the bloodstream. Chronic cholangitis develops more slowly, with symptoms like intermittent nausea, fatigue, and weight loss that may persist for weeks or even years.

Bile Duct Cancer

Cancer that starts in the bile duct lining is called cholangiocarcinoma. It’s uncommon but serious, partly because it often causes no symptoms until the tumor is large enough to block bile flow. Doctors classify it by location. Intrahepatic cholangiocarcinoma starts in the small ducts inside the liver and typically shows up as a mass on imaging. Perihilar cholangiocarcinoma, the most common type, develops where the right and left hepatic ducts meet. Distal cholangiocarcinoma forms in the lower portion of the common bile duct, between the cystic duct junction and the point where it enters the intestine. Each type behaves somewhat differently and is treated with different surgical approaches.

How Bile Duct Problems Are Diagnosed

When a doctor suspects a bile duct issue, the first step is usually an abdominal ultrasound, which can detect a dilated duct or gallstones. For a more detailed view, two specialized tests are commonly used.

MRCP (magnetic resonance cholangiopancreatography) is a type of MRI that produces detailed images of the bile ducts without any needles or scopes. It’s noninvasive and has strong diagnostic accuracy: about 88% sensitivity and 94% specificity for detecting stones in the common bile duct, meaning it catches most stones and rarely flags a problem that isn’t there.

ERCP (endoscopic retrograde cholangiopancreatography) involves passing a flexible scope through the mouth and stomach into the duodenum, then threading a small catheter into the bile duct opening. It provides direct images and, critically, allows treatment at the same time. A doctor can remove a stone, widen a narrowing, or place a stent during the same procedure. Because it’s invasive, ERCP is typically reserved for situations where treatment is likely needed, while MRCP is used more often as a first-look diagnostic tool.

Treatment for Blocked or Narrowed Ducts

The treatment depends on what’s causing the blockage. For gallstones stuck in the common bile duct, ERCP with stone extraction is the standard approach. The doctor widens the duct opening slightly, then uses a small basket or balloon to pull the stone out.

For narrowed ducts, whether from scarring, inflammation, or a tumor pressing on the duct, a stent can be placed to hold the channel open. Plastic stents are simpler and less expensive, but they tend to clog. Their median functional lifespan is roughly 77 to 126 days, so they need to be swapped periodically. Self-expanding metal stents last longer, have lower clogging rates, and require fewer repeat procedures, making them the preferred option when someone is expected to need the stent for more than a few months.

If you’ve had your gallbladder removed, the common bile duct may widen slightly over time. Measurements up to 10 mm are considered normal in that situation and don’t necessarily indicate a new problem.