Green stool usually means one of two things: you ate something with a strong green pigment, or food moved through your digestive system faster than usual. 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, a yellow-green fluid that helps break down fats. As bile travels through your intestines, bacteria convert it through several chemical stages. The starting pigment, bilirubin, gets transformed into colorless compounds and then finally into stercobilin, which gives stool its characteristic brown color. This process takes time. When food moves through your colon at a normal pace (roughly 30 to 40 hours, though up to 72 hours is still considered normal), bile has plenty of time to complete that color shift.
When something speeds up that journey, bile doesn’t fully break down. It stays closer to its original green color, and so does your stool.
Foods That Turn Stool Green
The most common culprit is chlorophyll, the pigment that makes plants green. Eating large amounts of spinach, kale, broccoli, avocados, herbs, or matcha can produce noticeably green stool. Pistachios are another source, since their green color comes from the same chlorophyll pigment. Blueberries can also shift stool into green or blue-green shades.
Artificial food coloring is another frequent cause. Brightly frosted cupcakes, candy, sports drinks, and other processed foods with synthetic dyes continue tinting whatever they touch as they pass through your digestive tract. If you ate something with vivid blue or green dye in the last day or two, that’s likely your answer.
Medications and Supplements
Several common over-the-counter products can change stool color to green or dark green:
- Iron supplements often darken stool and give it a green or blackish tint. This is a well-known side effect and not a sign of a problem.
- Antidiarrheal medications containing bismuth subsalicylate react with sulfur in your digestive system, producing dark green or black stool.
- Antacids with aluminum hydroxide can cause greenish stool as a side effect.
- Antibiotics disrupt the normal balance of gut bacteria. Since those bacteria are responsible for converting bile into its brown pigment, antibiotics can leave stool looking green or yellow until your gut flora recovers.
Rapid Transit and Diarrhea
Any condition that speeds food through your intestines can produce green stool, because bile simply doesn’t have enough time to complete its chemical transformation. Stomach bugs, food poisoning, food intolerances, stress, and irritable bowel syndrome can all accelerate transit. If your green stool is also loose or watery, rapid transit is the most likely explanation.
This is why green stool often shows up during a bout of diarrhea. Once your digestion returns to its normal pace, the color typically goes back to brown.
Green Stool in Babies
Green poop in infants is extremely common and almost always normal. A newborn’s very first stools (called meconium) are thick, black, and tarry. As breastfeeding or formula feeding begins, stool transitions to green or yellow with a more liquid consistency. Dark green baby poop is usually just bile doing its job, since a baby’s shorter digestive tract means bile doesn’t always fully convert to brown.
One exception worth knowing: bright green stool or a complete absence of bowel movements in the first few days of life can be a warning sign of a bowel blockage or narrowing, which sometimes requires surgery. This is rare, but it’s distinct from the everyday green poop that most babies produce regularly.
When Green Stool Needs Attention
A single green bowel movement, or even a few days of green stool after a big salad or a course of antibiotics, is not a concern. The color change becomes worth paying attention to if it persists for more than a few days without an obvious dietary or medication explanation.
Green stool paired with diarrhea raises a more immediate concern: dehydration. If diarrhea is frequent or you notice signs of dehydration like dark urine, dizziness, or dry mouth, that warrants prompt medical attention. The green color itself isn’t the danger, but the fluid loss that often accompanies it can be, especially in young children.