Yellow diarrhea is most often a sign that stool is moving too fast for bile pigments to turn brown, though persistent cases can point to a fat or bile acid problem.
Diarrhea is unpleasant whatever its cause, and an unfamiliar color is not a welcome addition. Yellow diarrhea is usually temporary, and the color most often comes down to speed.
Less commonly, it points to a problem absorbing fat or handling bile acids. Duration, appearance, and other symptoms separate the causes.
Why Diarrhea Turns Yellow
The causes below run from most common and least worrying to less common and more worth checking.
Things Are Moving Too Fast for Bile to Turn Brown
Stool gets its brown color from stercobilin, a pigment gut bacteria make from bilirubin, the yellow-green pigment in bile.
Diarrhea speeds transit and leaves less time for that step, so stool can stay yellow or yellow-green. In a brief bout, that reflects speed rather than a separate problem.
A Stomach Bug or Food Poisoning
Viral gastroenteritis, foodborne infections, and medication side effects are common causes of diarrhea that can leave stool loose and yellow.
Giardia is the most commonly diagnosed intestinal parasitic infection in the United States. It spreads through contaminated water, including untreated lake and stream water, and through travel, swimming, and contact with infected people, especially in childcare settings.
More than 90% of people with symptomatic giardiasis have diarrhea, often with bloating, gas, and poor nutrient absorption.
Ask a doctor about Giardia testing if diarrhea persists after untreated water exposure, travel, or contact with someone infected. For travelers, infectious diarrhea guidelines advise evaluation for intestinal parasites when diarrhea lasts 14 days or longer.
Fat the Body Did Not Absorb
When the digestive system cannot absorb dietary fat, the excess passes into stool. This is called steatorrhea, and the stool may be greasy, bulky, foul-smelling, yellow, oily, and hard to flush.
Floating stool alone does not establish fat malabsorption, since gas also makes stool float. Persistent greasy stools, especially with weight loss or chronic diarrhea, are more suggestive.
A few conditions interfere with fat digestion or absorption, and each brings its own symptoms beyond stool color.
Celiac disease. An immune reaction to gluten damages the small intestine and impairs nutrient absorption. Chronic diarrhea and loose, greasy, bulky, bad-smelling stools are possible celiac symptoms.
Pancreatic insufficiency. The pancreas supplies the enzymes that digest fat. Too few enzymes, and fat passes through the intestines unabsorbed.
Fat-blocking medication. Orlistat, a weight-loss medication, blocks some fat absorption. Orlistat prescribing information describes oily stools, more frequent bowel movements, and urgency after very high-fat meals.
Too Much Bile Acid Reaching the Colon
Bile acids digest fat in the small intestine, and most are reabsorbed before the colon.
In bile acid diarrhea, too many acids reach the colon, where they increase fluid secretion and bowel activity, causing watery diarrhea, urgency, and frequent bowel movements, sometimes at night.
It can develop after gallbladder removal, though most people who have the surgery do not develop it.
A meta-analysis found evidence of bile acid malabsorption in approximately 28% of people with diarrhea-predominant irritable bowel syndrome (IBS-D). Estimates vary, and the SeHCAT test used in that research is not routinely available in the United States.
Prescription bile acid sequestrants can treat it, and a clinical practice guideline outlines when testing or treatment is appropriate.
What Actually Helps
The color itself rarely needs treatment, so the useful steps are about fluids, timing, and what you notice.
Replace fluids and electrolytes. Water, broth, or an oral rehydration solution of fluids, salts, and glucose, especially when losses are significant.
Note the timeline and exposures. Track when it started, how often, and whether stools are watery or greasy. Note recent travel, camping, untreated water, and diet changes.
Review your medications. Orlistat, antibiotics, and other medications can contribute, and antibiotics also raise the risk of Clostridioides difficile (C. diff), which can cause persistent or severe symptoms. Do not stop a prescription on your own. Ask your doctor whether a medication could be contributing.
Watch the pattern, not one stool. Occasional yellow, watery stool during a stomach bug differs from persistent greasy, bulky stool, which points toward fat malabsorption.
Separate yellow from pale. White, gray, or clay-colored stools can mean too little bile pigment is reaching the intestine. If they occur with dark urine or yellowing of the skin or eyes, contact a doctor promptly, because a liver or bile duct problem may be involved.