Why Is My Poop Neon Green? Causes and When to Worry

Neon green stool almost always traces back to bile pigment that passed through your intestines without being fully broken down by gut bacteria. The most common triggers are dietary, from spinach smoothies to foods loaded with green dye, but antibiotics, infections, and digestive conditions can produce the same eye-catching result. Most of the time it is harmless, though a few patterns do deserve medical attention.

Why Stool Is Normally Brown

Your liver continuously produces bile, a yellow-green fluid that helps digest fats. Bile gets its color from bilirubin, a pigment created when your body recycles old red blood cells. As bile travels through the small and large intestines, bacteria chemically transform bilirubin into a compound called stercobilin, an orange-brown pigment responsible for the familiar color of healthy stool.1ResearchGate. The formation in vitro of stercobilin from bilirubin When anything disrupts that transformation, whether food is moving too fast, the right bacteria are missing, or an overwhelming amount of green pigment arrived from food, stool keeps its earlier green hue instead of shifting to brown.

The Gut Bacteria That Do the Work

For decades, researchers knew gut microbes were responsible for converting bile pigments, but the specific enzyme wasn’t identified until 2023. A study published in Nature Microbiology pinpointed an enzyme called BilR as the microbial workhorse that reduces bilirubin to urobilinogen, the intermediate step before stercobilin forms.2PubMed Central. BilR is a gut microbial enzyme that reduces bilirubin to urobilinogen Urobilinogen is then further oxidized into stercobilin in the colon, completing the color change.

BilR is mainly produced by Firmicutes species, including common gut inhabitants like Roseburia intestinalis, Roseburia inulinivorans, and Faecalibacterium prausnitzii.2PubMed Central. BilR is a gut microbial enzyme that reduces bilirubin to urobilinogen When populations of these bacteria drop, less BilR is available to process bilirubin, and stool can come out green. This discovery matters well beyond stool color. Researchers are now exploring connections between low BilR-producing bacteria and conditions like inflammatory bowel disease and neonatal jaundice, where bilirubin metabolism plays a central role.

When Food Is the Culprit

The most common and least worrying cause of neon green poop is simply something you ate. Large portions of spinach, kale, or arugula deliver enough chlorophyll to overwhelm the normal browning process. Matcha, wheatgrass shots, and blended green smoothies can have the same effect. Brightly colored candy, frosting, sports drinks, and ice cream are frequent offenders too, especially around holidays when food manufacturers go heavy on green dye. Blue dye mixed with yellow foods can also produce a vivid green that looks alarming in the toilet.

Iron supplements are another common dietary cause. Unabsorbed iron reacts with compounds in the gut and can turn stool dark green or nearly black. This is harmless but catches people off guard if they just started taking iron. If your diet is the cause, the color shift is temporary, usually clearing within a day or two after you stop eating the food in question. No treatment is needed.

Antibiotics and Other Medications

Antibiotics are one of the more common medication-related causes of green stool. They kill bacteria, but they don’t discriminate well between harmful and helpful species. When antibiotic therapy reduces populations of Firmicutes and other BilR-producing bacteria in your gut, bilirubin doesn’t get fully converted, and stool stays green.2PubMed Central. BilR is a gut microbial enzyme that reduces bilirubin to urobilinogen The effect often starts within a few days of beginning the antibiotic and can persist for a week or more after finishing the course, since gut bacterial populations take time to recover.

Beyond antibiotics, a few other medications can cause green stool. Indomethacin and some other anti-inflammatory drugs can irritate the gut lining and speed transit. Iron-containing multivitamins produce the same dark-green effect as standalone iron supplements. If the timing of a color change lines up with starting a new medication, that connection is worth mentioning to your prescriber, even if you don’t need to stop the drug.

Rapid Transit Through the Intestines

Speed matters. Even when your gut bacteria are perfectly healthy, if food moves through your intestines significantly faster than normal, there isn’t enough time for bacteria to finish converting bilirubin to stercobilin. The result is stool that retains a green or yellow-green tint.

Anything that causes diarrhea can trigger this. Stress, food intolerances, too much coffee, a stomach bug, or a large fatty meal can all accelerate intestinal transit. In these cases, the green color is a side effect of the diarrhea itself rather than a separate problem. Once transit normalizes, the brown color returns. This is also why green stool is so common in infants and toddlers. Breast milk moves through a baby’s digestive tract quickly, and infant gut microbiomes are still developing their full complement of bile-processing bacteria. Pediatricians generally consider green baby poop normal unless it’s accompanied by other symptoms like lethargy or refusal to feed.

Gastrointestinal Infections

Certain infections produce green, watery stool along with symptoms that signal something more serious than a dietary quirk. Salmonella infections, often picked up from contaminated poultry, eggs, or produce, can cause bright green diarrhea alongside fever, cramps, and nausea. The infection triggers rapid intestinal transit and inflammation that prevents normal bile processing.

Giardia lamblia, a parasitic infection typically acquired through contaminated water, is another well-known cause. It produces fatty, foul-smelling, often greenish stool because the parasite interferes with fat absorption in the small intestine. Both Giardia and Salmonella remain significant public health problems, particularly in areas with limited sanitation and safe water supplies, and they can sometimes occur together in the same patient.3PubMed Central. Severe Gastroenteritis From Giardia lamblia and Salmonella Saintpaul Co-Infection Causing Acute Renal Failure

