Multiple medicines treat diarrhea, ranging from inexpensive over-the-counter pills you can grab at any pharmacy to targeted prescription drugs for specific conditions. The right choice depends on what is causing the diarrhea, how severe it is, and who the patient is. A short bout of loose stools from a stomach bug calls for a very different approach than months of chronic diarrhea tied to irritable bowel syndrome or a post-surgical complication.
Fluids Come Before Any Pill
Before reaching for medicine, the single most important intervention for diarrhea is replacing lost fluid and electrolytes. Dehydration is what makes diarrhea dangerous, especially in young children and older adults. Oral rehydration solutions, which contain a precise balance of salts and sugar, are recommended worldwide as the first-line treatment. A Cochrane review of multiple trials found that reduced-osmolarity oral rehydration solution led to fewer cases where intravenous fluids were needed compared to standard formulations, with less stool output overall.1Cochrane Database of Systematic Reviews. Reduced osmolarity oral rehydration solution for treating dehydration caused by acute diarrhoea in children A more recent meta-analysis confirmed that low-osmolarity ORS shortened the duration of diarrhea and reduced stool output compared to standard ORS.2PubMed Central. Low-osmolarity oral rehydration solution for childhood diarrhoea: A systematic review and meta-analysis
For most adults with mild diarrhea, staying hydrated with water, broth, or a commercial electrolyte drink is usually sufficient. You do not need a formal ORS packet for a day or two of loose stools. But if diarrhea is profuse, lasts more than a couple of days, or you notice signs of dehydration like dark urine, dizziness, or dry mouth, oral rehydration becomes critical rather than optional.
Over-the-Counter Medicines That Slow Things Down
The two main OTC options for diarrhea work through completely different mechanisms, and knowing the difference helps you pick the right one.
Loperamide (the active ingredient in Imodium and store-brand equivalents) slows the contractions of your intestines, giving your body more time to absorb water from stool. It is effective at reducing the frequency and urgency of bowel movements and works quickly, often within an hour. For a straightforward case of traveler’s diarrhea or a stomach bug in an otherwise healthy adult, loperamide is the go-to OTC choice. However, it is purely a symptom manager. It does not treat the underlying infection or inflammation, and it can actually cause harm if used in certain situations. In people with bacterial infections that cause bloody diarrhea or high fever, slowing gut motility can trap the pathogen inside and worsen the illness.
Loperamide also carries a less well-known risk at high doses. Reports of life-threatening cardiac toxicity from loperamide misuse have emerged in recent years, with patients presenting with dangerous heart rhythm abnormalities including QT prolongation and ventricular dysrhythmias.3PubMed. Clinical Review: Loperamide Toxicity At the doses on the package label, loperamide is safe for most adults. The cardiac problems arise from deliberate overdose, sometimes by people using it to self-treat opioid withdrawal. Still, this is worth knowing: more is not better with this drug.
Bismuth subsalicylate (the active ingredient in Pepto-Bismol and Kaopectate) takes a different approach. Rather than slowing gut movement, it works as an antisecretory agent, reducing the amount of fluid your intestines secrete. It also has anti-inflammatory and mild antibacterial properties, making it a reasonable option for mild traveler’s diarrhea or stomach upset accompanied by nausea.4PubMed Central. Is There a Role for Bismuth in Diarrhea Management? The tradeoff is that bismuth works more slowly than loperamide and is generally less potent for reducing the number of bowel movements. It also causes harmless but alarming black stools and a darkened tongue.
People taking blood thinners or who are allergic to aspirin should avoid bismuth subsalicylate, since the salicylate component is chemically related to aspirin. If you are unsure which OTC option to use, loperamide is typically preferred when your main complaint is frequent watery stools, while bismuth is a better fit for milder symptoms or when nausea is part of the picture.
Prescription Antibiotics for Acute Diarrhea
Most acute diarrhea caused by viruses resolves on its own within a few days and does not respond to antibiotics. But when diarrhea is caused by bacteria, as often happens during international travel, antibiotics can dramatically shorten how long you feel sick.
Azithromycin is currently the preferred first-line antibiotic for travelers’ diarrhea. A single 500-milligram dose is recommended for uncomplicated watery diarrhea, with a higher single dose of 1,000 milligrams used for more severe cases with fever or bloody stool.5Military Medicine. Antibiotic Therapy for Acute Watery Diarrhea and Dysentery In a head-to-head trial conducted in Thailand, single-dose azithromycin was associated with the shortest time to the last unformed stool, at a median of about 35 hours.6Clinical Infectious Diseases. Traveler’s Diarrhea in Thailand: Randomized, Double-Blind Trial Comparing Single-Dose and 3-Day Azithromycin-Based Regimens with a 3-Day Levofloxacin Regimen
Fluoroquinolones like ciprofloxacin and levofloxacin were once the standard treatment, but rising resistance among common diarrhea-causing bacteria, particularly Campylobacter species, has pushed them to second-line status in many regions.5Military Medicine. Antibiotic Therapy for Acute Watery Diarrhea and Dysentery They remain an option in areas where fluoroquinolone resistance is less common.
Rifaximin occupies a unique niche. It is a non-absorbed antibiotic, meaning it stays in the gut rather than entering the bloodstream, which limits side effects. In a randomized trial comparing rifaximin alone, rifaximin combined with loperamide, and loperamide alone, both rifaximin-containing regimens cut the median time to the last unformed stool roughly in half compared to loperamide alone. The combination of rifaximin plus loperamide also produced fewer total unformed stools than either agent used by itself.7PubMed Central. Treatment of travelers’ diarrhea: randomized trial comparing rifaximin, rifaximin plus loperamide, and loperamide alone For severe travelers’ diarrhea, clinical reviews recommend that antibiotics and an antimotility agent used together provide the best results.8PubMed Central. Travelers’ Diarrhea: A Clinical Review
Doctors traveling to high-risk regions often carry a “standby” prescription for azithromycin or rifaximin so they can start treatment at symptom onset without needing to find local care. If you are planning travel to areas where traveler’s diarrhea is common, asking your doctor about a standby prescription is reasonable and widely recommended in travel medicine.
When Diarrhea Is Caused by C. Difficile
One type of acute diarrhea deserves its own discussion because the treatment rules are different. Clostridioides difficile (C. diff) infection typically occurs after a course of antibiotics disrupts normal gut bacteria, allowing C. diff to proliferate and produce toxins that damage the colon lining. The diarrhea is often watery, foul-smelling, and accompanied by abdominal cramping and sometimes fever.
The crucial point is that standard anti-diarrheal medicines like loperamide should generally be avoided in C. diff infection. Slowing gut motility can trap the toxin-producing bacteria in the colon and increase the risk of serious complications. Treatment instead focuses on antibiotics that target C. diff specifically. For mild cases, oral metronidazole has traditionally been used. For moderate to severe infections, oral vancomycin or fidaxomicin are preferred, with courses typically lasting 10 to 14 days.9PubMed Central. Management of Clostridium difficile Infection Fidaxomicin has gained favor in recent years because it tends to cause fewer recurrences than vancomycin, though it is more expensive.
Recurrence is a significant problem with C. diff; a meaningful proportion of patients experience a second episode after finishing their initial antibiotic course. For recurrent infections, fecal microbiota transplant (essentially restoring healthy gut bacteria from a donor) has become an established option, and newer microbiome-based therapies are now available.
Prescription Options for Chronic Diarrhea
When diarrhea persists for weeks or months rather than days, the treatment landscape shifts entirely. Chronic diarrhea is not one condition; it is a symptom of many different underlying problems, and the medicine that works depends on the cause.
Irritable bowel syndrome with diarrhea (IBS-D) is one of the most common causes of chronic loose stools. Two FDA-approved prescription drugs specifically target this condition. Eluxadoline works on opioid receptors in the gut to slow intestinal movement, reduce fluid secretion, and decrease visceral pain. Alosetron blocks serotonin signals in the gut, also slowing motility.10PubMed. Current US Food and Drug Administration-Approved Pharmacologic Therapies for the Treatment of Irritable Bowel Syndrome with Diarrhea Alosetron is restricted to women with severe IBS-D who have not responded to other treatments, because of a rare but serious risk of reduced blood flow to the colon. Rifaximin, the same antibiotic used for traveler’s diarrhea, is also FDA-approved for IBS-D, though at different doses and durations.
Bile acid diarrhea is another underrecognized cause of chronic loose stools. It occurs when excess bile acids reach the colon and stimulate it to secrete water and electrolytes.11PubMed Central. Diagnosis and treatment of post-cholecystectomy diarrhoea This is common after gallbladder removal but can also happen for other reasons. Bile acid sequestrants like cholestyramine, colestipol, or colesevelam bind the excess bile acids in the gut and are the standard treatment. They work well for many patients, though the powdered forms can be gritty and unpleasant to drink.
In people living with HIV, chronic noninfectious diarrhea is a frequent side effect of antiretroviral therapy. Crofelemer is an FDA-approved drug specifically designed for this situation. It works by blocking chloride channels in the intestinal lining, reducing the amount of water that flows into the bowel.12PubMed Central. Crofelemer for the treatment of chronic diarrhea in patients living with HIV/AIDS It is derived from a plant extract and acts only in the gut, which limits systemic side effects. Crofelemer is one of the more specialized diarrhea medicines available and is not used for other types of chronic diarrhea.
Rarer conditions can also cause chronic diarrhea requiring highly targeted treatment. Carcinoid syndrome, caused by neuroendocrine tumors that secrete hormones like serotonin, produces flushing and severe diarrhea. The cornerstone treatment is somatostatin analogs such as octreotide or lanreotide, which suppress the excess hormone secretion driving the symptoms.13PubMed Central. Management of Diarrhea in Patients With Carcinoid Syndrome These are injectable medications, and while diarrhea from carcinoid syndrome is uncommon compared to IBS, it illustrates how different the treatment approach can be once you move beyond “take something for diarrhea.”
What About Probiotics
Probiotics occupy a middle ground between home remedy and medical treatment. The strongest evidence for their use in diarrhea relates to preventing antibiotic-associated diarrhea, the loose stools that develop when a course of antibiotics disrupts the normal balance of gut bacteria.
The yeast Saccharomyces boulardii has been studied the most in this context. A meta-analysis of 21 randomized controlled trials found that taking S. boulardii alongside antibiotics cut the risk of antibiotic-associated diarrhea roughly in half. In adults, the rate dropped from about 17% to about 8%, and in children the reduction was similar.14PubMed. Systematic review with meta-analysis: Saccharomyces boulardii in the prevention of antibiotic-associated diarrhoea That is a meaningful benefit, and it is one reason many doctors now suggest a probiotic when prescribing antibiotics, though the recommendation is not universal.
In children specifically, a multicenter study found that S. boulardii co-treatment with antibiotics significantly reduced the incidence of diarrhea with manageable side effects.15PubMed Central. Saccharomyces boulardii and Bifidobacterium co-treatment for antibiotic associated diarrhea in pediatrics: a multicenter efficacy and safety study Lactobacillus strains have also shown benefit in trials.16PubMed Central. Probiotics for the Prevention of Antibiotic-Associated Diarrhea
For acute infectious diarrhea that has already started, the evidence for probiotics is weaker and more mixed. Some trials show a modest reduction in duration, but several large, well-designed recent trials have found little benefit. The practical takeaway: probiotics are more useful for prevention (started at the same time as an antibiotic course) than for treatment of diarrhea that is already happening.
Zinc Supplementation in Children
In children, particularly in low- and middle-income settings where zinc deficiency is more prevalent, zinc supplementation has become a standard part of diarrhea management alongside oral rehydration. A meta-analysis found that zinc supplementation reduced the duration of acute diarrhea by about 13 hours compared to placebo and increased the proportion of children who had recovered at follow-up.17PubMed Central. Zinc supplementation for acute and persistent watery diarrhoea in children: A systematic review and meta-analysis The World Health Organization recommends zinc along with ORS for all children with acute diarrhea. This recommendation is primarily aimed at populations where zinc deficiency is common; in well-nourished children in high-income countries, the benefit is less clear.
Diarrhea Medicine and Children
Treating diarrhea in children requires more caution than treating it in adults, and several commonly used adult medicines are not safe for young kids.
Loperamide is the primary concern. While it is available over the counter for adults and older children, it poses real dangers to young children. In children under three, those who are malnourished, or those with moderate to severe dehydration, the risks of loperamide outweigh the benefits even at recommended doses.18PLoS Medicine. Loperamide Therapy for Acute Diarrhea in Children: Systematic Review and Meta-Analysis An analysis of adverse event reports to the FDA identified key safety signals including cardiac conduction abnormalities, lethargy, paralytic ileus (where the bowel stops moving entirely), and fatalities associated with loperamide use in children.19PubMed. Adverse Events Associated with Over-the-counter Antidiarrheals in Children: An Observational Real-world FAERS-based Disproportionality Analysis Study Diphenoxylate-atropine, another prescription antidiarrheal, was linked to central nervous system adverse events in children in the same analysis.
For children, the treatment priorities are different from adults. Oral rehydration solution is the mainstay. Zinc supplementation is recommended for children in settings where deficiency is common. Probiotics can help prevent antibiotic-associated diarrhea. And for bacterial causes, age-appropriate antibiotics are used when indicated. The bottom line is that the common adult reflex of “take some Imodium” does not safely translate to young children, and parents should consult a pediatrician rather than reaching for OTC antidiarrheals for kids under six.
When to See a Doctor Instead of Self-Treating
Most episodes of acute diarrhea in healthy adults resolve within a few days with fluids and possibly an OTC medicine. But certain warning signs indicate that you should see a healthcare provider rather than managing things at home:
- Blood in stool: This can indicate a bacterial infection that needs specific antibiotics or an inflammatory condition that antimotility drugs could worsen.
- High fever: A temperature above 102°F (39°C) with diarrhea suggests an invasive infection rather than a simple viral illness.
- Duration beyond three days: If OTC measures are not resolving symptoms within 48 to 72 hours, the cause may need investigation.
- Signs of dehydration: Minimal urine output, extreme thirst, or lightheadedness warrant medical evaluation, especially in older adults.
- Recent antibiotic use: Diarrhea developing during or shortly after an antibiotic course raises concern for C. diff and should be evaluated rather than masked with loperamide.
- Chronic pattern: Loose stools that recur over weeks or months need a workup to identify the underlying cause rather than indefinite OTC treatment.
Self-treating with loperamide or bismuth is appropriate for garden-variety stomach bugs in otherwise healthy adults. But treating the symptom without understanding the cause can backfire when the diarrhea is being driven by something that needs targeted therapy. The range of prescription options available today is broad enough that most causes of chronic or severe diarrhea have a specific treatment. The trick is getting the right diagnosis first.
Medicines That Combine Approaches
One pattern that appears repeatedly in the clinical research is that combining an antimotility agent with an antibiotic or antisecretory drug often works better than either alone. The rifaximin-plus-loperamide trial is a good example: patients who received both agents passed fewer unformed stools and recovered faster than those on either drug individually.7PubMed Central. Treatment of travelers’ diarrhea: randomized trial comparing rifaximin, rifaximin plus loperamide, and loperamide alone Clinical reviews of travelers’ diarrhea management echo this, recommending judicious use of both antimotility and antimicrobial therapy to reduce severity and duration.8PubMed Central. Travelers’ Diarrhea: A Clinical Review
This makes intuitive sense. The antibiotic addresses the root cause (the bacteria), while loperamide provides immediate symptom relief by slowing things down long enough for the antibiotic to work. The combination is not appropriate in all situations, particularly not with bloody diarrhea or suspected C. diff, but for uncomplicated bacterial travelers’ diarrhea it represents the current best practice. If your doctor prescribes an antibiotic for a diarrheal illness and suggests you also take loperamide, that is not doubling up unnecessarily. It is the regimen most likely to get you feeling normal quickly.