Skip to content
PoopCheck PoopCheck
Stool Analysis May 19, 2026

Yellow Stool: What It Means and When to See a Doctor

Most yellow stool is from diet or fast transit — but greasy, floating, foul-smelling yellow stool can signal malabsorption. Here's how to tell which is which.

By PoopCheck Team

A one-off yellow stool is usually harmless: sweet potato, turmeric, carrots, or stool that simply moved through your gut too fast can all shift the color. The version that matters is steatorrhea, the technical name for yellow, greasy, foul-smelling stool that often floats, caused by fat your gut couldn’t absorb. Per the NIH StatPearls chapter on steatorrhea, that pattern reflects a problem with the pancreas, bile flow, or the small intestine, and it’s worth a doctor’s evaluation rather than a wellness blog. Most people googling “why is my poop yellow” fall in the benign bucket, but a small minority don’t, and knowing the difference is the whole point.

Key takeaways

  • Yellow doesn’t equal emergency on its own. Diet, fast transit, infant breast milk, and mild stress can all produce yellow stool with no underlying disease.
  • Steatorrhea is the yellow stool that matters: greasy, pale yellow to clay-tinted, foul-smelling, often floating, and hard to flush. Per NIH StatPearls, it’s defined as more than 7 g of fat per day in stool on a normal-fat diet.
  • Three main mechanisms cause fatty yellow stool: pancreatic enzyme insufficiency (chronic pancreatitis, cystic fibrosis), bile flow problems (gallstones, bile duct obstruction), and small-bowel malabsorption (celiac, Crohn’s, giardia, SIBO).
  • Red flags that warrant a same-week appointment: yellow greasy stool lasting more than two weeks, weight loss, jaundice, dark urine, fatty-meal pain, or fever.
  • A single greasy yellow stool after a high-fat meal usually isn’t steatorrhea. The signal is a pattern over days to weeks, not a one-off.

Why stool is brown, and what turns it yellow

Normal brown stool gets its color from stercobilin, a pigment your gut makes by breaking down bilirubin. Bilirubin comes from your liver, which produces it from worn-out red blood cells and dumps it into the small intestine in bile. Gut bacteria then convert bilirubin → urobilinogen → stercobilin as stool transits the colon. The longer the trip, the more complete the conversion, and the deeper the brown.

A yellow stool means one of three things has happened to that pipeline:

  1. Transit was too fast to finish the bilirubin → stercobilin conversion. The result is yellow-green or yellow-brown stool.
  2. Fat wasn’t absorbed. Unabsorbed fat in stool pulls the color toward pale yellow or clay, gives it a greasy sheen, and makes it float. That’s the classic steatorrhea appearance.
  3. Bile is reduced or blocked. With less bile entering the gut, there’s less bilirubin to make stercobilin, and stool turns pale, yellow-tinted, or clay-colored, per the Cleveland Clinic guide to pale and clay-colored stool.

The reason “yellow stool” has so many possible causes is that mechanisms two and three often overlap. A pancreas or biliary problem produces both fat malabsorption and reduced bile-pigment delivery, so the color shift is double-driven.

Benign causes: when yellow stool is just yellow

Most yellow stools trace back to one of these:

1. Diet

Foods rich in beta-carotene (carrots, sweet potatoes, butternut squash) or curcumin (turmeric, curry blends) can lend a yellow-orange tint. Yellow food coloring in candy or drinks does the same. The shift is typically obvious within 24–48 hours of a heavy serving and resolves on its own.

2. Fast gut transit

If stool moves through your large intestine faster than usual, gut bacteria don’t have time to fully convert bilirubin to brown stercobilin. The result is greenish-yellow or yellow stool, common after a stomach bug, a bout of diarrhea, a coffee-heavy morning, or a high-magnesium dose. This is the same mechanism that produces green stool, and it’s covered in more depth in our stool color overview and the green-stool guide.

3. Infant stool (breastfed)

Breastfed babies routinely produce mustard-yellow, seedy, loose stool. It’s a textbook normal pattern, not a sign of disease. Formula-fed infants tend toward tan to light brown.

