What Medicine to Take When You Have Diarrhea

Replacing lost fluids with an oral rehydration solution is the single most important step when diarrhea strikes, but the right medicine on top of that depends on what is causing the problem, how severe it is, and your age. For most otherwise-healthy adults with a run-of-the-mill stomach bug, an over-the-counter antimotility drug like loperamide or an antisecretory agent like bismuth subsalicylate will shorten the misery by roughly a day. Children, travelers, and people with bloody or prolonged symptoms face different calculations, and the wrong choice can actually make things worse.

Start With Fluids, Not Pills

Before reaching for any medication, the priority is preventing dehydration. Watery diarrhea pulls fluid and electrolytes out of your body fast, and no pill replaces what is lost. Oral rehydration solutions, the simple mix of water, salt, and sugar sold in pharmacies or mixed from packets, remain the treatment with the strongest evidence behind it. A Cochrane review of eight trials found that reduced-osmolarity ORS was linked to fewer emergency IV fluid infusions, less stool output, and less vomiting compared with the older, higher-salt WHO formula.1PubMed Central. Reduced osmolarity oral rehydration solution for treating dehydration caused by acute diarrhoea in children A more recent meta-analysis confirmed that this low-osmolarity version also shortened the overall duration of diarrhea by a meaningful margin.2PubMed Central. Low-osmolarity oral rehydration solution for childhood diarrhoea: A systematic review and meta-analysis

If you do not have a commercial rehydration solution handy, diluted fruit juice or broth with a few salty crackers is a reasonable stopgap for mild cases. Sports drinks are not ideal because their sugar-to-salt ratio is off, but they are better than nothing. The key is to sip steadily rather than gulp large amounts, which can trigger more nausea.

Loperamide for Quick Symptom Relief

Loperamide, the active ingredient in Imodium and many store-brand equivalents, is the most widely used over-the-counter antidiarrheal in adults. It slows gut motility, giving the intestines more time to absorb water back from the stool. A systematic review and meta-analysis found that people taking loperamide were about a third less likely to still have diarrhea at 24 hours compared with placebo, and the overall duration shortened by roughly 0.8 days.3PubMed Central. Loperamide Therapy for Acute Diarrhea in Children: Systematic Review and Meta-Analysis An older pharmacological review noted that loperamide provides more rapid symptom control than diphenoxylate, the other common prescription-strength antimotility drug, and its effects last longer per dose.4PubMed. Loperamide: a review of its pharmacological properties and therapeutic efficacy in diarrhoea

Standard adult dosing is two capsules (4 mg) after the first loose stool, then one capsule (2 mg) after each subsequent loose stool, up to a daily maximum of 8 mg for self-treatment. Most people find relief within a few hours. Loperamide is considered the antimotility drug of choice for older children and adults, though the atropine component in diphenoxylate-atropine combinations (Lomotil) can cause additional side effects.5PubMed. Adverse effects of drugs used in the management of constipation and diarrhoea

One drawback worth knowing about: loperamide is more likely to cause rebound constipation than some alternatives. A head-to-head trial comparing loperamide with racecadotril, a prescription antisecretory drug available in many countries outside the United States, found that both stopped diarrhea at similar rates, but about 29% of loperamide users developed constipation afterward versus roughly 13% on racecadotril.6PubMed Central. A blind, randomized comparison of racecadotril and loperamide for stopping acute diarrhea in adults If you tend to swing between diarrhea and constipation, that is worth factoring in.

When Not to Take Loperamide

Loperamide works by slowing things down, which is exactly what you do not want if your body is trying to flush out an invasive pathogen. Avoid loperamide if you have a high fever, bloody or mucus-streaked stools, or suspect you might have a bacterial infection like C. difficile. Slowing the transit of toxin-producing bacteria through your gut can trap them longer and make the infection worse. If you have recently taken antibiotics and developed watery diarrhea, call your doctor rather than self-treating with loperamide, because antibiotic-associated C. difficile colitis requires a very different approach.

Children under two should not take loperamide at all. The drug’s sedating effects on the gut can be dangerous in very young children, and the risk of serious side effects outweighs any modest benefit in that age group.

Bismuth Subsalicylate as an Alternative

