Green poop usually means one of two things: you ate something with a lot of green pigment, or food moved through your digestive system faster than normal. In most cases, it’s harmless and resolves on its own within a day or two. Understanding why it happens can help you figure out whether your green stool is just a quirky side effect of last night’s salad or something worth paying attention to.
Why Stool Is Normally Brown
Your liver produces bile, a green fluid that helps break down fats in your small intestine. As bile travels through your digestive tract, enzymes chemically alter it, gradually shifting its color from green to yellow to brown. That final brown shade comes from the end product of this breakdown process. The whole journey through your colon takes an average of 30 to 40 hours, with anything up to about 72 hours still considered normal. That transit time matters because it gives bacteria and enzymes enough time to fully convert the green bile pigments into brown ones.
When something disrupts this process, whether by speeding it up, overwhelming it with green pigment, or altering the bacteria doing the work, you end up with green stool.
Food and Drink Are the Most Common Cause
If you’ve been eating a lot of spinach, kale, broccoli, or other leafy greens, the high chlorophyll content can overpower the normal browning process and tint your stool bright green. Avocados, fresh herbs, and matcha (powdered green tea) can do the same thing. The more you eat, the more vivid the color.
Artificial food coloring is another frequent culprit, especially in children. Brightly colored candy, fruit snacks, cake frosting, freeze pops, and dyed drinks contain pigments that your intestines don’t break down. These dyes pass straight through and color your stool directly. Blue and green dyes are particularly effective at turning things green, and if you mix enough colors together (say, from a handful of rainbow candy), the result can even look black.
Rapid Transit: When Food Moves Too Fast
This is the other big explanation. When stool moves through your intestines faster than usual, your body doesn’t have enough time to reabsorb and convert all that green bile. The bile stays green, and so does your poop. Anything that speeds up digestion can cause this: a stomach bug, food poisoning, stress, a new medication, or a bout of diarrhea from any cause.
This is why green stool and diarrhea often show up together. The faster things move, the less chemical processing happens, and the greener the result. If you have a day of loose, greenish stools after eating something that didn’t agree with you, rapid transit is almost certainly the reason.
Medications and Supplements
Iron supplements are well known for turning stool dark green, sometimes so dark it looks nearly black. This is normal and some physicians actually consider it a sign the supplement is being absorbed properly. If the color bothers you, lowering your dose with your doctor’s guidance will typically lighten things up.
Certain antibiotics can also produce green or yellowish stool. Antibiotics disrupt the balance of gut bacteria, and since those bacteria play a key role in converting bile from green to brown, killing them off can leave stool looking green until your gut flora recovers. This usually resolves once you finish the course of antibiotics.
Green Stool in Babies
New parents often notice green poop in their babies, and it’s rarely a problem. In the first few days of life, newborn stool (meconium) is dark green to black, which is completely expected. As breastfeeding gets established, stool color shifts through shades of green and yellow before settling into the mustard-yellow color typical of breastfed infants.
A few specific situations can keep baby stool green for longer. If an infant isn’t getting enough of the higher-fat breast milk that comes later in a feeding, digestion of the milk changes and green stool can result. Babies on protein hydrolysate formula, used for milk or soy allergies, often have green stool as well. Breastfed infants who haven’t yet developed a full complement of intestinal bacteria may also pass green stools simply because those bacteria aren’t there yet to do the bile conversion.
When Green Poop Signals a Problem
A single green bowel movement, or even a couple of days of green stool after a big salad or a course of antibiotics, is not concerning. The color alone doesn’t indicate disease. What matters more is the pattern and what comes with it.
Green stool that persists for more than a few days without an obvious dietary explanation is worth mentioning to a healthcare provider. Green diarrhea that lasts more than a day or two deserves attention too, primarily because of the risk of dehydration rather than the color itself. Watch for signs like extreme thirst, dark urine, dizziness, or (in children) fewer wet diapers than usual. These suggest fluid loss that needs to be addressed quickly.
Green stool accompanied by fever, severe abdominal pain, or blood is a different situation entirely. Bacterial infections like salmonella and parasitic infections like giardia can cause green diarrhea alongside these more alarming symptoms. In these cases, the green color is a clue that food is rushing through the gut too fast because the intestines are inflamed, and the underlying infection needs treatment.
What to Do About It
Start by thinking about what you’ve eaten in the last 24 to 48 hours. Leafy greens, brightly colored snacks, or green smoothies are the simplest explanation. If you recently started iron supplements or antibiotics, those are likely responsible. In either case, no action is needed beyond waiting for your system to process the pigment or adjust to the new supplement.
If green stool comes with diarrhea, focus on staying hydrated. Water, broth, and electrolyte drinks help replace what you’re losing. Most episodes of green diarrhea from a stomach bug or food reaction resolve within a few days. If you’re still seeing green after dietary causes are ruled out and several days have passed, that’s a reasonable time to check in with your doctor to rule out an infection or digestive issue that might need testing.

