Why Is My Poop Green? Causes and When to Worry

Green poop is almost always harmless. The color usually comes from something you ate, a supplement you’re taking, or food simply moving through your digestive system faster than usual. In most cases, it resolves on its own within a day or two once the trigger passes.

To understand why it happens, it helps to know that your stool starts out green. Bile, the digestive fluid your liver produces to break down fats, is yellow-green. As bile travels through your intestines, bacteria and enzymes gradually break it down and turn it brown. Anything that speeds up that journey or adds extra green pigment to the mix can leave you with a green result.

Foods That Turn Stool Green

The most common cause is simply eating a lot of green foods. Chlorophyll, the pigment that makes plants green, can do the same to your stool when you eat enough of it. Spinach, kale, and broccoli are the usual suspects, but the list is longer than most people expect: avocados, fresh herbs like parsley and cilantro, matcha (powdered green tea), and even pistachios contain enough chlorophyll to shift the color. You don’t need to eat an unusual amount. A big spinach salad or a couple of green smoothies in a day can be enough.

Artificial food dyes also play a role. Blue and green dyes found in candy, ice pops, sports drinks, and frosted cakes can tint your stool a vivid green. Purple or blue dyes are particularly sneaky because they mix with the yellow-green bile already present in your gut and produce a bright green that looks nothing like what you ate.

Fast Transit Time

When food moves through your intestines faster than normal, bile doesn’t have enough time to fully break down. The result is stool that still carries bile’s original green tint. This is called rapid transit, and it’s one of the most common explanations when you can’t trace the color back to a specific food.

Several things can speed up transit. Mild stomach bugs, food intolerances, a course of antibiotics, or even stress and anxiety can push things along faster. Diarrhea from any cause tends to be greener simply because of the speed factor. If you’ve had loose stools for a day or two and noticed the green color, the two are likely connected, and both should resolve together.

Supplements and Medications

Iron supplements are a well-known culprit. They commonly cause stools to turn a dark green that can look almost black. This is a normal byproduct of how your body processes the extra iron, and some doctors actually consider it a sign the supplement is being absorbed properly. If the color bothers you, adjusting the dose with your doctor’s input is an option, but the color itself isn’t dangerous.

Antibiotics can also cause green stool by disrupting the balance of gut bacteria that normally help convert bile to its final brown color. Once you finish the course and your gut flora rebounds, the color typically returns to normal.

Bile and Digestive Issues

In some cases, green stool points to excess bile acids reaching the colon. A condition called bile acid malabsorption occurs when your body produces too much bile or fails to reabsorb it properly in the small intestine. The excess bile floods the colon and causes watery, urgent diarrhea that can be green or yellow-green. This is more than an occasional color change. People with bile acid malabsorption typically experience persistent watery stools and urgency that disrupts daily life. It’s sometimes misdiagnosed as irritable bowel syndrome, so it’s worth mentioning to your doctor if you have chronic, unexplained diarrhea alongside the color change.

Green Stool in Babies

Green poop is especially common in newborns and infants. A baby’s very first stools (meconium) are dark green to black, which is completely normal. In the weeks that follow, breastfed babies can produce green stool if they don’t finish nursing on one side before switching. The earlier milk in a feeding session is lower in fat, and when a baby gets mostly this thinner milk without the higher-fat milk that comes later, it can affect digestion and produce a greenish result. Adjusting feeding patterns, such as letting the baby fully empty one breast before offering the other, usually resolves it.

Formula-fed babies may also have green stools, particularly with iron-fortified formulas. As with adults taking iron supplements, this is a normal reaction.

When Green Poop Needs Attention

Stool color alone rarely signals a serious intestinal condition. A day or two of green poop with no other symptoms is almost never a concern. The color becomes worth investigating when it’s paired with other changes: persistent diarrhea lasting more than a few days, significant abdominal pain, or visible blood in the stool. Bright red or black stool (as opposed to dark green) can indicate bleeding in the digestive tract and warrants prompt medical attention.

If your stool is green but you feel fine and can connect it to something you ate, a supplement, or a recent bout of loose stools, it will very likely return to brown on its own within a couple of days.