How to Get Over Diarrhea: Hydration, Diet, and Meds

Most bouts of diarrhea clear up on their own within a few days, and the fastest way to feel better is straightforward: replace lost fluids, eat simple foods as soon as you can tolerate them, and use over-the-counter medications if symptoms are making you miserable. That three-part approach handles the vast majority of cases, but the details matter more than people realize, especially around what you drink and when you start eating again.

Why Fluid Replacement Is the First Priority

Diarrhea pulls water and electrolytes out of your body faster than you normally lose them. Even a mild case can leave you dehydrated if you are not actively drinking, and dehydration is what actually makes most people feel terrible: the fatigue, dizziness, headache, and dry mouth that come with a stomach bug are largely fluid-loss symptoms, not direct effects of the infection itself. For otherwise healthy adults, drinking enough of the right fluids is often the only treatment that truly matters.

Plain water helps, but it does not replace the sodium and potassium you are losing. Oral rehydration solutions (ORS) work better because they exploit a specific absorption pathway in the gut lining: sodium and glucose together activate a transporter that pulls water across the intestinal wall and into your bloodstream, even when the gut is inflamed. The ratio of sodium to glucose is what makes this work, which is why a properly formulated ORS outperforms plain water or random sports drinks.1PubMed Central. Potency of Oral Rehydration Solution in Inducing Fluid Absorption is Related to Glucose Concentration You can buy ORS packets or pre-mixed solutions at most pharmacies. If those are not available, diluted broth with a pinch of salt and a small amount of juice can serve as a rough substitute.

Sip steadily rather than gulping large amounts at once. Drinking too fast when your stomach is already irritated often triggers vomiting, which sets you back. Small, frequent sips, maybe a few ounces every 10 to 15 minutes, keep fluids moving in without overwhelming a queasy stomach.

Drinks That Can Make Things Worse

Not all fluids are equal during a bout of diarrhea. Sodas sweetened with high-fructose corn syrup are a common offender. These drinks are highly concentrated, and because fructose is absorbed slowly through a passive process, the sugar sits in the small intestine and draws extra water into the gut rather than letting it be reabsorbed. That water stays trapped in the bowel for hours, potentially worsening loose stools.2PubMed Central. Arterial hypertension due to fructose ingestion: model based on intermittent osmotic fluid trapping in the small bowel Fruit juices can do something similar: apple juice, pear juice, and grape juice all carry concentrated sugars that pull water the wrong direction when your gut is already struggling.

Alcohol and caffeine are also poor choices. Alcohol irritates the gut lining and acts as a diuretic, worsening dehydration. Coffee stimulates colonic contractions, which speeds things along when you want them to slow down. If you are a habitual coffee drinker and stopping cold gives you a headache, a small amount of weak tea is a reasonable compromise, but black coffee on an empty, irritated stomach is asking for trouble.

Eating Sooner Than You Think

The old advice to “starve a stomach bug” by fasting for a day or two is outdated. A Cochrane review found no evidence that early refeeding increases vomiting, worsens diarrhea, or leads to complications. Children and adults who start eating again as soon as they can tolerate food tend to recover at least as quickly as those who wait.3PubMed Central. Early versus Delayed Refeeding for Children with Acute Diarrhoea European pediatric guidelines go further, recommending that regular feeding continue with no dietary changes, including milk, during acute gastroenteritis.4PubMed. European Society for Pediatric Gastroenterology, Hepatology, and Nutrition/European Society for Pediatric Infectious Diseases evidence-based guidelines for the management of acute gastroenteritis in children in Europe: update 2014

That said, practical comfort matters. If greasy or spicy food makes you feel nauseated, there is no reason to force it. Start with bland, easy-to-digest options: white rice, plain toast, bananas, boiled potatoes, chicken broth. The famous BRAT diet (bananas, rice, applesauce, toast) is not an evidence-based prescription so much as a sensible starting point that most upset stomachs tolerate well. Once you can keep those down, gradually reintroduce your normal foods. The key insight is that you do not need to wait for diarrhea to stop before eating. Your gut recovers faster when it has nutrients to work with.

