About this article
Medically reviewed- Written by
- Dr Paul Watson
- Medically reviewed by
- Dr Han Simpson
- Published
- April 16, 2026
- Medical review date
- September 8, 2026
- Evidence searched through
- September 8, 2026
- Next review due
- September 8, 2027
- Intended audience
- General Readers & Patients
- Geographic scope
- Worldwide
- Conflicts of interest
- None declared.
- Funding
- Website Owner
- Report a correction
- Report an error or editorial concern
- Medical disclaimer
- Read the medical disclaimer
Sometimes I have patients that come to me and ask “Why is my poop green and my stomach hurts?”. Noticing that your stool has turned green while you’re also experiencing stomach pain can be alarming. Many patients come to me worried that something serious is going on, especially when both symptoms appear suddenly.
In most cases, green poop combined with stomach pain is linked to diet, digestion speed, or a temporary infection. However, when symptoms persist or worsen, they may indicate an underlying issue that needs medical attention.

A green stool with stomach pain is usually caused by rapid digestion, infections, or certain foods, but persistent symptoms—especially with fever, diarrhea, or dehydration—should be evaluated by a doctor.
As a physician, my goal is to help you understand what your body is telling you, when it’s normal, and when you should take action.
What Does Green Stool Mean?
Stool is normally brown due to bile—a digestive fluid produced by the liver.
When stool turns green, it usually means:
- Food moved too quickly through the intestines
- Bile didn’t have time to break down
- Certain foods or dyes affected stool color
Common Causes of Green Poop and Stomach Pain
📊 Causes Breakdown
| Cause | Why It Happens | Symptoms | Serious? |
|---|---|---|---|
| Diet (leafy greens, food dye) | High chlorophyll or coloring | Mild discomfort | No |
| Fast digestion (diarrhea) | Stool moves too quickly | Loose stool, cramps | Usually no |
| Stomach infection (gastroenteritis) | Bacteria or virus | Pain, diarrhea, nausea | ⚠️ Can be |
| Food intolerance | Poor digestion of certain foods | Bloating, cramps | No |
| Antibiotics | Disrupt gut bacteria | Diarrhea, green stool | Usually mild |
| IBS | Gut sensitivity | Pain, irregular stool | Chronic |
| Gallbladder issues | Bile imbalance | Pain after eating | ⚠️ Needs check |
Why You Have Both Green Poop AND Stomach Pain
When these symptoms occur together, it usually means your digestive system is irritated.
Most Likely Causes:
- Infection (very common)
- Food poisoning
- Digestive upset (IBS or intolerance)
🚨 When It Might Be More Serious
As a doctor, I always look for warning signs.
Red Flags:
- Severe or worsening abdominal pain
- Fever
- Blood in stool
- Persistent diarrhea (more than 3 days)
- Signs of dehydration (see here)
- Weight loss
Patient Anecdote #1
A young patient came in after experiencing green stool and stomach cramps for several days. They were worried about something serious.
After reviewing their history:
- Recent takeaway food
- Mild fever
- Diarrhea
Diagnosis: viral gastroenteritis
Within a week, symptoms resolved completely.
👉 Lesson: Short-term symptoms are often due to infection and resolve on their own.
Patient Anecdote #2
Another patient experienced green stool and intermittent stomach pain for several weeks.
Further investigation revealed:
- Lactose intolerance
- Triggered by diet
After dietary changes, symptoms improved.
👉 Lesson: Persistent symptoms often point to an underlying digestive issue.
How Doctors Diagnose the Cause
1. Medical History
- Diet
- Recent illness
- Travel
- Medication use
2. Physical Examination
3. Tests (if needed)
| Test | Purpose |
|---|---|
| Stool test | Detect infection |
| Blood test | Check inflammation |
| Ultrasound | Assess gallbladder |
| Colonoscopy | If symptoms persist |
Treatment Options
For Mild Cases:
- Hydration
- Bland diet (BRAT: bananas, rice, applesauce, toast)
- Rest
For Infections:
- Fluids
- Electrolytes
- Sometimes medication
For Chronic Causes:
- Dietary changes
- IBS management
- Avoid trigger foods
How Long Does It Last?
| Cause | Duration |
|---|---|
| Diet-related | 1–2 days |
| Infection | 3–7 days |
| IBS | Ongoing |
| Food intolerance | Until trigger removed |
When to See a Doctor
You should seek medical advice if:
- Symptoms last more than a few days
- Pain is severe
- You have a fever
- You see blood in stool
- You feel dehydrated
FAQ Section
Why is my poop green and my stomach hurts?
Most commonly due to fast digestion, infection, or diet.
Is green poop dangerous?
Usually not, but persistent symptoms should be checked.
Can stress cause this?
Yes—stress can speed up digestion and cause discomfort.
Should I worry about green stool?
Only if it lasts more than a few days or comes with other symptoms.
Can food cause green poop?
Yes—especially leafy greens and food coloring.
Final Doctor’s Advice
Green stool with stomach pain is usually temporary and not dangerous.
However:
- Monitor symptoms
- Stay hydrated
- Seek help if symptoms persist
Your body is giving you signals—listen to them.