Green Poop: What It Means and When to Worry

Green poop usually means one of two things: you ate something green, or food moved through your intestines faster than usual. Both are common and rarely a sign of anything serious. In most cases, your stool returns to its normal brown color within a day or two once the cause passes.

Why Stool Is Normally Brown

Your liver produces bile, a yellow-green fluid that helps digest fats. As bile travels through your intestines, bacteria break it down through a series of chemical changes. By the time it reaches the end of the line, those bacteria have converted bile’s green pigments into a compound called fecobilinogen, which gives stool its characteristic brown color.

When something interrupts that process, whether it’s speed, diet, or a disruption to your gut bacteria, the bile doesn’t fully convert. The result is stool that still carries some of that original green tint.

Foods That Turn Stool Green

This is the most common explanation. Leafy greens like spinach, kale, and broccoli contain enough chlorophyll to visibly color your stool, especially if you eat a large serving. Avocados, fresh herbs, matcha, and pistachios can do the same thing. Even blueberries, which you’d expect to produce darker shades, can sometimes push stool toward green.

Artificial food dyes are another frequent culprit. Brightly colored frosting, flavored drink mixes, ice pops, and candy continue tinting whatever they touch as they pass through your digestive system. If your green stool showed up the day after a birthday party or a smoothie loaded with spinach, you have your answer. Once the food clears your system, the color goes back to normal.

Fast Transit Time

When food moves through your intestines too quickly, bile doesn’t have enough time to complete its chemical conversion from green to brown. The stool essentially comes out still partially colored by unprocessed bile. This is why diarrhea from any cause, whether it’s a stomach bug, stress, or something you ate, often has a greenish tinge to it.

Conditions that speed up digestion include irritable bowel syndrome (IBS), food intolerances, and infections. If the green color accompanies loose or watery stools, rapid transit is the likely explanation.

Infections That Cause Green Stool

Certain gut infections cause your intestines to flush their contents faster than normal, producing green-tinged diarrhea. Salmonella, norovirus, and the waterborne parasite giardia are common examples. In these cases, green stool is just one symptom alongside others like cramping, nausea, fever, or frequent watery bowel movements.

The green color itself isn’t the concerning part. It’s the combination of symptoms that matters. A bout of food poisoning that resolves in a couple of days is unpleasant but usually manageable at home with fluids and rest. Green diarrhea lasting more than a few days, especially with a fever or severe abdominal pain, points to an infection that may need treatment.

Iron Supplements and Medications

Iron supplements are well known for changing stool color. They can turn stool green by speeding bile through the gut, or black through iron oxidation. Both are normal side effects of supplementation, not a sign that something is wrong. If the color change bothers you, different formulations of iron (such as iron fumarate versus iron sulfate) may produce less noticeable effects.

Some antibiotics can also cause green stool by disrupting the gut bacteria responsible for converting bile pigments. Since those bacteria do the chemical work of turning bile brown, killing them off temporarily means bile passes through in a greener state. This typically resolves after you finish the course of antibiotics and your gut bacteria repopulate.

Green Stool in Babies

Green poop in infants is common enough that pediatricians field questions about it constantly. In breastfed babies, one frequent cause is not finishing a full feeding on one side. The milk that comes later in a feeding session has a higher fat content, and when a baby switches breasts too early, the lower-fat milk they consumed can affect digestion and produce green stool.

Other causes in babies include protein hydrolysate formula (used for infants with milk or soy allergies), the still-developing bacterial population in a newborn’s gut, and simple diarrhea. Occasional green diapers in an otherwise happy, feeding-well baby are rarely a concern. Persistent green stool with signs of discomfort, poor feeding, or fever is worth a call to your pediatrician.

When Green Stool Signals a Problem

Green stool on its own, without other symptoms, is almost never dangerous. The Mayo Clinic notes that all shades of brown and even green are considered typical, and only rarely does stool color indicate a serious intestinal condition. The key question is whether the green color is a one-time event with an obvious dietary explanation or part of a pattern with other symptoms.

Pay attention if green stool lasts more than a few days without a clear food-related cause, or if it comes with fever, persistent diarrhea, or abdominal pain. Stool that changes color frequently without any dietary explanation also warrants a conversation with a healthcare provider. And while green stool is usually benign, stool colors that genuinely raise red flags are black (which can signal bleeding in the upper digestive tract), red (possible lower digestive bleeding), or pale white/clay-colored (which may indicate a bile duct problem).

For the vast majority of people searching this question, the answer is simple: something you ate, something you took, or a brief episode of fast digestion. Once the trigger passes, brown returns.