Yellow stools usually mean that food moved through your digestive tract faster than normal, or that your body didn’t fully absorb the fat in your meal. In most cases, the cause is temporary and harmless: a dietary change, a stressful week, or a mild stomach bug. But persistent yellow stools, especially when greasy, foul-smelling, or paired with other symptoms, can point to problems with your liver, pancreas, or intestines that need medical attention.
What Gives Stool Its Normal Color
Your liver produces bile, a greenish-yellow fluid that gets released into your small intestine to help digest fat. As bile travels through your gut, bacteria break down the pigment bilirubin (a waste product from old red blood cells) and convert it into a brown-colored compound called stercobilin. That conversion is what gives healthy stool its characteristic brown shade.
Anything that disrupts this process, whether it’s less bile reaching your intestines, food passing through too quickly for bacteria to do their work, or fat not being properly absorbed, can leave your stool looking yellow instead of brown.
Diet Is the Most Common Cause
Carrots, sweet potatoes, squash, and other orange-yellow foods high in beta-carotene can temporarily turn your stool yellow. The same goes for turmeric, both as a cooking spice and as a supplement. If you recently ate a large amount of any of these foods, the color change is harmless and will resolve on its own within a day or two once your diet returns to normal.
A very high-fat meal can also overwhelm your digestive system’s ability to absorb fat efficiently, producing a one-off yellowish, greasy stool. This is different from the ongoing fat malabsorption described below.
Stress and Rapid Digestion
Stress and anxiety speed up your digestive process. When food moves through your intestines faster than usual, bile doesn’t have enough time to be fully broken down by gut bacteria, and fat isn’t absorbed as thoroughly. The result can be loose, yellowish stool or outright yellow diarrhea. If you’ve been under significant pressure and notice this change, calming the stress often resolves the problem.
Fat Malabsorption (Steatorrhea)
When yellow stools are persistent, greasy, foul-smelling, and tend to float, the likely issue is steatorrhea: too much undigested fat passing through. Healthy adults excrete about 2 to 7 grams of fat per day in their stool. Anything above 7 grams (on a normal diet) suggests your body isn’t absorbing fat properly.
Several conditions cause this:
- Celiac disease. Gluten triggers an immune reaction that damages the lining of the small intestine. That damaged lining can’t absorb nutrients properly, leading to greasy, frothy, foul-smelling stools along with diarrhea, bloating, and weight loss.
- Pancreatic insufficiency. Your pancreas produces enzymes that break down fat. When it can’t make enough of those enzymes, due to chronic pancreatitis, cystic fibrosis, or other conditions, fat passes through undigested. Symptoms include steatorrhea, weight loss, bloating, and excessive gas. A stool test measuring a specific enzyme (fecal elastase) is the standard first step for diagnosis; levels below 100 micrograms per gram strongly suggest the pancreas isn’t keeping up.
- Giardia infection. This waterborne parasite causes smelly, greasy stools that can float, along with diarrhea, cramping, and nausea. It’s common after drinking untreated water while camping or traveling. A stool sample can confirm the diagnosis, and treatment clears it up quickly.
Blocked Bile Flow (Cholestasis)
If bile can’t reach your intestines at all, stools turn pale, clay-colored, or light yellow. This happens when something blocks the bile ducts: gallstones, a tumor, or severe liver inflammation. Without bile in the gut, fat also goes undigested, so stools become fatty and foul-smelling on top of being pale.
Cholestasis produces a recognizable cluster of symptoms. Your skin and the whites of your eyes turn yellow (jaundice), your urine becomes noticeably dark, your skin itches all over, and your stools lose their normal color. This combination signals that bilirubin is building up in your blood instead of being processed through your gut.
Symptoms That Signal Something Serious
A single episode of yellow stool after eating a pile of sweet potato fries is nothing to worry about. But certain patterns deserve prompt medical evaluation:
- Persistent pale or clay-colored stools lasting more than a few days, which suggest bile isn’t reaching your intestine
- Yellowing of your skin or eyes alongside light stools and dark urine, the hallmark of cholestasis or liver disease
- Greasy, floating, foul-smelling stools that keep recurring, pointing to ongoing fat malabsorption
- Unintended weight loss combined with yellow stools, which can indicate celiac disease, pancreatic insufficiency, or other chronic conditions
- Severe abdominal pain or fever with stool color changes, which may indicate an acute blockage or infection
What to Expect During Evaluation
If your yellow stools persist, your doctor will likely start with blood tests to check liver function and look for signs of inflammation or bile duct problems. A stool sample can test for infections like giardia, measure fat content, or check enzyme levels to assess pancreatic function. Depending on those results, imaging (ultrasound, CT scan, or MRI of the abdomen) may follow to look for blockages in the bile ducts, gallstones, or structural issues with the pancreas.
For celiac disease, blood tests screen for specific antibodies, and a biopsy of the small intestine confirms the diagnosis. If celiac is the cause, removing gluten from your diet allows the intestinal lining to heal, and stool appearance typically returns to normal within weeks to months.