Bismuth subsalicylate, the pink liquid or chewable tablet sold as Pepto-Bismol and generic equivalents, takes a different approach. Rather than slowing gut motility, it reduces secretion of fluid into the intestine, tamps down inflammation, and has mild antibacterial activity.7PubMed Central. Is There a Role for Bismuth in Diarrhea Management? That combination makes it useful for a range of diarrheal causes, including traveler’s diarrhea. A systematic review found that people treated with bismuth subsalicylate had roughly 3.7 times the odds of symptomatic improvement compared with placebo, and when used preventively before travel, it offered about 3.5 times the odds of avoiding traveler’s diarrhea altogether.8PubMed Central. Systematic Review and Meta-Analyses Assessment of the Clinical Efficacy of Bismuth Subsalicylate for Prevention and Treatment of Infectious Diarrhea

Bismuth subsalicylate is generally gentler than loperamide in terms of constipation risk, and it also calms nausea and heartburn, which often accompany diarrhea. The trade-offs are cosmetic and chemical: it turns your tongue and stools black (harmless but startling), and it contains a salicylate related to aspirin. That means you should avoid it if you take blood thinners, are allergic to aspirin, or are giving medicine to a child or teenager with a viral illness because of the theoretical risk of Reye’s syndrome.

Probiotics That Actually Have Evidence

Probiotics are often marketed vaguely as “good for gut health,” but the evidence for specific strains in acute diarrhea is more focused than the labels suggest. A Bayesian network meta-analysis of randomized trials in children found that Saccharomyces boulardii, a medicinal yeast, was likely the most effective single probiotic for shortening diarrhea duration and reducing the risk of diarrhea lasting two or more days.9PubMed Central. Which Probiotic Is the Most Effective for Treating Acute Diarrhea in Children? A Bayesian Network Meta-Analysis of Randomized Controlled Trials A separate trial found that S. boulardii cut the average duration of diarrhea from about 4.8 days to 3.6 days and also reduced the frequency of future episodes in the following two months.10PubMed Central. Role of a probiotic (Saccharomyces boulardii) in management and prevention of diarrhoea

Lactobacillus reuteri also showed strong results in the same network meta-analysis, and multi-strain combinations that included Lactobacillus, Bifidobacterium, and Saccharomyces species together performed well too.9PubMed Central. Which Probiotic Is the Most Effective for Treating Acute Diarrhea in Children? A Bayesian Network Meta-Analysis of Randomized Controlled Trials A broader meta-analysis comparing probiotics with synbiotics (probiotics plus prebiotics) found that Saccharomyces and Bifidobacterium strains outperformed Lactobacillus alone at shortening diarrhea duration.11PubMed Central. A meta-analysis of the effects of probiotics and synbiotics in children with acute diarrhea

The practical takeaway is that not all probiotic products are equal. If you want to try one during a bout of diarrhea, look specifically for Saccharomyces boulardii or Lactobacillus reuteri on the label. A random yogurt or a generic “probiotic blend” may or may not contain the strains with clinical data behind them.

Zinc Supplementation for Children

Zinc occupies an unusual place in diarrhea treatment: strongly recommended for children in low- and middle-income settings, but rarely mentioned by pediatricians in wealthier countries. The World Health Organization has included zinc alongside ORS in its standard diarrhea treatment protocol for years, and the evidence supports it. A systematic review found that zinc supplementation shortened acute diarrhea in children by about 13 hours and increased the proportion of children who recovered.12PubMed Central. Zinc supplementation for acute and persistent watery diarrhoea in children: A systematic review and meta-analysis For persistent diarrhea, the effect was even more pronounced, with zinc-treated children about 75% more likely to recover.

One concern with the standard 20 mg dose has been vomiting, which can undermine the whole point of keeping fluids down. A large multicenter trial published in the New England Journal of Medicine tested lower doses (10 mg and 5 mg) against the standard 20 mg and found that both lower doses worked just as well while causing less vomiting.13PubMed Central. Lower-Dose Zinc for Childhood Diarrhea – A Randomized, Multicenter Trial In well-nourished children in high-income countries, zinc deficiency is less common, which is one reason the recommendation has not caught on as universally. Still, if your child has diarrhea lasting more than a day or two, asking your pediatrician about a short course of zinc is reasonable.

