What Can Make Your Poop Green and When to Worry?

Green poop is almost always harmless and comes down to one of two things: something green you ate, or food moving through your gut faster than usual. Your stool gets its normal brown color from bile, a digestive fluid that starts out green and gradually turns brown as bacteria in your large intestine break it down. When that process gets interrupted or overridden by pigments in your diet, the result is a green toilet bowl.

Why Stool Is Normally Brown

The color of your poop is essentially a progress report on bile chemistry. Your liver produces bile from the breakdown of old red blood cells, and in its early form, bile is greenish (a pigment called biliverdin). It then converts to a yellow pigment and gets stored in your gallbladder until you eat. Once bile reaches your large intestine, bacteria finish the job, breaking it down into the brown compounds that give stool its familiar color.

Anything that speeds up transit through the intestines, floods your system with green pigments, or disrupts the bacteria doing that conversion work can leave your stool looking green.

Foods That Turn Stool Green

The most common cause is simply eating a lot of green vegetables. Spinach, kale, broccoli, and other leafy greens are packed with chlorophyll, and when you eat enough of it, the pigment passes through your digestive system and colors your stool. Pistachios can do the same thing for the same reason: their green color comes from chlorophyll and related plant pigments. Avocados, fresh herbs, and matcha (powdered green tea) round out the list of usual suspects.

You don’t have to eat anything naturally green, though. Artificial food dyes in flavored drink mixes, ice pops, candy, frosting, and brightly colored cereals can all tint your stool. Blue and green dyes are the biggest offenders, and because they pass through largely undigested, even a modest amount in a single sitting can produce a noticeable color change the next day.

Fast Digestion and Diarrhea

When food moves through your large intestine too quickly, bile doesn’t have time to complete its chemical transformation from green to brown. This is why diarrhea from any cause, whether it’s a stomach bug, food intolerance, stress, or too much coffee, can produce green stool even if you haven’t eaten anything green. The faster the transit, the greener the result.

Bacterial infections like Salmonella, the parasite Giardia, and norovirus are all known to cause green-tinged diarrhea specifically because they force the gut to flush its contents rapidly. If your green stool comes with watery diarrhea, cramping, nausea, or fever, an infection is a likely explanation.

Iron Supplements and Medications

Iron supplements are one of the most reliable non-food causes of green (or very dark green, almost black) stool. Your body only absorbs a fraction of the iron in a typical supplement, and the unabsorbed iron reacts with digestive fluids on its way through. The color change is a well-known side effect and not a sign of any problem.

Certain antibiotics can also cause green stool, not because of the medication itself, but because antibiotics alter the balance of bacteria in your gut. Those bacteria are the ones responsible for converting bile pigments to brown. When their numbers drop during a course of antibiotics, bile passes through less fully processed, and the stool stays greener.

Green Stool in Babies

Green poop is especially common in infants and has a few causes that are unique to babies. Breastfed newborns sometimes produce green stool if they don’t finish nursing on one side before switching. The earlier milk in a feeding is lower in fat, and missing the higher-fat milk that comes later can affect how the baby digests it, leading to greener output.

Babies on specialized protein hydrolysate formula (used for milk or soy allergies) also tend to have green stool. So do some exclusively breastfed infants who haven’t yet developed a full complement of intestinal bacteria. In all of these cases, the green color is expected and not a concern on its own. Diarrhea in infants, however, carries a higher risk of dehydration, so frequent watery green stools in a baby warrant closer attention.

When Green Stool Signals a Problem

A single green bowel movement, or even a few days of them after a big salad binge, is nothing to worry about. The color change is cosmetic, not clinical. Most people can trace it back to a dietary cause once they think about what they’ve eaten in the past 24 to 48 hours.

Green stool that persists for more than a few days without an obvious dietary explanation is worth mentioning to a doctor, especially if it comes alongside diarrhea that won’t resolve, signs of dehydration (dark urine, dizziness, dry mouth), fever, or significant abdominal pain. In those situations, the green color itself isn’t the concern. It’s a signal that something is speeding up digestion or disrupting gut bacteria in a way that needs investigation.