Green Poop: Is It Bad and When Should You Worry?

Green poop is almost always harmless. It usually means you ate something with a lot of green pigment or that food moved through your digestive system a little faster than usual. In most cases, your stool will return to its normal brown color within a day or two without any intervention.

Why Poop Is Brown in the First Place

Your liver produces bile, a bright green fluid that helps you digest fats. As bile travels through your intestines, bacteria break it down and chemically transform it from green to yellow to brown. That whole process takes time. If everything moves at a normal pace, your stool comes out brown. If transit speeds up for any reason, bile doesn’t fully break down, and your stool keeps some of that original green color.

This is the single most common explanation for green poop: food simply passed through faster than usual. A meal that disagreed with you, mild stress, extra coffee, or a stomach bug can all speed things along enough to produce a green result.

Foods That Turn Stool Green

Chlorophyll, the pigment that makes plants green, can color your stool the same way. The biggest culprits are dark leafy greens like spinach, kale, and broccoli. But the list is longer than most people expect. Pistachios, avocados, fresh herbs, and matcha (powdered green tea) all contain enough chlorophyll to have a visible effect, especially if you eat a large serving.

Blueberries can also produce greenish stool, which surprises people since the fruit itself is dark purple. The interaction between blueberry pigments and bile creates an unexpected shade. Artificial food coloring is another common cause. Brightly frosted cupcakes, green sports drinks, or candy with heavy dye can tint your stool well after digestion.

If you recently ate any of these foods, that’s almost certainly your answer. Your stool should return to normal once the food works its way through, typically within one to three days.

Iron Supplements and Medications

Iron supplements frequently cause stool to turn a very dark green that can look almost black. This is normal and some physicians actually consider it a sign the supplement is being absorbed properly. If the color bothers you, talk to your doctor about adjusting the dose rather than stopping entirely.

Certain other supplements and medications can also shift stool color toward green. If you recently started something new and noticed the change, the timing is probably not a coincidence.

Infections That Cause Green Diarrhea

When a bacterial, viral, or parasitic infection hits your gut, it can cause diarrhea severe enough that food rushes through before bile has time to change color. Salmonella, E. coli, norovirus, and the parasite Giardia are all associated with green, watery diarrhea. In these cases, the green color itself isn’t the problem. It’s just a visible side effect of how quickly everything is moving.

You’ll usually know if an infection is the cause because green stool won’t be your only symptom. Cramping, nausea, fever, and frequent loose stools tend to come along with it. Most of these infections resolve on their own within a few days, but dehydration is the real risk, especially in young children and older adults. Drink plenty of fluids and seek medical attention if you can’t keep liquids down.

Green Poop After Gallbladder Removal

If you’ve had your gallbladder removed, green stool may become a more frequent visitor. Without the gallbladder to store and regulate bile release, more bile acids flow directly into your large intestine. This acts as a natural laxative, speeding up transit and sometimes producing looser, greener stools. Research suggests roughly half of people who have gallbladder removal surgery experience some degree of diarrhea afterward. For most, it improves over time as the body adjusts.

Green Stool in Babies

Parents often worry when they see green in a diaper, but it’s common in infants for several reasons. Breastfed babies may produce green stool if they don’t finish feeding entirely on one side, which means they get more of the thinner, lower-fat foremilk and less of the fat-rich hindmilk. That imbalance can affect digestion enough to change the color. Babies on protein hydrolysate formula, the type used for milk or soy allergies, also tend to have greener stools as a baseline.

Newborns in their first days of life produce meconium, which is naturally dark green to black. And breastfed infants who haven’t yet developed a full population of gut bacteria may have greenish stools simply because those bacteria are what convert bile pigments to brown. As the baby’s gut matures, stool color typically shifts toward the expected mustard yellow.

When Green Poop Signals a Problem

Green stool on its own, without other symptoms, is rarely a reason for concern. But certain combinations of symptoms deserve attention. Contact a healthcare provider if green stool comes with any of the following:

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

If your stool has been green for more than a few days and you can’t trace it back to something you ate, a supplement, or a recent illness, it’s worth mentioning to your doctor. Persistent changes in stool color can occasionally point to ongoing digestive conditions like bile acid malabsorption or chronic infections that need treatment. But for the vast majority of people who glance into the toilet and see green, the answer is spinach, not something serious.