Why Is My Poop Greenish? Causes and When to Worry

Green poop is almost always harmless. The most common causes are eating green vegetables, consuming foods with artificial dyes, or having food move through your digestive system faster than usual. In most cases, the color returns to its normal brown within a day or two without any treatment.

How Stool Gets Its Color

Your liver produces a digestive fluid called bile, which starts out greenish-yellow. As bile travels through your intestines, bacteria break it down and chemically transform it into brown pigments. This is what gives stool its typical color. The entire journey through the large intestine normally takes long enough for that conversion to finish completely.

When food moves through your intestines faster than normal, bile doesn’t have time to fully break down. The greenish-yellow color of unprocessed bile shows up in your stool instead. This is why diarrhea from any cause, whether it’s a stomach bug, food intolerance, or stress, often produces green or greenish-brown poop. The faster things move, the greener the result.

Green Foods That Change Stool Color

The most straightforward explanation is simply what you ate. Chlorophyll, the pigment that makes plants green, can pass through your digestive system and tint your stool bright green. Spinach, kale, and broccoli are the most common culprits, but the list extends further than you might expect. Avocados, fresh herbs like parsley and cilantro, pistachios, and matcha (powdered green tea) all contain enough chlorophyll to change your stool color if you eat them in large enough quantities.

Artificial food dyes are another frequent cause. Green food coloring found in flavored drink mixes, ice pops, frosting, and candy can turn stool noticeably green. Purple and blue dyes can also do this, since they combine with yellow bile pigments to create a green hue. A single brightly colored sports drink or a handful of candy is sometimes enough.

Medications and Supplements

Several common over-the-counter products can turn your poop green. Iron supplements are one of the most well-known, often producing dark green or black-green stools. This is a normal side effect of how your body processes the extra iron and not a sign of a problem.

A few other medications do the same thing through different pathways:

  • Antidiarrheal medications containing bismuth subsalicylate react with sulfur in your digestive tract, sometimes producing dark green or black stool.
  • Antacids that contain aluminum hydroxide can cause greenish poop as a side effect.
  • Antibiotics disrupt the normal balance of gut bacteria. Since those bacteria are responsible for converting bile from green to brown, killing them off can leave stool looking green until the bacterial population recovers.

Digestive Conditions and Infections

Green stool that shows up alongside other digestive symptoms can point to an underlying condition affecting how quickly food passes through your intestines. Crohn’s disease can cause bile to move through the gut too fast to be properly broken down. Celiac disease, an autoimmune reaction to gluten, triggers diarrhea and loose stools that are often green for the same reason. In both cases, the green color itself isn’t the concern. It’s a visible sign that digestion is being disrupted.

Bacterial and parasitic infections that cause diarrhea also commonly produce green stool. Food poisoning, stomach viruses, and intestinal parasites all speed up transit time dramatically, giving bile no chance to change color. If green stool comes with fever, cramping, or watery diarrhea that lasts more than a couple of days, an infection is a likely explanation.

Green Poop in Babies

Green stool in infants is common and usually not a concern. Breastfed babies sometimes produce green poop when they don’t finish feeding on one side before switching to the other. The milk that comes first in a feeding session is lower in fat than the milk that follows. When a baby gets mostly the lower-fat portion, it can change how the milk is digested and produce green stool.

Other normal causes in infants include specialized formulas designed for babies with milk or soy allergies, and the fact that newborns haven’t yet developed a full population of intestinal bacteria. Without enough of those bacteria, bile doesn’t get fully converted to brown. As the baby’s gut matures over the first few months, stool color typically stabilizes.

When Green Stool Needs Attention

An occasional green bowel movement after a big salad or a course of antibiotics is nothing to worry about. The color should return to normal within a day or two once the cause passes. If green stool persists for more than a few days without an obvious dietary explanation, it’s worth checking in with a doctor to rule out malabsorption issues or an ongoing infection.

Green stool that comes with diarrhea carries a dehydration risk, especially in young children. Drinking plenty of fluids is the most important immediate step. Signs of dehydration, like dark urine, dizziness, dry mouth, or in infants, fewer wet diapers than usual, call for prompt medical attention regardless of stool color.