On this page
Why are my Stools Green?
Green stools are almost always the result of one of two broad mechanisms: pigment from food (or supplements) passing through the gut or accelerated intestinal transit that prevents bile from completing its normal color transformation. Understanding both mechanisms helps make sense of the wide range of causes.
1. Dietary Causes: Green Pigments in Food
The most common and benign cause of green stools is simply eating green foods, particularly in generous quantities. Green and dark-leafed vegetables are rich in chlorophyll, the photosynthetic pigment responsible for the characteristic green color of plants. Chlorophyll is remarkably stable and is not completely broken down during digestion; significant amounts pass through the intestinal tract and can color the stool visibly.
Any of the following, if consumed in sufficient quantity, can produce noticeably green stools:
- Spinach: One of the most consistently reported dietary causes
- Broccoli and broccolini
- Kale, collard greens, and Swiss chard
- Cabbage and Brussels sprouts
- Green beans and snap peas
- Asparagus
- Courgette (zucchini)
- Olives
- Kiwi fruit
- Avocado
- Green apples
- Honeydew melon
In general, any plant food rich in chlorophyll, or any combination of green vegetables consumed in abundance, can produce green stools. This is particularly true in people who consume large amounts of vegetables daily, such as those following plant-based or whole-food diets.
It is worth noting that the intensity of the green color in the stool is broadly proportional to the amount of chlorophyll-rich food consumed and the individual’s intestinal transit time. A rapid transit means more pigment arrives in the stool before it can be further metabolized; slower transit allows more complete breakdown.
2. Food Colorings and Dyes
Artificial and natural food dyes, particularly green, blue, and purple colorings, can produce green stools, sometimes dramatically so. This is a particularly common cause of parental alarm in children who have consumed brightly colored candy, popsicles, flavored drinks, or cake frosting.
Specific dyes and pigments to be aware of include:
- Blue No. 1 (Brilliant Blue): This widely used food dye can produce blue-green or green stools and is found in sports drinks, candies, ice cream, and breakfast cereals
- Green No. 3 (Fast Green FCF): Used in beverages and some canned foods
- Natural anthocyanins from blueberries, purple grapes, red cabbage, and beetroot: These are pH-sensitive pigments that can shift from purple-red to blue-green depending on intestinal pH
If a child (or adult) develops sudden bright green stools after consuming colorful foods or beverages, food dye is almost always the explanation.
3. Dietary Supplements and Medications
Iron supplementation is one of the most well-documented causes of altered stool color, typically producing dark green, dark grey, or black stools. This is because unabsorbed iron reacts with intestinal contents and bacteria to form iron sulfide, a dark compound. Iron-fortified infant formulas may produce similar stool discoloration in babies.
Antibiotics can alter stool color by disrupting the normal gut microbiome, the complex community of bacteria responsible for processing bile pigments. When the balance of gut bacteria is disrupted, the normal biochemical transformation of bile pigments may be incomplete or altered, resulting in green or pale stools. This effect is usually temporary and resolves as the microbiome recovers after the antibiotic course is completed.
Other supplements that may contribute include:
- Chlorophyll supplements or green superfood powders (wheatgrass, spirulina, chlorella)
- Senna-based laxatives: Can accelerate transit and alter bile pigment processing
- Indomethacin and other NSAIDs in some individuals
4. Diarrhea and Accelerated Intestinal Transit
This is one of the most clinically important mechanisms for green stool production and deserves detailed explanation.
Under normal circumstances, bile, which is secreted by the liver and stored in the gallbladder, is released into the duodenum (the first segment of the small intestine) to aid in fat digestion. Bile is initially greenish-yellow in color, rich in the pigment biliverdin. As it travels through the small and large intestine, it undergoes progressive chemical transformation by intestinal bacteria:
- Biliverdin → Bilirubin (yellow-orange)
- Bilirubin → Urobilinogen → Stercobilin (brown)
This entire conversion process takes time, typically 24 to 72 hours of normal intestinal transit. When intestinal transit is accelerated, stool passes through the colon too quickly for these chemical reactions to be completed. Bile pigments remain in their earlier, greener forms, producing green-colored stool.
This is why virtually any cause of diarrhea can produce green stools, including:
Viral gastroenteritis The most common infectious cause of green diarrhea. Norovirus, rotavirus (particularly in children), and adenovirus all accelerate intestinal motility, reduce absorption time, and alter gut bacterial activity, producing the characteristic green, watery stool. Viral gastroenteritis is typically self-limiting, resolving within 3–7 days.
Bacterial intestinal infections Bacterial pathogens that colonize the intestine and cause acute infection can produce green diarrhea through a combination of accelerated transit, mucosal inflammation, and direct toxin effects:
- Salmonella: A common cause of food poisoning causing green, watery, or bloody diarrhea with fever and abdominal cramping. Often traced to undercooked poultry, eggs, or unpasteurized products.
- Escherichia coli (E. coli): Certain strains, including enterotoxigenic E. coli (a major cause of traveler’s diarrhea) and the pathogenic O157:H7 strain, can cause green diarrhea.
- Campylobacter: One of the most common bacterial causes of gastroenteritis worldwide, typically producing watery or bloody diarrhea with fever.
- Clostridioides difficile (C. diff): Produces distinctive watery, foul-smelling, often green or yellow-green diarrhea, typically following antibiotic use that disrupts the normal gut microbiome.
- Shigella: Causes dysentery, which is characterized by bloody, mucus-laden diarrhea with fever and significant abdominal pain.
Intestinal Parasites
- Giardia lamblia: A protozoan parasite that colonizes the small intestine and causes profuse, watery, yellowish-green, foul-smelling diarrhea, often accompanied by bloating, excessive flatulence, and abdominal cramping. Giardiasis is common in travelers, in people who drink untreated natural water, and in children in daycare settings.
- Cryptosporidium: Another protozoan parasite causing watery diarrhea in both immunocompetent and immunocompromised individuals.
5. Recent Cholecystectomy (Gallbladder Removal)
Following surgical removal of the gallbladder, a very common operation performed for gallstone disease, the normal reservoir function of the gallbladder is lost. Instead of bile being stored and released in controlled boluses after meals, bile drips continuously from the liver into the small intestine. This continuous bile flow increases the amount of bile reaching the colon, where it can produce green or yellow-green stools, particularly in the early post-operative period. Most patients adapt over time, but some experience persistent loose, green, or yellow stools (a condition known as post-cholecystectomy diarrhea), which may require dietary adjustment or medication.
6. Irritable Bowel Syndrome (IBS)
Irritable bowel syndrome, particularly the diarrhea-predominant subtype (IBS-D), is associated with accelerated intestinal transit and may produce green or pale stools during flares. IBS affects approximately 10–15% of the global population and is significantly underdiagnosed.
7. The Ketogenic Diet
Some sources note that a very high-fat ketogenic diet may be associated with bright green stools. The proposed mechanism is that the markedly increased dietary fat load requires the liver to produce and secrete more bile to aid in fat emulsification. If this augmented bile volume is not fully reabsorbed in the small intestine (bile is normally reabsorbed in the terminal ileum through the enterohepatic circulation), it reaches the colon in excess, potentially producing green discoloration. This is a physiological effect of the diet rather than a sign of pathology.
8. Other Conditions Associated with Rapid Transit
Any condition that accelerates intestinal transit can theoretically produce green stools:
- Hyperthyroidism: Elevated thyroid hormone speeds up gut motility throughout the body
- Celiac disease (particularly during active flares with malabsorption and diarrhea)
- Inflammatory bowel disease (Crohn’s disease or ulcerative colitis with active flares)
- Short bowel syndrome: After surgical removal of significant lengths of intestine
Foods That Turn Stools Green
While the previous section covered the broad categories, here is a more specific list of foods most commonly reported to cause green stools, for quick practical reference:
Vegetables
- Spinach: one of the most potent stool-coloring vegetables due to its exceptionally high chlorophyll content
- Kale and other dark leafy greens (collard greens, Swiss chard, beet greens)
- Broccoli, cabbage, and Brussels sprouts
- Asparagus
- Courgette (zucchini) and cucumber
- Green peas and broad beans (fava beans)
- Green mung beans
Fruits
- Kiwi fruit
- Green apples
- Honeydew melon
- Avocado (in large quantities)
- Green grapes
- Blueberries and blackberries: Despite their dark purple-blue color, the anthocyanin pigments in these fruits can produce green or dark green stools
Seeds, Herbs, and Other Plant Foods
- Hemp seeds
- Fresh herbs in large quantities: Basil, coriander (cilantro), parsley, mint
- Matcha green tea (especially in large quantities, such as matcha lattes or matcha supplements)
- Pistachios
- Spirulina and chlorella (green superfood supplements with extremely high chlorophyll content)
- Wheatgrass and other green powder supplements
Other Foods and Beverages
- Sports drinks and flavored beverages containing blue or green food dye
- Brightly colored candy, popsicles, or frosting (particularly those using Blue No. 1 or Green No. 3)
- Green-colored sodas and artificially flavored drinks
The key practical point is this: if you or your child develops green stools, think first about what has been consumed in the past 24–48 hours. In the vast majority of cases, the answer will be apparent from the diet alone.
Do Green Stools Signal Bowel Cancer? No
This is one of the most common fears associated with any change in stool color, and it deserves a direct, clear answer: green stools are not a characteristic sign of colorectal cancer.
When colorectal tumors do affect stool appearance, the typical change is:
- Dark red or maroon stools: From tumors in the lower colon or rectum that bleed, with blood that has not traveled far enough to be fully digested.
- Black, tarry stools (melena): From tumors in the right colon or upper gastrointestinal tract, where blood is digested as it travels through the gut, producing the characteristic dark, tarry appearance.
- Occult (invisible) blood: Detected only by laboratory testing, with no visible change in stool color. This is why fecal occult blood testing (FOBT) and fecal immunochemical testing (FIT) are used in colorectal cancer screening programs.
The mechanism is straightforward: colon cancer bleeds, and blood in the stool turns it dark, not green. Green stools reflect bile pigments and dietary factors, not blood.
This does not mean that any persistent, unexplained change in bowel habits should be ignored, regardless of color. If you are experiencing persistent changes in stool appearance, frequency, or consistency, especially when combined with rectal bleeding, unintentional weight loss, or a family history of colorectal cancer, a medical evaluation is always appropriate. But green stools alone, particularly in the context of a diet rich in vegetables, are not a warning sign for cancer.
Green Stools in Newborns
The neonatal period is a time of rapid gastrointestinal maturation, and stool appearance in newborns is notably variable and different from that of older children and adults. Green stools are particularly common in newborns and infants and, in most cases, are completely normal.
Meconium: The First Green Stools
The first substance to emerge from a newborn’s bowels is not stool in the conventional sense but meconium, the material that accumulated in the fetal intestine during development. Meconium is composed of:
- Swallowed amniotic fluid
- Shed intestinal epithelial cells
- Lanugo (fine fetal body hair)
- Mucus
- Bile
- Water
Its characteristic dark greenish-black color comes primarily from bile pigments, specifically biliverdin, which have not yet undergone the bacterial transformation that produces the brown stercobilin of adult stool. Meconium is also distinctive for its:
- Thick, viscous, tar-like consistency, which is notoriously difficult to wipe off.
- Sterile composition: The fetal gut contains no bacteria, so meconium is virtually odorless.
- Absence of the characteristic fecal odor of subsequent stools.
Healthy full-term newborns pass meconium within 24–48 hours of birth. After meconium is cleared, typically within the first 3–5 days, stools transition through greenish-brown transitional stools before reaching the characteristic color of mature milk stools (bright yellow in breastfed infants, tan-beige in formula-fed infants).
The appearance of transitional green-brown stools in days 3–5 is entirely expected and represents a healthy transition.
Green Stools in Breastfed Infants
Beyond the meconium phase, green stools are one of the most common concerns raised by breastfeeding mothers, and in the vast majority of cases they are benign.
Foremilk/Hindmilk Imbalance
The most common cause of persistent green stools in exclusively breastfed infants is a feeding imbalance between foremilk and hindmilk:
- Foremilk is the thinner, more watery milk available at the beginning of a feed. It is relatively lower in fat and higher in lactose.
- Hindmilk is the richer, creamier, higher-fat milk released as the breast is progressively emptied.
When a feeding session ends (or the baby is switched to the other breast) before the breast is substantially emptied, the infant receives predominantly foremilk across multiple feeds. The higher lactose content of foremilk, when not adequately balanced by fat (which slows gastric emptying and intestinal transit), can cause:
- Faster intestinal transit (bile doesn’t have time to fully convert to brown)
- Increased colonic fermentation (producing gas, bloating, and green, frothy stools)
- Green, watery, or mucousy stools
- A gassy, fussy infant
The practical solution is to allow the infant to fully drain one breast before offering the other at the next feed, ensuring they receive the complete fat-rich hindmilk.
Other Causes of Green Stools in Breastfed Infants
- Maternal diet: A mother’s consumption of green-colored foods, green smoothies, or matcha may occasionally influence the color of breast milk and, consequently, the infant’s stool. This can happen through the passage of pigments or altered bile composition, though the effect is generally mild.
- Viral illness: Any viral gastroenteritis infection in the infant can cause green, watery stools through the same accelerated transit mechanism as in adults.
- Gut microbiome changes: The neonatal gut microbiome is actively developing and highly variable. Fluctuations in microbial colonization can alter bile pigment processing and produce intermittent green stools.
- Cow’s milk protein allergy (CMPA) transmitted through breast milk: Some infants with CMPA react to dairy proteins consumed by the mother that pass into breast milk. Intestinal inflammation from CMPA can cause loose, mucousy, sometimes green or bloody stools. If green stools are persistent, mucousy, or bloody in a breastfed infant, and particularly if the infant appears uncomfortable or is not gaining weight well, CMPA should be considered.
Green Stools in Formula-Fed Infants
Some infant formulas, particularly hydrolyzed formulas used for milk protein allergy or soy-based formulas used for lactose intolerance or CMPA, can produce atypically colored stools, including green. This is a known and harmless characteristic of these specialized formulas and is not a cause for concern in an otherwise well, thriving infant.
Iron-fortified standard formulas can also produce dark green to black-green stools from the iron content.
After the Introduction of Solid Foods (Weaning)
Once solid foods are introduced, typically around 4–6 months of age, stool color becomes highly variable and directly reflects what the infant has eaten. Green vegetables reliably produce green stools, as in adults. Parents are often surprised by how directly food color translates to stool color at this stage of development.
Why Are Stools Normally Brown?
To fully understand why stools turn green (or any other color), it is helpful to understand the biochemistry of normal brown stool. This process is remarkably sophisticated.
The Journey from Bile to Brown
The characteristic brown color of adult stool is the end product of a multi-step biochemical transformation that begins with the breakdown of old red blood cells:
Step 1: Red blood cell breakdown
Red blood cells have a lifespan of approximately 120 days. When they reach the end of their life, they are broken down, primarily in the spleen and liver, releasing hemoglobin, the oxygen-carrying protein inside them.
Step 2: Hemoglobin → Biliverdin → Bilirubin
Hemoglobin is further broken down into:
- Heme (the iron-containing component): The iron is recycled; the remainder is converted to biliverdin, a green pigment.
- Biliverdin is rapidly reduced to bilirubin, a yellow-orange pigment.
Step 3: Bilirubin conjugation in the liver
Bilirubin travels in the bloodstream to the liver, where it is conjugated (chemically modified) and excreted into bile. Bilirubin gives bile its characteristic greenish-yellow color.
Step 4: Bile release and intestinal transit
Bile is stored in the gallbladder and released into the duodenum after meals to aid in fat digestion. As bile travels through the small intestine and colon, intestinal bacteria process the bilirubin through a series of reduction reactions:
- Bilirubin → Urobilinogen
- Urobilinogen → Stercobilin (brown), which is excreted in feces and gives stool its brown color
- Urobilinogen → Urobilin (yellow), which is reabsorbed, enters circulation, and is excreted in urine, contributing to urine’s characteristic yellow color
Step 5: The role of stercobilin
Stercobilin is the final brown pigment that coats the stool and gives it its characteristic color. Its production depends critically on:
- Adequate bile reaching the intestine
- Sufficient time in the colon for bacterial transformation
- A healthy and sufficiently populated gut microbiome
This is why any disruption to this process, such as too little bile, too fast transit, or an altered microbiome, results in stool that is green, yellow, pale, or abnormally colored.
Normal Stool Composition
Fully formed, normally colored stool consists of approximately:
- 75% water
- 25% solid matter, of which:
- ~30% is bacteria (living and dead gut microbiome organisms)
- ~30% is indigestible food residue (fiber, plant cell walls)
- ~10–20% is fat (including cholesterol and fatty acids)
- ~10–20% is inorganic material and waste products (including bilirubin metabolites, mucus, and shed intestinal cells)
The balance of these components, along with the healthy function of the liver, gallbladder, and gut microbiome, is what produces the familiar medium-brown, formed, easily passed stool of good digestive health.
When Should You Be Concerned?
The reassuring bottom line about green stools is that they are rarely a cause for serious concern, particularly when they are occasional and clearly explained by diet or a mild, self-limiting illness.
Generally Safe to Observe (No Immediate Action Needed)
- Green stools that appear once or twice after eating large amounts of green vegetables, matcha, or green-colored foods
- Green stools in the first few days of life (meconium and transitional stools)
- Green stools in a breastfed infant with good weight gain and no other symptoms
- Green stools during or shortly after a course of antibiotics, in the absence of other concerning features
- Green stools associated with a brief episode of viral gastroenteritis, lasting fewer than 7 days and resolving without treatment
See Your Doctor If:
- Green stools persist for more than a week without a clear dietary explanation
- Green stools are accompanied by diarrhea lasting more than 7 days in adults (or more than 24 hours in infants under 6 months, or 2–3 days in older children)
- Blood, visible mucus, or pus is present in the stool
- Green diarrhea is accompanied by high fever (above 38.5°C)
- Significant abdominal pain or cramping accompanies the stool changes
- Signs of dehydration are present: excessive thirst, dry mouth, decreased urination, dark concentrated urine, dizziness when standing, or, in infants, a sunken fontanelle, no tears when crying, and fewer than 4 wet diapers per day
- Unintentional weight loss is occurring alongside stool changes
- The patient has underlying immune compromise (for example, chemotherapy, HIV, immunosuppressive therapy, or organ transplant). In these individuals, even seemingly minor gastrointestinal infections can be severe and require prompt treatment
- The patient has recently returned from international travel, particularly from developing countries where exposure to intestinal parasites (including Giardia and Cryptosporidium) is more likely
Special Considerations for Infants and Newborns
In newborns and young infants, the threshold for seeking medical advice should be lower than for adults:
- Any persistent green stools beyond the first week of life that are not explained by the normal foremilk/hindmilk dynamic in a breastfed infant
- Green stools accompanied by mucus or blood always require prompt pediatric evaluation
- Green stools in an infant who is not gaining weight adequately, feeds poorly, or appears unwell
- Green stools associated with bilious (bright green) vomiting: this combination in a newborn is a red flag for intestinal obstruction and requires emergency evaluation
Summary
Green stools are among the most common stool color variations encountered in both children and adults, and the vast majority of cases are entirely benign. The most frequent causes, such as dietary chlorophyll from green vegetables, food dyes, iron supplements, and accelerated intestinal transit during mild illness, are all self-limiting and require no treatment beyond addressing the underlying cause.
Understanding why stool is normally brown, through the elegant biochemical pathway from hemoglobin to bilirubin and finally to stercobilin, helps explain intuitively why anything that disrupts bile pigment processing (such as rapid transit, microbiome disruption, or altered bile flow) can produce green stools.
The key clinical distinctions to remember are:
- Occasional green stools after eating green foods = entirely normal
- Green diarrhea with fever and cramping = likely infectious, may need treatment
- Persistent green stools without dietary explanation = worth investigating
- Green stools in newborns = usually normal meconium or breastfeeding pattern, but persistent or symptomatic cases need pediatric review
- Green stools are not a sign of bowel cancer
When in doubt, especially in newborns, infants, immunocompromised individuals, or when other concerning symptoms are present, consulting a healthcare professional is always the right choice.
References and Bibliography
- Mayo Clinic. Green Stool: Causes. https://www.mayoclinic.org/symptoms/green-stool/basics/causes/sym-20050708
- Cleveland Clinic. Green Poop: What It Means and When to See a Doctor. https://health.clevelandclinic.org/green-poop
- Tan CK, Chao CM, Lai CC. Green Feces. QJM: An International Journal of Medicine. 2013;106(3):287. https://academic.oup.com/qjmed/article/106/3/287/1564181?login=false
- Verywell Health. Green Stool: What It Means. https://www.verywellhealth.com/green-stool-meaning-89207
- MedlinePlus (U.S. National Library of Medicine). Stools: Unusual Color. https://medlineplus.gov/ency/article/003139.htm
- La Leche League International. Baby’s Poop: Color and Consistency. https://llli.org/news/babys-poop/
- Centers for Disease Control and Prevention (CDC). Giardia: General Information. https://www.cdc.gov/parasites/giardia/