When You Actually Need Antibiotics

Most acute diarrhea is viral and resolves on its own, which means antibiotics would do nothing except disrupt your gut flora further. But there are situations where targeted antibiotic therapy is the right call. Traveler’s diarrhea that is moderate to severe, meaning it disrupts your activities or comes with fever, is one. A clinical review found that azithromycin, fluoroquinolones, and rifaximin are the main options, with azithromycin being the only one appropriate when dysentery (bloody diarrhea) is present.14PubMed Central. Travelers’ Diarrhea: A Clinical Review For travelers heading to areas where fluoroquinolone resistance is high, particularly South and Southeast Asia, azithromycin is generally the better choice.

Combining an antibiotic with loperamide for rapid symptom control is a strategy supported by clinical trial data and is sometimes recommended for travelers who need to function quickly, such as during business trips or when catching a flight is non-negotiable.15Clinical Infectious Diseases. Trial Evaluating Ambulatory Therapy of Travelers’ Diarrhea (TrEAT TD) Study: A Randomized Controlled Trial Comparing 3 Single-Dose Antibiotic Regimens With Loperamide The loperamide handles the urgency while the antibiotic addresses the underlying infection. This is a strategy to discuss with a travel-medicine provider before your trip, not something to self-prescribe from leftover antibiotics in your medicine cabinet.

Adsorbent Clays and Intestinal Protectants

Outside of North America, a clay-based product called diosmectite (sold as Smecta in many countries) is a popular treatment for acute diarrhea. Diosmectite is a natural silicate clay that works by adsorbing bacteria, toxins, and viruses along the gut lining while also reducing inflammation and protecting the mucus layer.16PubMed Central. Anti-diarrheal effects of diosmectite in the treatment of acute diarrhea in children: a review In a randomized, double-blind trial in adults, diosmectite shortened the median time to recovery by about 15 hours compared with placebo.17PubMed Central. Efficacy of Diosmectite (Smecta) in the Treatment of Acute Watery Diarrhoea in Adults: A Multicentre, Randomized, Double-Blind, Placebo-Controlled, Parallel Group Study

A meta-analysis in children found that diosmectite shortened acute diarrhea by close to a day and increased the cure rate at five days, though the evidence quality was rated as low because most trials were open-label.18BMJ. Efficacy and safety of diosmectite in acute childhood diarrhoea: a meta-analysis Diosmectite is not widely available in U.S. pharmacies, but travelers who pick it up abroad sometimes keep it in their kit. It is generally well tolerated and does not carry the constipation risk of loperamide, making it a gentler option for children.

Managing Cramping Pain Alongside Diarrhea

Diarrhea often brings abdominal cramping that can feel as disabling as the diarrhea itself. Over-the-counter pain relievers like ibuprofen can help with cramping, but they also irritate the stomach lining, which is not ideal when your gut is already inflamed. A better first-line approach for intestinal cramping is an antispasmodic. Expert consensus recommends agents like hyoscine butylbromide (sold as Buscopan in many countries) or mebeverine as primary treatments for gut cramping pain, with standard painkillers reserved for more severe cases.19PubMed. Pharmacotherapy for gastric and intestinal cramping pain: current and emerging therapies

In the United States, dicyclomine (Bentyl) is the most commonly prescribed antispasmodic for gut-related cramping, though it requires a prescription and its side-effect profile varies with dose.20PubMed Central. Antispasmodics for Chronic Abdominal Pain: Analysis of North American Treatment Options For most people dealing with a short bout of diarrhea-related cramping, a hot water bottle on the abdomen and sipping warm fluids does the job without adding another drug to the mix.

Red Flags That Mean You Need a Doctor

