Our Services
Medical Information
Helpful Resources
Published on: 9/13/2026
Green poop with stomach pain can point to either a stomach bug (viral gastroenteritis) or food poisoning, and the timing of symptoms is often the biggest clue: food poisoning tends to hit within hours of a suspect meal, while a stomach bug usually develops over a day or two and spreads to others around you. The green color typically comes from bile moving through the intestines too quickly during diarrhea, though leafy greens, iron supplements, food dye, and certain infections like salmonella or giardia can also be responsible. Fever, body aches, and vomiting patterns help separate the two causes, but several important factors and warning signs are outlined below. Signs like bloody stool, high fever, severe dehydration, or pain lasting more than a few days need prompt medical attention.
Because these conditions overlap so closely and a few red flags do require urgent care, guessing can delay the right treatment. Take a free, instant, online symptom check to see which causes best match your symptoms and what step makes sense next.
Last reviewed for medical accuracy: 09/12/2026
Seeing green poop and experiencing stomach pain can be unsettling. Both viral stomach bugs (gastroenteritis) and food poisoning can cause these symptoms, but they have different causes, timelines, and treatments. Understanding what might be happening in your body can help you decide whether to treat symptoms at home or seek medical care.
Poop normally ranges from light brown to dark brown, but green poop isn’t necessarily dangerous. Common reasons include:
If green poop appears briefly and you feel fine otherwise, it’s often harmless. When it’s paired with stomach pain, diarrhea, vomiting or fever, it could signal an infection or irritation.
Viral gastroenteritis, commonly called the stomach flu, is caused by viruses such as norovirus or rotavirus.
Food poisoning occurs when you ingest toxins produced by bacteria (Salmonella, E. coli, Listeria), viruses, or parasites in contaminated food or drink.
| Feature | Stomach Bug (Viral) | Food Poisoning (Bacterial/Toxin) |
|---|---|---|
| Onset | 12–48 hours after exposure | 1–6 hours (toxins) to 1–3 days |
| Duration | 1–3 days (up to a week) | Hours to several days |
| Fever | Common (low-grade to moderate) | Sometimes (varies by pathogen) |
| Vomiting | Often | Often (depends on cause) |
| Diarrhea | Watery, may be green | Watery or bloody, may be green |
| Contagiousness | Highly contagious | Varies; some types spread person-to-person |
Most cases of green poop and stomach pain improve with self-care. However, contact a healthcare provider or seek emergency care if you experience:
If you’re unsure how serious your situation is, you might consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. This tool can help you decide if you should monitor your symptoms at home or seek immediate care.
Green poop accompanied by stomach pain often stems from a stomach bug or food poisoning, both of which typically resolve with rest, hydration, and a gentle diet. However, persistent or severe symptoms warrant medical evaluation. Don’t hesitate to speak to a doctor about any life-threatening or serious concerns. Your health is too important to leave to chance.
(References)
* Walters DT, Wendel HF. Abdominal pain. Prim Care. 1986 Mar;13(1):3-19. PMID: 3633593.
* Brostoff J, Craig O, Everest M. Eosinophilic gastro-enteritis. Br J Surg. 1970 Sep;57(9):653-7. doi: 10.1002/bjs.1800570905. PMID: 5471314.
* Lee M, Hodges WG, Huggins TL, Lee EL. Eosinophilic gastroenteritis. South Med J. 1996 Feb;89(2):189-94. doi: 10.1097/00007611-199602000-00006. PMID: 8578348.
* Flasar MH, Goldberg E. Acute abdominal pain. Med Clin North Am. 2006 May;90(3):481-503. doi: 10.1016/j.mcna.2005.11.005. PMID: 16473101.
* Yeh EL, McNamara RM. Abdominal pain. Clin Geriatr Med. 2007 May;23(2):255-70, v. doi: 10.1016/j.cger.2007.01.006. PMID: 17462516.
* Biskup E, Necek M, Changjin Q. Another gastroenteritis? Praxis (Bern 1994). 2016 May 11;105(10):581-6. doi: 10.1024/1661-8157/a002350. PMID: 27167481.
* Seo KI, Kim SE, Park MI, Park SJ, Moon W, Kim JH, Jung K, Park JG. Recurrent Abdominal Pain after Laparoscopic Appendectomy. Korean J Gastroenterol. 2017 Mar 25;69(3):187-190. doi: 10.4166/kjg.2017.69.3.187. PMID: 28329922.
* Zia JK, Lenhart A, Yang PL, Heitkemper MM, Baker J, Keefer L, Saps M, Cuff C, Hungria G, Videlock EJ, Chang L. Risk Factors for Abdominal Pain-Related Disorders of Gut-Brain Interaction in Adults and Children: A Systematic Review. Gastroenterology. 2022 Oct;163(4):995-1023.e3. doi: 10.1053/j.gastro.2022.06.028. Epub 2022 Jun 16. PMID: 35716771; PMCID: PMC9509486.
* Yew KS, George MK, Allred HB. Acute Abdominal Pain in Adults: Evaluation and Diagnosis. Am Fam Physician. 2023 Jun;107(6):585-596. PMID: 37327158.
* Buel KL, Wilcox J, Mingo PT. Acute Abdominal Pain in Children: Evaluation and Management. Am Fam Physician. 2024 Dec;110(6):621-631. PMID: 39700366.
We would love to help them too.
For First Time Users
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.
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.