Temporary Lactose Trouble and Other Food Triggers

Some people find that milk and dairy make diarrhea worse during or right after an infection, even if they normally tolerate dairy fine. This happens because viral gastroenteritis can temporarily damage the intestinal lining where lactose-digesting enzymes live. The resulting short-term lactose intolerance usually resolves once the gut heals, typically within a few weeks.5PubMed Central. Lactose intolerance and gastrointestinal cow’s milk allergy in infants and children – common misconceptions revisited Other gut conditions, from celiac disease to parasitic infections, can also trigger secondary lactose intolerance through the same mechanism of mucosal damage.6Gut. Update on lactose malabsorption and intolerance: pathogenesis, diagnosis and clinical management If dairy seems to be making things worse, skip it for a week or two and then try again. Yogurt is often tolerated better than milk because the bacterial cultures have already partially broken down the lactose.

Sugar alcohols like sorbitol and mannitol, found in sugar-free gums and candies, are another common culprit. They are poorly absorbed and draw water into the intestine. During a bout of diarrhea, even small amounts can tip you over the edge. Check labels if you are chewing gum or eating “diet” snacks while sick.

Soluble Fiber as a Stool Normalizer

This one surprises people: the same fiber supplement used for constipation can also help with diarrhea. Psyllium husk, the ingredient in products like Metamucil, forms a gel in the gut with high water-holding capacity. During diarrhea, that gel traps excess water, firming up loose stools and reducing how often you need to go. Randomized crossover studies have confirmed that psyllium normalizes stool form in both constipation and diarrhea.7Nutrition Today. Psyllium: The Gel-Forming Nonfermented Isolated Fiber That Deliver Multiple Fiber-Related Health Benefits It is not a dramatic fix, but if you are dealing with persistent loose stools after the acute phase and want something gentle, psyllium is worth trying. Start with a small dose and mix it with plenty of water.

Over-the-Counter Medications

Two widely available medications can ease diarrhea symptoms when you need to function and cannot spend the day near a bathroom.

Loperamide (sold as Imodium) slows down intestinal contractions and increases the time food spends in the gut, giving the intestinal lining more opportunity to reabsorb water from stool. It also tightens the anal sphincter, reducing urgency.8Clinical Infectious Diseases. Loperamide for the Treatment of Traveler’s Diarrhea: Broad or Narrow Usefulness? It works well for watery diarrhea where the goal is simply to slow things down. The standard approach is to take an initial dose and then a smaller dose after each loose stool, up to a daily maximum listed on the package. Loperamide should be avoided if you have bloody stools or a high fever, since slowing the gut in those situations can allow a serious bacterial infection to worsen.

Bismuth subsalicylate (Pepto-Bismol) takes a different approach. Its salicylate component has antisecretory effects, reducing the amount of fluid the gut pumps into the intestine, while the bismuth portion has direct antimicrobial properties.9PubMed. Bismuth subsalicylate in the treatment and prevention of diarrheal disease That combination of anti-inflammatory, antisecretory, and antibacterial effects makes it a reasonable choice for mild to moderate diarrhea.10PubMed Central. Is There a Role for Bismuth in Diarrhea Management? It tends to be gentler than loperamide and is less likely to cause rebound constipation, though it does turn your tongue and stool black (harmless but alarming if you are not expecting it). People who take blood thinners or are allergic to aspirin should avoid it because of the salicylate.

Another option available in some countries is racecadotril, an antisecretory drug that works by blocking an enzyme involved in fluid secretion into the gut. A meta-analysis found it was similarly effective to loperamide for acute diarrhea in adults but caused significantly less constipation as a side effect.11International Journal of Clinical Medicine. Racecadotril Efficacy in the Symptomatic Treatment of Adult Acute Diarrhoea: A Systematic Review and Meta-Analysis It is widely used in Europe and parts of Asia but is not available over the counter in the United States.

Do Probiotics Help?

