Diarrhea is your body pushing material through the intestines faster than normal — and it happens for a wide range of reasons. The most common causes are viral infections, bacterial infections from contaminated food or water, food intolerances, certain medications, and underlying digestive conditions. Most episodes clear up on their own within a few days. Some causes are serious and need medical attention.
Understanding which category you are dealing with helps you respond appropriately. This article covers the main causes, how they differ, and when to seek care.
What Can Cause Diarrhea Infections Foods And More?
Diarrhea is not a disease itself. It is a symptom — the result of something disrupting the normal process of fluid absorption in your intestines.
Under normal conditions, your small intestine and colon absorb most of the fluid that passes through them. When the lining is irritated or damaged, or when material moves through too quickly, that absorption drops. The result is loose or watery stools.
The causes fall into several broad groups:
- Infections — viral, bacterial, or parasitic
- Food-related causes — contamination, intolerance, or sensitivity
- Medications — antibiotics, certain heartburn drugs, some cancer treatments
- Digestive conditions — irritable bowel syndrome, inflammatory bowel disease, celiac disease
- Other factors — stress, hormonal changes, surgery, radiation therapy
Most acute diarrhea — the kind that comes on suddenly and lasts a short time — is infectious. Chronic diarrhea, lasting four weeks or more, usually points to a non-infectious cause.
Which Infections Cause Diarrhea?
Viral infections are the leading cause of acute diarrhea in the United States. Norovirus is the most common. It spreads easily through food, water, and surfaces, and it can sweep through households, schools, and workplaces quickly.
Rotavirus was once a major cause of severe diarrhea in young children. Vaccination has reduced its impact substantially in countries where the vaccine is routinely used.
Other viral culprits include adenovirus, astrovirus, and sapovirus. These typically produce milder illness than norovirus or rotavirus.
Bacterial infections tend to cause more severe symptoms. Common sources include:
- Salmonella — undercooked poultry, eggs, raw sprouts
- Campylobacter — raw or undercooked poultry, unpasteurized milk
- E. coli (certain strains) — undercooked ground beef, contaminated produce, unpasteurized juice
- Shigella — contaminated food or water, person-to-person contact
- Listeria — deli meats, unpasteurized dairy, smoked fish
- Vibrio — raw or undercooked shellfish
Parasitic infections are less common in the U.S. but do occur. Giardia and Cryptosporidium are the most frequently identified. Both can spread through contaminated water, including recreational water like pools and lakes.
One point worth clarifying: bloody diarrhea is a different situation from watery diarrhea. Blood in the stool suggests invasive bacteria or inflammation and warrants medical evaluation rather than home management.
How Do Food and Water Cause Diarrhea?
Contaminated food and water are major vehicles for infectious diarrhea. The pathogens listed above do not always change how food looks, smells, or tastes. You cannot reliably detect contamination by appearance alone.
Food can become contaminated at any point — during growing, harvesting, processing, shipping, storage, or preparation. Cross-contamination in the kitchen is common. Raw meat juices touching produce or surfaces that later contact ready-to-eat food is a frequent pathway.
Waterborne transmission is also significant. Untreated surface water, wells affected by flooding, and recreational water can carry bacteria, viruses, and parasites. International travelers to regions with limited water treatment infrastructure face higher risk.
Food can also cause diarrhea without any infection at all. This includes:
- Food intolerance — lactose intolerance is the most common example. The body lacks enough lactase enzyme to break down milk sugar.
- Food sensitivity — some people react to specific additives, preservatives, or naturally occurring compounds.
- Food allergy — a true immune response. Diarrhea can be one symptom, but allergic reactions usually involve other signs like hives, swelling, or breathing difficulty.
- Extreme spiciness or high-fat meals — these can speed up digestion in sensitive individuals.
Artificial sweeteners — particularly sorbitol, mannitol, and xylitol — can cause diarrhea when consumed in large amounts. This is a well-documented effect, not an allergy.
What Medications and Medical Conditions Cause Diarrhea?
Medication-related diarrhea is more common than many people realize. Antibiotics are a leading example. They disrupt the normal balance of bacteria in the gut, which can allow harmful organisms to overgrow or simply reduce the gut’s ability to absorb fluid properly.
Other medications associated with diarrhea include:
- Proton pump inhibitors (used for acid reflux)
- Metformin (used for type 2 diabetes)
- SSRIs and other antidepressants
- Chemotherapy agents
- NSAIDs like ibuprofen and naproxen
- Certain blood pressure medications
If you suspect a medication is causing diarrhea, do not stop taking it without talking to your prescriber. Some medications are dangerous to stop abruptly.
Chronic digestive conditions also cause diarrhea as a primary or recurring symptom:
- Irritable bowel syndrome (IBS) — diarrhea-predominant IBS affects bowel habits without causing visible damage to the intestine
- Inflammatory bowel disease (IBD) — Crohn’s disease and ulcerative colitis involve inflammation that damages the intestinal lining
- Celiac disease — an immune reaction to gluten that damages the small intestine
- Malabsorption disorders — conditions that prevent proper nutrient absorption
- Bile acid malabsorption — when bile acids reach the colon in excess and trigger watery stools
Hormonal conditions can play a role too. Hyperthyroidism speeds up digestion and can cause frequent loose stools. Diabetes can cause diarrhea through nerve damage affecting the gut.
When Should You See a Doctor for Diarrhea?
Most acute diarrhea resolves without medical treatment. Adults typically recover within one to three days for viral causes, though bacterial infections may last longer.
Seek medical care if you experience any of the following:
- Blood or mucus in your stool
- Severe abdominal or rectal pain
- Signs of dehydration — dark urine, very little urine, dry mouth, dizziness on standing
- Fever above 102°F (39°C)
- Diarrhea lasting more than two days without improvement
- Diarrhea lasting more than 24 hours in a child
- Vomiting that prevents you from keeping fluids down
- Recent antibiotic use or hospitalization
- Recent travel to a region with limited water treatment
Dehydration is the most immediate concern, especially for young children, older adults, and anyone with a weakened immune system. These groups can become dehydrated faster and may need medical attention sooner.
Chronic diarrhea — lasting four weeks or more — always warrants evaluation. It can signal an underlying condition that needs diagnosis and treatment.
What Helps With Diarrhea and What Does Not?
Fluid replacement is the foundation of managing diarrhea. Water alone may not be enough because diarrhea causes loss of electrolytes — sodium, potassium, chloride, and bicarbonate. Oral rehydration solutions are formulated to replace both fluid and electrolytes. These are available over the counter and are the standard approach recommended by major health organizations worldwide.
For adults, over-the-counter loperamide can slow bowel movements and reduce frequency. It should not be used if there is blood in the stool or a fever, because slowing the gut in those situations can make things worse. Bismuth subsalicylate is another option some people use, though evidence for its effectiveness varies by cause.
What does not help:
- Stopping eating entirely — unless you are vomiting, there is generally no need to fast. Bland, easy-to-digest foods are fine.
- Drinking only sports drinks — these are designed for sweat replacement, not diarrhea. Their electrolyte balance is different from what diarrhea causes you to lose.
- Taking antibiotics without guidance — most diarrhea is viral. Antibiotics do nothing for viruses and can cause their own diarrhea.
- Probiotics as a guaranteed fix — the evidence on probiotics for diarrhea is mixed. Some studies suggest certain strains may shorten duration slightly, but results vary and no single strain has been established as reliably effective across all causes.
Prevention is straightforward in principle but requires consistency. Handwashing with soap and water is the single most effective measure against infectious diarrhea. Safe food handling — cooking meat to proper temperatures, avoiding cross-contamination, refrigerating promptly — reduces foodborne risk. When traveling to areas with uncertain water safety, stick to bottled or treated water and avoid raw foods that may have been washed in untreated water.
Frequently Asked Questions
What is the most common cause of diarrhea?
Viral infections, particularly norovirus, are the most common cause of acute diarrhea in adults and children. Bacterial and food-related causes are less frequent but can produce more severe illness.
How long does diarrhea usually last?
Most acute diarrhea from viral causes resolves within one to three days. Bacterial infections may last longer, and diarrhea lasting more than two days without improvement or more than four weeks total should be evaluated by a doctor.
Can certain foods cause diarrhea without an infection?
Yes. Lactose intolerance, artificial sweeteners like sorbitol, and high-fat or very spicy meals can all trigger diarrhea without any infectious agent. These are related to how your body digests or reacts to specific foods.
When should I worry about diarrhea?
See a doctor if you have blood in your stool, a fever above 102°F, signs of dehydration, severe pain, or diarrhea that lasts more than two days without improving. These signs suggest the cause may need medical treatment.