4. Gilbert syndrome

Gilbert syndrome is a benign inherited variation that causes mild jaundice when bilirubin clears the liver more slowly. It affects roughly 3–7% of the U.S. population per NIH StatPearls, and most people never know they have it. Occasional yellow-tinged stool or eyes can show up during fasting, illness, or stress, but Gilbert syndrome is not a cause of true steatorrhea.

5. Stress and one-off events

A short stress-driven shift in gut motility can produce a few yellow bowel movements. So can a single very fatty meal that briefly overwhelms normal fat absorption. The key word is brief. A single yellow stool is not a pattern.

Steatorrhea: when yellow stool is malabsorption

Steatorrhea is the yellow stool that’s worth taking seriously. The clinical definition, per NIH StatPearls, is more than 7 g of fat excreted per day on a 100 g/day fat diet, measured over 72 hours of stool collection. The gold-standard test is the 72-hour fecal fat quantification, though it’s usually skipped for less burdensome workups (elastase, blood labs, imaging).

You don’t need a lab to suspect it. Steatorrhea has a recognizable visual signature:

  • Color: pale yellow, mustard, tan, or clay-tinted, paler than normal stool
  • Texture: greasy, oily, sometimes shiny, sometimes frothy
  • Float: tends to float on the water (from undigested fat trapping gas), where typical stool sinks. Our deeper dive on why stool floats and when to worry breaks down gas vs. fat floating.
  • Smell: distinctly foul, often described as worse than usual stool
  • Flush: hard to flush; may leave an oily ring or film in the bowl
  • Pattern: persistent over days to weeks, not a one-off

The underlying causes cluster into three categories.

Pancreatic causes (exocrine pancreatic insufficiency)

Your pancreas secretes lipase, amylase, and proteases into the small intestine to digest fat, carbs, and protein. When less than roughly 10% of those enzymes are reaching the gut, fat absorption collapses and steatorrhea begins. Per NIH StatPearls on exocrine pancreatic insufficiency, the two leading causes are:

  • Chronic pancreatitis, the most common cause in adults. Alcohol-related chronic pancreatitis typically takes 10 to 20 years of damage before enzyme secretion drops below the symptomatic threshold.
  • Cystic fibrosis, the leading cause in children. Thick mucus blocks pancreatic ducts and prevents enzyme delivery.

Other pancreatic contributors include pancreatic cancer (often presenting with painless jaundice plus steatorrhea), past pancreatic surgery, and recurrent acute pancreatitis. Stool fat in chronic pancreatitis can run very high, often more than 20 g/day at the time of diagnosis, well above the 7 g threshold.

Treatment is pancreatic enzyme replacement therapy (PERT) taken with meals, plus addressing the underlying cause.

Biliary causes (bile flow problems)

Bile is the soap that emulsifies dietary fat so pancreatic lipase can work on it. Less bile means less fat absorption and less bilirubin reaching the gut to make brown stercobilin, a double-hit toward pale yellow stool. Per the NIH StatPearls chapter on biliary obstruction, common causes include:

  • Gallstones lodged in the common bile duct (choledocholithiasis)
  • Bile duct strictures from prior surgery, inflammation, or scarring
  • Pancreatic head tumors compressing the bile duct
  • Primary biliary cholangitis and primary sclerosing cholangitis (autoimmune liver and biliary diseases)
  • Acute hepatitis or severe cirrhosis reducing bile production

The classic presentation pairs pale yellow or clay-colored stool with dark tea-colored urine and yellowing of the skin or eyes (jaundice). That triad is a same-day call to a clinician.

Small-bowel malabsorption

