What Medicine Is for Diarrhea: OTC and Rx Options

The most widely used over-the-counter medicine for diarrhea is loperamide (sold as Imodium), which slows intestinal movement and lets the gut absorb more water. Bismuth subsalicylate (Pepto-Bismol) is another common OTC choice that works differently, targeting the infectious and inflammatory side of loose stools. Beyond those two pharmacy staples, the right medicine depends heavily on what is causing the diarrhea, how long it has lasted, and who the patient is. Prescription options range from targeted antibiotics to newer drugs designed for chronic conditions like irritable bowel syndrome.

Loperamide for Fast Symptom Relief

Loperamide is the go-to OTC drug when you need diarrhea to stop quickly. It works by slowing transit through the small intestine, which gives the intestinal lining more contact time with the liquid passing through and allows more water and electrolytes to be absorbed back into the body. It also strengthens the tone of the anal sphincter, reducing urgency and the risk of accidents. The result is fewer, firmer bowel movements, often within an hour or two of the first dose.1PubMed. loperamide–a potent antidiarrhoeal drug with actions along the alimentary tract

At the doses found in OTC packaging (typically 2 mg per dose, up to 8 mg a day for adults), loperamide’s main effect is actually at the mucosal level rather than simply paralyzing the gut. When the lining is irritated by a secretory trigger, the drug helps reverse the pressure that pushes fluid into the intestine, restoring a more normal absorptive state.2PubMed. Loperamide. Survey of studies on mechanism of its antidiarrheal activity That distinction matters because it means loperamide at standard doses is not just “plugging you up.” It is helping the intestine do what it normally does: pull water back in.

There are important situations where you should avoid loperamide. If diarrhea comes with high fever, bloody stools, or signs of a serious bacterial infection, slowing gut movement can keep the pathogen inside longer. And loperamide should not be given to young children. Pediatric guidelines are clear that the drug carries risks of serious side effects in kids, including effects on the central nervous system and the risk of paralytic ileus, and international guidelines agree it has no place in treating childhood diarrhea.3Jornal de Pediatria. Acute diarrhea: evidence-based management

Bismuth Subsalicylate for Infectious Diarrhea

Bismuth subsalicylate, the active ingredient in Pepto-Bismol and similar pink liquids, works through a completely different set of mechanisms than loperamide. It has antisecretory, anti-inflammatory, and direct antibacterial properties, making it a broader-spectrum option when you suspect a bug is involved.4PubMed Central. Is There a Role for Bismuth in Diarrhea Management? Lab studies show that bismuth compounds substantially reduce the growth of common diarrhea-causing bacteria and can lower the infectivity of norovirus-like viruses.5PubMed Central. Antimicrobial activity of bismuth subsalicylate on Clostridium difficile, Escherichia coli O157:H7, norovirus, and other common enteric pathogens

For mild traveler’s diarrhea, expert guidelines suggest bismuth subsalicylate or loperamide rather than jumping straight to antibiotics.6PubMed Central. Travelers’ Diarrhea: A Clinical Review Bismuth is also used as a second-line treatment for microscopic colitis, a chronic inflammatory condition of the colon that causes persistent watery diarrhea, particularly in older adults.7Mayo Clinic Proceedings. Management of Chronic Diarrhea and Microscopic Colitis

The downsides are mild but worth knowing. Bismuth turns your tongue and stool black, which is harmless but alarming if you are not expecting it. The salicylate component means it should be used cautiously if you take blood thinners or are allergic to aspirin. And you should not take it for more than a few days at high doses without medical advice.

Why Rehydration Matters More Than Any Drug

No anti-diarrheal pill addresses the most dangerous part of diarrhea: losing water and electrolytes. For most episodes of acute diarrhea, staying hydrated is more important than stopping the symptoms. Oral rehydration solutions (ORS) exploit a mechanism in the intestinal lining that survives even during a severe infection. A specific transport channel pairs sodium and glucose together, and as long as both are present in the right ratio, the gut continues pulling water in even when the usual absorption pathways are impaired.8Current Gastroenterology Reports. Principles and Practice of Oral Rehydration

