Bile duct blockage happens when something prevents bile from flowing out of the liver and into the small intestine, where it normally helps digest fats. The most common cause is gallstones that slip out of the gallbladder and lodge in the bile duct, but tumors, inflammation, infections, surgical injuries, and even parasites can also be responsible. The underlying cause determines how quickly symptoms develop and how the blockage is treated.
Gallstones: The Most Common Cause
Gallstones form inside the gallbladder, but they don’t always stay there. Small stones can migrate out of the gallbladder and travel into the common bile duct, the main tube that carries bile from the liver to the intestine. When a stone gets stuck in this duct, it physically blocks the flow of bile. This condition, called choledocholithiasis, is the single most frequent reason for bile duct obstruction.
The blockage can be partial or complete. A partial blockage may cause intermittent symptoms that come and go as the stone shifts position. A complete blockage traps bile behind the stone, causing pressure to build in the duct system and forcing bile pigments (bilirubin) back into the bloodstream. This leads to the classic signs of obstruction: yellowing of the skin and eyes, dark tea-colored urine, and pale or clay-colored stools. The dark urine happens because excess bilirubin spills into the blood and gets filtered out by the kidneys. The pale stools occur because bilirubin can no longer reach the intestine, where it normally gives stool its brown color.
Tumors That Grow Inside the Bile Ducts
Cancer can develop directly in the cells lining the bile ducts. Known as cholangiocarcinoma, this type of cancer comes in three forms depending on where in the duct system the tumor grows. Intrahepatic tumors form in the bile ducts inside the liver. Perihilar tumors, the most common type, start just outside the liver where smaller ducts merge into a single larger duct. Distal tumors develop in the portion of the duct closest to the small intestine.
These tumors tend to cause symptoms only once they’ve grown large enough to physically block the duct. Because of this, cholangiocarcinoma is often diagnosed at a later stage. The blockage develops gradually, so jaundice and other symptoms typically appear slowly rather than all at once, which distinguishes it from the sudden onset that gallstones often produce.
Tumors That Press on the Duct From Outside
The common bile duct passes through or near the head of the pancreas on its way to the small intestine. A tumor growing in the head of the pancreas can compress the bile duct from the outside, squeezing it shut without actually originating inside the duct itself. This external compression is one of the earliest signs of pancreatic cancer, which is why painless jaundice in an older adult often triggers urgent testing for a pancreatic mass. Tumors in the duodenum (the first section of the small intestine) or nearby lymph nodes can create the same type of external pressure.
Chronic Inflammation and Scarring
Two autoimmune conditions can gradually narrow the bile ducts through inflammation rather than a physical obstruction like a stone or tumor.
Primary sclerosing cholangitis (PSC) causes ongoing inflammation that scars and stiffens the bile duct walls over time. Imaging reveals a characteristic “beaded” pattern of short, alternating narrowed and dilated segments throughout the duct system. About 75% of cases involve both the ducts inside and outside the liver, while roughly 25% affect only the intrahepatic ducts. PSC is strongly associated with inflammatory bowel disease, particularly ulcerative colitis.
Primary biliary cholangitis (PBC) is a separate condition that targets the tiny bile ducts inside the liver, gradually destroying them. Unlike PSC, PBC doesn’t produce visible changes on ultrasound and is usually diagnosed through blood tests that detect specific antibodies. When those antibodies aren’t present, specialized imaging is needed to tell the two conditions apart. Both diseases progress slowly over years and can eventually cause significant blockage of bile flow.
Surgical Injury to the Bile Duct
Surgery is a surprisingly common cause of bile duct narrowing. About 80% of benign bile duct strictures result from accidental injury during gallbladder removal (cholecystectomy). This can happen when the surgeon encounters unusual anatomy, when acute inflammation obscures the surgical field, or when clips or cautery tools damage the duct wall. The injury may not be apparent during surgery. Instead, scar tissue forms over weeks or months, gradually narrowing the duct until bile flow is restricted. Liver transplant recipients can also develop strictures at the site where the donor and recipient bile ducts are connected.
Parasitic Infections
In parts of East and Southeast Asia, liver flukes are a well-known cause of bile duct blockage. Clonorchis, a parasitic worm, infects the bile ducts after a person eats raw or undercooked freshwater fish containing the larvae. The larvae mature into adult flukes that live inside the bile duct system, causing inflammation, swelling, and intermittent obstruction. Infections are most common in Korea, China, Taiwan, Japan, Thailand, Cambodia, Laos, Vietnam, and the Philippines. Roundworms (Ascaris) can also migrate into the bile duct and physically block it, though this is less common.
Biliary Atresia in Newborns
Bile duct blockage isn’t limited to adults. Biliary atresia is a condition in which a newborn’s bile ducts are destroyed by a progressive inflammatory process that begins in the first weeks of life. In more than 90% of cases, the destruction extends to the ducts at the point where they exit the liver, completely cutting off bile drainage. Affected infants typically develop jaundice that doesn’t resolve on its own, along with dark urine and pale stools. Biliary atresia is the most common surgically treatable cause of persistent jaundice in newborns, and early surgery (ideally before 60 days of age) significantly improves outcomes.
How Blockage Is Detected
When bile duct obstruction is suspected, blood tests usually show elevated levels of conjugated bilirubin (above 1.0 mg/dL, with the conjugated fraction making up more than half the total). This pattern points specifically toward a blockage rather than other types of liver problems where bilirubin rises for different reasons.
Imaging confirms the diagnosis and pinpoints the location. Ultrasound is typically the first step because it’s quick and noninvasive, and it can reveal dilated ducts, gallstones, or duct wall thickening. For more detailed views, two specialized techniques are used. MRCP is a type of MRI that creates detailed images of the bile duct system without any instruments entering the body. It detects bile duct obstruction with about 96% sensitivity. ERCP uses a flexible scope passed through the mouth and into the small intestine to directly visualize and access the bile ducts. ERCP has perfect specificity for detecting stones and obstruction, meaning it essentially never produces a false positive. The key advantage of ERCP is that it can also treat the problem during the same procedure, by removing stones, placing stents, or widening narrowed ducts.
For both gallstone detection specifically, MRCP and ERCP perform similarly, with sensitivities around 85-86%. The choice between them depends on whether treatment during the procedure is likely to be needed.