What If Your Poop Is Green? Causes and When to Worry

Green poop is almost always harmless. The most common causes are eating lots of green vegetables, consuming foods or drinks with artificial dyes, taking iron supplements, or having a bout of diarrhea that moves food through your gut faster than usual. In most cases, your stool will return to its normal brown color within a day or two once the trigger passes.

Why Stool Is Normally Brown

Your liver continuously produces bile, a digestive fluid that starts out yellow-green. As bile travels through your digestive tract, enzymes chemically break it down, 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 interrupts this conversion process, whether it’s the speed of digestion, what you ate, or a medication you’re taking, can leave stool looking green.

Foods That Turn Stool Green

The most straightforward explanation is diet. Chlorophyll, the pigment that makes plants green, can do the same to your stool when you eat enough of it. Spinach, kale, and broccoli are the usual culprits, but avocados, fresh herbs, matcha, and even pistachios contain enough chlorophyll and related plant pigments to shift your stool color noticeably. You don’t need to eat an unusual amount. A large salad, a green smoothie, or a matcha latte can be plenty.

Artificial food dyes are another common trigger, especially blue and green dyes found in candy, frosting, sports drinks, and brightly colored cereals. Blue dye mixed with yellow bile can produce a vivid green. This is especially common in kids after birthday parties or holidays involving colorful treats.

Fast Digestion and Diarrhea

When food moves through your large intestine too quickly, bile doesn’t have time to fully break down. The result is stool that retains bile’s original green tint. This is why green poop often shows up alongside diarrhea, regardless of the cause. Normal colon transit time averages 30 to 40 hours, and anything up to about 72 hours is still considered typical. When something speeds that process up significantly (a stomach bug, food intolerance, stress, or even a strong cup of coffee on an empty stomach), the color change follows.

If you’ve recently had your gallbladder removed, you may notice green or looser stools more frequently. Without the gallbladder to store and concentrate bile, more bile acids flow directly into your large intestine, where they can act as a laxative and speed transit time.

Iron Supplements and Medications

Iron supplements commonly cause stool to turn dark green, sometimes so dark it looks almost black. This is a normal chemical reaction, and some physicians actually consider it a sign that the iron is being properly absorbed. If the color change bothers you, lowering your dose (with your doctor’s input) will typically resolve it.

Antibiotics are another frequent cause. Strong or broad-spectrum antibiotics can kill off large portions of your gut’s normal bacteria, including the bacteria that contribute to stool’s brown pigment. With fewer of those microbes at work, stool may stay green until your gut flora recovers, which usually takes a few days to a couple of weeks after finishing the course.

Green Stool in Babies

Green poop in infants is common and usually not a concern, though the causes differ from adults. Breastfed babies sometimes produce bright, frothy green stool when they’re getting too much of the thinner, lower-fat milk that comes at the beginning of a feeding (foremilk) and not enough of the richer milk that follows (hindmilk). This can happen if you switch breasts too quickly during a feed. Letting your baby fully drain one breast before offering the other often resolves it.

Formula-fed babies may have green stool simply because their formula contains added iron. If this is the case, there’s generally nothing wrong. Checking the formula’s ingredient list can confirm whether iron is the likely cause.

When Green Stool Signals Something More

On its own, green stool that lasts a day or two and resolves is not a red flag. It becomes worth paying attention to when it’s persistent (lasting more than a few days without an obvious dietary explanation) or when it comes with other symptoms: fever, cramping, blood or mucus in the stool, or significant changes in frequency.

Bacterial and parasitic gut infections can cause green diarrhea that doesn’t clear up on its own. These infections typically bring additional symptoms like abdominal pain, nausea, or fever. Ongoing green stool paired with unexplained weight loss or persistent digestive changes also warrants a closer look, as it could point to malabsorption or inflammatory conditions affecting the gut.

For a single episode with no other symptoms, the simplest approach is to think back over what you ate or drank in the past 24 to 48 hours. More often than not, the answer is sitting right there in your recent meals.