Clostridioides difficile (C. diff), which often takes hold after antibiotic use wipes out competing gut bacteria, can also produce green or yellow-green diarrhea. C. diff is more dangerous than most GI infections and requires specific antibiotic treatment, so persistent diarrhea during or after antibiotic use warrants a doctor visit. Viral gastroenteritis, the common stomach flu, can briefly turn stool green simply because diarrhea moves everything through too fast for bacterial processing. This usually resolves on its own within a few days.

Gallbladder Removal and Bile Acid Problems

Your gallbladder stores and concentrates bile between meals, releasing it in controlled bursts when you eat fat. After gallbladder removal, bile flows continuously from the liver into the small intestine. The colon then receives more bile acids than it can efficiently reabsorb, which stimulates water and electrolyte secretion and can cause diarrhea.4PubMed Central. Diagnosis and treatment of post-cholecystectomy diarrhoea That excess bile can give stool a greenish tint, particularly in the weeks and months after surgery when the body is still adapting. For most people, this improves over time, but a subset experiences persistent bile acid diarrhea that benefits from treatment with bile acid sequestrant medications.

Even without gallbladder surgery, some people have bile acid malabsorption due to problems with the ileal bile salt transporter, the protein in the small intestine responsible for recapturing bile acids so they can be recycled. Mutations in this transporter cause bile acids to leak into the colon instead of being reabsorbed, leading to chronic diarrhea and malabsorption.5PubMed Central. Point mutations in the ileal bile salt transporter cause leaks in the enterohepatic circulation leading to severe chronic diarrhea and malabsorption Bile acid malabsorption is thought to be underdiagnosed because its symptoms overlap with irritable bowel syndrome, and testing for it isn’t always routine. If you have chronic, unexplained watery diarrhea that’s sometimes green or yellow, it’s worth asking your doctor about bile acid testing.

When to See a Doctor

A single episode of green stool with an obvious dietary explanation rarely needs medical attention. But certain patterns are worth flagging:

  • Green diarrhea lasting more than two days: Especially if accompanied by fever, severe cramps, or blood, this can indicate an infection that needs treatment.
  • Persistent green stool with weight loss: This combination can point to malabsorption issues, including celiac disease, Crohn’s disease, or bile acid malabsorption.
  • Stool that’s green, oily, and floating: Fatty-looking stool suggests your body isn’t absorbing fats properly, which can result from pancreatic insufficiency, celiac disease, or parasitic infections like Giardia.
  • Green stool after recent antibiotic use with worsening diarrhea: This pattern raises concern for C. diff infection and deserves prompt evaluation.

One reassuring point: green stool on its own, without other symptoms, is almost never a sign of cancer or another life-threatening condition. The internet can make it easy to catastrophize about stool color changes, but the vast majority resolve with time or a simple dietary adjustment.

What Other Stool Colors Mean

Since you’re already examining the bowl, it’s worth knowing what other colors can suggest. Yellow, greasy stool often indicates fat malabsorption, which shares some causes with green stool, including bile acid problems, celiac disease, and pancreatic insufficiency. Pale or clay-colored stool suggests a blockage in the bile duct, since bile is what gives stool its color in the first place. That finding is more urgent and warrants prompt medical evaluation.

Black, tarry stool can result from iron supplements or bismuth subsalicylate (the active ingredient in Pepto-Bismol), but it can also indicate bleeding in the upper GI tract. Bright red stool usually points to bleeding lower in the digestive system, such as hemorrhoids or, less commonly, colorectal lesions. Both black and red stool that can’t be explained by food or supplements deserve a doctor visit.

The reason stool color is a useful diagnostic clue at all comes back to the bilirubin pathway described earlier. Since bile must travel the full length of the intestines and undergo bacterial transformation to produce normal brown stool, any disruption along that path leaves a color signature.1ResearchGate. The formation in vitro of stercobilin from bilirubin Green means the transformation was interrupted early. Yellow means fats weren’t absorbed. White means bile never arrived. Each color tells a different part of the digestive story.

How Long Green Stool Typically Lasts

For diet-related causes, green stool usually resolves within one to three bowel movements after you stop eating the offending food. For antibiotic-associated changes, expect green stool to persist for the duration of the course and potentially a week beyond it, as bacterial populations rebuild. The gut microbiome can take several weeks to fully recover from a broad-spectrum antibiotic course, though stool color often normalizes before the microbiome is fully restored, because you don’t need a complete ecosystem to process enough bilirubin for brown stool.2PubMed Central. BilR is a gut microbial enzyme that reduces bilirubin to urobilinogen

For infection-related green stool, the timeline depends on the pathogen. Viral gastroenteritis typically runs its course in two to five days. Bacterial infections like Salmonella may take a week or longer to clear, and Giardia can persist for weeks without treatment. If green diarrhea continues beyond a week, stool testing can help identify or rule out an infectious cause. Post-cholecystectomy green stool is the most variable. Some people notice it only in the first few weeks after surgery; others deal with intermittent green, loose stools for months. Reducing large fatty meals and, when needed, using bile acid sequestrants tend to be the most effective management strategies.4PubMed Central. Diagnosis and treatment of post-cholecystectomy diarrhoea