Yellow poop usually means food moved through your digestive system faster than normal, or that your body didn’t fully absorb the fat in your meal. In most cases, a single yellow bowel movement is nothing to worry about. But if yellow stool keeps showing up, especially if it’s greasy, foul-smelling, or floating, it can signal a digestive problem worth investigating.
Why Stool Is Normally Brown
Your liver produces bile, a yellow-green fluid that helps break down fats. As bile travels through your intestines, gut bacteria transform its main pigment (bilirubin) into a brown compound that gives stool its typical color. The bacteria responsible for this conversion belong mostly to a group of microbes called Firmicutes, and they use a specific enzyme to do the job. When this process works normally, you get brown poop. When something interrupts it, the original yellow-green color of bile shows through.
This conversion can fail for several reasons: food passes through too quickly for bacteria to finish the job, there aren’t enough of the right bacteria present, fat isn’t being absorbed properly, or bile isn’t reaching the intestines at all.
Fast Digestion Is the Most Common Cause
When food rushes through your intestines, bile doesn’t have enough time to be fully broken down into that brown pigment. The result is stool that looks yellow or yellow-green. This is the most frequent explanation for a one-off yellow bowel movement, and it often happens alongside loose stools or mild diarrhea.
Anything that speeds up digestion can trigger this. A stomach bug, too much coffee, alcohol, stress, or simply eating something that didn’t agree with you can all push food through faster than usual. If the yellow color disappears once your digestion settles down, there’s generally no deeper issue.
Foods and Supplements That Turn Stool Yellow
What you eat can directly color your stool. Carrots, sweet potatoes, squash, and other orange-yellow foods high in beta-carotene are common culprits. Turmeric and turmeric supplements can do the same thing. If you’ve recently eaten a large amount of any of these, that alone may explain the color change. Once those foods clear your system, stool color typically returns to normal within a day or two.
Greasy Yellow Stool and Fat Malabsorption
Yellow poop that is also pale, oily, unusually bulky, foul-smelling, or hard to flush points toward a different problem: your body isn’t absorbing fat properly. This condition, called steatorrhea, means excess fat is passing straight through your digestive tract and ending up in your stool. The fat gives stool a lighter color, a greasy sheen, and a particularly unpleasant smell. These stools often float.
Several conditions can cause fat malabsorption:
- Celiac disease. Gluten damages the lining of the small intestine, reducing its ability to absorb nutrients. The NHS lists foul-smelling, greasy, frothy stools as a hallmark symptom. Other signs include bloating, weight loss, fatigue, and sometimes an itchy skin rash.
- Exocrine pancreatic insufficiency (EPI). Your pancreas produces lipase, the enzyme that breaks down dietary fat. When the pancreas can’t produce enough enzymes, fat passes through undigested. EPI often develops alongside chronic pancreatitis, cystic fibrosis, or pancreatic surgery. Pale, oily, floating stools are a defining symptom.
- Bile duct blockage. If a gallstone, tumor, or inflammation blocks the duct that carries bile from the liver to the intestines, bile can’t reach your food at all. Without bile, fat goes undigested and stool loses its brown pigment entirely, turning pale yellow or even clay-colored. This is often accompanied by dark urine and yellowing of the skin or eyes.
Infections That Cause Yellow Stool
Certain gut infections produce distinctly yellow or yellow-green diarrhea. Giardia, a parasite commonly picked up from contaminated water, causes smelly, greasy stools that float. The infection inflames the lining of the small intestine, interfering with fat absorption in much the same way celiac disease does. Symptoms typically appear one to three weeks after exposure and include cramping, nausea, and bloating alongside the diarrhea.
Bacterial infections from organisms like Salmonella or E. coli can also speed up transit time enough to produce yellow stools, though the color is less distinctive than the watery diarrhea and cramping that usually get your attention first.
Gut Bacteria and Inflammatory Bowel Disease
The enzyme that converts bile pigment to its brown form is a common feature of a healthy adult gut microbiome, but it’s notably less prevalent in people with inflammatory bowel disease. A 2023 analysis of over 1,800 gut samples from IBD patients found that the enzyme was absent at significantly higher rates in people with both Crohn’s disease and ulcerative colitis compared to healthy adults. The disrupted bacterial balance that comes with chronic intestinal inflammation directly reduces the gut’s ability to process bile pigments, which can contribute to lighter or yellow-toned stools during flares.
Yellow Stool in Babies
If you’re a parent checking on your baby’s diaper, yellow poop is completely normal. Breastfed newborns typically produce seedy, loose, mustard-yellow stools, and this is a sign of healthy digestion. Formula-fed babies tend to have yellow or tan poop, sometimes with hints of green. These colors are expected because infants haven’t yet developed the full population of gut bacteria needed to convert bile to brown pigment. Research shows that 78% of babies sampled within their first month of life lacked the bacterial enzyme responsible for this conversion, which is also why newborns are prone to jaundice.
Stool colors to watch for in babies are white, pale gray, or clay-colored poop, which could indicate a problem with bile flow and warrants a call to your pediatrician. Red or black stools also need prompt attention.
Patterns That Suggest a Deeper Problem
A single yellow bowel movement after a spicy meal or a bout of stomach flu is rarely a concern. The patterns worth paying attention to are:
- Persistent yellow stool lasting more than a few days without an obvious dietary explanation
- Greasy, floating, foul-smelling stools that suggest fat malabsorption
- Unintended weight loss alongside changes in stool color
- Yellowing of the skin or eyes (jaundice), which can indicate a bile duct blockage or liver problem
- Severe abdominal pain paired with pale or clay-colored stools
If your stools are consistently yellow and greasy, the most common initial tests look at fat content in the stool and check pancreatic enzyme levels, along with blood tests for celiac disease or liver function. Identifying the underlying cause typically resolves the stool color change once treatment begins.