The probiotic with the strongest track record for acute diarrhea is a yeast called Saccharomyces boulardii. Multiple studies have found it shortens the duration of diarrhea by roughly a day compared to no treatment.12PubMed. Effectiveness and safety of Saccharomyces boulardii for acute infectious diarrhea One trial found the average bout lasted about 3.6 days in the S. boulardii group versus 4.8 days in controls.13PubMed Central. Role of a probiotic (Saccharomyces boulardii) in management and prevention of diarrhoea Lactobacillus rhamnosus GG, another well-studied strain, has also shown a meaningful reduction in diarrhea duration in at least one randomized controlled trial, cutting about 19 hours off the course of illness in children.14International Journal of Clinical Trials. Comparative, randomized-controlled trial on efficacy and safety of Lactobacillus rhamnosus GG and Saccharomyces boulardii in treatment of acute diarrhea in Indian children (COMPARE-GG trial)

A day does not sound like much, but when you are miserable on day three, shaving off 24 hours feels meaningful. Probiotics are generally safe for healthy people, and starting them early in a bout of diarrhea seems to matter more than starting them late. They are not miracle cures, and the evidence is strongest for specific strains rather than generic “probiotic” supplements that may contain unrelated organisms. If you decide to try one, look for a product that names the species and strain on the label.

When You Need a Doctor, Not a Pharmacy

Most diarrhea does not need medical attention. But certain signs should prompt a visit. Blood or mucus in the stool, a fever above 101.3°F (38.5°C), severe abdominal pain or tenderness, signs of significant dehydration (very dark urine, dizziness on standing, dry mouth that does not improve with fluids), or symptoms lasting more than a week all warrant evaluation.15BMJ. Acute diarrhoea in adults People who are immunocompromised, elderly, recently hospitalized, or recently treated with antibiotics face higher risks from diarrheal illness and should have a lower threshold for seeking care.

Antibiotics are not used for garden-variety viral gastroenteritis, but they do have a role in bacterial traveler’s diarrhea and dysentery. For straightforward watery traveler’s diarrhea, a single dose of azithromycin is the current preferred first-line treatment. Fluoroquinolones are alternatives, though resistance is growing, especially among Campylobacter species. Rifaximin, a non-absorbed antibiotic, is another option for uncomplicated watery diarrhea but should be avoided if the illness involves fever or bloody stools.16PubMed Central. Antibiotic Therapy for Acute Watery Diarrhea and Dysentery These are prescription decisions, not self-treatment choices for most people, though frequent travelers sometimes carry a course prescribed in advance.

Zinc and Micronutrient Considerations

Zinc supplementation during diarrhea is a standard recommendation in low- and middle-income countries, where zinc deficiency is common and contributes to impaired water and electrolyte absorption. Zinc plays an active role in gut recovery, and the World Health Organization recommends it alongside ORS for children with diarrhea.17PubMed Central. Zinc: Role in the management of diarrhea and cholera For well-nourished adults in high-income countries, the benefit is less clear, since most are not zinc-deficient to begin with. Still, if you suspect your diet has been lacking, a standard-dose zinc supplement during illness is unlikely to hurt and may help your gut lining recover faster.

Diarrhea as a Defense Mechanism

It is worth understanding why your body does this in the first place. Diarrhea is not just a symptom of infection; it is an active defense. Research using animal models has shown that the gut deliberately increases water flow into the intestine during infection through a specific protein in the intestinal lining called claudin-2. When this protein was knocked out in mice, they could not mount the diarrheal response and ended up with worse infections: more bacteria colonizing the gut, prolonged shedding of the pathogen, and greater tissue damage.18PubMed Central. IL-22 Upregulates Epithelial Claudin-2 to Drive Diarrhea and Enteric Pathogen Clearance In other words, the water flushing through your intestines is literally washing out the invader.

