White or clay-colored poop happens when bile, the digestive fluid that gives stool its normal brown color, fails to reach your intestines. This can be caused by something as harmless as an antacid or as serious as a blocked bile duct or liver disease. A single pale stool after taking certain medications is rarely a concern, but consistently white or clay-like stool signals a problem that needs medical attention.
How Stool Gets Its Color
The brown color of normal stool comes from a pigment called stercobilin. Your body produces it through a chain of events that starts with old red blood cells. When these cells break down, they release a compound that the liver converts into bilirubin, a yellowish substance. The liver packages bilirubin into bile and sends it through the bile ducts into your small intestine, where it helps digest fats.
Once bile reaches the intestines, bacteria living in your gut transform bilirubin into stercobilin, the brown pigment that colors your stool. If anything interrupts this process, whether the liver stops making bile, the bile ducts get blocked, or bile can’t flow properly, your stool loses its color and turns pale, clay-like, or white.
Blocked Bile Ducts
The most common serious cause of white stool is a physical blockage somewhere in the bile duct system. Gallstones are the leading culprit. A stone can lodge in the common bile duct and completely prevent bile from reaching the intestines. When this happens, stool turns pale or white, and you may also notice dark urine and yellowing of the skin or eyes.
Other blockages include tumors pressing on or growing within the bile ducts. Pancreatic cancer is particularly associated with pale stool because tumors in the head of the pancreas can squeeze the section of the bile duct that passes through it. Bile duct cancer and tumors near the opening where the bile duct empties into the intestine can cause the same problem. Cysts in the bile ducts, scar tissue from previous surgeries or repeated gallstone passage, and even parasitic infections can narrow or block bile flow.
Liver Disease
Because the liver is where bile is produced, diseases that damage liver cells can reduce or stop bile production entirely. Hepatitis, whether caused by a virus, alcohol, or toxic exposure, inflames the liver and can disrupt bile flow. Cirrhosis, the late stage of chronic liver damage where scar tissue replaces healthy cells, does the same. Fatty liver disease, which affects a growing number of adults, can also impair bile production if it progresses far enough.
A condition called cholestasis describes any situation where bile flow slows or stops within the liver itself, even without an external blockage. This can happen during pregnancy (cholestasis of pregnancy) or as part of autoimmune conditions where the immune system attacks the bile ducts inside the liver. The result is the same: less bile reaches the gut, and stool turns pale.
Gallbladder and Pancreas Problems
Your gallbladder stores and concentrates bile between meals, then releases it when you eat. Inflammation of the gallbladder, gallbladder sludge, or stones trapped in the duct leading out of the gallbladder can all reduce bile delivery to the intestines. Pancreatitis, or inflammation of the pancreas, can also interfere because the pancreatic duct and bile duct share a common opening into the small intestine. Swelling in one area can block the other.
Medications and Medical Procedures
Not all white stool points to disease. Barium, the chalky liquid you drink before certain X-rays of the digestive tract, coats the intestines and produces distinctly white stool for a day or two afterward. Antacids containing aluminum hydroxide can do the same. Large doses of bismuth subsalicylate, the active ingredient in Pepto-Bismol and Kaopectate, and other anti-diarrheal medications occasionally lighten stool color as well.
If your stool returns to its normal brown color after you stop taking the medication or a few days pass after a barium procedure, there’s nothing to worry about. Medication-related color changes are temporary and harmless.
Pale Fatty Stool Is Different
It’s worth distinguishing white, clay-like stool from pale, greasy stool. Fat malabsorption produces bulky, pale, oily stools that smell especially foul and tend to float or stick to the toilet bowl. This happens when your body can’t properly digest or absorb dietary fat, often due to pancreatic enzyme deficiency, celiac disease, or conditions that damage the intestinal lining. The stool is pale because of excess undigested fat, not necessarily because bile is missing. Both warrant investigation, but the causes and treatments differ.
White Stool in Babies
White or very pale stool in a newborn is a medical emergency. The most concerning cause is biliary atresia, a condition where a baby is born with narrowed or absent bile ducts. The hallmark pattern is a shift from normal dark yellow newborn stool to grey or white stool over the first few weeks of life, often accompanied by persistent jaundice and dark urine. Early diagnosis is critical because surgery needs to happen within the first weeks of life for the best outcome. Some countries use stool color cards given to new parents to help catch this condition early.
Warning Signs Alongside White Stool
White stool on its own is concerning enough to investigate, but certain accompanying symptoms suggest something more urgent is happening. Jaundice, the yellowing of your skin and the whites of your eyes, means bilirubin is building up in your blood because it can’t exit through the bile ducts. Dark or tea-colored urine happens for the same reason: bilirubin that would normally leave through stool gets rerouted through the kidneys instead. Severe upper abdominal pain, especially on the right side or radiating to the back, can indicate a gallstone lodged in the bile duct or pancreatitis. Fever alongside these symptoms may point to an infected, obstructed bile duct, which is a situation that requires prompt treatment.
How the Cause Is Identified
Doctors typically start with blood tests that measure liver enzymes and bilirubin levels. Two enzymes in particular, alkaline phosphatase and GGT, tend to rise sharply when bile flow is blocked. GGT levels can increase roughly 12-fold in obstructive bile duct disease. Elevated bilirubin confirms that bile isn’t draining properly, though it doesn’t reveal why. Other liver enzymes help distinguish between a blockage outside the liver and damage within the liver itself.
An abdominal ultrasound is usually the first imaging test, since it can quickly show dilated bile ducts, gallstones, or masses. If more detail is needed, an MRI of the bile ducts (called MRCP) provides a detailed map of the duct system without any invasive procedure. In some cases, doctors use an endoscopic approach where a flexible camera is passed through the mouth into the small intestine to directly examine and treat bile duct blockages, removing stones or placing stents to restore bile flow during the same procedure.