Green poop is almost always normal. The most common causes are everyday things: leafy green vegetables, food dyes, iron supplements, or food simply moving through your digestive system a bit faster than usual. In most cases, the color shifts back to brown within a day or two without any intervention.
Why Stool Is Usually Brown
Your liver produces bile, a yellow-green fluid that helps digest fats. As bile travels through your intestines, bacteria break it down and chemically transform it from green to yellow to brown. That journey typically takes 18 to 36 hours. When everything moves at a normal pace, your stool ends up the familiar shade of brown. When something disrupts that process, whether it’s the food you ate or how quickly things are moving, green is the result.
Foods That Turn Stool Green
Chlorophyll, the pigment that makes plants 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 contain enough chlorophyll to have the same effect. The more you eat, the more vivid the green. A big salad or a green smoothie habit can keep your stool noticeably green for as long as you maintain the diet.
Artificial food dyes are the other frequent cause. Brightly frosted cupcakes, flavored drink mixes, ice pops, and rainbow-colored candy all contain dyes that continue tinting whatever they touch as they pass through your gut. Blue and green dyes are especially effective at coloring stool. If you eat enough of a variety of colors, they can even mix together and produce stool that looks nearly black.
Fast Transit Time
When food moves through your intestines faster than normal, bile doesn’t have enough time to fully break down from green to brown. The result is stool that’s greenish, sometimes bright green. This can happen with mild diarrhea from a stomach bug, after drinking too much coffee, during a stressful period, or simply on a day when your digestion runs quicker than usual. It’s one of the most common explanations for a single unexpected green bowel movement and resolves on its own once transit time returns to normal.
Iron Supplements and Medications
Iron supplements are well known for changing stool color. They can turn it dark green or even black, depending on the dose. This is a harmless chemical reaction between iron and your digestive fluids, not a sign of a problem. If you recently started taking a multivitamin or standalone iron supplement and notice dark green stool, that’s almost certainly the explanation.
Antibiotics can also produce green stool by disrupting the balance of gut bacteria that normally convert bile from green to brown. With fewer of those bacteria at work, bile passes through less fully processed. This typically resolves once you finish the course of antibiotics and your gut bacteria recover. In rare cases, antibiotic-associated diarrhea can produce distinctly greenish stool due to bacterial overgrowth, which is worth mentioning to your doctor if it persists or comes with fever.
Green Stool in Babies
Green poop is especially common in newborns and infants. A baby’s very first bowel movement, called meconium, is sticky and greenish-black. During the first six weeks of life, both breastfed and formula-fed babies routinely produce stool that is yellow or green, and both colors are considered normal.
Breastfed babies sometimes produce bright, frothy green poop. This often happens when they take in more of the thinner milk at the beginning of a feeding (foremilk) and less of the fattier milk that comes later, or when a parent switches breasts mid-feed. Formula-fed babies may have dark green stool if their formula is iron-fortified, which many formulas are. Checking the label can confirm whether iron is the likely cause.
The colors to actually worry about in babies are pale, white, or chalky stool, which can signal a problem with bile flow, and red or black stool (after the meconium stage), which can indicate bleeding. Green on its own, without other symptoms, is rarely a concern.
When Green Stool Signals Something Else
Occasional green stool with no other symptoms is not a reason for concern. But green stool becomes more meaningful when it shows up alongside other signs that something is off. Persistent green diarrhea lasting more than a few days, especially with fever, cramping, or blood, can point to a bacterial or parasitic gut infection. Salmonella and Giardia infections, for example, are known to produce greenish diarrhea because they speed transit time and increase fluid secretion in the intestines.
The key distinction is pattern and context. A single green bowel movement after a spinach salad is unremarkable. Green diarrhea that lasts a week, keeps you up at night, or comes with weight loss and abdominal pain is telling you something different. Similarly, if you haven’t eaten anything green, aren’t taking iron, and can’t identify an obvious cause, persistent green stool is worth bringing up at your next appointment.
Stool colors that warrant more immediate attention are red (possible lower GI bleeding), black and tarry (possible upper GI bleeding), and white or clay-colored (possible bile duct obstruction). Green doesn’t belong in that category. It sits firmly in the “usually harmless, occasionally worth investigating” zone.