Managing Diarrhea: Why It Happens and What Actually Helps

Understanding the difference between a short-term gut reaction and a chronic pattern—and what to do about both

Everyone experiences diarrhea at some point. But for millions of people, loose, urgent, or frequent bowel movements are not an occasional inconvenience—they’re a chronic, life-limiting reality that shapes what they eat, where they go, and how they feel every single day.

Whether you’re dealing with an acute episode, post-infection symptoms that never fully resolved, or the ongoing pattern of IBS-D (diarrhea-predominant IBS), understanding what’s driving your symptoms is the most important step toward finding lasting relief.

Here’s the core insight research now confirms: diarrhea is rarely just about something you ate. It reflects a disruption in the complex system of gut bacteria, serotonin signalling, intestinal nerve sensitivity, gut barrier integrity, and brain-gut communication that regulates how your digestive tract functions.

This page covers:

Important note: This page provides educational information only. Severe, bloody, persistent, or dramatically worsening diarrhea requires medical evaluation. If you are experiencing severe dehydration, blood in stool, or high fever alongside diarrhea, seek medical care promptly.

What Is Diarrhea?

Diarrhea is defined as loose or watery stools occurring three or more times per day, or any bowel movements that are significantly looser or more frequent than your personal normal. On the Bristol Stool Scale, diarrhea corresponds to Types 6 and 7—mushy, fluffy, or completely liquid stools that pass with urgency or little control.

Two Very Different Types

Understanding which type you’re dealing with determines which strategies are most appropriate:

Acute diarrhea: Lasting less than 2 weeks. Usually caused by infection (viral, bacterial, or parasitic), food poisoning, a specific trigger food, or medication side effects. The gut has been disrupted and is responding acutely. The priority is hydration, rest, and avoiding further disruption while the gut recovers.

Chronic diarrhea: Lasting more than 4 weeks, or recurring regularly over months or years. This is a different situation entirely—the gut’s regulatory systems have been disrupted at a deeper level. Root causes include microbiome imbalance, IBS-D, post-infectious gut changes, food intolerances, inflammatory bowel disease, or malabsorption conditions. This type requires a thorough, systematic approach rather than just managing individual episodes.


The Bristol Stool Scale and Diarrhea

Type 5 (soft blobs) signals the beginning of a transition toward loose stools. Types 6 and 7 are clinically defined as diarrhea. Just as Types 1-3 signal that your microbiome is struggling in one direction, Types 6-7 signal a disruption going the other way—too much serotonin, overactive gut motility, or an inflammatory response in the gut lining. The goal, always, is the smooth, formed Type 4.

Why Diarrhea Happens: The Root Causes

Diarrhea has many possible causes, and identifying yours is essential for finding the right approach:

1. Infection and Post-Infection Changes

The most common cause of acute diarrhea worldwide is infection—viral gastroenteritis (stomach flu), bacterial food poisoning (from pathogens like Salmonella, Campylobacter, or E. coli), or parasitic infections (Giardia, Cryptosporidium).

But there is something critically important that most people don’t know: a significant percentage of people who experience a gut infection never fully recover their pre-infection gut function. Research shows that 5-30% of people who have an acute gut infection go on to develop post-infectious IBS—a condition where diarrhea, urgency, and gut sensitivity persist long after the original infection has cleared.

Why does this happen? The infection causes dysbiosis—damage to the microbiome community—that doesn’t spontaneously repair itself. The altered bacterial environment then drives ongoing changes in gut motility, nerve sensitivity, and gut barrier integrity.

Learn more: IBS and Digestive Disorders

2. Excess Serotonin and Overactive Gut Motility

Approximately 95% of the body’s serotonin is produced in the gut—not the brain. Serotonin sets the rhythm for intestinal movement: it is the drum that beats the pace of peristalsis. When serotonin levels in the gut are excessive or the serotonin signalling system is dysregulated, the intestinal drum beats too fast—stool moves through the colon too quickly, water isn’t adequately absorbed, and the result is loose, urgent bowel movements.

Gut bacteria directly influence serotonin production in the gut lining. This is a key reason why microbiome imbalance shows up as diarrhea—the signalling system governing gut speed has been disrupted at the bacterial level.

3. Microbiome Imbalance (Dysbiosis)

