What Does It Mean When Your Stool Is Green?

Green stool usually means food moved through your digestive system faster than normal, or you recently ate something with strong green pigment. In most cases, it’s harmless and resolves on its own within a day or two.

To understand why, it helps to know what gives stool its typical brown color in the first place. Your liver produces bile, which starts out green. As bile travels through your digestive tract, enzymes chemically alter it, gradually shifting the color from green to brown. When something speeds up that journey, bile doesn’t have time to fully break down, and your stool comes out green.

Foods That Turn Stool Green

Diet is the most common explanation. Chlorophyll, the pigment that makes plants green, can do the same thing to your stool. Spinach, kale, and broccoli are the usual suspects, but avocados, fresh herbs, matcha, and even pistachios contain enough chlorophyll to have a visible effect. Blueberries can also produce green shades, despite being blue going in.

Artificial food colorings are another frequent cause. Brightly frosted cupcakes, green sports drinks, and rainbow-colored candy all continue tinting whatever they touch as they pass through your gut. If you ate or drank something with vivid dye in the last 24 to 48 hours, that’s likely your answer.

Rapid Transit and Diarrhea

Any time your intestines move things along faster than usual, bile stays green because those enzymes never finish their work. Diarrhea is the classic trigger. A stomach bug, food that didn’t agree with you, or even stress can speed up transit enough to produce green stool. The green color itself isn’t the problem here. It’s just a visual sign that digestion was rushed.

Supplements and Medications

Iron supplements are well known for changing stool color, often producing a dark green that looks almost black. This happens because unabsorbed iron reacts with compounds in your gut. If the color bothers you, lowering your dose (with your provider’s input) typically helps. Antibiotics can also cause green stool by disrupting the balance of bacteria in your intestines, which affects how bile gets processed.

Infections That Cause Green Stool

When green stool comes with diarrhea, cramping, and fever, an infection may be the cause. Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all trigger a rapid “gush” of unabsorbed bile that turns stool green. In these cases, the green color is a byproduct of the infection speeding everything through your system. Most of these infections resolve on their own, but the diarrhea that accompanies them can cause dehydration quickly, especially in young children and older adults.

Green Stool in Babies

Green poop in infants is common and has its own set of causes. Breastfed babies sometimes produce green stool when they don’t finish feeding on one side. This means they get more of the thinner, lower-fat milk at the beginning of a feeding and miss the fattier milk that comes later, which changes how the milk is digested. Babies on hydrolyzed protein formula (used for milk or soy allergies) also tend to have greener stool. In newborns, an immature gut with fewer established bacteria can affect bile processing enough to keep things green.

Diarrhea in babies causes green stool for the same reason it does in adults: rapid transit. If your baby has persistent green, watery stools along with fewer wet diapers or unusual fussiness, dehydration is the main concern to watch for.

After Gallbladder Removal

If you’ve had your gallbladder removed and notice green stool, you’re not imagining a connection. Without a gallbladder to store and concentrate bile, more bile acids flow directly into your large intestine. These excess bile acids act as a laxative, speeding up transit and sometimes producing looser, greener stools. For many people this improves over weeks to months as the body adapts. In persistent cases, medications that bind bile acids can help.

When Green Stool Signals a Problem

A single green bowel movement after a big salad or a bout of stomach upset is nothing to worry about. The color alone isn’t dangerous. But context matters. Green stool that persists for more than a few days without an obvious dietary explanation is worth investigating. The same goes for green stool paired with fever, bloody or black stools, severe abdominal pain, or signs of dehydration like dark urine, dizziness, or (in children) fewer wet diapers than usual. Staying hydrated is the most important immediate step when green stool accompanies diarrhea, since fluid loss is the real risk in most of these situations.