Green Poop: What It Means and When It’s a Problem

Green poop is almost always harmless. The most common cause is something you ate, whether that’s a big spinach salad, a supplement, or a food with bright artificial coloring. The second most common cause is food moving through your digestive system faster than usual, which prevents a natural color change from completing. In either case, the green color typically resolves on its own within a day or two.

How Poop Gets Its Normal Color

Your liver produces bile, a yellow-green fluid that helps break down fats in the small intestine. When bile first enters your digestive tract, it’s green. As it travels through the intestines, bacteria and enzymes chemically transform it, gradually shifting the color from green to yellow to brown. That’s why healthy stool is typically some shade of brown.

The full journey from mouth to toilet takes a median of about 28 hours in healthy adults, though there’s wide individual variation. Most of the color transformation happens during the roughly 21 hours food spends in the colon. Anything that speeds up that process or overwhelms it with green pigment can change the final result.

Foods That Turn Stool Green

The simplest explanation is chlorophyll, the pigment that makes plants green. Eat enough of it and it will color your stool the same way. The usual suspects include spinach, kale, broccoli, avocados, fresh herbs, and matcha. Pistachios get their green color from chlorophyll too, and eating a large handful can have the same effect. Even blueberries, despite being blue, can produce green stool as their pigments interact with bile during digestion.

Artificial food dyes are another frequent cause. Brightly frosted cupcakes, green sports drinks, candy, and colored cereals all contain dyes that keep tinting material as it moves through you. If you ate or drank something with vivid coloring in the past 24 to 48 hours, that’s likely your answer.

Rapid Transit and Bile

When food moves through your intestines faster than normal, bile doesn’t have enough time to fully break down and change color. The result is stool that’s still green (or greenish-yellow) when it reaches the end of the line. This is one of the most common non-dietary explanations.

Several things can speed up transit time. Diarrhea from a stomach bug, food intolerance, or stress is the most obvious one. Caffeine, alcohol, and high doses of certain supplements can also push things along faster. If your green stool is loose or watery, rapid transit is the likely mechanism, and staying hydrated matters more than worrying about the color.

Medications and Supplements

Iron supplements are a well-known cause of dark green or even blackish-green stool. The iron itself changes color as it oxidizes in the digestive tract. This is a normal side effect and not a sign of a problem. Some antibiotics can also tint stool yellow or green by disrupting the gut bacteria responsible for the final bile color change. If you recently started a new medication or supplement and notice the shift, the timing is probably not a coincidence.

Green Stool in Babies

Green poop is especially common in newborns and infants, and it’s almost always normal. A newborn’s first few bowel movements (meconium) are dark greenish-black. After that, several things can keep stool on the greener side:

  • Foremilk imbalance: If a breastfed baby doesn’t finish feeding on one side, they may get more of the lower-fat foremilk and less of the higher-fat hindmilk. This changes how the milk is digested and can produce green stool.
  • Specialty formulas: Protein hydrolysate formulas, used for babies with milk or soy allergies, commonly cause green poop.
  • Developing gut bacteria: Breastfed infants sometimes lack the full range of intestinal bacteria needed to complete the bile color transformation. As their microbiome matures, stool color typically shifts to the expected yellow or brown.
  • Diarrhea: Just like in adults, faster transit in a baby’s gut can leave bile partially unprocessed.

Signs That Warrant Attention

An occasional green bowel movement after a salad-heavy dinner or during a bout of stomach illness is not concerning. The color alone is rarely a problem. What matters more is the pattern and what comes with it. If green stool persists for more than a few days without a clear dietary explanation, it’s worth mentioning to a healthcare provider.

Green stool paired with diarrhea deserves extra attention, not because of the color but because of fluid loss. This is especially true for young children, who can become dehydrated quickly. If diarrhea is ongoing, focus on replacing fluids and electrolytes, and seek prompt medical care if signs of dehydration appear: dry mouth, reduced urination, dizziness, or in infants, fewer wet diapers and no tears when crying.