sofidexFor patientsAre you a clinician? Clinical site

Health Library  ›  Questions  ›  What causes diarrhea?

Question · Diarrhea

What causes diarrhea?

Diarrhea is commonly caused by a short-lived infection, contaminated food or water, medicines, or food intolerance. If it keeps returning or lasts for weeks, a longer-term bowel condition may be responsible.

QuestionReviewed 2026-11-19sofidex editorial standards

Common cause
A stomach bug or food poisoning
Possible triggers
Medicines, alcohol, caffeine, fatty foods, or artificial sweeteners
Food intolerance
Lactose intolerance can cause diarrhea after dairy products
Long-lasting diarrhea
Four weeks or longer is called chronic diarrhea

Common infections

Viral gastroenteritis, often called a stomach bug, is a common cause. Food poisoning can result from contaminated food or water. Infections may spread through unwashed hands, shared surfaces, or close contact.

Medicines, foods, and drinks

Antibiotics, laxatives, magnesium-containing products, and some diabetes medicines can cause diarrhea. Do not stop a prescribed medicine without speaking with a healthcare professional.

Large amounts of alcohol, caffeine, artificial sweeteners, or fatty food may loosen stools. Lactose intolerance can cause diarrhea, gas, and bloating after dairy products.

Longer-term causes

Diarrhea that returns or lasts for weeks may be caused by irritable bowel syndrome, coeliac disease, inflammatory bowel disease, poor nutrient absorption, or problems involving the pancreas or bile acids. Stress can also speed bowel movement and worsen irritable bowel syndrome, but new or persistent diarrhea should not automatically be blamed on stress.

Symptoms alone cannot identify the cause. A healthcare professional may consider recent food, travel, untreated water, illness in close contacts, and new medicines or antibiotics.

When to get help. Seek same-day medical care for blood or black, tar-like stool; severe, worsening, or constant belly pain; high fever; frequent vomiting that prevents drinking; signs of dehydration; rapidly worsening illness; or frequent diarrhea during or soon after antibiotics. Call emergency services for fainting, confusion, difficulty waking, severe weakness, or little or no urine.

Sources

  1. 1National Institute of Diabetes and Digestive and Kidney Diseases: Symptoms and Causes of Diarrhea
  2. 2National Institute of Diabetes and Digestive and Kidney Diseases: Diagnosis of Diarrhea
  3. 3National Institute of Diabetes and Digestive and Kidney Diseases: Treatment of Diarrhea
  4. 4Centers for Disease Control and Prevention, Yellow Book: Travelers’ Diarrhea
  5. 5Shane AL, et al. IDSA Clinical Practice Guidelines for the Diagnosis and Management of Infectious Diarrhea. Clinical Infectious Diseases. 2017;65(12):e45–e80

Health information, not medical advice. Nothing here replaces talking to your own doctor about your own situation.