Gray or clay-colored poop usually means bile isn’t reaching your intestines the way it should. Bile is the digestive fluid your liver produces that gives stool its normal brown color. When something blocks bile flow or reduces bile production, stool loses that pigment and turns pale, gray, or what doctors sometimes call “clay-colored.” This is almost always worth investigating, because the underlying causes range from a temporary medication side effect to serious liver or pancreatic conditions.
Why Bile Controls Stool Color
Your liver continuously makes bile, a yellow-green fluid that gets stored in your gallbladder and released into your small intestine when you eat. One of bile’s key ingredients is a pigment called bilirubin, a byproduct of old red blood cells breaking down. As bile moves through your digestive tract, bacteria convert bilirubin into other compounds that darken along the way. By the time waste reaches your rectum, those compounds are what give stool its characteristic brown color.
When bile can’t flow into your intestines, none of that pigment transformation happens. The result is stool that looks gray, pale yellow, white, or putty-like. The medical term for this stoppage is cholestasis, and it can happen anywhere along the chain: inside the liver itself, in the bile ducts that carry bile out of the liver, or where those ducts empty into the small intestine.
Common Causes in Adults
Gallstones Blocking the Bile Duct
The most common reason for a sudden bile blockage is a gallstone that slips out of the gallbladder and lodges in the common bile duct. This cuts off the flow of bile into your intestine. Along with gray stool, you’ll typically notice sharp upper abdominal pain (often after eating), nausea, and possibly yellowing of the skin and eyes. Some people also develop dark urine, because the backed-up bilirubin gets rerouted through the kidneys instead.
Liver Disease
Conditions that damage the liver can reduce bile production or prevent it from draining properly. Viral hepatitis (especially hepatitis A, B, and C), alcohol-related liver disease, and cirrhosis all fall into this category. Drug-induced liver injury is another possibility. Certain antibiotics, anti-seizure medications, and acetaminophen taken in high doses can impair the liver’s ability to process and secrete bile. If your stool turned gray shortly after starting a new medication, that connection is worth raising with your doctor.
Pancreatic Problems
The bile duct and pancreatic duct share an opening into the small intestine. A tumor in the head of the pancreas can press on the bile duct and block it, causing pale stools, jaundice, and dark urine. Pancreatic cancer is one of the more serious causes of persistent gray stool in adults, and these stool changes can be among the earliest noticeable symptoms. Chronic pancreatitis can also contribute, though it more commonly causes fatty, foul-smelling stools rather than truly gray ones.
Other Bile Duct Conditions
Less common causes include bile duct cancer (cholangiocarcinoma), cysts in the bile ducts, autoimmune conditions that scar the bile ducts (primary biliary cholangitis and primary sclerosing cholangitis), and rare parasitic infections that physically obstruct bile flow. These tend to develop gradually, so stool may slowly lighten over weeks rather than changing overnight.
Medications That Turn Stool Gray
Not every case of gray stool points to a serious problem. Bismuth subsalicylate, the active ingredient in Pepto-Bismol and similar stomach remedies, can turn stool grayish-black. This is temporary and resolves after you stop taking the medication. Barium, a contrast agent swallowed before certain imaging tests like a CT scan or upper GI series, coats the digestive tract and produces white or light gray stool for a day or two afterward. If either of these applies to you, the color change is harmless and will pass on its own.
Gray Stool in Babies
In newborns and infants, pale or gray stool carries special urgency. The most concerning cause is biliary atresia, a condition where the bile ducts outside the liver are missing or blocked. Symptoms typically appear between 2 and 8 weeks of age and include persistent jaundice, dark urine, and stools that parents often describe as “putty-colored.”
Early detection matters enormously. Babies with biliary atresia need a surgical procedure ideally within the first 60 days of life, and outcomes are significantly better the earlier surgery is performed. Pediatricians sometimes use a stool color card to help parents identify abnormal stool shades. Any infant with jaundice lasting beyond two weeks should have their bilirubin levels checked, and pale stools in a baby should always prompt immediate medical evaluation.
Symptoms That Appear Alongside Gray Stool
Gray stool rarely shows up in isolation. The accompanying symptoms often point toward the cause:
- Jaundice (yellow skin and eyes) signals that bilirubin is backing up into your bloodstream instead of draining through bile.
- Dark urine happens when excess bilirubin gets filtered by your kidneys, turning urine tea- or cola-colored.
- Itching occurs when bile salts deposit in the skin, a common and sometimes intense symptom of cholestasis.
- Upper abdominal pain, especially on the right side, suggests a gallstone or bile duct obstruction.
- Fever alongside gray stool and jaundice may indicate an infected bile duct, which requires urgent treatment.
- Greasy, floating stool means fat isn’t being properly digested, since bile is essential for fat absorption.
How Doctors Find the Cause
If gray stool persists beyond a day or two and you haven’t recently taken bismuth or barium, expect your doctor to start with blood tests. Liver function tests measure enzymes and bilirubin levels that rise when bile flow is impaired. Additional blood work can check for hepatitis viruses or markers of autoimmune disease.
Imaging comes next. An abdominal ultrasound is typically the first step because it’s quick, noninvasive, and good at spotting gallstones, dilated bile ducts, and liver abnormalities. If more detail is needed, a CT scan or MRI of the liver and bile ducts can map the anatomy more precisely. In some cases, a specialized procedure called ERCP (a scope threaded through the mouth into the bile duct) allows doctors to both visualize and treat blockages, such as removing a stuck gallstone or placing a stent to open a narrowed duct.
When Gray Stool Is an Emergency
A single episode of light-colored stool after a large fatty meal or a dose of antacid medication is rarely cause for alarm. But gray or white stool that persists for more than a couple of days, or that appears alongside jaundice, fever, or severe abdominal pain, signals a bile duct blockage that needs prompt attention. The Mayo Clinic advises seeing a medical professional right away if you notice consistently white or clay-colored stool. An infected, obstructed bile duct can become life-threatening without treatment, so this combination of symptoms shouldn’t wait for a routine appointment.

