Yellow Stool: Common Causes, Red Flags and the Tests Behind Them

The essentials
A yellow stool now and then usually comes from food: carrots, sweet potatoes or a very fatty meal. Yellow stool that is greasy, floats, smells unusually bad and keeps coming back for weeks suggests fat is not being absorbed, often because of the pancreas, the gut lining or bile flow. A few targeted tests, starting with fecal elastase, celiac antibodies and a Giardia stool test, usually find the reason.
When is yellow stool an emergency?
Yellow stool alone is rarely urgent. What comes with it decides how fast to act.
When to see a doctor
- Emergency: call 911 if yellow or pale stool comes with severe, constant pain in the upper belly that spreads to the back, together with vomiting, fever, a racing heart or low blood pressure. These can signal acute pancreatitis[4].
- Within 24 to 48 hours if light yellow or clay-colored stool comes with yellow skin or eyes, dark urine or itching[3], or if a baby older than 3 weeks still looks yellow or passes pale yellow, gray or white stools[11].
- At your next appointment for greasy yellow stools that keep returning, with bloating or weight loss[2], if diarrhea has lasted more than 14 days[5], or if your stool has not returned to brown after several days without a clear reason[3].
Why is my poop yellow? The harmless causes first
These yellow stools keep a normal shape and smell. For other shades, see our stool color guide.
- Common Orange and yellow foods. Carrots and sweet potatoes, rich in beta-carotene, can tint stool yellow-orange[1].
- Common A very fatty meal. Fried food can leave stool lighter and slightly greasy for a day[1].
- Common A breastfed or formula-fed baby. Mustard yellow is the usual color for breastfed babies, and yellow-tan for formula-fed babies[12].
- Possible A short bout of diarrhea. Loose, yellowish stool is common with a stomach bug: see gastroenteritis symptoms and causes.
- Possible Medicines. Some weight-loss and cholesterol-binding drugs reduce fat absorption[2].
What medical problems cause greasy, yellow stool?
To absorb fat, the body needs bile from the liver and gallbladder, enzymes from the pancreas and a healthy small intestine[8]. When one link fails, fat stays in the stool: doctors call this steatorrhea, greasy, bulky yellow stool that floats and is hard to flush[2]. The Bristol stool chart helps describe texture.
- Possible Giardia infection. Picked up from untreated lake or stream water or in daycare centers, it causes symptoms 7 to 14 days after exposure, with non-bloody diarrhea, gas, bloating and sometimes weight loss[5].
- Possible Celiac disease. An immune reaction to gluten damages the small intestine lining, which then absorbs fat poorly[2]. Read our guide to celiac disease and its tests.
- Possible Exocrine pancreatic insufficiency (EPI). The pancreas sends too few digestive enzymes. It is most likely after chronic pancreatitis, repeated acute pancreatitis, pancreatic surgery or with cystic fibrosis, and is also seen with celiac disease, Crohn disease and long-standing diabetes[6]. See pancreatitis causes and treatment.
- Possible Bile not reaching the gut. Gallstones, narrowed bile ducts, hepatitis or cirrhosis can lighten stool to pale yellow or clay, often with yellow eyes and dark urine[3]. See gallstone symptoms.
- Rare Tumors of the pancreas, bile ducts or liver, which can block bile flow or enzyme release[3]. In babies, biliary atresia causes pale yellow, gray or white stools with jaundice lasting beyond 3 weeks[11].
Over months, poor fat absorption can cause anemia, thin bones and low vitamins A, D, E and K[2][6], so it deserves a work-up even if you feel well.
Which tests will the doctor order for yellow stool?
Three questions guide the choice: is there an infection, is fat being lost, and which organ is involved?
| Test | What it answers | Learn more |
|---|---|---|
| Giardia stool antigen, stool PCR panel, ova and parasites | Is a parasite or germ causing the diarrhea? | Ova and parasites exam, stool PCR panels |
| Fecal elastase | Is the pancreas making enough enzymes? | Fecal elastase results |
| Fecal fat (microscopy or 72-hour collection) | Is fat actually being lost in the stool? | Fat droplets in stool |
| tTG-IgA with total IgA | Could this be celiac disease? | Blood test; biopsy confirms |
| Bilirubin and liver panel (ALT, AST, ALP, GGT) | Is bile flow blocked or the liver inflamed? | Total bilirubin, high liver enzymes |
| Lipase | Is the pancreas acutely inflamed? | Lipase blood test |
| Ultrasound, CT or MRI | Are there gallstones, a blocked duct or a mass? | Imaging cannot diagnose EPI itself[6] |
Have stool or blood results after weeks of yellow stool? BloodSense explains each value in plain language and helps you prepare questions for your doctor.
Get my results explainedHow do I read the results?
Fecal elastase: below 100 is the clear signal
Fecal elastase is the recommended first test for pancreatic enzyme shortage. A value below 100 µg/g of stool is good evidence of EPI, while 100 to 200 µg/g is a gray zone[6]. Above 200 µg/g reliably rules EPI out when it was unlikely anyway, but in that group a value below 200 is often a false alarm[7]. The sample must be formed or semi-solid: watery stool dilutes the enzyme and can produce a falsely low result[6].
Fecal fat: confirms loss, not the cause
Rarely needed now[6], it requires about 100 grams of fat a day for 3 days; normal is below 7 grams of fat per 24 hours. Laxatives, enemas and mineral oil distort it[8].
Celiac antibodies: check the IgA line too
The usual screen is tissue transglutaminase IgA (tTG-IgA). Labs add total IgA because people low in IgA can get a falsely negative tTG-IgA; a DGP antibody test is then used, as it is in children under 2[9]. A positive result is followed by a small-bowel biopsy in most adults; selected children may be diagnosed without one[10].
Bilirubin and liver enzymes: pale yellow with a high direct bilirubin
When stool is light and urine is dark, a raised direct bilirubin with a high ALP or GGT points to bile that cannot drain. Imaging (ultrasound, CT, MRI or ERCP) then looks at the ducts[3]. Dark urine often tests positive for bilirubin on a dipstick.
Lipase: the acute pancreatitis marker
Lipase is more specific than amylase for acute pancreatitis, most often triggered by gallstones[4].
What should I note before the appointment?
- How long the stool has been yellow, and whether every bowel movement is affected
- Greasy look, floating, oily film in the toilet, unusual smell, hard to flush
- Weight change, bloating, pain after fatty meals
- Skin or eye color, urine color, itching
- Untreated water, travel or a child in daycare
- Weight-loss drugs, cholesterol medicines, pancreatic enzymes, alcohol intake
Questions to ask your doctor
- Does this look like fat malabsorption, food or an infection?
- Should we test for Giardia, celiac disease and pancreatic enzymes at the same time?
- Was my stool sample formed enough for the elastase result to be reliable?
- Do my vitamin D and other fat-soluble vitamin levels need checking?
Frequently asked questions
Should I stop eating gluten to see if my yellow stool improves?
Not before testing. Cutting out gluten can make celiac blood tests and biopsies falsely normal, so keep eating gluten until the work-up is finished[9].
Can I do the elastase test while taking pancreatic enzyme capsules?
Yes. Fecal elastase measures the enzyme your own pancreas makes, so the result is not distorted by enzyme capsules[6].
Is yellow stool a sign of pancreatic cancer?
Rarely on its own. A tumor can block enzymes (greasy stools)[6] or bile (pale stools, usually with jaundice)[3]. See pancreatic cancer warning signs.
Related tests and guides
- Stool color: what your results meanEvery shade, from green to pale to red.
- Fecal elastase testThe first test for pancreatic enzyme shortage.
- Fat droplets in stoolWhat neutral and split fat mean on a report.
- Celiac diseaseSymptoms, antibody tests and biopsy.
- Black stool causes and testsWhen dark stool can mean bleeding.
References
- Cleveland Clinic. What does my stool (poop) color mean? clevelandclinic.org (accessed October 25, 2026)
- MedlinePlus Medical Encyclopedia. Malabsorption. medlineplus.gov (accessed October 25, 2026)
- MedlinePlus Medical Encyclopedia. Stools - pale or clay-colored. medlineplus.gov (accessed October 25, 2026)
- MedlinePlus Medical Encyclopedia. Acute pancreatitis. medlineplus.gov (accessed October 25, 2026)
- MedlinePlus Medical Encyclopedia. Giardia infection. medlineplus.gov (accessed October 25, 2026)
- Whitcomb DC, Buchner AM, Forsmark CE. AGA clinical practice update on the epidemiology, evaluation, and management of exocrine pancreatic insufficiency: expert review. Gastroenterology. 2023;165(5):1292-1301. doi:10.1053/j.gastro.2023.07.007 (accessed October 25, 2026)
- Vanga RR, Tansel A, Sidiq S, El-Serag HB, Othman MO. Diagnostic performance of measurement of fecal elastase-1 in detection of exocrine pancreatic insufficiency: systematic review and meta-analysis. Clin Gastroenterol Hepatol. 2018;16(8):1220-1228.e4. doi:10.1016/j.cgh.2018.01.027 (accessed October 25, 2026)
- MedlinePlus Medical Encyclopedia. Fecal fat. medlineplus.gov (accessed October 25, 2026)
- MedlinePlus Lab Tests. Celiac disease screening. medlineplus.gov (accessed October 25, 2026)
- Rubio-Tapia A, Hill ID, Semrad C, Kelly CP, Greer KB, Limketkai BN, Lebwohl B. American College of Gastroenterology guidelines update: diagnosis and management of celiac disease. Am J Gastroenterol. 2023;118(1):59-76. doi:10.14309/ajg.0000000000002075 (accessed October 25, 2026)
- National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & causes of biliary atresia. niddk.nih.gov (accessed October 25, 2026)
- HealthyChildren.org (American Academy of Pediatrics). The many colors of baby poop. healthychildren.org (accessed October 25, 2026)
This article is general health information. It does not replace a medical examination, diagnosis or treatment. If yellow or pale stool comes with severe belly pain, fever or yellow eyes, seek care without waiting.



