What Happens If You Poop Green and Is It Serious?

Green poop is almost always harmless. In most cases, it means you ate something with a lot of green pigment, or food moved through your intestines faster than usual. Occasionally, medications or a digestive condition can be responsible. Here’s what’s actually going on inside your body and when it’s worth paying attention.

Why Stool Is Normally Brown

Your liver produces bile, a greenish-yellow fluid that helps digest fats. As bile travels through your intestines, bacteria break it down and convert it into a compound called stercobilin. About 80% of bile pigment goes through this conversion, and stercobilin is what gives stool its characteristic brown color. The process takes time, though. If anything speeds up digestion or overwhelms the system with green pigment, stool comes out green instead.

Foods That Turn Stool Green

The most common reason for green poop is simply eating green foods. Chlorophyll, the pigment that makes plants green, can color your stool the same way. Spinach, kale, and broccoli are frequent culprits, but the list also includes avocados, fresh herbs, matcha, and pistachios (which get their green color from chlorophyll and related plant pigments). Even blueberries can produce greenish shades.

Artificial food dyes are another common trigger. Brightly frosted cupcakes, sports drinks, candy, and other processed foods with synthetic coloring continue tinting whatever they touch as they pass through your digestive system. If your green stool shows up within a day or two of eating something vividly colored, that’s almost certainly the explanation.

Fast Digestion and Bile

When food moves through your intestines too quickly, gut bacteria don’t have enough time to convert bile from green to brown. The result is stool with a noticeable green tint from unprocessed bile salts. This commonly happens during a bout of diarrhea from any cause: a stomach bug, food that didn’t agree with you, or even stress. It can also happen after drinking a lot of coffee or eating a very large meal that stimulates rapid contractions in your colon.

If you had a single episode of loose, greenish stool and feel fine otherwise, the fast transit explanation is the most likely one.

Medications and Supplements

Several common medications and supplements can change your stool color to green or dark green:

  • Iron supplements often produce dark green or near-black stools. Some doctors actually consider this a sign the supplement is being absorbed properly. If the color bothers you, your doctor can adjust the dose.
  • Antibiotics can disrupt the balance of gut bacteria that normally convert bile pigments. With fewer of those bacteria doing their job, stool may come out green or yellow-green.
  • Antidiarrheal medications containing bismuth subsalicylate react with sulfur in your digestive tract, producing dark green or black stool.
  • Antacids that contain aluminum hydroxide can also cause greenish poop as a side effect.

In all of these cases, the color change is a known side effect, not a sign of harm. It typically resolves once you stop taking the medication or supplement.

Digestive Conditions That Cause Green Stool

Certain chronic digestive conditions speed up intestinal transit time, which means bile passes through before bacteria can fully process it. Crohn’s disease, ulcerative colitis, and irritable bowel syndrome can all cause this. So can overuse of laxatives. In these cases, green stool tends to show up alongside other symptoms you’d already notice: cramping, frequent diarrhea, bloating, or weight loss.

Infections can also be responsible. Bacterial infections like salmonella, parasitic infections like giardia, and viral stomach bugs all cause diarrhea that moves contents through the gut rapidly, producing green-tinged stool. You’d typically have other symptoms too: fever, nausea, stomach pain, or watery diarrhea.

Green Poop in Babies

Green stool in newborns is completely normal. A baby’s first bowel movements, called meconium, are dark green to black and have a sticky, tar-like consistency. This changes within the first couple of days as the baby begins feeding.

After that initial period, green poop can still show up for benign reasons. Formula-fed babies sometimes produce dark green stools because of the iron in formula. Breastfed babies may have frothy green poop if they’re switching between breasts too frequently and getting more of the thinner foremilk. Feeding from one breast until it’s fully drained before switching can help. Once solid foods are introduced, green-brown shades become one of many normal colors you’ll see.

One important note: after the first few days of life, black stool (not dark green, but truly black) can be a sign of something more serious in infants and should be evaluated.

When Green Stool Needs Attention

A single green bowel movement, or even a few days of green stool after eating a big salad or starting a new supplement, is not a concern. Intermittent green stool in someone who otherwise feels fine is almost always diet-related.

Green stool that persists for more than a few days without an obvious dietary or medication explanation is worth mentioning to a healthcare provider. It’s especially worth attention if it comes with fever, persistent diarrhea, abdominal pain, blood or mucus in the stool, or unintended weight loss. These accompanying symptoms, not the green color itself, are what point toward an infection or digestive condition that may need evaluation.