The two most effective over-the-counter medications for diarrhea are loperamide (Imodium) and bismuth subsalicylate (Pepto-Bismol). Loperamide works fastest at stopping loose stools, while bismuth subsalicylate is better suited for milder cases, especially when nausea or an upset stomach are part of the picture. Beyond these, the right medication depends on what’s causing the diarrhea, how long it’s lasted, and whether you need a prescription.
Loperamide: The Go-To for Fast Relief
Loperamide is the most widely used anti-diarrheal. It works by binding to receptors in the gut wall that slow down intestinal contractions, giving your body more time to absorb water from stool. It also tightens the anal sphincter, which directly reduces urgency and the feeling that you can’t make it to a bathroom in time.
The standard approach for adults is to take 4 mg (two caplets) at the first loose stool, then 2 mg after each additional unformed stool. The maximum is 16 mg in a 24-hour period. Most people find their symptoms improve within a few hours. Loperamide is appropriate for common, uncomplicated diarrhea from dietary triggers, stress, or a mild stomach bug.
There are situations where you should avoid loperamide entirely. If your stool contains blood, if you have a high fever, or if you suspect a serious bacterial infection, slowing gut movement can trap harmful bacteria in the intestine and make things worse. Loperamide should also never be used with certain dangerous infections, including C. difficile and E. coli O157:H7, because it has been linked to hemolytic uremic syndrome in those cases.
Bismuth Subsalicylate for Milder Symptoms
Bismuth subsalicylate, the active ingredient in Pepto-Bismol and Kaopectate, takes a different approach. Rather than slowing gut movement, it reduces inflammation and irritation in the intestinal lining and has mild antimicrobial properties. It’s a reasonable choice when diarrhea comes alongside nausea, heartburn, or general stomach discomfort.
The tradeoff is that it’s less powerful than loperamide at stopping diarrhea outright. It also causes harmless but alarming side effects: your tongue may turn dark, and your stools can become grayish-black. Both go away once you stop taking it. More importantly, bismuth subsalicylate contains a compound related to aspirin, so anyone with an aspirin allergy should avoid it. For the same reason, it should not be given to children or teenagers recovering from a viral illness due to the risk of Reye syndrome.
Age Restrictions for Children
Children’s diarrhea requires a more cautious approach than adults’. The FDA approves loperamide only for children over age 2, and even then, serious side effects have been reported in children under 3, particularly those who are malnourished or dehydrated. For young children, the priority is replacing lost fluids with an oral rehydration solution rather than reaching for medication. Pedialyte or similar products do more good than anti-diarrheal drugs in most pediatric cases.
Antibiotics for Bacterial Diarrhea
When diarrhea is caused by a bacterial infection, particularly traveler’s diarrhea picked up abroad, antibiotics are the appropriate treatment. These require a prescription (or a pre-trip prescription from a travel medicine provider).
Azithromycin is the preferred first-line antibiotic for traveler’s diarrhea, especially when symptoms include fever or bloody stool. It can be taken as a single 1,000 mg dose or split over three days. Fluoroquinolone antibiotics like ciprofloxacin are another option, though azithromycin is favored in Southeast Asia and other regions where fluoroquinolone-resistant bacteria are common. A gut-targeted antibiotic called rifaximin is sometimes used for uncomplicated watery diarrhea but is not appropriate when invasive bacteria like Salmonella or Shigella are suspected.
Antibiotics and loperamide can be used together. The CDC notes that combining them often provides faster relief than either alone: the antibiotic kills the bacteria while loperamide manages symptoms in the meantime.
Prescription Options for Chronic Diarrhea
If diarrhea persists for weeks or keeps coming back, the medication strategy shifts from symptom control to treating the underlying cause.
Diphenoxylate-Atropine
This prescription anti-diarrheal works similarly to loperamide but is stronger. It’s classified as a Schedule V controlled substance because diphenoxylate is chemically related to opioids. A small amount of atropine is added to the formulation specifically to discourage misuse. It’s typically reserved for diarrhea that doesn’t respond well to over-the-counter options.
IBS-D Medications
For people diagnosed with irritable bowel syndrome with diarrhea (IBS-D), a medication called eluxadoline (Viberzi) can reduce both diarrhea and abdominal pain by acting on opioid receptors in the gut. It carries notable restrictions: it cannot be used by anyone without a gallbladder due to a risk of pancreatitis, and it’s also off-limits for people with a history of pancreatitis, bile duct problems, or heavy alcohol use. Constipation is the most common side effect, and in rare cases it can become severe.
Bile Acid Sequestrants
Some chronic diarrhea turns out to be caused by bile acid malabsorption, a condition where excess bile acids reach the colon and trigger it to secrete extra fluid while speeding up muscle contractions. Bile acid sequestrants are the standard treatment. Some doctors use these medications as a diagnostic test: if your chronic diarrhea improves on a bile acid sequestrant, bile acid malabsorption was likely the cause.
Signs You Need More Than Medication
Over-the-counter anti-diarrheals are meant for short-term use. For adults, diarrhea that hasn’t improved after two days, stools that are bloody or black, a fever above 102°F, or signs of dehydration like dark urine, dry mouth, dizziness, or severe weakness all warrant medical attention rather than another dose of Imodium.
For children, the timeline is tighter. A child whose diarrhea hasn’t improved in 24 hours, who hasn’t had a wet diaper in three or more hours, or who seems unusually sleepy or unresponsive needs to be seen promptly. Sunken eyes, a sunken soft spot on an infant’s head, or skin that stays “tented” when pinched are signs of significant dehydration that require urgent care.

