Several medications can help stop diarrhea, and the right choice depends on what’s causing it and how long it’s been going on. For a common bout of acute diarrhea, over-the-counter options like loperamide or bismuth subsalicylate work well for most adults. Chronic or recurring diarrhea, especially tied to conditions like irritable bowel syndrome, may need prescription treatment.
Loperamide: The Go-To OTC Option
Loperamide (sold as Imodium A-D) is the most widely used over-the-counter diarrhea medication. It works by slowing the contractions in your intestinal wall and promoting the absorption of fluid and electrolytes back into your body, rather than letting them pass through as watery stool. It acts on the same receptors as opioid painkillers but stays in the gut, so it doesn’t cause the drowsiness or euphoria associated with those drugs.
The FDA sets the maximum OTC dose for adults at 8 mg per day. Prescription use allows up to 16 mg per day under medical supervision. Most people take 4 mg after the first loose stool, then 2 mg after each subsequent episode. Loperamide is effective for run-of-the-mill viral stomach bugs, traveler’s diarrhea, and food-related episodes, but you should avoid it if you have a fever above 102°F or bloody stools, since those signs suggest an infection your body may need to fight off rather than slow down.
Bismuth Subsalicylate
Bismuth subsalicylate (Pepto-Bismol, Kaopectate) takes a different approach. It reduces inflammation in the gut lining, slows the movement of fluid into the intestines, and has mild antimicrobial properties. It’s particularly useful when diarrhea comes with nausea, heartburn, or an upset stomach, since it addresses multiple symptoms at once.
One important safety note: bismuth subsalicylate contains a compound related to aspirin. Children or teenagers who have or are recovering from the flu, chickenpox, or other viral infections should not take it because of the risk of Reye’s syndrome, a rare but serious condition affecting the brain and liver. Adults taking blood thinners or aspirin should also check with a pharmacist before using it.
Probiotics That Shorten Symptoms
Probiotics aren’t traditional medications, but one strain in particular has strong evidence behind it. A probiotic yeast called Saccharomyces boulardii (found in products like Florastor) has been shown in pooled clinical trials to shorten the duration of acute diarrhea by about 1.6 days compared to no treatment. The effect is even larger for diarrhea caused by rotavirus, where it cut symptom duration by roughly 2 days.
S. boulardii also significantly reduced markers of gut inflammation in these studies. It works best when started early in an episode and taken alongside oral rehydration. It won’t stop diarrhea as quickly as loperamide on any given day, but it helps resolve the underlying episode faster. It’s generally safe for both adults and children, though people with compromised immune systems or central IV lines should avoid it.
Antispasmodics for Cramping and Urgency
When diarrhea comes with painful cramping, especially after meals, antispasmodic medications can help. These prescription drugs, including dicyclomine (Bentyl) and hyoscyamine (Levsin), work by blocking nerve signals that trigger excessive intestinal contractions. When those contractions speed up, food and liquid rush through the bowel too fast for water to be absorbed, producing diarrhea.
Antispasmodics are used primarily for irritable bowel syndrome and other conditions where the gut overreacts to normal stimulation. They’re typically taken as needed before or shortly after meals. Side effects can include dry mouth, blurred vision, and drowsiness, since the same nerve-blocking action affects other parts of the body.
Prescription Options for Chronic Diarrhea
If diarrhea is an ongoing pattern rather than a one-time event, your doctor may consider medications designed for longer-term use. The American Gastroenterological Association recommends two prescription options for IBS with diarrhea (IBS-D):
- Eluxadoline targets receptors in the gut to reduce contractions and fluid secretion. It’s not appropriate for people who don’t have a gallbladder or who drink more than three alcoholic beverages daily, as it carries a risk of pancreas inflammation in those groups.
- Rifaximin is an antibiotic that stays almost entirely in the gut and is thought to work by changing the bacterial environment in the intestines. A standard course involves taking it for 14 days, with the option to repeat if symptoms return.
Both of these require a formal IBS-D diagnosis and are typically tried after OTC options haven’t provided adequate relief.
When Antibiotics Are Needed
Most diarrhea is caused by viruses and clears on its own without antibiotics. Antibiotics are reserved for bacterial infections and can actually make viral diarrhea worse by disrupting your normal gut bacteria. The Infectious Diseases Society of America recommends testing for specific bacteria like Salmonella, Shigella, and Campylobacter when diarrhea is accompanied by fever, bloody or mucoid stools, severe abdominal tenderness, or signs of sepsis. Only confirmed bacterial infections with these features typically warrant antibiotic treatment.
If diarrhea developed during or shortly after a course of antibiotics for something else, the culprit may be a C. difficile infection, which requires its own specific treatment rather than standard anti-diarrheal medications. Loperamide should generally be avoided in this situation because slowing the gut can trap the toxin inside.
Signs That Diarrhea Needs Medical Attention
In adults, diarrhea that lasts more than two days without improvement, produces bloody or black stools, or comes with a fever above 102°F warrants a doctor visit. Signs of dehydration are equally important: excessive thirst, very dark urine, little or no urination, dizziness, and severe weakness all suggest you’re losing more fluid than you’re replacing.
Children dehydrate faster than adults. For kids, look for no wet diaper in three or more hours, crying without tears, a sunken appearance around the eyes or cheeks, unusual sleepiness or irritability, and skin that stays tented when you gently pinch it. Any of these in a child under two especially calls for prompt evaluation. Severe diarrhea, defined as more than 10 bowel movements a day or fluid losses clearly outpacing what you can drink, is a medical concern at any age.

