Green poop usually means food moved through your digestive system faster than normal, or you recently ate something with a lot of green pigment. In most cases, it’s harmless and resolves on its own within a day or two.
Why Stool Is Normally Brown
Your liver produces bile, which starts out as a green pigment called biliverdin. As bile travels through your digestive tract, enzymes convert it to a yellow compound, and then bacteria in your large intestine break it down further into brown pigments. These brown compounds are what give stool its typical color.
This chemical transformation takes time. Normal gut transit ranges from about 14 to 58 hours. When food moves through faster than that, bacteria don’t get enough time to finish converting the green bile pigments to brown. The result: green stool. This is the single most common explanation, and it’s why a bout of diarrhea often produces green or greenish output even if you haven’t eaten anything unusual.
Foods That Turn Stool Green
Chlorophyll, the pigment that makes plants green, passes through your digestive system largely intact. Eating generous amounts of spinach, kale, broccoli, avocados, fresh herbs, or matcha can tint your stool bright green. Green smoothies are a frequent culprit, especially when they combine several of these ingredients at once.
Artificial food coloring does the same thing. Blue and green dyes used in drink mixes, ice pops, frosting, and candy continue tinting whatever they touch even after digestion. Blue dye mixed with yellow bile can also produce a vivid green. If your stool turns green the day after a birthday party or a bowl of brightly colored cereal, that’s almost certainly the cause.
Iron Supplements and Medications
Iron supplements are well known for changing stool color. Most people expect black stool from iron, but green is common too, particularly with liquid or chewable forms that contain colorants or specific iron compounds. If you’ve recently started an iron supplement and notice green stool, it’s a normal side effect and not a sign that the supplement isn’t working.
Certain antibiotics can also cause green stool by disrupting the balance of gut bacteria. Since those bacteria are responsible for converting bile pigments to brown, killing them off temporarily means bile passes through with its green color intact. The effect usually resolves once you finish the course of antibiotics and your gut bacteria repopulate.
Green Stool in Babies
Green poop in infants is common and rarely a concern. Breastfed babies may produce green stool if they don’t finish feeding entirely on one side, meaning they get more of the lower-fat foremilk and less of the higher-fat hindmilk. This changes how the milk is digested and can shift stool color from the typical mustard yellow to green.
Formula-fed babies on protein hydrolysate formula, which is designed for infants with milk or soy allergies, often have greenish stool as a baseline. Babies who are just developing their gut bacteria may also pass green stool simply because they don’t yet have enough of the microbes needed to complete the bile pigment conversion. Diarrhea in infants causes green stool for the same transit-time reason it does in adults.
When Green Stool Signals a Problem
A single episode of green stool, or even a few days of it, is almost never medically significant. The color alone isn’t a red flag. What matters is the context around it.
Green stool paired with persistent watery diarrhea, especially lasting more than a few days, could point to an infection. Bacterial infections from organisms like salmonella or giardia can speed up transit time dramatically and produce green, loose stools along with cramping, fever, or nausea. If you’re experiencing these symptoms together, that’s worth medical attention.
Ongoing green, loose stools over weeks or months may suggest that excess bile acids are reaching your colon without being properly absorbed in your small intestine. This condition, bile acid malabsorption, causes chronic watery diarrhea and sometimes fatty stools. It can develop on its own or as a result of intestinal conditions that affect the area where bile is normally reabsorbed.
The stool colors that genuinely warrant concern are different from green. Black, tarry stool can indicate bleeding in the upper digestive tract. Red or maroon stool may signal bleeding lower in the colon. White or clay-colored stool suggests a blockage in bile flow. Green, by comparison, sits firmly in the “usually harmless” category. If your stool is green but formed, you feel fine, and you can trace it back to a meal or supplement, there’s very little reason to worry.

