What Is Green Poop? Causes and When to Worry

Green poop is almost always harmless. It usually means food moved through your digestive system faster than normal, or you ate something with strong green pigment. In most cases, the color returns to its usual brown within a day or two without any treatment.

Why Stool Is Normally Brown

Your liver produces bile, a yellow-green digestive fluid that gets released into your small intestine to help break down fats. Bile gets its color from bilirubin, a yellowish pigment created when your body recycles old red blood cells. As bile travels through your intestines, bacteria break the bilirubin down into new compounds called urobilin and stercobilin. These end products are what give stool its characteristic brown color.

The whole process takes time. If anything speeds up digestion, bile doesn’t get fully broken down by bacteria before it exits. The result: stool that still carries bile’s original green tint.

Rapid Transit Is the Most Common Cause

Any form of diarrhea can produce green stool simply because everything is moving too fast. When food rushes through your large intestine, the bacteria living there don’t have enough time to finish converting bile pigments from green to brown. This is the single most frequent explanation, and it applies whether the diarrhea comes from a stomach bug, food intolerance, stress, or even a strong cup of coffee on an empty stomach.

You’ll often notice the color shift alongside other signs of fast digestion: loose or watery consistency, urgency, and sometimes cramping. Once your digestion returns to its normal pace, the brown color comes back on its own.

Foods That Turn Stool Green

Chlorophyll, the pigment that makes plants green, passes through your system largely intact. Eating a large serving of spinach, kale, broccoli, arugula, or other leafy greens can tint your stool noticeably. Other high-pigment foods like matcha, green smoothies, pistachios, and herbs like parsley or cilantro can do the same. The more you eat, the more vivid the color.

Artificial food dyes are another culprit. Blue and green dyes used in candy, frosting, sports drinks, and ice cream can combine in your gut to produce surprisingly bright green results. Blue dye (often labeled Blue #1) mixed with yellow dye is a common combination in processed foods, and it frequently catches people off guard a day later. If you recently ate something brightly colored or unusually dark, that’s likely your answer.

Medications and Supplements

Iron supplements are well known for changing stool color. They typically darken it to a deep green or even black-green shade. This is a normal side effect of how your body processes the extra iron and not a sign of a problem.

Antibiotics can also shift stool color by disrupting the balance of gut bacteria. Since those bacteria are responsible for converting bile from green to brown, killing off a portion of them with antibiotics can leave bile partially unconverted. The green tint usually resolves after you finish your course of medication and your gut bacteria recover.

Infections That Cause Green Stool

Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all cause green diarrhea. These pathogens trigger inflammation and a rapid “gush” of fluid through the intestines, pushing bile out before it has time to change color. In these cases, green stool comes with other obvious symptoms: fever, nausea, vomiting, abdominal cramps, or watery diarrhea that lasts more than a day or two.

If you have green stool with no other symptoms, infection is unlikely. The color alone isn’t a reason for concern. But green diarrhea paired with a fever above 101°F, blood or mucus in the stool, or signs of dehydration (dizziness, dark urine, dry mouth) points to something your body is actively fighting.

Green Poop in Babies

Green stool in infants is extremely common and rarely signals a problem. Newborns pass meconium in their first few days, a dark green-black, tar-like stool that is completely normal. As feeding gets established, stool transitions through shades of green and yellow.

In breastfed babies, green poop sometimes happens when a baby doesn’t fully finish nursing on one side before switching. The earlier milk in a feeding session is lower in fat, and missing the higher-fat milk that comes later can affect digestion and produce greener stool. This is sometimes called a foremilk/hindmilk imbalance. Babies on protein hydrolysate formula, a type used for milk or soy allergies, also tend to have green stool as a normal side effect of how that formula is digested. Breastfed infants who haven’t yet developed a full population of intestinal bacteria may also produce green stool simply because those bacteria aren’t present in large enough numbers to complete the bile conversion process.

When Green Stool Signals Something Bigger

Isolated green stool, meaning one or two green bowel movements with no other symptoms, is almost never a medical concern. The color alone doesn’t indicate disease. It becomes worth paying attention to when it persists for more than a few days with no obvious dietary explanation, or when it’s accompanied by persistent diarrhea, significant abdominal pain, fever, or visible blood.

Bright red or black stool is a different situation entirely. These colors can indicate bleeding in the digestive tract and warrant prompt medical attention. Green, by contrast, sits firmly in the “probably fine” category for the vast majority of people. If you can trace it back to a salad, a supplement, or a bout of stomach trouble, you have your explanation.