Green stool is almost always harmless. It typically results from something you ate, how fast food moved through your digestive tract, or a supplement you recently started taking. The green color comes from bile, which your liver produces as a bright yellow-green fluid, and which normally changes to brown as bacteria in your intestines break it down during digestion. When that process gets cut short or overwhelmed by green pigments from food, you end up with a toilet bowl surprise. There are a handful of situations where green stool does signal something worth investigating, but they tend to come with other symptoms that make the picture clearer.
Why Stool Is Brown in the First Place
Your liver continuously makes bile to help digest fats. Bile starts out yellow-green because it contains a pigment called biliverdin, which gets converted into bilirubin as it travels through the intestines. Gut bacteria then metabolize bilirubin into a compound called stercobilin, which gives stool its characteristic brown color. The entire journey from mouth to toilet typically takes somewhere between 12 and 36 hours in a healthy adult, and that window matters. The longer digested material sits in the colon, the more time bacteria have to complete the color conversion from green to brown.
Green poop, then, is usually a sign that something interrupted or shortened that conversion process, or that you introduced enough green pigment to overpower it. Both explanations are mundane.
Food and Drink That Turn Stool Green
The most common cause is simply eating a lot of green or darkly pigmented food. Spinach, kale, broccoli, arugula, and other leafy greens are loaded with chlorophyll, a pigment that can tint stool green if you eat enough of it. Research on chlorophyll-rich spinach extracts shows that chlorophyll undergoes chemical transformations during digestion, producing breakdown products like pheophytins and pheophorbides that retain green coloring as they pass through the gut. 1PubMed Central. Biological transformation of chlorophyll-rich spinach (Spinacia oleracea L.) extracts under in vitro gastrointestinal digestion and colonic fermentation These breakdown products interact with gut bacteria during fermentation, but they don’t always lose their color before you pass them.
It’s not just leafy greens. Artificial food dyes, particularly blue and green dyes found in candy, ice cream, cake frosting, sports drinks, and cereal, can turn stool vivid shades of green. Blue dye is a well-known culprit because blue mixed with the natural yellow-brown of bile produces green. Purple and black foods like blueberries, black licorice, and grape-flavored drinks can have similar effects depending on the dye formulation.
Matcha, spirulina, chlorella, wheatgrass shots, and green smoothie powders are increasingly common triggers. People who start a new health regimen involving green supplements are often alarmed the first time they notice the change, but it reflects pigment load, not a health problem.
How Transit Time Changes Stool Color
If food moves through your intestines faster than usual, bile doesn’t have enough time to be fully broken down by bacteria. The result is stool that retains bile’s original green tint. Anything that speeds up gut motility can cause this: a stomach bug, food poisoning, anxiety before a big event, too much coffee, a heavy dose of magnesium, or just an unusually active digestive day.
A large study of over 860 healthy adults found that gut transit time is closely linked to the specific bacteria living in the colon, with certain microbial species associated with faster or slower transit. 2BMJ Journals. Blue poo: impact of gut transit time on the gut microbiome using a novel marker This means your personal baseline transit time, and therefore your typical stool color, partly depends on your individual microbiome. Some people naturally run a faster gut than others, and for those people, occasional greenish stool may simply be their normal.
Diarrhea from any cause, whether viral, bacterial, dietary intolerance, or stress-related, almost always speeds transit. If you’ve had a bout of loose stools and noticed they’re green, the speed of passage is the most likely explanation.
Supplements and Medications
Iron supplements are one of the most reliable producers of dark green or even black-green stool. When iron passes through the digestive tract, it reacts with stomach acid and digestive enzymes to form iron compounds that are very dark. Depending on the dose and how much your body absorbs, the result can range from dark green to tar-black. This is cosmetic and expected. However, genuinely black, tarry stool that has a distinctive foul smell (called melena) can indicate bleeding in the upper digestive tract, so if you’re not taking iron and your stool turns black, that warrants a call to your doctor.
Antibiotics can also cause green stool by disrupting the gut bacteria responsible for converting bile pigments. When antibiotics kill off large portions of your intestinal flora, the bacteria that normally turn bilirubin brown may be temporarily depleted. The stool stays green until those populations recover, which can take days to weeks after finishing a course of antibiotics.
Other supplements and medications associated with green stool include high-dose vitamin C, certain herbal preparations, the over-the-counter anti-nausea medication bismuth subsalicylate (which more commonly turns stool black), and indomethacin, an anti-inflammatory drug that can give stool a distinctly green hue through its effects on bile metabolism.
Green Stool in Babies and Infants
New parents are often startled by the range of colors that appear in a newborn’s diaper. For the first day or two of life, a baby’s stool is meconium, a dark greenish-black, sticky substance made up of everything the baby ingested in the womb: amniotic fluid, mucus, skin cells, and bile. Research on neonatal stool patterns shows that the transition from meconium to the yellow stool of a milk-fed baby is actually used by midwives and pediatricians as an indicator of healthy gastrointestinal activity and adequate feeding. 3Midwifery. The development of a neonatal stool colour comparator A baby who transitions from dark green meconium to mustard-yellow stool within the first few days is showing that feeding is going well and the gut is working.
Breastfed babies frequently produce stool that’s yellow-green or sometimes bright green, and this is completely normal. The color can shift depending on whether the baby is getting more foremilk (the thinner, more watery milk at the start of a feed) versus hindmilk (the fattier milk at the end). A consistently very green, frothy stool in a breastfed baby sometimes suggests a foremilk-hindmilk imbalance, but even this is usually addressed with simple feeding adjustments rather than medical intervention.
Formula-fed babies tend to have stool that’s more consistently tan or brown, but green stool can still appear, especially with iron-fortified formulas. When a baby starts solid foods, stool color becomes even more variable. Pureed peas, green beans, and spinach can produce stool that’s unmistakably green. As long as the baby is gaining weight, eating normally, and not showing signs of distress, green stool in an infant is not a concern.
Stress, Anxiety, and Your Gut
The gut-brain connection is real and measurable. Psychological stress activates the body’s fight-or-flight system, which among other things releases hormones that speed up colonic contractions. Animal research has demonstrated that acute stress significantly accelerates colonic transit, meaning material moves through the large intestine faster than normal. 4PubMed Central. Sustained acceleration of colonic transit following chronic homotypic stress in oxytocin knockout mice In humans, the experience is familiar to anyone who has had an urgent need for the bathroom before a job interview or a difficult conversation.
When stress-driven motility pushes things through quickly, the same bile-conversion shortcut applies: not enough time for bacteria to do their work, so the stool comes out green. People with chronic anxiety, irritable bowel syndrome triggered by stress, or high-pressure lifestyles may notice green stool recurring during stressful periods. The stool color itself isn’t the problem; it’s a downstream marker of how fast the gut is running.
After Gallbladder Removal
Your gallbladder stores and concentrates bile between meals, releasing it in controlled bursts when you eat fat. After gallbladder removal (cholecystectomy), bile flows continuously from the liver into the small intestine instead. Some of this bile isn’t fully reabsorbed and reaches the colon, where it can stimulate water secretion and speed up transit. 5PubMed Central. Diagnosis and treatment of post-cholecystectomy diarrhoea This excess bile in the colon is the reason some people develop loose, greenish-yellow stools after the surgery, sometimes chronically.
For most people, the body adapts within weeks to months and stools normalize. But a subset of post-cholecystectomy patients develop persistent bile acid diarrhea, which can cause ongoing green or yellow loose stools. If you’ve had your gallbladder removed and green diarrhea has become a regular feature of your life, it’s worth mentioning to your gastroenterologist. There are bile acid binders that can help.
When Green Stool Actually Warrants Concern
The color green, on its own, is rarely the problem. What matters more is what accompanies it. You should pay attention if green stool comes with any of the following:
- Fever and severe diarrhea: This combination suggests an infection, whether bacterial (like Salmonella or E. coli), viral, or parasitic. Infectious diarrhea often produces green stool because of the rapid transit, and the infection itself is what needs treatment.
- Blood in the stool: Red streaks, dark clots, or a maroon color mixed with green warrants prompt medical evaluation. Green stool with blood can indicate inflammatory bowel disease, an infection that’s damaging the intestinal lining, or other conditions that need diagnosis.
- Persistent change lasting weeks: A day or two of green stool after a big salad is nothing. Green stool that persists for weeks without an obvious dietary explanation deserves investigation, especially if accompanied by weight loss, abdominal pain, or changes in appetite.
- Pale or clay-colored stool: This is the color change that actually alarms gastroenterologists. Stool that’s white, gray, or clay-colored suggests bile isn’t reaching the intestines at all, which can indicate a bile duct obstruction, liver disease, or pancreatic problems. This is a different issue from green stool, but people sometimes confuse the two in their anxiety about stool color changes.
Clinical guidelines on when to pursue testing for abnormal stool emphasize that alarm features like bleeding, unintentional weight loss, nighttime symptoms, and fever are what drive the decision to investigate further, not color alone. 6PubMed. Chronic Diarrhea: Diagnosis and Management For acute diarrhea specifically, stool testing is recommended when symptoms last longer than seven days or when there’s a strong suspicion of a bacterial or parasitic infection. 7American Journal of Gastroenterology. When and What to Test for Diarrhea: Focus on Stool Testing
What Your Stool’s Shape Tells You That Color Doesn’t
If you’re already inspecting the toilet bowl, shape and consistency are actually more informative than color for gauging digestive health. The Bristol Stool Form Scale is a widely used clinical tool that classifies stool into seven types, from hard pellets (type 1) to entirely liquid (type 7). Types 3 through 5 are considered normal, while types 1 and 2 suggest constipation and types 6 and 7 indicate diarrhea. 8PubMed Central. Development of a new version of the Bristol Stool Form Scale: translation, content validity, face validity, and reliability of the Persian version
A green stool that’s well-formed and easy to pass is much less concerning than a brown stool that’s chronically loose or pencil-thin. Gastroenterologists care more about consistency patterns over time than about any single color episode. If your stool is green but falls in the type 3 to 5 range and you feel fine, you can chalk it up to dinner and move on.
The Microbiome Angle
Your gut bacteria are the unsung agents of stool color. They’re the ones metabolizing bile pigments, breaking down food dyes, and fermenting chlorophyll breakdown products. Anything that disrupts the microbial community, whether antibiotics, a dramatic dietary shift, travel, illness, or heavy alcohol use, can temporarily change how efficiently these pigments get processed. The research linking transit time to specific bacterial species suggests that stool color variability is partly a reflection of your microbial ecosystem’s current state. 2BMJ Journals. Blue poo: impact of gut transit time on the gut microbiome using a novel marker
This also helps explain why some people seem to get green stool more easily than others eating the same foods. Individual differences in gut flora mean that two people can eat the same spinach salad and produce differently colored stool. One person’s microbiome may be especially efficient at converting bile pigments, masking the green chlorophyll entirely, while another’s leaves more of the green visible. There’s nothing wrong with either person. It’s just microbial variation doing its thing.
Probiotics and fermented foods are sometimes marketed as a fix for abnormal stool color, but there’s no strong evidence that taking a probiotic will change your stool from green to brown. What probiotics can help with, in certain formulations and for certain people, is overall gut regularity, which indirectly affects transit time and therefore color. But if your stool is green because you ate a pile of kale, no probiotic is going to override the laws of chlorophyll chemistry.