A healthy, diverse microbiome keeps gut motility balanced, maintains the gut barrier, regulates inflammation, and produces compounds that stabilise intestinal function. When this community is disrupted—through antibiotics, infection, poor diet, stress, or other factors—the system loses its balance.

Research consistently shows that people with chronic diarrhea and IBS-D have:

These changes are not just associated with diarrhea—they drive it through multiple mechanisms simultaneously.

Learn more: What Is the Microbiome

4. Visceral Hypersensitivity

The gut contains 500 million nerves—five times more than the spinal cord. In people with chronic diarrhea and IBS-D, these nerves become overreactive—a condition called visceral hypersensitivity. Normal amounts of gas, stool movement, or intestinal stretch that healthy individuals barely notice become intensely uncomfortable, triggering urgency and accelerated gut motility.

Research has demonstrated this directly: when researchers inflate a small balloon in the colon of a healthy person, they feel mild pressure. When they do the same in someone with IBS, that person experiences significant pain from the identical stimulus. The difference is not the pressure—it’s how the nervous system is interpreting it.

Short-chain fatty acids produced by beneficial gut bacteria—particularly butyrate—have a documented soothing effect on these overreactive gut nerves. This is one of the key mechanisms through which dietary fiber and a healthy microbiome directly reduce diarrhea symptoms.

5. The Gut-Brain Axis and Stress

The gut and brain communicate constantly through the vagus nerve, stress hormones, and the enteric nervous system. Stress activates the sympathetic nervous system and releases corticotropin-releasing hormone (CRH), which has receptors in the gut muscles, gut barrier, and immune cells. In some people, this stress response dramatically accelerates gut motility—producing the urgent, loose bowel movements associated with “nervous diarrhea.”

For people with IBS-D, this stress-gut connection can be severe. The memory of a diarrhea episode in a public place creates anxiety about future episodes, which activates the stress response, which triggers the very symptoms they fear—a vicious cycle that gradually restricts daily life.

Learn more: The Gut-Brain Connection

6. Food Intolerances and Trigger Foods

Specific foods are a major driver of diarrhea in many people, particularly those with IBS:

7. Medications

Many common medications cause diarrhea as a significant side effect. The most important to understand:

Antibiotics and the microbiome: Antibiotics are a major cause of diarrhea—not just because they kill pathogens, but because they devastate the beneficial microbiome community. Antibiotic-associated diarrhea affects 5-35% of people taking antibiotics. In severe cases, antibiotic use can lead to Clostridioides difficile (C. diff) infection, which causes severe, sometimes life-threatening diarrhea.

Other common causes include metformin (diabetes medication), NSAIDs (ibuprofen, aspirin), proton pump inhibitors (acid reflux medications), some antidepressants (particularly SSRIs), magnesium-containing antacids, and chemotherapy drugs.

8. Inflammatory Bowel Disease and Malabsorption

Chronic diarrhea can also be a symptom of conditions requiring medical management: Crohn’s disease and ulcerative colitis (inflammatory bowel disease), celiac disease, microscopic colitis, bile acid malabsorption, and exocrine pancreatic insufficiency. These conditions need diagnosis and treatment from a gastroenterologist and are beyond the scope of dietary self-management.


The Serotonin Key

Think of gut serotonin as the drum that sets the pace of intestinal movement. Too little serotonin and the rhythm slows, producing constipation. Too much serotonin and the drum beats too fast, producing diarrhea. Your gut bacteria directly influence how much serotonin your gut produces—which is why rebuilding a balanced microbiome is central to resolving chronic diarrhea, not just managing its symptoms.

Managing Acute Diarrhea

For a sudden episode of diarrhea—from food poisoning, a stomach bug, or a specific trigger—the priorities are clear:

Priority 1: Hydration Above Everything

Diarrhea causes rapid fluid and electrolyte loss. Dehydration is the most serious complication—particularly dangerous for infants, the elderly, and anyone with underlying health conditions.

Signs of dehydration to watch for: Decreased urination, dark urine, dry mouth, dizziness, headache, rapid heartbeat, sunken eyes.

Hydration strategy:

Priority 2: What to Eat During an Episode

The old advice to “starve a fever and feed a cold” and to fast during diarrhea has been largely updated. Current guidance suggests eating small amounts of gentle foods helps maintain gut function and speeds recovery.

Foods that help during acute diarrhea:

Foods to avoid during an episode:

