Doctors Note Logo

Published on: 1/13/2026

Why is my poop green?

Green stool is usually harmless and most often comes from bile moving through the gut too quickly, green foods or dyes, or medications and supplements; sometimes infections or IBS play a role. There are several factors to consider, so see below to understand more. Watch for red flags like fever, severe pain, dehydration, blood or black stools, weight loss, jaundice, or symptoms lasting beyond 48 to 72 hours, and seek care if they occur or if the color persists despite diet changes. For complete details and next steps such as diet adjustments, hydration, probiotics, and when to call a doctor, see below.

answer background

Explanation

Why Is My Poop Green?

Seeing green poop can be surprising, but in most cases it isn’t a sign of anything serious. Stool color is influenced by what you eat, how fast food moves through your gut, bile pigments and even certain medications. This guide explains common reasons for green stool, when to worry and what steps you can take next.

Common Causes of Green Stool

1. Rapid Gut Transit

  • Diarrhea or loose stools: When food moves too quickly through the intestine, bile doesn’t have time to break down completely. Bile starts out green; as it travels and is chemically altered, it usually turns brown.
  • Irritable bowel syndrome (IBS): Some people with IBS experience alternating diarrhea and constipation. When diarrhea predominates, stool can remain green.
  • Reference: Foxx-Orenstein & McFarland (2010) note that acute diarrhea accelerates transit time, leading to less bile breakdown and green stool.

2. Diet and Food Colorings

  • Leafy greens: Spinach, kale, broccoli and other green vegetables contain chlorophyll, which can tint stool.
  • Food dyes: Candies, ice pops, sports drinks and artificially colored cereals often contain blue or green dyes that show up in your poop.
  • Green juices or shakes: Heavy use of green superfood powders or matcha can contribute.

3. Medications and Supplements

  • Iron supplements: Can sometimes darken stool or give it a greenish hue, especially when combined with other ingredients.
  • Antibiotics: By altering the balance of gut bacteria, antibiotics may speed transit or change how bile is processed.
  • Bismuth subsalicylate (e.g., Pepto-Bismol): Rarely, can turn stool green or even black.

4. Bile and Biliary System Factors

  • Bile overproduction: Conditions that increase bile flow can lead to a temporary green tint.
  • Gallbladder removal (cholecystectomy): After gallbladder surgery, bile flows directly from the liver to the intestine, which may alter stool color until your system adapts.
  • Liver or biliary disease: Less commonly, diseases such as cirrhosis or cholestasis affect bile production or flow.
    • Transient elastography (FibroScan) studies (Foucher et al., 2006) and non-invasive liver markers (Cholongitas et al., 2005) focus on assessing liver stiffness and function but don’t directly link to stool color. However, if bile drainage is impaired, you’re more likely to see pale or clay-colored stools rather than green.

5. Infections and Inflammation

  • Bacterial infections: Salmonella, Shigella, or Campylobacter may cause diarrhea that leads to green stool.
  • Protozoal infections: Giardia lamblia often causes foul-smelling, greenish, fatty diarrhea.
  • Inflammatory bowel disease (IBD): Ulcerative colitis or Crohn’s disease can speed transit through some segments of the gut.

When to Take Note: Warning Signs

Most episodes of green poop are harmless and short-lived. However, you should seek medical advice if you also experience any of the following:

  • Fever over 100.4°F (38°C)
  • Severe abdominal pain or cramping
  • Signs of dehydration (dry mouth, sunken eyes, reduced urination)
  • Blood or black tarry material in stool
  • Unexplained weight loss
  • Jaundice (yellowing of skin or eyes)
  • Symptoms lasting more than 48–72 hours without improvement

If you’re unsure whether your symptoms are serious, you might consider doing a free, online symptom check for .

Home Management Tips

  1. Review your diet
    • Cut back on green-colored foods or beverages for a few days.
    • Note any new supplements or medications.

  2. Hydrate
    • Replace fluids and electrolytes, especially if you have diarrhea.
    • Oral rehydration solutions (ORS) can help maintain balance.

  3. Probiotics
    • Yogurt with live cultures or over-the-counter probiotics may restore normal gut flora.
    • Talk to your pharmacist or doctor before starting.

  4. Track symptoms
    • Keep a simple log: what you ate, stool color and consistency, any medications.
    • Patterns may help you and your doctor pinpoint triggers.

When to Speak to a Doctor

  • If green stool persists beyond a few days despite dietary adjustments.
  • If warning signs (listed above) are present.
  • If you have known liver, gallbladder or intestinal conditions.

A healthcare professional can:

  • Perform a physical exam and order blood tests or imaging.
  • Recommend stool tests for infection or inflammation.
  • Evaluate liver function and bile flow if biliary disease is suspected.

Key Takeaways

  • Green stool is most often due to rapid transit, diet or harmless food dyes.
  • Medications, supplements and certain infections can also play a role.
  • Persistent green poop with red-flag symptoms warrants medical evaluation.
  • Simple home measures—diet changes, hydration, probiotics—usually resolve the issue.
  • For peace of mind, try a free, online symptom check for .

Always remember: if you experience severe pain, bleeding, jaundice or signs of dehydration, speak to a doctor right away. Serious conditions require prompt medical attention.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Learn more about symptoms

Bloated stomach

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.