Green poop usually means one of two things: you ate something with a lot of green pigment, or food moved through your digestive system faster than normal. In most cases, it’s harmless and resolves on its own within a day or two. But occasionally, green stool signals an infection or an ongoing digestive issue worth paying attention to.
Why Stool Is Normally Brown
Your liver produces bile, a green fluid that helps break down fats during digestion. As bile travels through your intestines, enzymes chemically alter it, gradually shifting its color from green to yellow to brown. That final brown color is what you see in a typical, healthy bowel movement. Anything that interrupts this process, whether it’s a food that adds its own pigment or digestion that moves too quickly for the color change to finish, can leave your stool looking green.
Foods That Turn Stool Green
This is the most common cause by far. Chlorophyll, the pigment that makes plants green, passes through your digestive tract and tints your stool along the way. Spinach, kale, and broccoli are the usual suspects, but avocados, fresh herbs, pistachios, and matcha can do the same thing. The more you eat, the more vivid the green.
Blueberries and blackberries can also produce green stool, which surprises people since the fruit itself is dark blue or purple. The pigments interact with bile and digestive enzymes in ways that sometimes shift the color toward green rather than dark brown.
Artificial food coloring is another frequent culprit. Brightly frosted cupcakes, candy, fruit snacks, freeze pops, and colored drinks can all produce strikingly green (or blue-green) results in the toilet. The dye continues coloring whatever it touches long after you’ve eaten it.
Fast Digestion and Diarrhea
When food moves through your intestines faster than usual, bile doesn’t have enough time to complete its chemical transformation from green to brown. The result is stool that still carries bile’s original green tint. This is why green poop and diarrhea often go together. Anything that speeds up transit, whether it’s a stomach bug, food intolerance, stress, or even a strong cup of coffee on an empty stomach, can produce this effect. Once your digestion returns to its normal pace, the color will follow.
Medications and Supplements
Iron supplements are well known for turning stool dark green or even black. This is a normal chemical reaction between the iron and your digestive fluids, not a sign of a problem. Some antibiotics can also shift stool color to green or yellow by disrupting the balance of gut bacteria that normally help process bile. If you recently started a new medication and notice a color change, the timing is probably not a coincidence.
Infections That Cause Green Stool
Several infections can produce green diarrhea, usually alongside other symptoms that make it clear something more than diet is going on.
- Salmonella comes from food contaminated with animal feces and typically causes diarrhea, stomach cramps, and fever.
- E. coli spreads through contaminated food or water and can cause stomach cramps, vomiting, and sometimes bloody diarrhea.
- Norovirus is extremely contagious and brings on stomach pain, diarrhea, and vomiting, often hitting suddenly.
- Giardia is an intestinal parasite that causes greasy, foul-smelling stools along with gas, bloating, and stomach cramps.
In each of these cases, the infection speeds up digestion dramatically, which prevents bile from completing its normal color change. The green color itself isn’t the danger. The concern is dehydration from prolonged diarrhea and the underlying infection causing it.
Gallbladder Removal and Bile Problems
People who’ve had their gallbladder removed sometimes notice persistently green or yellowish stool. Without the gallbladder to regulate bile release, bile flows directly into the intestines in a less controlled way. This can lead to bile acid malabsorption, where excess bile acids build up in the colon, trigger extra water secretion, and cause chronic watery or loose stools. The stool may also appear greasy or fatty. This doesn’t happen to everyone after gallbladder surgery, but it’s common enough that it’s worth mentioning if you’ve had the procedure and notice ongoing color changes.
Green Stool in Babies
Green poop in infants is extremely common and rarely concerning. Newborns pass meconium, a dark greenish-black substance, in their first few days. After that, several things can keep stool on the green side: not finishing a full feeding on one breast (which means the baby gets more of the thinner, lower-fat milk at the beginning of a feed and less of the fattier milk that comes later), certain hypoallergenic formulas designed for babies with milk or soy allergies, and the simple fact that breastfed babies haven’t yet developed the full range of gut bacteria that help process bile into its typical brown end product. Occasional green diapers in an otherwise happy, feeding baby are normal.
When Green Stool Needs Attention
A single green bowel movement after a big salad or a bag of candy is nothing to think twice about. But if green stool persists for more than a few days without an obvious dietary explanation, or if it comes with fever, severe cramping, bloody stool, or signs of dehydration (dark urine, dizziness, dry mouth), something beyond diet is likely driving it. Green diarrhea that lasts more than a couple of days in a child deserves prompt attention, since young kids dehydrate faster than adults. Staying well-hydrated is the most important immediate step while you figure out the cause.