Green poop is almost always harmless. All shades of brown and green are considered normal stool colors. The most common reason is simply something you ate, but green stool can also result from how quickly food moves through your digestive system, supplements you’re taking, or occasionally an infection.
Why Stool Is Normally Brown
Your liver produces bile, a bright green fluid that helps you digest fats. As bile travels through your intestines, bacteria break it down and chemically transform it, gradually shifting its color from green to yellow to brown. That final brown shade is what most people see in the toilet on a typical day. Anything that disrupts this process, whether by adding green pigment, speeding up digestion, or altering your gut bacteria, can leave your stool looking green.
Foods That Turn Stool Green
This is the most common cause by far. Leafy greens like spinach, kale, and broccoli contain chlorophyll, a pigment strong enough to tint your stool even after digestion. Other chlorophyll-rich foods do the same thing: avocados, fresh herbs, matcha (powdered green tea), and pistachios, which get their green color from the same pigment packed into green vegetables.
Blueberries can also produce green-tinged stool, which surprises people who expect a blue or purple result. The pigments in blueberries interact with bile in ways that shift toward green shades rather than the color you’d predict.
Artificial food coloring is another frequent culprit. Brightly frosted cupcakes, green sports drinks, candy, and cereals with synthetic dyes continue tinting whatever they touch as they pass through your digestive tract. If your stool turned green a day after a birthday party or a bag of colorful candy, that’s almost certainly why.
Fast Digestion and Diarrhea
When food moves through your intestines faster than usual, bile doesn’t have enough time to complete its color transformation. The result is stool that still carries bile’s original green tint. This is why a bout of diarrhea from any cause, whether it’s food poisoning, a stomach bug, or stress, often produces green or greenish-yellow stool.
The green color in this case isn’t a separate problem. It’s just a visible sign that your gut is rushing things along. Once your digestion returns to its normal pace, the brown color comes back on its own.
Iron Supplements and Medications
Iron supplements are one of the most reliable non-food causes of green stool. They can produce a dark green color that sometimes looks almost black. This is normal and some physicians actually consider it a sign that the iron is being absorbed effectively. If the color bothers you, a lower dose will typically reduce the effect.
Antibiotics can also cause green stool by disrupting the gut bacteria responsible for converting bile from green to brown. Without enough of those bacteria doing their job, bile passes through with more of its original color intact. This usually resolves within a few days to a couple of weeks after finishing the antibiotic course.
Infections That Cause Green Stool
Certain infections cause a rapid “gush” of unabsorbed bile through the intestines, producing green, watery diarrhea. The most common culprits include bacterial infections like Salmonella and E. coli, viral infections like norovirus (the common stomach flu), and parasites like Giardia, which people typically pick up from contaminated water.
Infection-related green stool looks different from the dietary kind. It’s usually liquid or very loose, comes with cramping and urgency, and may be accompanied by fever, nausea, or vomiting. If you’re having multiple episodes of watery green diarrhea along with these symptoms, an infection is a more likely explanation than anything you ate.
Green Stool in Babies
Green poop is especially common in infants and has its own set of causes. Newborns pass meconium in their first few days, a dark green-black substance that’s completely normal. After that transition, green stool in babies can result from:
- Not finishing one breast before switching sides. This means the baby gets more of the thinner, lower-fat foremilk and less of the fat-rich hindmilk, which changes how the milk is digested.
- Specialized formula. Protein hydrolysate formulas, used for babies with milk or soy allergies, commonly produce green stool.
- Developing gut bacteria. Breastfed infants sometimes lack the full population of intestinal bacteria needed to fully break down bile, so their stool stays greener for longer.
- Diarrhea. Just like in adults, faster transit time means greener stool.
Occasional green diapers in an otherwise healthy, gaining-weight baby are rarely a concern.
When Green Stool Signals Something More
A single green bowel movement, or even a few days of green stool after eating a big spinach salad, is not a reason to worry. Green is considered a normal stool color. The situations that warrant attention are when green stool persists for weeks without an obvious dietary explanation, or when it comes with warning signs like fever, severe cramping, blood, or mucus.
Stool that is bright red or black (not dark green from iron) can indicate bleeding in the digestive tract and needs prompt medical attention. Green on its own, without those additional symptoms, is almost never a sign of a serious intestinal condition.
Some people with chronic, unexplained diarrhea may have a condition called bile acid malabsorption, where the body fails to reabsorb bile properly. This affects at least 30% of people diagnosed with functional diarrhea disorders, and symptoms include watery, frequent bowel movements, painful cramps, and urgency. It has historically been underdiagnosed, so if you’re dealing with persistent loose stools that never seem to resolve, it’s worth bringing up with your doctor.

