Yellow poop usually means one of three things: something you ate, food moving through your gut faster than normal, or fat that isn’t being absorbed properly. In most cases, the cause is temporary and harmless. But persistent yellow stool, especially when it’s greasy, foul-smelling, or floating, can signal a digestive problem worth investigating.
How Stool Gets Its Normal Color
Your liver produces a yellow-green pigment called bilirubin, a byproduct of old red blood cells being recycled. Bilirubin gets secreted into your intestines through bile. From there, bacteria in your gut do the heavy lifting: they convert bilirubin into other compounds that gradually shift from yellow-green to the familiar brown. This bacterial conversion takes time, which is why anything that speeds up digestion or disrupts your gut bacteria can leave stool looking yellow or greenish instead of brown.
Without these gut bacteria, bilirubin would simply be reabsorbed back into your bloodstream rather than being excreted. The bacteria break it down into water-soluble forms that your body can actually get rid of through stool and urine. When that process works normally, you get brown poop. When it doesn’t, the color shifts.
Foods That Turn Stool Yellow
The simplest explanation is often what you’ve been eating. Carrots, sweet potatoes, turmeric, and anything containing yellow food coloring can temporarily tint your stool yellow. A diet high in fat can do the same, since excess dietary fat gives stool a paler, yellowish appearance. If you recently ate a lot of any of these and your stool returns to normal within a day or two, there’s nothing to worry about.
Rapid Digestion and Diarrhea
When food moves through your intestines faster than usual, gut bacteria don’t have enough time to fully convert bilirubin into its brown end products. The result is stool that still carries yellow or greenish pigments. This is why yellow poop often shows up during a bout of diarrhea, whether it’s caused by a stomach bug, food intolerance, stress, or something else that accelerates transit. The color itself isn’t the problem here. It’s just a visible sign that things moved through quickly.
Colonic transit time also affects how much bile gets reabsorbed versus excreted. When transit is fast, bile acids spend less time in the colon, which changes both the color and consistency of stool.
Fat Malabsorption (Steatorrhea)
If your yellow stool is also pale, bulky, oily, unusually foul-smelling, and tends to float or stick to the toilet bowl, you may be dealing with steatorrhea, which is the medical term for excess fat in stool. Normally, your body absorbs the vast majority of fat from food. When it can’t, that undigested fat comes out in your stool, giving it a greasy, yellowish, or clay-like appearance. A clinical threshold for steatorrhea is more than 7 grams of fat excreted per day in stool.
Several conditions can cause this:
- Celiac disease: An autoimmune reaction to gluten (found in wheat, rye, and barley) that damages the lining of the small intestine. The immune response flattens the tiny finger-like projections called villi that absorb nutrients, leading to poor fat absorption and greasy, pale stools. Celiac disease affects genetically susceptible people and requires ongoing gluten avoidance.
- Exocrine pancreatic insufficiency (EPI): Your pancreas produces enzymes that break down fats, carbohydrates, and proteins. When it doesn’t produce enough of these enzymes, particularly the fat-digesting one called lipase, food passes through your intestines in a more complete, undigested state. The hallmark symptom is fatty, pale, oily poop that floats.
- Other causes: Crohn’s disease, chronic infections, and certain medications can also impair fat absorption in the small intestine.
Bile Duct Blockages and Liver Problems
Bile gives stool much of its color. When bile can’t flow from your liver or gallbladder into your intestines, stool loses that pigment entirely and turns pale, whitish, or clay-colored. This condition, called cholestasis, can result from gallstones blocking the bile duct, liver disease, or tumors pressing on the bile duct system. Without bile to help break down fats, those fats also end up in your stool, compounding the color change.
Bile duct blockages often come with other noticeable symptoms: yellowing of the skin and whites of the eyes (jaundice), dark urine, itchy skin, belly pain, fatigue, and sometimes fever or chills. If your stool is consistently pale or clay-colored and you notice any of these, that combination points to a problem with bile flow that needs medical evaluation.
Infections That Cause Yellow Stool
Certain gut infections produce distinctly yellow diarrhea. Giardia, a parasite commonly picked up from contaminated water, causes smelly, greasy poop that can float. The infection interferes with fat absorption in the upper small intestine, producing stool that looks and behaves a lot like steatorrhea. Other bacterial and viral infections can cause yellow stool simply by speeding up transit time, as described above, though they typically resolve within a few days.
Yellow Poop in Babies
If you’re here because of a baby’s diaper, yellow stool in infants is completely normal. Breastfed newborns typically produce seedy, loose stool that looks like light mustard. Formula-fed babies tend toward yellow or tan poop with hints of green, usually a bit firmer but still soft. These colors reflect the way an infant’s developing gut processes milk and are not a cause for concern. The main colors to watch for in babies are white, red, or black, which can indicate a problem.
When Yellow Stool Matters
A single yellow bowel movement after a meal heavy in carrots or turmeric means nothing. Yellow stool during a day or two of diarrhea is expected and will resolve on its own. The pattern that warrants attention is persistent yellow stool, especially when it’s greasy, floating, foul-smelling, or accompanied by other symptoms like weight loss, bloating, belly pain, or jaundice. These combinations suggest your body isn’t absorbing fat properly or that bile isn’t reaching your intestines, both of which have identifiable, treatable causes.
Unintentional weight loss alongside fatty yellow stools is particularly worth flagging, since it can indicate that your body is missing out on calories and fat-soluble vitamins over time.