This is why sports drinks and flat soda are not ideal substitutes for ORS packets. The sugar-to-salt ratio matters for how much water actually gets absorbed. Too much sugar and the fluid can worsen diarrhea by pulling water into the gut through osmosis. Commercial ORS products (like Pedialyte or WHO-formulation packets) are designed with the right balance. For a healthy adult with a mild stomach bug, plain water plus some salty snacks will usually do, but for children, older adults, or anyone losing large volumes of fluid, a proper ORS can be the difference between recovering at home and needing an IV.

Probiotics and Antibiotic-Associated Diarrhea

If your diarrhea started after you began taking antibiotics, probiotics are one of the few interventions with real evidence behind them for that specific scenario. Antibiotics can wipe out protective gut bacteria, leading to loose stools in a significant fraction of patients. A systematic review and meta-analysis found that certain probiotic strains, mainly Lactobacillus and Bifidobacterium species, reduced the risk of antibiotic-associated diarrhea, with higher doses showing a stronger protective effect.9PubMed Central. Probiotics for the prevention of antibiotic-associated diarrhoea: a systematic review and meta-analysis In one hospital trial, patients receiving a combination of Lactobacillus reuteri and Lactobacillus rhamnosus GG had roughly half the rate of diarrhea compared to those given antibiotics alone.10PubMed Central. The Efficacy of a Mix of Probiotics in Preventing Antibiotic-Associated Diarrhea and Clostridium difficile Infection in Hospitalized Patients

The key caveat: not all probiotic products are equal, and the evidence is strain-specific. Grabbing a random yogurt off the shelf is not the same as taking a studied probiotic at a therapeutic dose. If you are trying to prevent antibiotic-related gut problems, look for products that name the specific strains on the label and aim for higher colony counts. Saccharomyces boulardii is another well-studied option with evidence for this use.11PubMed Central. Probiotics for the Prevention of Antibiotic-Associated Diarrhea

Prescription Antibiotics for Travelers’ and Bacterial Diarrhea

When diarrhea is moderate to severe, especially during travel, prescription antibiotics become part of the treatment plan. The three main options are azithromycin, fluoroquinolones (like ciprofloxacin), and rifaximin. Expert guidelines give azithromycin the strongest recommendation across the board. It works for moderate and severe cases, and unlike the other two, it can be used even when dysentery (bloody diarrhea) is present.12Journal of Travel Medicine. Guidelines for the prevention and treatment of travelers’ diarrhea: a graded expert panel report

Fluoroquinolones were once the default choice, but rising bacterial resistance, particularly in Southeast Asia, and concerns about side effects on tendons and gut microbiome diversity have made guidelines more cautious about recommending them. They remain an option for severe non-dysenteric cases. Rifaximin, which stays mostly in the gut and is barely absorbed into the bloodstream, is a gentler alternative for non-invasive bacterial diarrhea but is not recommended when the pathogen could be invasive.6PubMed Central. Travelers’ Diarrhea: A Clinical Review

For parasitic infections like Cryptosporidium, antibiotics designed for bacteria will not help. Nitazoxanide is currently the only proven anti-parasitic treatment for that pathogen.13PubMed Central. Treatment of Cryptosporidium: What We Know, Gaps, and the Way Forward This is one reason persistent diarrhea after travel warrants a stool test rather than another round of self-treatment.

Treating Clostridioides difficile Infection

C. diff deserves its own discussion because it is both a common complication of antibiotic use and a situation where the wrong treatment makes things worse. Ironically, the standard treatment for C. diff diarrhea is more antibiotics, but specific ones. For mild-to-moderate infections, oral metronidazole has traditionally been the first-line option. More severe cases call for oral vancomycin from the start. Patients who cannot swallow medications or who have an intestinal obstruction may receive IV metronidazole combined with vancomycin delivered rectally.14PubMed Central. Current Treatment Options for Severe Clostridium difficile-associated Disease