Priority 3: Support Microbiome Recovery

This is the step most people miss—and it’s arguably the most important for preventing post-infectious chronic symptoms. Acute diarrhea, especially when caused by infection or antibiotics, causes significant microbiome disruption. Without active support, this disruption can persist for weeks, months, or longer.

During recovery: Introduce plain yogurt or kefir as soon as tolerated (often within 24-48 hours)—even during acute illness, fermented dairy with live cultures has evidence for shortening diarrhea duration. Research on probiotics for acute diarrhea shows that Lactobacillus rhamnosus GG and Saccharomyces boulardii in particular can reduce duration by approximately one day.

After recovery: Prioritise microbiome-rebuilding foods for 2-4 weeks—fermented foods daily, gradually increasing plant diversity, prebiotic-rich foods to feed recovering beneficial bacteria.


After Antibiotics: Microbiome Rescue

If your diarrhea is antibiotic-related, microbiome recovery is especially critical. Take probiotic supplements during and for 2 weeks after the antibiotic course (at a different time of day from the antibiotic). Prioritise fermented foods, prebiotic vegetables, and diverse plant intake for 4-8 weeks after finishing the course. The microbiome can take weeks to months to fully recover after antibiotics without this active support.

Managing Chronic Diarrhea: A Systematic Approach

Chronic diarrhea requires a different approach—not just managing individual episodes but addressing the underlying disruptions driving the pattern. This typically involves several strategies working together:

Step 1: Identify and Remove Dietary Triggers

Many people with chronic diarrhea are unknowingly consuming foods that repeatedly trigger their symptoms. A structured elimination approach can identify these:

Start a food and symptom diary: Log everything you eat and drink alongside your bowel movements for 2-3 weeks. Patterns often become clear—specific foods, meal timing, or combinations that consistently precede symptoms.

Common dietary triggers to investigate:

Learn more: Low-FODMAP Diet

Step 2: Rebuild the Microbiome

For chronic diarrhea driven by dysbiosis, rebuilding the microbiome community is the most important long-term strategy. This is not a quick fix—it requires consistent effort over weeks to months—but it addresses the root cause rather than suppressing symptoms.

Fermented foods: Yogurt, kefir, kimchi, sauerkraut, and other fermented foods introduce live beneficial bacteria. Research shows that regular fermented food consumption increases microbiome diversity and reduces inflammation markers. Start with small amounts if your gut is sensitive—gradually increase over 2-4 weeks.

Learn more: Fermented Foods Guide

Soluble fiber—carefully: Unlike insoluble fiber (which can worsen diarrhea by adding bulk and speed), soluble fiber acts as a natural stool thickener and feeds beneficial bacteria that stabilise gut motility. The key sources:

Important: Introduce fiber slowly. Adding too much too quickly when the gut is already sensitive and overactive can temporarily worsen symptoms before improving them.

Prebiotic foods: Once your gut is more settled, gradually introduce prebiotic-rich foods that feed the beneficial bacteria you’re trying to rebuild—oats, bananas, cooked and cooled resistant starch foods, well-tolerated legumes. These are the foods that most powerfully shift the microbiome toward a composition associated with healthy, regulated motility.

Learn more: Fiber: The Essential Nutrient

Step 3: Address the Gut-Brain Component

For many people with chronic diarrhea, particularly IBS-D, stress and anxiety are significant drivers. The gut-brain connection means that psychological interventions can produce measurable improvements in gut function—not just symptom perception.

Evidence-based psychological approaches for IBS-D:

Learn more: The Gut-Brain Connection

Step 4: Optimise Lifestyle Factors

Sleep: Poor sleep quality increases gut sensitivity and disrupts the gut’s own circadian rhythm. People with IBS-D consistently report worse symptoms on nights following poor sleep. Prioritising 7-9 hours of consistent, quality sleep is a meaningful therapeutic intervention.

Exercise—gentle and consistent: For diarrhea-predominant symptoms, intense exercise can temporarily worsen urgency. However, regular moderate exercise (brisk walking, swimming, yoga) reduces overall gut inflammation, improves the microbiome, and reduces stress—all factors that benefit chronic diarrhea over time.

Meal patterns: Eating regularly-spaced meals rather than large, infrequent ones helps regulate the gastrocolic reflex and prevents the overactivation that triggers post-meal urgency. Eating slowly and mindfully reduces the amount of air swallowed and slows the digestive process.

