What Does It Mean When Your Poop Is Green?

Green poop is almost always caused by something you ate. Leafy greens, food dyes, and certain fruits can all tint your stool green, and the color typically returns to normal within a few days. Less commonly, green stool signals that food is moving through your digestive system faster than usual, which can happen with infections, digestive conditions, or changes to your gallbladder.

Why Stool Is Normally Brown

Your liver produces bile, a digestive fluid that starts out yellow-green. As bile travels through your intestines, bacteria break it down and chemically transform it into a brown pigment. That process takes time. Anything that speeds up digestion or overwhelms your gut with green pigments can short-circuit the color change and leave you with green stool.

Foods That Turn Stool Green

Diet is the most common reason for green stool, and it usually comes down to chlorophyll or certain dyes. Eating large amounts of leafy greens like spinach, kale, and broccoli delivers enough chlorophyll to visibly color your stool. Green powder supplements and matcha have the same effect.

Blueberries and blackberries can also turn stool green, which surprises people who expect a darker color. The blue pigments in these fruits interact with bile to produce a green tint rather than a purple one. Artificial food coloring, especially green and blue dyes found in candy, freeze pops, cake frosting, and fruit snacks, is another frequent culprit.

Any food-related color change should clear up within a few days once the source passes through your system. If you recently ate a big salad, drank a matcha latte, or let your kids have brightly colored treats, that’s very likely your answer.

Rapid Digestion and Bile

When food moves through your intestines too quickly, bile doesn’t have enough time to be fully broken down by gut bacteria. Since bile is naturally yellow-green, it passes through with its original color intact, tinting your stool green. This is why green poop and diarrhea often show up together.

Several things can speed up transit time. Stomach bugs caused by bacteria like Salmonella, the parasite Giardia, and viruses like norovirus all trigger the gut to flush its contents faster than normal. Food intolerances, stress, and high doses of certain supplements can do the same. In these cases, green stool is a side effect of how fast everything is moving, not a problem on its own.

After Gallbladder Removal

Your gallbladder stores and concentrates bile between meals, releasing it in controlled amounts when you eat. After gallbladder removal, bile drips continuously into the small intestine in a diluted form instead. This can increase bowel movement frequency from once a day to four or five times daily, and the faster transit means bile may not fully convert to its brown form before reaching the toilet. Some people notice green or yellowish stools for weeks or months after surgery, while others adjust more quickly as their body adapts to the new bile flow pattern.

Green Stool in Babies

Parents often worry about green poop in breastfed infants, and it usually traces back to how quickly milk moves through the baby’s gut. Fat in breast milk slows digestion and gives the baby’s body time to break down lactose. When a parent has a large milk supply or feeds are short, the baby may fill up before getting enough of the fattier milk that comes later in a feeding. The result is milk moving through the gut too fast for all the lactose to be digested, which can cause frequent, runny, green, or frothy stools along with gas and fussiness.

This pattern used to be explained as a “foremilk/hindmilk imbalance,” but the fat content in breast milk actually changes gradually throughout a feed rather than switching suddenly. The practical takeaway is the same: longer, less-interrupted feeds on each breast help the baby access fattier milk and slow digestion down.

In formula-fed babies, green stool is common with iron-fortified formulas and is harmless.

When Green Stool Needs Attention

A day or two of green poop after a dietary change is not a concern. But if green stool lasts more than a few days without an obvious food explanation, it’s worth checking in with a doctor. The color itself isn’t dangerous, but persistent green stool paired with diarrhea can lead to dehydration, especially in young children.

Watch for signs that something more is going on: fever, cramping, blood or mucus in your stool, or diarrhea that won’t let up. These point toward an infection or inflammatory condition that needs evaluation. Green stool with no other symptoms and a clear dietary link is, in the vast majority of cases, completely normal and temporary.