Green poop is almost always harmless. The most common cause is something you ate, whether that’s a pile of spinach, a green smoothie, or a cupcake with bright frosting. In most cases, the color returns to its usual brown within a day or two once the food or supplement passes through your system.
Why Poop Is Normally Brown
Your liver produces bile, a yellow-green fluid that helps break down fats during digestion. As bile travels through your intestines, bacteria chemically transform it step by step, shifting the pigment from green to yellow to brown. This process takes time. The average transit through the colon alone is 30 to 40 hours, and anything up to about 72 hours is considered normal.
When something shortens that transit time, like diarrhea, food moves through too quickly for bacteria to finish converting the bile pigments. The result is stool that still carries bile’s original green tint. This is the single most common reason for unexplained green poop: things simply moved too fast.
Foods That Turn Stool Green
Chlorophyll, the pigment that makes plants green, passes through your digestive system with its color largely intact. Eating generous amounts of spinach, kale, broccoli, avocados, herbs, or matcha can produce noticeably bright green stool. Even pistachios can do it, since their color comes from the same chlorophyll pigment along with other plant compounds.
Artificial food dyes are another frequent culprit. Brightly colored frosting, candy, sports drinks, and ice cream contain dyes that keep tinting whatever they touch as they move through digestion. Blue and green dyes are especially effective at turning stool green. If you eat enough rainbow-colored candy, the mixed dyes can even make stool appear dark green or black.
Supplements and Medications
Iron supplements are well known for changing stool color. They commonly produce dark green or blackish-green poop, which can look alarming but is a normal side effect of how iron is processed in the gut. If you recently started an iron supplement and notice the color change, that’s almost certainly the explanation.
Antibiotics can also turn stool green, and the mechanism is more involved. Your gut contains billions of bacteria that play a direct role in transforming bile from green to brown. Antibiotics kill off some of those bacteria, creating gaps in the microbial community. With fewer bile-processing bacteria available, bile pigments aren’t fully converted, and stool retains a greenish color. Antibiotics can also speed up transit time by irritating the intestinal lining, which compounds the effect. This is why green stool and diarrhea often show up together during a course of antibiotics.
Green Poop in Babies
If you’re a new parent, green poop in your newborn is expected. A baby’s very first bowel movements are meconium, a thick, dark green-to-black substance that typically passes within the first 24 to 48 hours after birth. Over the next few days, stool transitions to a yellowish-green color as the baby starts feeding. This transitional stool is completely normal.
Once past the newborn stage, a baby’s stool color reflects their diet and can range from brown to green to yellow on any given day. Introducing solid foods or switching between breast milk and formula sometimes causes temporary color changes, along with occasional constipation or diarrhea as the digestive system adjusts. Consistently green stool in an older infant is rarely a concern on its own, but green stool paired with diarrhea deserves attention because babies dehydrate quickly.
When Green Stool Signals a Problem
On its own, green poop that lasts a day or two is not a medical concern. The color becomes worth paying attention to when it persists beyond a few days without an obvious dietary explanation, or when it shows up alongside other symptoms.
Green stool frequently accompanies diarrhea, since the rapid transit prevents bile from being fully processed. A short bout of diarrhea with green stool from a stomach bug or food reaction will typically resolve on its own. The more pressing risk in that situation is dehydration, especially in young children and older adults. Signs of dehydration include dark urine, dizziness, dry mouth, and producing very little urine.
Symptoms that warrant a call to your doctor include green stool lasting more than a few days, fever alongside diarrhea, blood in the stool, or significant abdominal pain. These combinations can point to infections or other conditions that need evaluation. But if you had a kale salad yesterday and your poop is green today, you can safely chalk it up to chlorophyll doing what chlorophyll does.