Reduce gut irritants: Alcohol, caffeine, carbonated drinks, spicy foods, and ultra-processed foods all have the potential to worsen diarrhea symptoms through different mechanisms—from direct gut irritation to microbiome disruption to increased gut permeability.

Learn more: Foods to Limit or Avoid

Supplements and Medications

Alongside dietary and lifestyle changes, certain supplements and medications have evidence for managing diarrhea:

Supplements With Evidence

Psyllium husk (soluble fiber): The most clinically studied fiber supplement for IBS-D. Unlike insoluble fiber, psyllium forms a gel that thickens stool and slows transit. Multiple studies show it reduces stool frequency, improves consistency, and reduces urgency in IBS-D. Start with half a teaspoon in a large glass of water and increase gradually.

Probiotics: Evidence is strain-specific and varies. Strains with the best evidence for diarrhea include Saccharomyces boulardii (particularly for antibiotic-associated diarrhea and traveller’s diarrhea), Lactobacillus rhamnosus GG (acute infectious diarrhea), and multi-strain formulations containing Bifidobacterium and Lactobacillus species (IBS-D). Discuss strain choice with a healthcare provider.

Zinc: Has evidence for reducing severity and duration of acute infectious diarrhea, particularly in children. Zinc plays a role in gut barrier integrity and immune function.

Glutamine: An amino acid that supports gut barrier integrity. Some research shows benefit for post-infectious IBS and increased gut permeability—the “leaky gut” that can drive chronic diarrhea. Evidence is emerging rather than definitive.

Over-the-Counter Medications

Loperamide (Imodium): Reduces intestinal motility and fluid secretion. Highly effective for managing acute episodes and providing relief before events or travel. Not a long-term solution—does not address underlying causes and regular daily use should be discussed with a doctor.

Bismuth subsalicylate: Has antibacterial and anti-inflammatory effects in the gut. Useful for traveller’s diarrhea and acute infectious diarrhea. Not suitable for everyone (contains salicylate—check if you take aspirin or have salicylate sensitivity).

Oral rehydration salts: Essential for managing dehydration during acute episodes—the most important acute intervention for anyone with significant diarrhea.

Prescription Options Worth Discussing

For chronic IBS-D that doesn’t respond adequately to dietary and lifestyle changes, several prescription options have evidence. A gastroenterologist can assess which might be appropriate for your specific situation—including gut-specific antibiotics (rifaximin) that can reset the microbiome in SIBO-driven IBS-D, antispasmodics for pain and urgency, bile acid sequestrants for bile acid diarrhea, and low-dose antidepressants that act on gut serotonin signalling.


Key perspective: Medications suppress symptoms while dietary and lifestyle changes rebuild the underlying gut health that prevents those symptoms from recurring. The most effective approach combines both—using medication for relief while actively working on the root causes.

When to Seek Medical Attention

Most acute diarrhea resolves without medical treatment. However, certain symptoms require prompt medical evaluation:

Seek Urgent Medical Care If You Experience:

See a Doctor if Diarrhea:

Key diagnostic tests your doctor may order: Stool culture and parasitology, Clostridioides difficile testing, blood tests including full blood count and inflammatory markers, celiac antibody testing, colonoscopy if indicated, hydrogen breath testing for lactose intolerance or SIBO, and SeHCAT scan for bile acid malabsorption.

Key Information Summary

Track Your Symptoms and Progress

Use our free tools to log your Bristol Stool type daily, identify food triggers, and monitor your microbiome recovery

Explore Related Information

Root Causes

What Is the Microbiome →
How bacteria regulate gut motility

The Gut-Brain Connection →
How stress accelerates gut transit

IBS and Digestive Disorders →
IBS-D and post-infectious patterns

Dietary Approaches

Low-FODMAP Diet →
Most evidence-backed approach for IBS-D

Fermented Foods Guide →
Rebuilding the microbiome after disruption

Fiber: The Essential Nutrient →
Soluble vs insoluble fiber for diarrhea

Related Symptoms

Understanding Bloating →
Often accompanies diarrhea in IBS

Constipation Solutions →
When symptoms alternate between both

Microbiome Recovery

Meet the Microbiomes →
Bacteria that stabilise gut motility

Foods to Limit or Avoid →
What irritates the gut and worsens diarrhea