Green Stool (Green Poop): Why It Happens and When to Get Tested

The essentials
Green stool is usually harmless: leafy greens, food coloring, iron, or food moving too fast for bile to turn brown. It matters when it comes with lasting diarrhea, fever, blood, dehydration or recent antibiotics. Then stool tests such as C. difficile, Giardia or fecal calprotectin usually find the reason.
When is green poop an emergency?
When to see a doctor
- Emergency: call 911 for green diarrhea with fainting, confusion or almost no urine, heavy bleeding or black stools, or severe pain with high fever and a racing heart (possible sepsis)[5][7].
- Within 24 to 48 hours for fever above 101°F, blood or pus in the stool, pain that persists after a bowel movement or diarrhea after travel abroad[5], or 5 or more watery stools a day for over 1 to 2 days after antibiotics[6].
- At your next appointment if diarrhea has not improved after 5 days (2 days for a child)[5], or if loose green stools keep returning, for example since gallbladder surgery[9].
Why is my poop green? The harmless causes first
Bile leaves the liver yellow-green. On a normal trip through the gut, bacteria turn it brown. Extra green pigment or a shorter trip leaves stool green[1][2]. Our stool color chart covers the other shades.
- Common Leafy greens. Spinach, kale, broccoli and matcha tint stool through chlorophyll[2].
- Common Food coloring and blue foods. Green, blue or purple dyes and blueberries can turn stool green for a day or two[2].
- Common Fast transit. With diarrhea, bile has no time to change color[1][3].
- Common Iron and bismuth. Iron supplements can darken stool with a green hue, and bismuth subsalicylate (Pepto-Bismol) can make it dark green or black[1][2]. If your stool is truly black and tarry, read our guide to black stool causes.
- Common Babies. Green stools in infants are usually bile and are normal, a little more often with formula than with breast milk[3].
What medical problems cause green diarrhea?
- Common Stomach bugs. Norovirus and bacteria such as Salmonella or E. coli can cause green diarrhea[2]. See gastroenteritis symptoms and care and watch for signs of dehydration.
- Possible Antibiotics and C. difficile. Antibiotics upset the gut's bacteria[2]. Clostridioides difficile can then overgrow and release a toxin: watery diarrhea 5 to 10 times a day, cramps, fever. Any antibiotic can trigger it, most often clindamycin, ampicillin, fluoroquinolones or cephalosporins; older age and hospital stays add risk[6].
- Possible Bile acid diarrhea. Bile acids that escape reabsorption reach the colon and cause urgent, watery stools. Up to 30% of people labeled with diarrhea-predominant IBS have it, and chronic diarrhea follows gallbladder removal in up to 10% of patients[9].
- Possible Irritable bowel syndrome. IBS with diarrhea is diagnosed once other causes are ruled out[8].
- Rare Inflammatory bowel disease (Crohn's disease or ulcerative colitis) and celiac disease are among the causes doctors rule out when diarrhea lasts 4 weeks or more[8].
Which tests will the doctor order for green stool?
Green stool alone needs no test. Tests are for diarrhea with fever, blood or mucus, severe cramps or sepsis, after antibiotics or a hospital stay[7], or lasting 4 weeks or more[8].
| Test | What it answers | Learn more |
|---|---|---|
| C. difficile toxin immunoassay or PCR | Is diarrhea after antibiotics caused by C. difficile? | C. difficile toxin test |
| Stool culture or gastrointestinal PCR panel | Which bacteria or virus is behind an acute infection? | Stool culture, stool PCR panels |
| Giardia antigen or PCR | Is a parasite causing chronic diarrhea? | Ova and parasites exam |
| Fecal calprotectin or lactoferrin | Is the bowel lining inflamed (IBD) or not (IBS)? | Fecal calprotectin, fecal lactoferrin |
| tTG-IgA with total IgA | Could this be celiac disease? | Blood test |
| Bile acid test (SeHCAT scan, blood C4) or a trial of a bile acid binder | Are bile acids driving the diarrhea? | Specialist test |
Have stool test results after weeks of green diarrhea? BloodSense explains each line of your report in plain language and helps you prepare questions for your doctor.
Get my results explainedHow do I read the results?
| Test | Result | Reference range | Flag |
|---|---|---|---|
| Stool color | Green | Brown | |
| C. difficile toxin B gene (PCR) | Not detected | Not detected | |
| Giardia antigen | Negative | Negative | |
| Fecal calprotectin | 112 µg/g | < 50 µg/g | H |
- Color has no number; on its own, green explains little.
- "Not detected" and "Negative": that germ or toxin was not found in this sample.
- H means above the lab's range. From 50 to 249 µg/g, calprotectin is in a gray zone[9].
C. difficile: one sample is enough
Testing is considered from age 2 with diarrhea after antibiotics or a hospital stay; one sample is enough, as repeats do not find more cases[7]. The lab looks for the toxin or its gene[6].
Giardia and other parasites: the targeted test first
For chronic diarrhea, US gastroenterologists strongly recommend a Giardia antigen or PCR test, not a routine ova and parasites exam unless you traveled to a high-risk area[8]. After travel, parasites are sought when diarrhea lasts 14 days or more[7].
Fecal calprotectin: inflammation or not
Calprotectin or lactoferrin is preferred over CRP or ESR to screen for IBD[8]. A value under 50 µg/g makes IBD unlikely, and above 250 µg/g suggests active inflammation, but the cut-off depends on the assay[9].
Bile acid tests: often a treatment trial
A SeHCAT scan keeping under 15% of its tracer at 7 days, or a raised fasting C4 blood level, points to bile acid loss[9]. US guidance accepts a lab test or a trial of a bile acid binder[8].
What should I note before the appointment?
- When it started and what you ate in the 2 days before
- Iron, bismuth or new supplements, and any antibiotic in the past weeks
- Number of stools a day, their consistency on the Bristol chart, any mucus in the stool or blood
- Fever, cramps, weight loss, urine amount
- Travel, a recent hospital stay, sick contacts, past gallbladder surgery
Frequently asked questions
Does green poop mean liver problems?
Usually not. Liver and bile duct problems tend to make stool pale, not green[1].
Can green poop be a sign of cancer?
Green color is not one of the warning signs doctors use. Those are visible blood, weight loss, anemia, and a family history of colon cancer or IBD[8].
My baby's poop is dark green. Should I worry?
Usually not: green is normal in babies, mostly from bile[3]. White or very pale stool is the color to report to a doctor as soon as possible[4].
Related tests and guides
- Stool color: what your results meanThe full chart, from pale to red.
- Yellow stool causes and testsWhen yellow, greasy stool points to fat malabsorption.
- Black stool causes and testsWhen dark stool can mean bleeding.
- C. difficile toxin testHow to read a positive or negative result.
- Fecal calprotectinThe stool marker that separates IBD from IBS.
References
- Harvard Health Publishing. Green poop: what stool color can indicate about health. Harvard Medical School; 2024. health.harvard.edu (accessed October 26, 2026)
- Northwestern Medicine. Green poop: what's going on? nm.org (accessed October 26, 2026)
- Children's Hospital Colorado. Unusual stool color. childrenscolorado.org (accessed October 26, 2026)
- HealthyChildren.org (American Academy of Pediatrics). The many colors of baby poop. healthychildren.org (accessed October 26, 2026)
- MedlinePlus Medical Encyclopedia. Diarrhea. medlineplus.gov (accessed October 26, 2026)
- MedlinePlus Medical Encyclopedia. Pseudomembranous colitis. medlineplus.gov (accessed October 26, 2026)
- Shane AL, Mody RK, Crump JA, et al. 2017 Infectious Diseases Society of America clinical practice guidelines for the diagnosis and management of infectious diarrhea. Clin Infect Dis. 2017;65(12):e45-e80. doi:10.1093/cid/cix669 (accessed October 26, 2026)
- Smalley W, Falck-Ytter C, Carrasco-Labra A, Wani S, Lytvyn L, Falck-Ytter Y. AGA clinical practice guidelines on the laboratory evaluation of functional diarrhea and diarrhea-predominant irritable bowel syndrome in adults (IBS-D). Gastroenterology. 2019;157(3):851-854. doi:10.1053/j.gastro.2019.07.004 (accessed October 26, 2026)
- Arasaradnam RP, Brown S, Forbes A, et al. Guidelines for the investigation of chronic diarrhoea in adults: British Society of Gastroenterology, 3rd edition. Gut. 2018;67(8):1380-1399. doi:10.1136/gutjnl-2017-315909 (accessed October 26, 2026)
This article is general health information. It does not replace a medical examination, diagnosis or treatment. With blood, high fever, severe pain or dehydration, seek care without waiting.



