
Yellow stool usually means food moved through your gut quickly, so bile did not have time to turn brown. It is common with diarrhoea, after a fatty meal and in breastfed babies. See a doctor if yellow stool is greasy and keeps floating, lasts more than a few days, or comes with weight loss, pale stools or yellow skin.
In this article
- What does yellow stool mean?
- What are the common causes of yellow stool?
- What does greasy, yellow stool that floats mean?
- Is yellow stool normal in babies?
- Is yellow stool a sign of IBS?
- When should you see a doctor about yellow stool?
- What can you do about yellow stool?
- How do your gut bacteria shape the colour of your poop?
- Frequently asked questions
- What I want you to remember
Your poop gets its brown colour from gut bacteria. In 2024, scientists found the bacterial enzyme that starts turning yellow bile pigment brown. So yellow stool often means your gut bacteria simply ran out of time to finish the job.
Yellow stool is usually harmless, especially after a fast, loose day or in a baby. I ask my clients about their poop, because colour and shape tell us a lot about the gut. In this guide I explain the common causes, what greasy yellow poop can mean and the signs that need a doctor.
What does yellow stool mean?
Yellow stool most often means food moved through your gut quickly, so bile did not have time to turn brown. It can also mean extra bile or, less often, fat that your gut did not absorb.
Your liver makes bile to help you digest fat. Bile carries a yellow pigment called bilirubin. As bile travels down your gut, bacteria change this pigment step by step until stool turns brown.
A 2024 study in Nature Microbiology named the enzyme that does a key step. It is called BilR. The team found it in nearly all healthy adults. It was less common in newborn babies and in people with inflammatory bowel disease (IBD).
What are the common causes of yellow stool?
The most common causes are fast transit, diarrhoea, extra bile, certain foods and, less often, fat malabsorption. Here is what each one looks like.
Fast transit and diarrhoea
When stool rushes through, bacteria have less time to change the yellow pigment. A 1997 study of 66 volunteers measured gut transit with small markers. When they took a laxative, transit sped up and stools became looser.
Stool form matched transit time better than how often people went to the toilet. That is why the Bristol stool chart is so useful. Stomach bugs, food poisoning and stress can all speed things up. NIDDK names viral gut infections and food poisoning as common causes of sudden diarrhoea.
Bile acid diarrhoea
Some people do not take back bile acids well at the end of the small intestine. Extra bile then reaches the colon, draws in water and causes urgent, loose and often yellow stools.
This is more common than many people think. A 2015 review of 6 studies and 908 people found it in 28% of adults diagnosed with IBS with diarrhoea. A 2022 review of 7 studies and 597 people put the figure at 41% in IBS patients seen in hospital clinics.
After gallbladder removal
Without a gallbladder, bile drips into the gut all day instead of at mealtimes. A 2019 review looked at 361 people with long-term watery diarrhoea after gallbladder surgery. About 70% had bile acid diarrhoea. In the studies that tested treatment, 79% responded to a bile acid binder medicine.
Foods and medicines
Large servings of carrots, sweet potato, pumpkin or yellow food colouring can tint stool yellow or orange. A very fatty meal can also leave stool paler and softer for a day. This settles on its own once you eat normally again.
Orlistat, a weight loss medicine, blocks fat digestion on purpose. In a 52 week study of the drug, most side effects were oily spotting and wind with small amounts of stool or oil. If you take it, oily yellow stool is expected after a fatty meal.
What does greasy, yellow stool that floats mean?
Greasy, pale yellow stool that smells very bad and is hard to flush can mean your gut is not absorbing fat. Doctors call this steatorrhoea, and it needs a check if it keeps happening.
One odd floating poop is usually just gas. My guide to floating poop explains the difference. These are the conditions doctors think about when fatty stools keep coming back.
- Coeliac disease. The NHS lists foul smelling, greasy, frothy poo that is hard to flush as a symptom. A 2018 review of 96 studies found biopsy confirmed coeliac disease in 0.7% of people worldwide.
- Exocrine pancreatic insufficiency (EPI). The pancreas does not make enough digestive enzymes. The 2023 AGA expert review lists fatty stools, weight loss, bloating and excess wind as signs.
- Chronic pancreatitis. The NHS lists very smelly poo that floats and is hard to flush.
- Giardia. This parasite from unsafe water causes greasy, smelly stools that tend to float, according to the CDC.
EPI is not only a problem of the pancreas itself. The AGA review says doctors should consider it with coeliac disease, Crohn’s disease, past bowel surgery and long-standing diabetes. A 2026 Dutch study of 443 adults with type 1 diabetes found low enzyme levels in 17%. People with lower levels ate less fibre and had higher blood sugar.
The first test is usually a simple stool test called faecal elastase. If EPI is confirmed, prescription enzymes taken with meals are the treatment. Shop-bought enzyme blends are not the same thing. My guide to digestive enzymes explains the difference.
Is yellow stool normal in babies?
Yes, yellow stool is normal and very common in babies, especially breastfed babies. Soft, mustard yellow poop is a healthy sign in the early months.
A 2024 Finnish study followed 1,052 healthy babies for 17 weeks. Their poop was most often yellow or light brown. A 2012 Dutch study of 600 healthy babies found that breastfed babies had softer, more often yellow stools than formula-fed babies.
Newborns carry fewer of the bacteria that turn bilirubin brown, as the BilR study showed. That helps explain why baby poop starts out yellow and darkens as the gut bacteria grow.
Which baby poop colours need a doctor?
Pale, white, chalky or clay coloured poop in a baby needs a doctor quickly. It can be a sign of biliary atresia, a rare blocked bile duct. A 2024 review of 7 studies and nearly 1 million babies found stool colour cards picked up about 80% of cases at one month.
Keep a nappy to show the doctor. Blood in the nappy, or a baby who is feeding poorly or seems unwell, also needs a check.
Is yellow stool a sign of IBS?
Yellow stool is not a sign of IBS on its own, but it is common on IBS with diarrhoea days. Fast, loose stools are more often yellow or green.
I lived with IBS with diarrhoea myself, so I know how unsettling these changes can feel. If your stools are often loose and yellow, ask your doctor about bile acid diarrhoea. It can look exactly like IBS, and it has its own treatment.
The 2022 review found that a large share of people diagnosed with IBS in hospital clinics had another treatable condition. These included bile acid diarrhoea and, less often, pancreatic enzyme problems. My IBS with diarrhoea diet guide covers food steps that may help calm fast transit.
When should you see a doctor about yellow stool?
See a doctor if yellow stool lasts more than a few days without a clear cause, or comes with any warning sign. One yellow poop after a stomach bug or a rich meal is not a worry.
NIDDK advises adults to see a doctor if diarrhoea lasts more than 2 days or they have 6 or more loose stools in a day. Greasy stools that keep coming back need a check too. So does losing 3 kg (about 7 lb) or more without trying.
Get help the same day for yellow skin or eyes, very pale or clay coloured stools, or dark urine. MedlinePlus says pale stools can come from problems in the liver, gallbladder or bile ducts. Black, tar-like or bloody stools also need urgent care. My poop color chart covers every colour in one place.
What can you do about yellow stool?
If you feel well, give it a day or two. Most yellow stool settles once food, stress or a stomach bug passes. Try these steps if it keeps happening.
- Look back 24 to 48 hours. Note rich or fatty meals, orange and yellow foods, new medicines, alcohol and stress.
- Keep a two week poop diary. Write down colour, shape, greasiness, timing, meals and how you feel. A diary is far more useful to your doctor than one photo.
- Drink enough fluid. With loose stools, sip water or an oral rehydration drink often through the day.
- Eat steady, moderate meals. Very large, high fat meals can push more bile through at once. Spread fat across the day with olive oil, nuts, eggs and fish.
- Add soluble fibre slowly. Oats and psyllium can help firm up loose stools. My guide to soluble vs insoluble fibre explains how to start.
- Ask about tests. If loose yellow stools last more than a few weeks, ask your doctor about coeliac blood tests, a faecal elastase test and bile acid diarrhoea.
Try this today. Play my Gut Check game to see what your gut signs may be telling you.
How do your gut bacteria shape the colour of your poop?
Your gut bacteria do the work that turns yellow bile into brown stool. I strongly believe gut health shapes nearly every part of our health, and your poop colour is a daily, visible sign of it.
Bacteria also change bile acids themselves. A 2026 expert paper in the FASEB Journal said fibre, fermented foods, polyphenols, protein and fat can all shape bile acid metabolism. It also noted that most diet studies do not measure bile acids yet, so firm food rules are not possible.
A 2021 study of 863 people used blue muffins to time gut transit. Transit time was linked with the gut microbiome more closely than stool form or frequency. In practice, regular meals, a wide range of plant foods, good sleep and calm, slow eating all support steady transit.
Frequently asked questions
Can stress cause yellow stool?
Stress can speed up your gut and cause loose stools. Fast stools are more often yellow because bile has less time to turn brown. So stress may lead to yellow stool in some people, through speed rather than any direct effect on colour.
Is yellow stool a sign of liver problems?
Usually not. Liver and bile duct problems more often cause pale, clay or white stools, along with dark urine and yellow skin or eyes. If you notice any of these, see a doctor the same day.
Why is my poop yellow after my gallbladder was removed?
Without a gallbladder, bile flows into the gut all the time. Extra bile can reach the colon and cause loose, yellow stools. A 2019 review found bile acid diarrhoea in about 70% of people with chronic watery diarrhoea after gallbladder surgery, and treatment often helps.
Is yellow stool normal for breastfed babies?
Yes. Soft, yellow, seedy poop is typical for breastfed babies. A 2024 study of 1,052 healthy babies found yellow or light brown was the most common colour. Pale, white or clay coloured poop is the colour that needs a doctor quickly.
How long does yellow stool last?
Yellow stool from food, a stomach bug or a stressful day usually goes back to brown within a day or two. If it lasts more than a few days, or is greasy and hard to flush, keep a diary and talk to your doctor.
What I want you to remember
Yellow stool usually means speed. Bile rushed through before your gut bacteria could turn it brown. In babies, yellow is the normal colour.
Look at the pattern, not one poop. Greasy stools that keep floating, weight loss, pale stools or yellow skin need a doctor. If you want a calm, guided reset for your gut, join my free 30-Day Calm Gut Challenge.
Sources
- Hall B, et al. BilR is a gut microbial enzyme that reduces bilirubin to urobilinogen. Nature Microbiology, 2024
- Lewis SJ, Heaton KW. Stool form scale as a useful guide to intestinal transit time. Scandinavian Journal of Gastroenterology, 1997
- Slattery SA, et al. Systematic review with meta-analysis. The prevalence of bile acid malabsorption in the irritable bowel syndrome with diarrhoea. Alimentary Pharmacology and Therapeutics, 2015
- Poon D, et al. A systematic review and meta-analysis on the prevalence of non-malignant, organic gastrointestinal disorders misdiagnosed as irritable bowel syndrome. Scientific Reports, 2022
- Ruiz-Campos L, et al. Systematic review with meta-analysis. The prevalence of bile acid malabsorption and response to colestyramine in patients with chronic watery diarrhoea and previous cholecystectomy. Alimentary Pharmacology and Therapeutics, 2019
- Shirai K, et al. Reduction of excessive visceral fat and safety with 52-week administration of lipase inhibitor orlistat in Japanese. Long-term clinical study. Advances in Therapy, 2019
- Whitcomb DC, Buchner AM, Forsmark CE. AGA clinical practice update on the epidemiology, evaluation and management of exocrine pancreatic insufficiency. Gastroenterology, 2023
- de Wit DF, et al. High prevalence of low faecal elastase levels in individuals with type 1 diabetes is associated with diabetes duration. Diabetologia, 2026
- Rubio-Tapia A, et al. American College of Gastroenterology guidelines update. Diagnosis and management of celiac disease. American Journal of Gastroenterology, 2023
- Singh P, et al. Global prevalence of celiac disease. Systematic review and meta-analysis. Clinical Gastroenterology and Hepatology, 2018
- Solasaari T, et al. Bowel function in a prospective cohort of 1052 healthy term infants up to 4 months of age. European Journal of Pediatrics, 2024
- den Hertog J, et al. The defecation pattern of healthy term infants up to the age of 3 months. Archives of Disease in Childhood Fetal and Neonatal Edition, 2012
- Gopal SH, et al. Population-based screening strategies for biliary atresia in the newborn. A systematic review and meta-analysis. PLOS ONE, 2024
- Asnicar F, et al. Blue poo. Impact of gut transit time on the gut microbiome using a novel marker. Gut, 2021
- Dichter J. Bile acid metabolism as a unifying readout for diet, microbiome function, and gastrointestinal disease. FASEB Journal, 2026
- NHS. Coeliac disease symptoms. Reviewed March 2023
- NHS. Chronic pancreatitis symptoms. Reviewed October 2025
- CDC. About Giardia infection
- MedlinePlus. Stools, pale or clay colored. Reviewed August 2024
- NIDDK. Symptoms and causes of diarrhea. Reviewed 2024
This article shares general information. It is not a diagnosis or a treatment plan. Please talk to your own doctor before you change your diet, medicines or supplements.