What Does It Mean When You Have Green Stool?

Green stool usually means food moved through your intestines faster than normal, or you recently ate something with strong green pigments. In most cases, it’s harmless and resolves on its own within a day or two. Understanding why it happens can help you figure out whether it’s worth paying attention to or simply a quirk of digestion.

Why Stool Is Normally Brown

Your liver produces bile, a yellow-green fluid that helps break down fats in your small intestine. As bile travels through your digestive tract, bacteria and enzymes chemically alter it, gradually shifting its color from green to brown. The final brown pigment is a byproduct of bacteria breaking down bile in the large intestine. When that process completes normally, stool comes out the familiar brown shade most people expect.

Anything that interrupts this conversion, whether it’s speed, diet, or changes to your gut bacteria, can leave stool looking green.

Rapid Transit: The Most Common Cause

When food moves through the large intestine too quickly, bile doesn’t have time to be fully broken down by gut bacteria. The result is stool that still carries bile’s original green tint. This is why green stool and diarrhea often go hand in hand. A stomach bug, food that didn’t agree with you, or even stress-related digestive speed-ups can all shorten transit time enough to produce a greenish color.

If you’ve had loose stools for a day or two and the color shifts back to brown once things firm up, rapid transit was almost certainly the explanation.

Foods That Turn Stool Green

Large servings of green vegetables are a straightforward cause. Spinach, kale, broccoli, and other leafy greens contain chlorophyll, which can tint stool directly. You don’t need to eat an unusual amount; a big salad or a green smoothie is often enough.

Artificial food dyes are another common culprit. Blue and green dyes in candy, ice cream, popsicles, frosting, and brightly colored drinks mix with the yellow of bile to produce green. Purple or blue-dyed foods can have the same effect. If green stool shows up the day after a birthday party or a bag of brightly colored snacks, that’s likely your answer.

Medications and Supplements

Iron supplements are well known for changing stool color, often turning it dark green or even black. If you recently started an iron supplement and noticed the change, the two are almost certainly connected. Prenatal vitamins contain iron as well, which is why many pregnant women notice green or dark stools shortly after starting them.

Some antibiotics can also tint stool yellow or green. Antibiotics alter the balance of gut bacteria, which disrupts the normal bile-to-brown conversion. The color change typically resolves once you finish the course of medication and your gut bacteria repopulate.

Green Stool During Pregnancy

Pregnant women experience green stool more frequently for a few overlapping reasons. Prenatal vitamins with iron are the biggest factor, but hormonal shifts during pregnancy can also speed up digestion. When transit time shortens, gut bacteria don’t have enough time to convert bile from green to brown. The combination of iron supplementation and faster digestion means green stool during pregnancy is common and rarely a concern.

Green Stool in Babies

Parents often notice green stool in infants, and it has several age-specific causes. Newborns pass meconium in their first few days, a dark greenish-black stool that’s completely normal. As babies transition to milk, their stool color shifts, but green can persist for various reasons.

Breastfed babies may produce green stool if they don’t finish feeding on one side before switching. The earlier milk in a feeding session is lower in fat, and missing the higher-fat milk at the end can affect how the milk is digested. Babies on hydrolyzed protein formula (used for milk or soy allergies) also tend to produce greener stools. Breastfed infants sometimes lack the full diversity of intestinal bacteria needed to complete bile conversion, which can keep stool greenish in the early weeks.

Infections That Cause Green Stool

Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all cause green diarrhea. These infections trigger a rapid “gush” of unabsorbed bile through the intestines, producing watery, green-tinged stools. The green color itself isn’t the concern here. It’s the accompanying symptoms that matter: fever, cramping, vomiting, or diarrhea lasting more than a couple of days.

If green stool comes with significant diarrhea, staying hydrated is the immediate priority. Dehydration develops quickly, especially in young children and older adults. Green stool that persists for more than a few days, or arrives alongside fever and severe cramping, warrants a call to your doctor. A stool sample can identify the specific pathogen and guide treatment if needed.

When Green Stool Is Worth Watching

A single episode of green stool, or even a few days of it after eating a lot of greens or starting a new supplement, is not a red flag. The color alone doesn’t indicate disease. What matters is context: how long it lasts, whether it’s accompanied by diarrhea, and whether you have other symptoms.

Green stool that continues for more than a few days without an obvious dietary explanation deserves attention. The same applies if it’s paired with persistent diarrhea, blood in the stool, significant abdominal pain, or signs of dehydration like dark urine, dizziness, or dry mouth. In those situations, the green color is pointing to an underlying issue, usually an infection or inflammatory condition, rather than being the problem itself.