What Happens If You Have Green Poop?

Green poop is almost always harmless. All shades of brown and even green are considered normal stool colors, and the cause is usually something you ate or how quickly food moved through your system. Only rarely does green stool point to something that needs medical attention.

Why Stool Is Normally Brown

Your liver produces bile, a yellow-green fluid that helps you digest fats. As bile travels through your intestines, bacteria break it down and chemically transform it into brown pigments. That process takes time. If everything moves at a normal pace, your stool comes out some shade of brown. If something speeds up that journey, or if you’ve eaten a lot of green-pigmented food, the color shifts.

The Most Common Cause: Food

Leafy greens are the top dietary culprit. Spinach, kale, broccoli, and other green vegetables are rich in chlorophyll, the pigment that makes plants green. Eat enough of it and the color passes straight through to your stool. Green smoothies, salads, and juices with concentrated greens can produce a noticeably vivid result.

Artificial food dyes do the same thing. Blue and green dyes used in candy, ice cream, frosting, sports drinks, and flavored cereals can all turn your poop green. Purple and black dyes sometimes have the same effect because they contain blue pigment that mixes with yellow bile. If your stool turns green a day or two after eating something brightly colored, that’s your answer.

Chlorophyll supplements, which some people take for detox or energy claims, are another straightforward cause. The pigment isn’t fully absorbed and tints stool green on the way out.

Rapid Transit: When Food Moves Too Fast

When food rushes through your intestines faster than usual, bile doesn’t have time to fully break down. It stays greenish instead of turning brown. This is one of the most common non-dietary explanations for green stool, and it’s the reason green poop often shows up alongside diarrhea of any kind.

Anything that accelerates digestion can trigger this. A stomach bug, food that didn’t agree with you, stress, a course of antibiotics disrupting your gut bacteria, or even a large dose of caffeine can all speed things along enough to change the color. The green shade is essentially unprocessed bile, and it resolves once your digestion returns to its normal pace.

Infections That Turn Stool Green

Certain gut infections cause a rapid “gush” of unabsorbed bile in watery diarrhea, producing distinctly green stool. The most common pathogens linked to this include Salmonella (often from contaminated poultry or eggs), E. coli, norovirus, and the waterborne parasite Giardia. These infections force the intestines to move contents through so quickly that bile barely gets processed at all.

The key difference between infection-related green stool and a dietary cause is what accompanies it. Infections typically come with some combination of cramping, watery or explosive diarrhea, nausea, fever, and feeling generally unwell. If your green poop arrived with those symptoms, especially after traveling, eating questionable food, or drinking untreated water, an infection is the likely explanation. Most resolve on their own within a few days, but Giardia and some bacterial infections sometimes need treatment.

Supplements and Medications

Iron supplements are well known for changing stool color, though they more commonly produce dark green or black stool rather than bright green. The iron itself isn’t fully absorbed and oxidizes in the gut, creating a dark pigment. If you recently started an iron supplement and noticed a color change, that’s the most likely connection.

Antibiotics can also cause green stool by disrupting the gut bacteria responsible for converting bile pigments to brown. Without enough of those bacteria doing their job, bile passes through in its original greenish state. This effect usually clears up within a week or two after finishing the medication.

Green Poop in Babies

Green stool in infants has its own set of causes and tends to alarm new parents more than it should. In the first few days of life, newborns pass meconium, a dark greenish-black, tar-like substance that’s completely normal. As feeding gets established, stool transitions to yellow or mustard-colored in breastfed babies and tan or yellowish in formula-fed babies.

After that initial period, green poop in breastfed babies sometimes signals lactose overload. This happens when milk moves through the baby’s system too quickly for all the lactose (milk sugar) to be digested. Fat in breast milk normally slows digestion, giving the body time to process lactose. But if a baby fills up before getting enough of the fattier milk that comes later in a feeding, or if the parent switches breasts too soon, the milk passes through faster. The result is frequent, large, runny stools that can be green, frothy, or explosive, along with gas and fussiness.

Green poop on its own in a baby can be perfectly normal. However, if it’s dark green and in small amounts, it may mean the baby isn’t getting enough milk overall. Persistent green, frothy stools paired with discomfort are worth discussing with a lactation consultant or pediatrician to adjust feeding patterns.

When Green Stool Signals a Problem

A single episode of green poop, or even a few days of it while you’re eating a lot of greens or recovering from a stomach bug, is not a concern. The color itself isn’t dangerous. What matters is what comes with it.

Green stool paired with any of the following warrants a call to your doctor:

  • Severe or persistent diarrhea lasting more than a few days
  • Fever
  • Blood in your stool or jet-black stool (which can indicate bleeding higher in the digestive tract)
  • Severe abdominal pain or cramping
  • Signs of dehydration like dark urine, dizziness, or dry mouth
  • Unexplained weight loss

These symptoms suggest something beyond a simple dietary cause or a mild bug. They could point to an infection that needs treatment, an inflammatory condition, or another issue that benefits from evaluation. Without those red flags, green poop is one of those body quirks that looks alarming but means very little.