The hardest part of C. diff is recurrence. About one in five patients gets reinfected after the first treatment, and the risk climbs with each recurrence. For people stuck in a cycle of relapsing infection, fecal microbiota transplantation (FMT) has emerged as a remarkably effective option. A Cochrane review of six trials found that FMT roughly doubled the rate of infection resolution compared to standard treatment, with a number needed to treat of just three, meaning for every three patients who receive FMT, one additional person is cured who would not have been with antibiotics alone.15PubMed. Fecal microbiota transplantation for the treatment of recurrent Clostridioides difficile (Clostridium difficile) The FDA has now approved standardized microbiota products derived from donor stool, making this once-experimental therapy more accessible.

Prescription Options for IBS With Diarrhea

Chronic diarrhea caused by irritable bowel syndrome (IBS-D) calls for a different class of drugs entirely. The goal shifts from fighting an infection to calming an overactive gut-brain signaling loop that persists month after month.

Eluxadoline (Viberzi) acts on opioid receptors in the gut in a more targeted way than loperamide. In two large trials, the 100 mg dose reduced both abdominal pain and stool frequency for at least six months, with roughly 30% of patients meeting the combined response endpoint versus about 17–20% on placebo.16PubMed. Eluxadoline for Irritable Bowel Syndrome with Diarrhea It does carry a small risk of pancreatitis, so it is not prescribed for people who have had their gallbladder removed or who drink heavily.

The serotonin receptor antagonists alosetron and ramosetron target a different pathway. A network meta-analysis comparing all major IBS-D drugs found that alosetron at 1 mg twice daily ranked first for efficacy on the FDA’s composite endpoint of pain and stool consistency improvement.17Gut. Efficacy of pharmacological therapies in patients with IBS with diarrhoea or mixed stool pattern: systematic review and network meta-analysis However, alosetron is restricted to women with severe IBS-D who have failed other treatments, because it carries a rare but serious risk of severe constipation and reduced blood flow to the colon. Rifaximin, the same gut-limited antibiotic used for traveler’s diarrhea, is also FDA-approved for IBS-D at a different dosing schedule.

Antispasmodic drugs like dicyclomine and hyoscine are sometimes prescribed to manage the cramping and urgency that come with IBS-related diarrhea. Studies show they improve overall IBS symptoms compared to placebo, though the evidence tends to be strongest for abdominal pain rather than stool frequency itself.18PubMed Central. Antispasmodics for Chronic Abdominal Pain: Analysis of North American Treatment Options Outside North America, drugs like otilonium bromide and pinaverium bromide are commonly used for the same purpose.19Intestinal Research. Pharmacologic Agents for Chronic Diarrhea

Bile Acid Diarrhea and Sequestrants

One commonly overlooked cause of chronic diarrhea is bile acid malabsorption. Bile acids are made by the liver to help digest fat. Normally, the end of the small intestine recycles them. When that recycling fails, excess bile acids spill into the colon and trigger watery diarrhea. This happens frequently after gallbladder removal, with one case series finding a marked degree of bile acid malabsorption in nearly all patients with post-surgical diarrhea.20PubMed Central. Bile acid malabsorption in chronic diarrhea: Pathophysiology and treatment

The treatment is bile acid sequestrants, drugs that bind the excess bile acids and prevent them from irritating the colon. Cholestyramine is the oldest and best known, but it tastes unpleasant and can interfere with the absorption of other medications. Colesevelam is a newer alternative that comes in tablet form and is easier to tolerate. A meta-analysis of randomized trials found that bile acid sequestrants were about three times more likely than placebo to stop diarrhea episodes entirely, and about two and a half times more likely to normalize stool consistency.21PubMed. Efficacy of Bile Acid Sequestrants in the Treatment of Bile Acid Diarrhea: A Meta-Analysis of Randomized Controlled Trials The trade-off is an increase in abdominal cramping for some patients, and the need to take other medications a few hours apart from the sequestrant to avoid absorption problems.