The majority of acute diarrhea episodes are self-limiting and do not require any diagnostic workup.21Digestive Diseases. Diarrhea as a Clinical Challenge: General Practitioner Approach But certain warning signs change the calculation. You should seek medical attention if you notice:

  • Bloody stools: This can signal a bacterial infection that needs targeted treatment, or an inflammatory condition that loperamide could worsen.
  • High fever: A temperature above 38.5°C (101.3°F) with diarrhea suggests an invasive infection rather than a simple viral bug.
  • Signs of severe dehydration: Dizziness when standing, very dark urine, dry mouth, and in children, no tears when crying or a sunken soft spot on the head.
  • Duration beyond a few days: Adults with diarrhea lasting more than about three days without improvement, or children who are not improving after 24 hours, should check in with a clinician.
  • Recent antibiotic use: Diarrhea that starts during or shortly after a course of antibiotics could be C. difficile infection, which requires specific treatment.
  • Immunosuppression: If you take medications that suppress your immune system, or have a condition like HIV, do not self-treat diarrhea. The range of possible causes is wider, and some are dangerous if missed.

Could Your Medication Be the Problem?

Before adding a new drug to treat diarrhea, it is worth asking whether an existing drug might be causing it. Diarrhea accounts for roughly 7% of all drug side effects, and more than 700 medications have been linked to it.22PubMed. Drug-induced diarrhoea The most common culprits include antibiotics (which disrupt normal gut bacteria), magnesium-containing antacids, NSAIDs like ibuprofen, certain heart rhythm medications, and cancer chemotherapy drugs. Even the inactive ingredients in liquid medications can be a source: sorbitol, a sugar alcohol used as a sweetener in many oral liquid formulations, is capable of triggering osmotic diarrhea on its own.23PubMed. Sorbitol content of selected oral liquids

If you have recently started a new medication and diarrhea followed within days to weeks, mention this to your pharmacist or doctor before layering on antidiarrheal drugs. Adjusting the dose or switching to an alternative may solve the problem at its source.

Chronic Diarrhea Needs a Different Playbook

Everything discussed so far applies mainly to acute diarrhea, the kind that comes on suddenly and resolves within a few days. If you have been dealing with loose or watery stools for four weeks or more, over-the-counter antidiarrheals are a bandage, not a solution. Chronic diarrhea has a long list of possible causes, from irritable bowel syndrome to celiac disease to microscopic colitis, and each one has its own treatment.

One underdiagnosed cause worth knowing about is bile acid malabsorption. This happens when bile acids, normally recycled in the small intestine, spill into the colon and irritate it. It is particularly common after gallbladder removal. The good news is that it responds well to bile acid sequestrants like cholestyramine, with pooled response rates around 79% in studies of patients with confirmed bile acid diarrhea.24PubMed. Systematic review with meta-analysis: the prevalence of bile acid malabsorption and response to colestyramine in patients with chronic watery diarrhoea and previous cholecystectomy Some estimates put the response rate even higher, between 70% and 96%.25PubMed Central. Bile acid malabsorption in chronic diarrhea: pathophysiology and treatment If you have chronic watery diarrhea and no one has ever investigated bile acid malabsorption, it is worth bringing up with your gastroenterologist, especially if you have had your gallbladder removed.

A Quick-Reference Decision Tree

Choosing the right medicine depends on a handful of practical questions. Here is a streamlined way to think through it:

  • Mild, watery, no fever or blood: Oral rehydration solution plus loperamide or bismuth subsalicylate. Add a Saccharomyces boulardii probiotic if you want extra support.
  • Traveler’s diarrhea, moderate to severe: Talk to your travel-medicine provider about carrying a course of azithromycin or a fluoroquinolone, with loperamide for symptomatic relief.
  • Child under two: ORS only. No loperamide. Ask about zinc supplementation if recovery is slow.
  • Bloody stools, high fever, or immunosuppression: Skip the OTC aisle and see a doctor. You may need stool testing and targeted antibiotics.
  • Post-antibiotic diarrhea: Stop loperamide if you have started it, and contact your prescriber. C. difficile needs to be ruled out.
  • Chronic diarrhea lasting more than four weeks: Self-treatment is no longer appropriate. Get a proper workup, including screening for bile acid malabsorption and celiac disease.

One last practical note: keep a small rehydration kit at home and in your travel bag. A few ORS packets, a strip of loperamide, and a bottle of Saccharomyces boulardii capsules cover the vast majority of garden-variety diarrhea episodes. Everything else on this list is for the situations where the garden-variety approach is not working or should not be tried.