Even with perfect pancreatic enzymes and a healthy biliary tree, fat won’t get absorbed if the small-intestinal lining is damaged or short-circuited:

  • Celiac disease: gluten-driven autoimmune flattening of small-bowel villi. Per the NHS guide to coeliac disease symptoms, foul-smelling, greasy, floating stool (steatorrhoea) is one of the hallmark GI presentations, alongside bloating, weight loss, and iron-deficiency anemia. Roughly 1% of people have celiac, and many remain undiagnosed for years.
  • Crohn’s disease affecting the small bowel, especially the terminal ileum (impairs bile-salt reabsorption).
  • Giardia infection: a waterborne parasite that flattens villi and causes greasy, foul, floating yellow diarrhea. The CDC notes giardia produces symptoms 1 to 2 weeks after exposure that can last 2 to 6 weeks, per the CDC giardia symptom page. Common after travel, hiking, day-care exposure, or untreated water.
  • Small intestinal bacterial overgrowth (SIBO), covered in our SIBO explainer, can deconjugate bile salts and impair fat absorption.
  • Short bowel syndrome after surgical resection.
  • Tropical sprue in returning travelers from endemic regions.

Some drugs intentionally produce fatty stool. The best-known is orlistat (Alli, Xenical), which blocks roughly 30% of dietary fat absorption. The yellow oily stool is the mechanism of action, not a side effect. Bile-acid sequestrants and certain weight-loss drugs can also lighten and grease stool.

Red flags: when to see a doctor

A persistent yellow stool that looks like steatorrhea is not a “wait and see” symptom. Book an appointment if any of the following apply, per Cleveland Clinic guidance on pale and clay-colored stool:

  • Greasy, pale, foul-smelling stool lasting more than two weeks
  • Unintentional weight loss, especially with bloating or diarrhea
  • Jaundice (yellow skin or eye-whites) or dark tea-colored urine
  • Abdominal pain after fatty meals, especially upper-right or upper-middle pain
  • Fever with abdominal pain (possible cholangitis, a medical emergency)
  • New nutritional deficiencies: easy bruising (vitamin K), bone pain (vitamin D), night-blindness (vitamin A), neurological symptoms (B12)
  • A child with failure to thrive plus greasy stool
  • Recent travel, camping, or untreated-water exposure with new greasy diarrhea (think giardia)

A single yellow stool with no other symptoms doesn’t qualify. The decision point is pattern + accompanying signs, not color alone.

How doctors work it up

A standard evaluation for suspected steatorrhea, per NIH StatPearls, typically includes:

  • History and exam: travel, family history of celiac or pancreatic disease, alcohol use, surgical history, medications, fat-meal pain pattern
  • Blood work: liver enzymes and bilirubin, lipase, complete blood count, iron studies, vitamin D, vitamin B12, INR (vitamin-K-dependent), tissue transglutaminase IgA (celiac screen)
  • Stool studies: fecal elastase-1 (low result points to pancreatic insufficiency), giardia antigen, fecal calprotectin (inflammation), and in select cases the 72-hour fecal fat quantification
  • Imaging: right upper quadrant ultrasound for gallstones, MRCP or CT for biliary and pancreatic anatomy
  • Endoscopy: upper endoscopy with small-bowel biopsy when celiac is suspected; ERCP for biliary obstruction; colonoscopy if IBD is on the differential

Most workups land on a diagnosis with two or three of these steps. You rarely need everything.

When yellow stool is probably nothing

It’s reasonable to watch and wait if all of the following are true:

  • You had a recent high-fat or high-carotene meal, a stomach bug, or a stressful day
  • The yellow stool resolves within two to three days
  • You feel otherwise fine: no weight loss, no jaundice, no fatty-meal pain, no persistent diarrhea
  • Stool is not distinctly greasy, doesn’t leave an oily film, and isn’t unusually foul

If a couple of days pass and color is still off, or if any red-flag symptom shows up, escalate.

How tracking helps

The most useful thing you can give a clinician evaluating yellow stool is a timeline. Three or four dated photos showing the color, consistency, and whether the stool floats, paired with notes on meals, travel, and medications, is far more informative than describing what you remember from last Thursday. The pattern is the diagnosis.

PoopCheck classifies stool color and consistency from a photo, so a “yellow trend” or “floating trend” is something you can show, not just describe. Pair it with the Bristol stool chart explainer for consistency context, the floating stool guide for the float question, and the companion piece on black stool for the other color emergency. The stool color overview ties the full spectrum together.

