Bright green poop is almost always harmless, and the most common cause is simple: food moved through your digestive system faster than usual, or you ate something with strong green pigment. In either case, the color typically returns to normal within a day or two without any treatment.
Why Stool Is Normally Brown
Your liver produces bile, a yellow-green fluid that helps digest fats. When bile enters your intestines, bacteria gradually break it down into a pigment called stercobilin, which gives stool its characteristic brown color. This chemical conversion requires time. The average transit through the colon alone takes 30 to 40 hours, and up to 72 hours is still considered normal. That long journey is what allows the green bile pigment to fully transform into brown.
When anything speeds up that process, bile doesn’t get fully converted. The result is stool that retains its original green tint. The brighter the green, the less time bile had to be processed by gut bacteria.
Rapid Transit: The Most Common Cause
Diarrhea is the single most frequent reason for bright green stool. When your intestines push contents through quickly, whether from a stomach bug, food intolerance, stress, or too much coffee, bile passes through before bacteria can do their work. You’ll often notice the green color alongside looser-than-normal stools, which makes sense since both are caused by the same thing: food spending less time in your gut.
Even mild increases in motility that don’t cause obvious diarrhea can shift your stool from brown toward green or greenish-brown. If you’ve been more anxious than usual, changed your exercise habits, or eaten something that disagreed with you, that alone can explain it.
Foods and Drinks That Turn Stool Green
Sometimes the explanation is sitting on your plate. Large servings of green leafy vegetables like spinach, kale, or broccoli contain enough chlorophyll to tint your stool directly. The pigment passes through digestion relatively intact, especially if you ate a big salad or a green smoothie.
Artificial food dyes are another frequent culprit. Green or blue dyes found in flavored drink mixes, ice pops, candy, frosted cakes, and brightly colored cereals can produce strikingly green stool, sometimes vivid enough to be alarming. Blue dye mixed with yellow bile is particularly effective at creating a bright green result. If you recently ate or drank anything with bold artificial coloring, that’s likely your answer.
Iron Supplements and Medications
Iron supplements are well known for changing stool color. They most commonly turn stool dark green or black, but depending on the dose and how quickly food moves through your system, the result can be bright green instead. This is a normal side effect of unabsorbed iron reacting with digestive enzymes and is not a sign that something is wrong.
Antibiotics can also cause green stool by disrupting the balance of gut bacteria responsible for converting bile pigments. With fewer of those bacteria active, bile stays greener for longer. This effect usually resolves once you finish the course of antibiotics and your gut flora recovers.
Infections That Cause Green Stool
Bacterial infections from organisms like Salmonella and E. coli can produce green stool, typically alongside diarrhea, cramping, and sometimes fever. These infections irritate the intestinal lining and dramatically speed up transit time, which prevents bile from being broken down normally. You’d generally know something more serious is going on because the green stool would come with significant digestive symptoms rather than appearing on its own.
Parasitic infections like Giardia can cause a similar pattern: watery, greenish diarrhea that persists for days or weeks. If your green stool is accompanied by persistent diarrhea, bloating, nausea, or fever, an infection is worth considering, especially after travel or exposure to contaminated water.
Green Stool in Babies
Green poop in infants is extremely common and rarely a concern. Breastfed babies may produce green stool if they aren’t finishing a full feeding on one breast before switching. The earlier milk (foremilk) is lower in fat, and when a baby gets mostly foremilk without the fattier hindmilk, it can change how the milk is digested, producing greener output.
Babies on specialized protein hydrolysate formulas, which are designed for infants with milk or soy allergies, also tend to have green stool. This is an expected effect of how those formulas are processed during digestion. Newborns in their first days of life also pass dark green meconium, which is entirely normal. In babies, as in adults, diarrhea from any cause can produce green stool by speeding up transit time. Occasional green diapers in an otherwise happy, feeding baby are not something to worry about.
When Green Stool Signals a Problem
A single episode of bright green stool, or even a few days of it after a dietary change, is not concerning. The color on its own is not a danger sign. What matters is the context around it.
Green stool that persists for more than a few days without an obvious dietary explanation deserves attention, particularly if it comes with fever, severe abdominal pain, blood or mucus in the stool, or signs of dehydration like dark urine and dizziness. These combinations can point to an infection or inflammatory condition that needs evaluation. Green stool paired with unintentional weight loss or chronic diarrhea lasting more than two weeks also warrants a closer look.
For most people searching this question, the answer is reassuringly boring: you ate a lot of greens, consumed something with food dye, started an iron supplement, or had a bout of faster-than-usual digestion. Give it a day or two, and the color will almost certainly return to its usual brown.

