Why Is My Poop Yellow? Causes and When to Worry
Yellow stool has two dominant explanations, and telling them apart is mostly a question of consistency. Fast transit gives you a soft, loose, yellowish stool that formed in a hurry. Fat malabsorption gives you something greasier: pale yellow to tan, sometimes floating, often smelling worse than usual. Diet accounts for a fair share of one-off yellow bowel movements. The rest come down to how well your gut is breaking down and absorbing what you ate.
What follows is the mechanism, every reasonable cause, and the situations where a persistent yellow shift is worth a call to a clinician.
- Normal brown stool comes from bilirubin being converted to stercobilin by gut bacteria; anything that shortcuts that process shifts color
- Rapid transit and high-fat meals cause most short-lived yellow stools
- Persistent yellow, greasy, floating, foul-smelling stool is steatorrhea and usually points to fat malabsorption
- Common causes of steatorrhea include celiac disease, exocrine pancreatic insufficiency (EPI), Giardia, and bile flow problems
- Pale, clay-colored yellow stool with jaundice or dark urine is a bile duct emergency and needs same-day evaluation
- In breastfed babies, mustard-yellow seedy stool is completely normal
Why Stool Is Normally Brown to Begin With
The color of stool is a byproduct of what happens to bile as it travels through your gut. Bile leaves the liver green and carries a pigment called bilirubin, which is created when old red blood cells are broken down. In the colon, bacteria convert bilirubin into urobilinogen and then into stercobilin, the brown pigment that gives healthy stool its usual color. The bacterial enzyme responsible for that final conversion was mapped as recently as 2024 (Nature, 2024).
Yellow sits at an in-between stage. Stool that leaves the small intestine but doesn't spend enough time with the right bacteria in the colon can hold onto more of its yellow-orange bilirubin character. Stool that has too much undigested fat mixed through it will also read yellow, because fat globules dilute the pigment and lighten the shade. That gives you the two branches of yellow: too-fast transit, or too-much-fat-you-didn't-absorb.
Bristol form usually clues you in on which is which. Type 5 or 6 with a yellow tint after a stressful day or a big coffee is almost always transit. A pale, oily, sometimes-floating Type 5 or 6 that shows up regularly is closer to malabsorption. For the full form-to-transit-time picture, see our Bristol Stool Chart guide.
Cause #1: Fast Transit
Anything that speeds stool through your colon can produce a yellow bowel movement. When transit is fast, gut bacteria don't have time to finish the bilirubin-to-stercobilin conversion, and what comes out sits closer to the original yellow-green end of the spectrum. Cleveland Clinic lists rapid transit as one of the most common reasons for yellow diarrhea (Cleveland Clinic: yellow diarrhea).
The usual triggers:
- Stress and anxiety. A stress response ramps up gut motility through the vagus nerve, which is why nervous stomachs and looser, paler stool tend to travel together. We covered the mechanism in our nervous stomach guide.
- Coffee. Caffeine and coffee's own peptides push the gastrocolic reflex hard.
- Large meals that trigger a strong gastrocolic response, especially first thing in the morning.
- Magnesium and stimulant laxatives, both of which shorten transit.
- Stomach bugs in their first day or two, before things fully settle.
Transit-driven yellow stool tends to appear and disappear on its own. If you're seeing it once after a hard workout or a rough morning meeting, that's the mechanism.
Cause #2: Diet, Especially High-Fat and Yellow-Pigmented Foods
Some yellow stool is quite literally what you ate. Carotenoids, curcumin, and annatto are all yellow-orange plant pigments that can pass through partially unchanged, especially in loose stool that hasn't spent long in the colon. Big fat loads can also lighten stool color on their own, without any underlying malabsorption, because there's more unabsorbed fat mixed in with the pigment.
Common dietary suspects:
- Carrots, sweet potatoes, and butternut squash in large portions, especially raw or blended.
- Turmeric and curry. Curcumin is intensely yellow and poorly absorbed.
- Annatto, a food coloring in cheddar, margarine, and many yellow snack foods.
- Yellow food dyes, especially in sports drinks, popsicles, and cereals.
- A very high-fat meal. Deep-fried food, a stick of butter in bulletproof coffee, or a keto meal well above your usual fat intake can produce a lighter, sometimes greasy stool the next day.
Dietary yellow stool usually resolves in a bowel movement or two. If you scan back over the previous 24 to 48 hours and find an obvious explanation, that is almost certainly your answer.
Cause #3: Steatorrhea (Fat Malabsorption)
This is the version of yellow stool that actually warrants attention. Steatorrhea is stool with abnormally high fat content, and it has a specific fingerprint: pale to yellow-gray, greasy, often floating, notably foul-smelling, sometimes with visible oil droplets or a slick on the water. The stool tends to be soft and voluminous, and it often sticks to the toilet bowl.
The core mechanism is straightforward. To absorb dietary fat, you need bile (from the liver and gallbladder) to emulsify it, pancreatic enzymes (mainly lipase) to break it down, and a healthy small intestinal lining to absorb what's left. Break any of those three links and fat passes into your stool instead of your bloodstream (Capurso et al., 2020, in PMC).
The next several sections cover the most common reasons those links break. If your yellow stool is oily, floating, or foul-smelling, and it's been happening for more than a week or two, this is the branch to focus on.
Cause #4: Bile Flow Problems (Gallbladder, Liver, Bile Duct)
Bile is the yellow-green fluid that emulsifies fat, and without enough of it reaching the small intestine, fat digestion falls apart. Reduced bile flow can happen because the liver isn't producing enough (hepatitis, cirrhosis), because the gallbladder can't store or release it normally (gallstones, cholecystitis), or because the bile duct is partially or fully blocked (stones, strictures, tumors, primary sclerosing cholangitis).
Two color patterns are worth knowing here. Partial bile reduction can produce a pale yellow to tan stool with fat malabsorption features. A more complete blockage produces classic clay-colored or chalky pale stool, because almost no bilirubin is reaching the intestine at all. Cleveland Clinic considers persistent pale, clay-colored stool a reason to call a doctor, and the same guidance applies if it comes with jaundice, dark urine, itching, or right upper abdominal pain (Cleveland Clinic on pale stool, Cleveland Clinic on bile duct obstruction).
People who have had their gallbladder removed sometimes see softer, lighter, greasier stools long-term, because bile now drips continuously into the intestine instead of being released in coordinated bursts after meals. This is common and usually manageable with dietary adjustments, but bring it up with your surgeon if it's persistent.
Cause #5: Exocrine Pancreatic Insufficiency (EPI)
Your pancreas produces the enzymes (lipase, amylase, protease) that break down fat, carbs, and protein. When it can't make enough of them, undigested fat winds up in your stool. This condition is called exocrine pancreatic insufficiency, or EPI, and it's a leading cause of chronic steatorrhea in adults.
The core symptoms per Cleveland Clinic: bloating, gas, diarrhea, greasy or foul-smelling stools, stomach pain, unexplained weight loss, and fat-soluble vitamin (A, D, E, K) deficiencies (Cleveland Clinic on EPI). Chronic pancreatitis is the most common cause in adults - as many as 8 in 10 patients with chronic pancreatitis develop EPI over time (Domínguez-Muñoz, 2019, in PMC). Cystic fibrosis is the second most common; roughly 90% of people with CF have EPI. Pancreatic cancer, pancreatic surgery, and long-standing diabetes are other recognized causes.
EPI is treatable with pancreatic enzyme replacement therapy (PERT), which is why identifying it matters. Anyone with persistent greasy, floating, foul-smelling stools plus weight loss should have a conversation with a gastroenterologist about testing (usually a fecal elastase-1 test).
Cause #6: Celiac Disease and Non-Celiac Gluten Sensitivity
Celiac disease damages the small intestinal villi, the fingerlike projections that absorb nutrients. When villi are flattened by the immune reaction to gluten, fat absorption is one of the first casualties. The NIDDK lists chronic diarrhea, bloating, gas, nausea, abdominal pain, and loose, greasy, bulky, bad-smelling stools among the classic celiac symptoms (NIDDK: celiac disease symptoms and causes).
Not everyone with celiac has textbook GI symptoms. About half of adults present with atypical or extraintestinal signs like iron-deficiency anemia, osteoporosis, or unexplained fatigue. But when GI symptoms are the presenting complaint, yellow-tinted greasy stools are often part of the picture. If yellow stool coincides with weight loss, anemia, or a positive family history, ask for celiac serology (tissue transglutaminase IgA) before you cut gluten - the tests are unreliable once you're already gluten-free.
Non-celiac gluten sensitivity, IBS-D, and inflammatory bowel disease can each produce a similar picture. Our IBS food triggers guide covers how the differential usually shakes out.
Cause #7: Giardia and Other GI Infections
Giardia lamblia is the poster child for yellow stool caused by infection. It's a parasite that colonizes the small intestine, interferes with fat absorption, and produces a distinct symptom pattern: pale yellow, greasy, foul-smelling, often frothy stools; bloating; sulfurous burps; fatigue; and weight loss. Symptoms typically start 1 to 3 weeks after exposure and can persist for weeks (Johns Hopkins on giardiasis, Cleveland Clinic on giardiasis).
Exposure routes worth knowing: untreated water from lakes, streams, or wells; international travel; daycare settings; and swimming pools or hot tubs with a fecal contamination event. Any yellow, greasy, weeks-long diarrhea after camping, backcountry water, or international travel should be flagged as possible Giardia. A stool antigen test confirms it, and a short course of metronidazole or tinidazole usually clears it.
Other infections - Salmonella, Campylobacter, Cryptosporidium, viral gastroenteritis - can also produce yellow stools during the acute phase, mostly through rapid transit. The tell with an infection is rarely the color alone; it's the fever, cramping, blood, or duration.
Cause #8: Stress, Anxiety, and Functional GI Conditions
People with functional dyspepsia, IBS, or high baseline anxiety commonly notice yellow, loose stools during flare periods. The mechanism is mostly the transit story from earlier - stress signals via the vagus nerve accelerate motility - but chronic bile acid diarrhea can also play a role, especially in IBS-D. Bile acid diarrhea occurs when the terminal ileum fails to reabsorb bile acids properly, and the excess spilling into the colon irritates it and speeds things up.
If you have known IBS-D or a lot of yellow, urgent bowel movements without weight loss, malabsorption, or other alarm features, the functional bucket is where this typically lands. Testing for bile acid malabsorption is available in some centers if the pattern is persistent enough to warrant it.
Yellow Stool in Babies
Yellow is essentially the default color for a healthy breastfed baby. Breast milk produces a mustard-yellow, seedy, sometimes runny stool that would look alarming in an adult and is completely normal in an infant. Formula-fed babies tend to have slightly firmer, tan-to-yellow-brown stools. Both are fine.
The color and pattern change gradually as babies start solids and their gut microbiome matures. Yellow stools that come with poor weight gain, blood, mucus, unusual foul odor, or fewer than the expected number of wet diapers deserve a pediatrician's attention. So does clay-colored or chalky white stool at any age in infancy, which can signal a bile duct problem like biliary atresia that needs urgent evaluation.
How to Tell Steatorrhea from a One-Off
The signs that push a yellow stool from "probably nothing" toward "get this checked" are pretty specific. Any combination of the following is worth taking seriously:
- Floats because of undigested fat trapping gas
- Greasy or oily, sometimes leaving a slick on the water
- Pale yellow, tan, or gray rather than the usual brown-yellow
- Foul-smelling in a distinct way, not just the usual
- Difficult to flush or leaves streaks on the bowl
- Voluminous despite normal food intake
One episode after a very fatty meal is not steatorrhea. A recurring pattern over weeks, especially with weight loss, fatigue, or vitamin deficiency symptoms (night blindness, easy bruising, bone pain), is.
When Yellow Stool Actually Needs a Doctor
Most yellow stool resolves in a day or two and needs nothing. The situations that warrant a call:
- Yellow, greasy, or floating stool that has been going on for more than 1 to 2 weeks
- Unintentional weight loss alongside chronic yellow stools
- Any pale, clay-colored, or chalky stool, especially with jaundice, dark urine, or itching (potentially urgent)
- Yellow diarrhea after camping, well water, or international travel (possible Giardia)
- Yellow stool with fever above 102°F (38.9°C), severe abdominal pain, or blood
- Persistent yellow stool in a baby that is clay-colored or comes with poor weight gain
- Yellow stool that started after a new medication, especially an antibiotic or a lipase inhibitor like orlistat
- Family history of celiac, cystic fibrosis, or pancreatic disease plus new-onset greasy stools
If you're noticing color changes elsewhere on the spectrum too, our stool color chart covers what each shade suggests, and the green poop guide handles the other end of the bilirubin range.
What to Do About Yellow Stool Today
Practical steps, in the order they're actually useful:
- Scan back 48 hours. Turmeric-heavy meal, big fatty dinner, matcha or carrot smoothie, a new supplement, a bout of stress. Most single-episode yellow stools trace to something in this window.
- Check the form. Loose and yellow after stress or coffee is transit. Greasy, floating, pale-yellow, and persistent is malabsorption.
- Check the frequency. Once is anecdote. A pattern that repeats over a week or two is data.
- Note the company it keeps. Bloating, gas, weight loss, cramping, fatigue, jaundice, dark urine, itching, foul breath. These change the calculation entirely.
- Track it. Color, form, timing, and what you ate the day before. That combination is what a gastroenterologist actually needs to sort transit-related color changes from malabsorption from an infection.
- See a doctor if it persists. Two weeks of greasy, floating, pale-yellow stool is a reasonable threshold to ask for stool testing (fecal elastase, celiac serology, Giardia antigen, sometimes a 72-hour fecal fat test).
What the Evidence Actually Says
A few claims float around about yellow poop that aren't well supported. Yellow stool is not a reliable "detox" sign, not evidence of a liver cleanse working, and not by itself a marker of any single condition. It's a symptom, and its diagnostic value comes almost entirely from context: how long it's been happening, what the stool actually looks and behaves like, and what other symptoms come with it.
The one place color alone is a strong signal is at the extremes. Clay-colored or chalky white stool suggests bile isn't reaching the intestine and warrants prompt evaluation. Black, tarry stool suggests upper GI bleeding. Bright red or maroon suggests lower GI bleeding. Yellow sits in a middle band where the color tells you where to look, but the pattern and associated symptoms tell you what you're actually dealing with.
Yellow stool is often a pattern, not a one-off. Number Two logs color, form, and what you ate the day before, so you can tell your doctor exactly what changed and when.
Download for iOS - Free