US Trends

why is my poop green and my stomach hurts

Green poop with stomach pain is often caused by something temporary like a stomach bug, food poisoning, rapid digestion/diarrhea, certain foods or food coloring, or medications and supplements such as iron. It can also happen with intestinal infections or, less commonly, gallbladder or liver-related problems.

Common causes

  • Food or dyes: leafy greens, blue/green food coloring, or iron can turn stool green.
  • Fast transit/diarrhea: stool moves too quickly for bile to fully break down, which can leave it green and also cause cramps.
  • Infection: viral, bacterial, or parasitic infections can cause green stool plus stomach pain, diarrhea, nausea, or vomiting.
  • Gut conditions: IBS, celiac disease, Crohn’s disease, or bile acid diarrhea can also be involved.
  • Less common biliary issues: gallbladder or liver problems may cause pain, especially upper-right abdominal pain, and changes in stool color.

When to get urgent care

Seek medical help soon if you have:

  • Severe or worsening abdominal pain.
  • Fever, repeated vomiting, or signs of dehydration.
  • Blood in stool, black stool, or pale/clay-colored stool.
  • Yellowing of the skin or eyes.
  • Symptoms lasting more than a few days, unexplained weight loss, or significant weakness.

What you can do now

  • Drink fluids to avoid dehydration.
  • Stick to bland foods for a short time if you have diarrhea.
  • Think about any recent changes in diet, supplements, or medicines.
  • Monitor whether the pain is mild and improving or getting worse.

If the pain is strong, localized, or not improving, it’s worth getting checked by a clinician rather than waiting it out.