What Does It Mean When Your Poop Is Green?

Green stool usually means one of two things: you ate something green, or food moved through your intestines faster than normal. In most cases, it’s harmless and resolves on its own within a day or two.

Why Stool Is Normally Brown

Your liver produces bile, a green fluid that helps digest fats. 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 color is what you’re used to seeing. When something interrupts that process, the green pigment survives the trip, and your stool comes out green.

Fast Digestion Is the Most Common Cause

When food moves through your large intestine too quickly, bile doesn’t have enough time to fully break down. The result is stool that still carries that original green pigment. This is why green stool and diarrhea often show up together. Anything that speeds up your gut, whether it’s a stomach bug, food intolerance, stress, or too much coffee, can produce green stool simply because transit time was too short for the normal color change to happen.

If you’ve had a bout of diarrhea and noticed green in the toilet, that’s almost certainly the explanation. Once your digestion returns to its normal pace, the brown color comes back.

Foods and Drinks That Turn Stool Green

Diet is the other major culprit. Large amounts of green vegetables like spinach, kale, broccoli, and green beans contain enough chlorophyll to tint your stool directly. You don’t even need to eat an unusual amount. A big salad or a green smoothie can do it.

Artificial food dyes are another common trigger that people overlook. Green or purple icing on cakes, brightly colored cereal, green sports drinks, and certain candy can all produce surprisingly vivid green stool the next day. Blue and purple dyes can mix with the yellow bile pigments already in your gut and create green as well, so the food that caused it doesn’t always have to be green itself.

Supplements and Medications

Iron supplements are well known for changing stool color. About 90% of the iron in an oral supplement isn’t absorbed and stays in the intestines. That leftover iron can turn stool dark green or even black. If you recently started taking iron pills and noticed a color change, that’s the likely cause. Iron supplements can also cause side effects like nausea, bloating, constipation, or diarrhea, all related to that high concentration of unabsorbed iron sitting in the gut.

Certain antibiotics can also shift stool color to green by disrupting the balance of bacteria in your intestines. Those gut bacteria play a role in the chemical breakdown of bile, so when antibiotics reduce their numbers, bile may not convert to its usual brown pigment as efficiently.

Green Stool in Babies

Green stool in infants is common and has its own set of causes. In the first few days of life, newborns pass meconium, a dark greenish-black substance that’s completely normal. After that transition, green stool in breastfed babies can happen when a baby doesn’t finish nursing entirely on one side. This means the baby gets more of the thinner, lower-fat milk at the start of a feeding and misses the higher-fat milk that comes later, which affects how the milk is digested.

Babies on protein hydrolysate formula, the type used for milk or soy allergies, also commonly have green stool. Breastfed infants who haven’t yet developed a full complement of intestinal bacteria may produce green stool too. And just like in adults, diarrhea in babies can cause green stool by speeding up transit time. If a baby is feeding well, gaining weight, and otherwise comfortable, green stool on its own is rarely a concern.

When Green Stool Signals a Problem

A single episode of green stool, or even a few days of it after eating a lot of leafy greens, is not something to worry about. But context matters. Green stool that persists for more than a few days without an obvious dietary explanation is worth mentioning to a doctor.

Pay closer attention if green stool comes with other symptoms: fever, blood or mucus in the stool, significant abdominal pain, or signs of dehydration like dark urine, dizziness, or dry mouth. Because green stool frequently accompanies diarrhea, dehydration is the main practical risk. Drinking plenty of fluids is important any time you’re having loose, frequent stools, regardless of color.

Stool color alone rarely points to a serious condition. It’s one piece of information, and in the vast majority of cases, green means your gut moved fast or you ate something colorful. The brown will come back.