Crofelemer for HIV-Related Diarrhea

Chronic diarrhea is a common side effect of antiretroviral therapy used to treat HIV, and it is one of the harder forms of diarrhea to manage because the cause is not an infection but the medications themselves. Crofelemer (Mytesi) was developed specifically for this situation. It works by blocking chloride channels in the intestinal lining that drive excess fluid secretion, essentially turning down the faucet without affecting gut motility. Because it is barely absorbed into the bloodstream, it has a favorable side-effect profile and does not interact with antiretroviral drugs.22PubMed Central. Crofelemer for the treatment of chronic diarrhea in patients living with HIV/AIDS Crofelemer is FDA-approved only for this narrow use, but its unique mechanism has generated interest in studying it for other types of secretory diarrhea.

Children and Diarrhea Treatment

Managing diarrhea in children requires a different playbook. As noted earlier, loperamide is off-limits in pediatric practice. The cornerstones of treatment are oral rehydration and, in specific populations, zinc supplementation. The WHO and UNICEF have highlighted zinc’s ability to reduce both the severity of an ongoing episode and the frequency of future episodes in children under five, particularly in malnourished children or those in low-resource settings.3Jornal de Pediatria. Acute diarrhea: evidence-based management A network meta-analysis of interventions for childhood acute diarrhea found that Saccharomyces boulardii combined with zinc and smectite combined with zinc were consistently among the best-performing treatments.23PLOS ONE. Comparative effectiveness and safety of interventions for acute diarrhea and gastroenteritis in children

Smectite (diosmectite) is worth knowing about for parents. It is a natural clay that coats the intestinal lining and binds toxins. It is widely used in Europe and Latin America for pediatric diarrhea, though it is less familiar in North America. Unlike loperamide, it does not slow gut motility in a way that poses risks to children.

When the Problem Is Food Intolerance, Not Infection

Not all chronic diarrhea needs an anti-diarrheal drug. If yours reliably appears after consuming dairy, the culprit may be lactose intolerance rather than a gut disorder. Over-the-counter lactase enzyme supplements, taken just before eating dairy, can meaningfully reduce diarrhea and other symptoms. A crossover study found that clinical symptoms and objective measures of malabsorption improved significantly when patients received lactase compared to placebo.24PubMed Central. Effect of lactase on symptoms and hydrogen breath levels in lactose intolerance: A crossover placebo‐controlled study

Drug-induced diarrhea is another common cause that gets missed. Metformin, proton pump inhibitors, SSRIs, magnesium-containing antacids, and many other widely prescribed medications can cause chronic loose stools as a side effect.25Journal of Clinical Gastroenterology. Spectrum of Drug-induced Chronic Diarrhea If your diarrhea started around the time a new medication was added, that connection is worth raising with your doctor before layering on anti-diarrheal drugs that treat the symptom but not the cause.

Fiber as a Stool-Firming Agent

It sounds counterintuitive to take fiber for diarrhea, since most people associate it with loosening stool. But certain types of fiber work both ways. Psyllium is a gel-forming fiber that has been shown in placebo-controlled studies to normalize stool form in both directions, firming up loose stools and softening hard ones. It has demonstrated benefit in chronic diarrhea, IBS, fecal incontinence, and diarrhea caused by tube feeding.26ScienceDirect. Dietary Interventions in Gastrointestinal Diseases The evidence is not universal, though: one randomized trial of psyllium in hospitalized tube-fed patients found no reduction in diarrhea incidence.27PubMed. Effect of Psyllium Fiber Supplementation on Diarrhea Incidence in Enteral Tube-Fed Patients For people with IBS-D or mildly loose stools, a daily psyllium supplement is a low-risk option worth trying before or alongside medication.