FAQ

Is yellow poop always a sign of something serious? No. Most yellow stool is caused by diet (carrots, sweet potato, turmeric, food dye), fast gut transit after a stomach bug, or normal breastfed-infant stool. It becomes worth investigating when it’s persistent, greasy, foul-smelling, floats, or comes with weight loss, jaundice, or dark urine.

What’s the difference between yellow stool and steatorrhea? Steatorrhea is a specific subset of yellow stool: pale yellow to clay-colored, greasy, often floating, very foul-smelling, and hard to flush. It reflects unabsorbed fat from a pancreatic, biliary, or small-bowel problem. Plain yellow stool from diet or fast transit looks roughly normal in texture and doesn’t have the oily sheen.

Can stress cause yellow stool? Indirectly, yes. Stress can speed up gut transit, which shortens the time available for bilirubin to be converted to brown stercobilin in the colon. The result is occasional yellow or green-yellow stool. Stress isn’t a cause of true steatorrhea.

How long does giardia-related yellow stool last? Per the CDC, giardia symptoms start about 1 to 2 weeks after exposure and typically last 2 to 6 weeks if untreated. Greasy, foul, floating diarrhea is the classic presentation. If you’ve been camping, traveling, or drinking untreated water and the pattern fits, ask your clinician about a stool antigen test.

Can a fatty meal alone cause yellow stool? A single very fatty meal can briefly overwhelm normal fat absorption and produce one greasy or yellow-tinted bowel movement. That’s not steatorrhea. The diagnostic question is whether the pattern repeats over days to weeks on a normal-fat diet.

Should I worry about yellow stool if I’m also losing weight? Yes — that combination is one of the clearest red flags for malabsorption. Unintentional weight loss with persistent greasy or yellow stool warrants a same-week call to a clinician to rule out celiac disease, pancreatic insufficiency, biliary obstruction, IBD, or chronic infection.

Does Gilbert syndrome cause yellow poop? Not typically. Gilbert syndrome causes mild, intermittent jaundice (yellow skin or eyes) when bilirubin clears the liver more slowly during fasting, stress, or illness. It does not cause steatorrhea, and clay-colored stool would point to a different process — usually a bile flow problem.

The bottom line

Most yellow stool is benign: diet, fast transit, mild stress, or normal infant patterns. The pattern that matters is steatorrhea, the pale yellow, greasy, floating, foul-smelling stool that persists for more than a couple of weeks. That pattern reflects fat malabsorption from the pancreas, biliary tree, or small bowel, and it deserves a real workup rather than a wellness-blog interpretation.

If your yellow stool resolves in a few days and you feel fine otherwise, you’re almost certainly in the benign bucket. If it doesn’t, or if you’re seeing weight loss, jaundice, dark urine, fatty-meal pain, or new vitamin deficiencies, get evaluated. A short dated photo log from the PoopCheck app is the most useful artifact you can hand your clinician.

Sources

  1. Steatorrhea — StatPearls, NIH National Library of Medicine.
  2. Exocrine Pancreatic Insufficiency — StatPearls, NIH National Library of Medicine.
  3. Biliary Obstruction — StatPearls, NIH National Library of Medicine.
  4. Gilbert Syndrome — StatPearls, NIH National Library of Medicine.
  5. Clay-Colored or Pale Stool: Causes & When To See a Doctor — Cleveland Clinic.
  6. Steatorrhea (Fatty Stool): Definition, Causes, Treatment — Cleveland Clinic.
  7. Coeliac disease — Symptoms — UK National Health Service.
  8. Symptoms of Giardia Infection — U.S. Centers for Disease Control and Prevention.
  9. Stool color: When to worry — Mayo Clinic.
  10. Stools — pale or clay-colored — MedlinePlus, U.S. National Library of Medicine.

Ready to track your gut health?

Download PoopCheck free and get your first AI stool analysis in seconds.

Scan your first photo free
P
PoopCheck Team

The PoopCheck team is dedicated to making digestive health tracking accessible, accurate, and private for everyone.

4.8 · Get the app free