Bright yellow poop usually means food is moving through your digestive system faster than normal, or that your diet recently included something that changed the color. In most cases it’s harmless and temporary. But when yellow stool persists for more than a few days, especially if it looks greasy or floats, it can signal that your body isn’t properly digesting or absorbing fat.
Why Stool Is Normally Brown
Your liver produces bile, a greenish fluid that helps break down fats. As bile travels through your intestines, bacteria chemically transform it, gradually shifting the color from green to the familiar brown. Anything that speeds up transit time, reduces bile production, or interferes with fat digestion can interrupt that process and leave your stool yellow.
Foods, Supplements, and Medications
The simplest explanation for a sudden color change is something you ate. Foods naturally high in yellow and orange pigments, like carrots, sweet potatoes, and turmeric, can tint your stool. So can foods with artificial yellow dyes. If you recently started a B-complex vitamin or a multivitamin with high-dose riboflavin (B2), that bright yellow color may show up in both your urine and your stool.
Some antibiotics also tint stool yellow or green by disrupting the normal gut bacteria that process bile. If the timing lines up with a new food, supplement, or prescription, the color shift is almost certainly benign and will resolve on its own once you stop or finish whatever caused it.
Fast Transit and Stress-Related Diarrhea
When food moves through your intestines unusually quickly, bile doesn’t have enough time to fully break down. The result is stool that retains a yellow or yellowish-green hue. This commonly happens during a bout of diarrhea triggered by stress, a mild stomach bug, caffeine, or a high-fat meal your gut wasn’t prepared for. One or two episodes like this are nothing to worry about. If diarrhea of any color lasts more than a week, that’s worth a medical visit.
Greasy, Floating Yellow Stool
The type of yellow stool that doctors pay closer attention to is steatorrhea, which is the clinical term for excess fat in the stool. It looks distinctly different from a normal bowel movement: the stool is pale to bright yellow, oily or greasy in texture, unusually foul-smelling, and tends to float. You might also notice it leaves a slick residue in the toilet bowl that’s hard to flush.
Steatorrhea happens when your body can’t properly break down or absorb dietary fat. Several conditions can cause this:
- Celiac disease damages the lining of the small intestine, reducing its ability to absorb nutrients including fat. People with undiagnosed celiac disease often experience bloating, weight loss, and fatigue alongside pale or yellow greasy stools.
- Chronic pancreatitis and other forms of pancreatic insufficiency mean the pancreas can’t produce enough digestive enzymes to break fat down in the first place.
- Crohn’s disease and other inflammatory bowel conditions can impair fat absorption when they affect the small intestine.
- Liver and bile duct problems, including cirrhosis and bile duct blockages, reduce the amount of bile reaching your intestines. Severely reduced bile flow tends to produce very pale, clay-colored stool rather than bright yellow, so a truly white or putty-colored stool is a more specific warning sign for biliary obstruction.
- Small intestinal bacterial overgrowth (SIBO) can interfere with fat absorption when excess bacteria in the small intestine consume nutrients or damage the intestinal lining.
The key distinction is persistence and texture. A single yellow bowel movement is rarely significant. Repeated greasy, floating, foul-smelling stools over days or weeks point toward a fat absorption problem that needs investigation.
Infections and Parasites
Certain gut infections produce yellow diarrhea as a hallmark symptom. Giardia, a waterborne parasite often picked up from contaminated lakes, streams, or untreated water while traveling or camping, causes smelly, greasy stools that float, along with gas, stomach cramps, nausea, and progressive fatigue. Symptoms typically appear one to two weeks after exposure and last two to six weeks, though some people develop longer-lasting issues. Diarrhea usually occurs two to five times per day and worsens over the first few days.
Other bacterial infections, including those caused by contaminated food, can also produce yellow diarrhea by irritating the gut lining and speeding up transit. Fever, vomiting, or bloody stool alongside yellow diarrhea suggest an infection that may need treatment rather than a dietary cause.
Yellow Poop in Babies
If you’re searching because of your infant’s diaper, you can likely relax. Breastfed babies typically produce mustard-yellow, soft, seedy stool, and this is completely normal. Formula-fed babies tend toward thicker, tan or brown stool with a peanut butter-like consistency. Shades of yellow-brown, orange, and green are all considered fine in infants. The colors to watch for in a baby’s diaper are white or clay-colored stool (which could indicate a bile duct problem), red (possible blood), or black after the first few days of life.
Signs That Need Medical Attention
A single episode of bright yellow stool after a dietary change, a stressful day, or a mild stomach bug doesn’t require a doctor’s visit. The situations that do warrant attention include yellow diarrhea lasting more than a week, stools that are consistently oily or greasy, unexplained weight loss, persistent bloating or abdominal pain, and any signs of jaundice like yellowing of the skin or eyes. Persistent yellow diarrhea can indicate malabsorption or a gastrointestinal disorder that requires diagnosis and targeted treatment, so waiting it out beyond a week or two isn’t a good strategy if the problem isn’t resolving on its own.

