Doctors Note Logo

Published on: 8/20/2026

What could be causing a stomach ache and diarrhea?

Stomach ache with diarrhea is most commonly caused by viral gastroenteritis (a "stomach bug"), but it can also result from food poisoning, food intolerances, irritable bowel syndrome (IBS), inflammatory bowel disease, or bacterial and parasitic infections. Symptoms often include cramping, nausea, bloating, and frequent loose stools. Most mild cases resolve within a few days with rest and hydration, but persistent, severe, or bloody symptoms may signal a condition that needs medical attention.

Because the causes vary widely—and treatment depends on the underlying issue—guessing can delay relief or overlook something serious. A free, instant, online symptom check can help you quickly narrow down likely causes based on your specific symptoms and guide your next steps, whether that's home care or seeing a doctor. It takes just a few minutes and could save you hours of worry.

Reviewed for medical accuracy: 07/15/2026

answer background

Quick answers

Frequently Asked Questions

4 answers

The most common questions people search after this page

Concerned about your symptoms?

Explanation

When you have a stomach ache and diarrhea, it is likely caused by an infection or inflammation somewhere in the digestive tract. One common reason is gastroenteritis, which occurs when a virus, bacteria, or sometimes a parasite infects the stomach and intestines. Viruses like norovirus are often responsible and spread very easily, especially in crowded places. Bacteria such as Salmonella or E. coli can also lead to food poisoning when they contaminate food or water, causing inflammation and pain in your stomach along with vomiting and/or diarrhea. Less common causes of abdominal pain and diarrhea include irritable bowel syndrome (IBS), inflammatory bowel disease (IBD), or celiac disease. These conditions are typically chronic and may require medical diagnosis and specific treatment plans. Certain medications, stress, or anxiety can also trigger stomach pain and diarrhea in some people. If your symptoms are severe, if you see blood in your stool, or if you can't keep fluids down, you can use Ubie's free AI symptom checker to help identify possible causes and determine whether you should seek immediate medical care.

(References)

  • Gore JI, Surawicz C. Severe acute diarrhea. Gastroenterol Clin North Am. 2003 Dec;32(4):1249-67. doi: 10.1016/s0889-8553(03)00100-6. PMID: 14696306; PMCID: PMC7127018.

  • Graves NS. Acute gastroenteritis. Prim Care. 2013 Sep;40(3):727-41. doi: 10.1016/j.pop.2013.05.006. Epub 2013 Jul 19. PMID: 23958366; PMCID: PMC7119329.

  • Akhondi H, Goldin J, Simonsen KA. Bacterial Diarrhea. [Updated 2025 Jan 21]. In: StatPearls [Internet].

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.

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.