What Medicine Is Good for Diarrhea and When to Use It

Loperamide (sold as Imodium) is the most effective over-the-counter medicine for stopping diarrhea in adults. It works by slowing down the movement of your gut, giving your intestines more time to absorb water and firm up stools. For most cases of sudden, uncomplicated diarrhea, it provides relief within an hour of taking it.

Over-the-Counter Options

Two main OTC medicines are widely available for diarrhea, and they work in completely different ways.

Loperamide (Imodium) is the go-to for slowing frequent, watery bowel movements. It acts on the muscles of your intestinal wall to reduce contractions, which means food and fluid spend more time in your gut and more water gets reabsorbed. The standard adult dose is 4 mg after the first loose stool, then 2 mg after each subsequent one, up to 16 mg per day. Most people notice improvement quickly. It’s especially useful when you need to function normally, like during travel or at work, and it’s safe for adults when used as directed for a few days.

Bismuth subsalicylate (Pepto-Bismol, Kaopectate) takes a different approach. It has mild anti-inflammatory and antibacterial properties, and it coats the lining of your stomach and intestines. It’s gentler than loperamide and better suited for milder diarrhea, especially when you also have nausea or an upset stomach. It won’t stop diarrhea as quickly, but it can reduce the frequency of loose stools and ease cramping. One well-known side effect: it can temporarily turn your tongue and stool black, which is harmless.

When to Use Which Medicine

For standard traveler’s diarrhea or a short bout of stomach upset from food, loperamide is the faster, more effective choice. If your symptoms are mild and you’re mostly dealing with general stomach discomfort alongside loose stools, bismuth subsalicylate covers more ground since it addresses nausea and indigestion too.

You can actually use both together. Studies on traveler’s diarrhea have shown that combining loperamide with bismuth subsalicylate can reduce the duration of symptoms more than either one alone. This combination is reasonable for a day or two when you need maximum relief.

There are situations where you should skip loperamide entirely. If you have a high fever, bloody or black stools, or severe abdominal pain, slowing your gut down can actually make things worse. These symptoms suggest an infection where your body needs to clear the bacteria. Loperamide should also be avoided in young children unless a pediatrician specifically recommends it.

Oral Rehydration: The Most Important Step

Medicine stops symptoms, but dehydration is what makes diarrhea dangerous. Every loose stool pulls water and electrolytes out of your body, and replacing them matters more than stopping the diarrhea itself. Oral rehydration solutions (like Pedialyte or store-brand equivalents) contain the right balance of salt, sugar, and potassium to help your intestines absorb fluid efficiently. The World Health Organization’s oral rehydration formula has prevented millions of deaths from diarrheal illness worldwide.

If you don’t have a commercial rehydration solution, you can approximate one by mixing six teaspoons of sugar and half a teaspoon of salt into a liter of clean water. Sports drinks aren’t ideal because they contain too much sugar and not enough sodium, but they’re better than nothing. The key signs you’re getting dehydrated include dark urine, dry mouth, dizziness when standing, and feeling unusually thirsty.

Probiotics and Their Role

Probiotics have a modest but real effect on shortening diarrhea, particularly when the cause is a viral stomach bug or antibiotic use. The strains with the most evidence behind them are Saccharomyces boulardii (a yeast-based probiotic) and Lactobacillus rhamnosus GG. In clinical trials, these strains reduced the duration of acute diarrhea by roughly one day compared to placebo.

For antibiotic-associated diarrhea specifically, starting a probiotic at the same time as your antibiotic course can cut the risk of developing diarrhea by about 40 to 50 percent. Take the probiotic a few hours apart from the antibiotic so the antibiotic doesn’t immediately kill the beneficial bacteria. Probiotics won’t stop diarrhea as quickly as loperamide, but they support gut recovery rather than just masking symptoms.

Prescription Medicines for Chronic Diarrhea

If diarrhea lasts more than two weeks, OTC medicines are no longer the right approach. Chronic diarrhea has a different set of causes, from irritable bowel syndrome to inflammatory bowel disease to food intolerances, and the treatment depends entirely on the underlying problem.

For IBS with diarrhea, doctors may prescribe eluxadoline or rifaximin, both of which target the gut specifically. Bile acid diarrhea, which is more common than most people realize, responds well to bile acid binders like cholestyramine. Infectious causes may need targeted antibiotics. The important thing is that chronic diarrhea warrants a proper diagnosis rather than ongoing use of loperamide, which only treats the symptom.

What to Eat and Avoid

While you’re dealing with diarrhea, your food choices affect how quickly you recover. The traditional BRAT diet (bananas, rice, applesauce, toast) remains a reasonable starting point because these foods are bland, binding, and low in fiber. But you don’t need to restrict yourself to just those four items. Plain potatoes, chicken breast, crackers, and oatmeal are all easy on the gut.

What you avoid matters more than what you eat. Dairy products can worsen diarrhea because your gut temporarily loses some of its ability to digest lactose during a bout of illness. Caffeine stimulates intestinal contractions. Fatty and greasy foods are harder to digest. Alcohol is dehydrating and irritating to the gut lining. Sugar alcohols found in sugar-free gum and candy (sorbitol, xylitol, mannitol) are notorious for causing loose stools even in healthy people.

Children and Diarrhea Medicine

The rules are different for kids. Loperamide is not recommended for children under 2, and most pediatric guidelines advise against it for children under 6 without medical supervision. Bismuth subsalicylate is also off-limits for children and teenagers during or after viral illness due to its aspirin-like properties and the associated risk of Reye’s syndrome.

For children, the priority is fluid replacement. Pedialyte or a similar oral rehydration solution is the first-line treatment. Probiotics containing Lactobacillus rhamnosus GG have shown benefit in children with viral gastroenteritis and are safe across age groups. If a child’s diarrhea persists beyond a day or two, is accompanied by fever, or if the child shows signs of dehydration (no tears when crying, fewer wet diapers, sunken eyes), that warrants prompt medical attention.