This is part of why aggressive use of anti-motility drugs like loperamide is not always a great idea. Slowing down the gut gives you relief from the symptom, but it also gives the pathogen more time to hang around. For a mild viral illness, this tradeoff is usually fine. For a more serious bacterial infection, particularly one involving toxin-producing organisms, holding everything in can cause real harm. The hypothesis that diarrhea serves a pathogen-clearance function has been debated for over a century, and antimotility drugs have long been observed to delay pathogen clearance in certain settings.19Cell Host & Microbe. IL-22-Induced Epithelial Claudin-2-Mediated Water Flux Enhances Enteric Pathogen Clearance

After the Bug Clears, Your Gut May Not Be Done

Some people recover from the acute infection but continue to have loose stools, bloating, cramping, or urgency for weeks or even months afterward. This is called post-infectious irritable bowel syndrome (PI-IBS), and it is more common than most people expect. The underlying drivers appear to include lingering low-grade inflammation in the gut, changes in intestinal permeability (sometimes called “leaky gut” in popular language), and shifts in the balance of gut bacteria.20PubMed Central. Post-infectious irritable bowel syndrome Research has also pointed to modifications in immune function and barrier integrity that persist after the original pathogen is long gone.21PubMed Central. Post-infectious irritable bowel syndrome: mechanistic insights into chronic disturbances following enteric infection

A study of norovirus patients found that while most had gut bacteria resembling healthy controls after recovery, a minority showed a significantly altered microbiome, with reduced levels of one major bacterial group and an overgrowth of E. coli.22PubMed Central. Disruption of the human gut microbiota following Norovirus infection PI-IBS usually improves gradually over months, but if your symptoms are not resolving after the acute illness has clearly passed, it is worth seeing a doctor rather than assuming you just have a lingering bug.

When Chronic Diarrhea Is Not an Infection at All

If diarrhea keeps coming back or never fully resolves and there is no clear infectious cause, bile acid diarrhea is one of the most underdiagnosed culprits. Excess bile acids spilling into the colon trigger water secretion, increase mucus production, and stimulate the strong propulsive contractions that send you running for the bathroom. Repeated studies have found that roughly 30% of patients diagnosed with diarrhea-predominant IBS or “functional diarrhea” actually have abnormal bile acid handling.23PubMed Central. Managing bile acid diarrhoea The condition is classified into several types depending on the cause, and the good news is that treatment with bile acid sequestrants like cholestyramine produces a response in a large majority of patients.24PubMed Central. Bile acid malabsorption in chronic diarrhea: pathophysiology and treatment

The frustrating part is that the best diagnostic test for bile acid diarrhea is not available in many countries, including the United States, so the condition often goes unrecognized for years. If you have chronic watery diarrhea without an obvious explanation, it is worth asking your gastroenterologist about a trial of a bile acid binder. Many doctors will try an empirical course of cholestyramine as a diagnostic and therapeutic test: if it works, you probably have bile acid diarrhea.25Gut and Liver. Bile Acid Diarrhea: Prevalence, Pathogenesis, and Therapy

Handwashing Beats Hand Sanitizer for Stomach Bugs

If someone in your household has a stomach virus, the instinct to reach for alcohol-based hand sanitizer is understandable but often misplaced. The most common cause of viral gastroenteritis, norovirus, is stubbornly resistant to alcohol. Testing found that alcohol-based sanitizers reduced norovirus on hands by a trivially small amount, while soap and water was substantially more effective.26PubMed Central. Effectiveness of liquid soap and hand sanitizer against Norwalk virus on contaminated hands A separate study confirmed that while alcohol-based disinfectants work well against some viruses like rotavirus and influenza, they perform poorly against norovirus and several other non-enveloped viruses.27PubMed. Reducing viral contamination from finger pads: handwashing is more effective than alcohol-based hand disinfectants

Soap works not by killing the virus but by physically lifting it off the skin and washing it down the drain. Twenty seconds of thorough handwashing with plain soap and running water remains the single best way to avoid spreading or catching norovirus. Sanitizer is better than nothing when you are away from a sink, but it should not be your first choice during an active household outbreak. Disinfecting hard surfaces matters too: bleach-based cleaners are effective against norovirus, while many “antibacterial” sprays are not.