Green poop is almost always harmless. The most common причины are eating lots of green vegetables, food dyes, certain supplements, or food moving through your intestines faster than usual. To understand why it happens, it helps to know how stool gets its normal brown color in the first place.
How Stool Gets Its Color
Your body constantly recycles old red blood cells. After about 120 days, aging blood cells break down and release a compound called heme, which your liver converts into a green pigment called biliverdin. This green substance gets secreted into bile, which your gallbladder releases into your digestive tract to help break down fats. As bile travels through the intestines, it shifts from green to yellow, and then bacteria in your large intestine convert it into brown compounds. That’s what gives stool its typical color.
When anything disrupts this process, whether it’s food moving too quickly, a shortage of gut bacteria, or an overwhelming dose of green pigment from your diet, stool stays green instead of completing the shift to brown.
Foods That Turn Stool Green
The chlorophyll that makes vegetables green can do the same to your stool. Spinach, kale, and broccoli are the most common culprits, but avocados, fresh herbs, matcha, and even pistachios (which get their color from chlorophyll and other plant pigments) can all produce noticeably green bowel movements. You don’t need to eat an unusual amount. A big salad or a green smoothie is often enough.
Blueberries can also produce green shades, which surprises people who expect dark blue or purple. And artificial food dyes, especially the kind found in brightly frosted cupcakes, candy, or sports drinks, continue tinting whatever they touch as they pass through your system. If you recently ate something with vivid coloring, that’s likely your answer.
Medications and Supplements
Iron supplements are one of the most frequent non-food causes. They can turn stool dark green or even blackish-green. This is a normal chemical reaction, not a sign that anything is wrong.
A few other common medications can have the same effect. Bismuth subsalicylate, the active ingredient in some over-the-counter anti-diarrheal products, reacts with sulfur in your digestive tract and can produce dark green or black stool. Antacids containing aluminum hydroxide can also cause a greenish tint. And certain antibiotics may turn stool green or yellow by killing off some of the gut bacteria responsible for that final brown conversion.
Fast Transit Through the Intestines
When food moves through your large intestine faster than normal, bile doesn’t have enough time to be fully broken down by bacteria. The result is stool that retains some of bile’s original green color. This is the reason green poop often shows up alongside diarrhea, whether from a stomach bug, food intolerance, or stress.
Anything that speeds up digestion can trigger this. Laxative overuse is one example. A bout of food poisoning, a viral illness, or even anxiety before a big event can all accelerate transit time enough to produce green stool for a day or two. Once your digestion returns to its normal pace, the color typically follows.
Antibiotics and Gut Bacteria
Strong antibiotics can wipe out a significant portion of the bacteria in your large intestine. Since those bacteria are the ones converting bile pigments to brown, a course of antibiotics can leave you with green stool for days or even weeks. This is especially common with broad-spectrum antibiotics. The color usually returns to normal as your gut bacteria repopulate after you finish the medication.
Green Stool in Babies
Green poop in infants has its own set of causes and is rarely a concern. Newborns pass meconium in the first few days, which is dark green to black. After that transition, breastfed babies may produce green stool if they aren’t finishing a full feeding on one side. The milk that comes later in a feeding session has higher fat content, and missing it can change how the milk is digested.
Babies on hydrolyzed protein formula (the kind prescribed for milk or soy allergies) commonly have green stool as well. Breastfed infants who haven’t yet developed a full population of intestinal bacteria may also produce green poop simply because there aren’t enough bacteria to complete the pigment conversion. Diarrhea from teething, illness, or dietary changes can cause it too. In all of these cases, as long as the baby is feeding well and gaining weight, the color on its own isn’t a problem.
When the Color Actually Matters
Green stool by itself, with no other symptoms, is almost never a sign of serious disease. If the green color lasts more than a few days and you can’t connect it to something you ate, a supplement, or a medication, it may be worth mentioning to your doctor, especially if it comes with persistent diarrhea, cramping, or unintentional weight loss. Those combinations can point to issues with fat absorption or chronic inflammation in the gut.
The colors that do warrant prompt attention are bright red and black (not the blackish-green from iron supplements, but true black and tarry). These can indicate bleeding somewhere in the digestive tract and should be evaluated quickly.

