The fastest way to stop diarrhea is with loperamide (the active ingredient in Imodium), which slows gut motility and can control symptoms within hours of the first dose. Most cases of acute diarrhea clear up on their own within a couple of days, but the right combination of medication, fluids, and food choices can shorten that window significantly.
Loperamide Works Faster Than Other Options
Two over-the-counter medications are widely used for diarrhea: loperamide and bismuth subsalicylate (the active ingredient in Pepto-Bismol). Head-to-head research shows loperamide is the faster, more effective choice. In a comparative trial, loperamide reduced the number of unformed bowel movements more than bismuth subsalicylate, maintained control of symptoms for longer after the first dose, and shortened the time to the last unformed stool. If speed is the priority, loperamide is the better pick.
Loperamide works by slowing down the contractions in your intestines, giving your body more time to absorb water from stool. The maximum over-the-counter dose for adults is 8 mg per day, which typically means two caplets to start, then one after each loose stool up to that daily cap. Don’t exceed this limit. The FDA has flagged loperamide misuse as a serious safety concern because high doses can cause dangerous heart rhythm problems.
Bismuth subsalicylate takes a different approach. It coats the lining of your gut and reduces inflammation and fluid secretion. It’s gentler and may be a better fit if you also have nausea or an upset stomach, but it won’t stop loose stools as quickly.
Replace Fluids Before Anything Else
Diarrhea pulls water and electrolytes out of your body fast. Dehydration is the main risk, not the diarrhea itself. You can make a simple rehydration drink at home: combine 4 cups of water, half a teaspoon of table salt, and 2 tablespoons of sugar. The sugar helps your intestines absorb the salt and water more efficiently. Sip this steadily rather than gulping it down.
Store-bought electrolyte drinks like Pedialyte or similar products work the same way. Plain water is fine for mild cases, but if you’re losing a lot of fluid, you need the sodium and a small amount of glucose to actually retain what you’re drinking. Avoid sports drinks loaded with sugar, since large amounts of simple sugars can make diarrhea worse.
What to Eat (and What to Skip)
You may have heard of the BRAT diet (bananas, rice, applesauce, toast), but most experts no longer recommend following a restricted diet during acute diarrhea. The current guidance from the National Institute of Diabetes and Digestive and Kidney Diseases is straightforward: once you feel like eating, return to your normal diet. Children should continue their usual age-appropriate meals, and infants should keep getting breast milk or formula. Starving yourself or limiting food to just a few bland items can actually slow recovery by depriving your body of the nutrients it needs to heal.
That said, certain foods and drinks will actively make things worse. Avoid these until your stools return to normal:
- Caffeine (coffee, tea, some soft drinks), which stimulates gut contractions
- Alcohol, which irritates the digestive tract and promotes fluid loss
- High-fat foods like fried food, pizza, and fast food. Unabsorbed fat reaches the colon and triggers fluid secretion, prolonging loose stools.
- High-sugar foods and drinks, including fruit juice, soda, and candy. Sugars stimulate the gut to release water and electrolytes. Fructose is a common culprit, and consuming more than 40 to 80 grams per day can cause diarrhea on its own.
- Sugar alcohols like sorbitol, mannitol, and xylitol, found in sugar-free gum, candy, and some medications. These are poorly absorbed and pull water into the intestines.
- Dairy products. Some people temporarily lose the ability to digest lactose during and after a bout of diarrhea, and this can persist for a month or more.
Probiotics Can Shorten Recovery
A specific probiotic yeast called Saccharomyces boulardii (sold under brand names like Florastor) has solid evidence behind it for acute diarrhea. A meta-analysis of 22 trials published by the American Academy of Pediatrics found that it reduced the total duration of diarrhea by about 20 hours compared to placebo. It also cut stool frequency and lowered the chance of still having diarrhea on days three and four. Most of this research was done in children, but the strain is widely used and considered safe for adults too.
Other probiotic strains like Lactobacillus rhamnosus GG have some supporting evidence, but S. boulardii has the most consistent results for acute episodes. Probiotics won’t stop diarrhea within an hour the way loperamide can, but they complement medication by helping your gut recover its normal balance faster.
How Long Diarrhea Typically Lasts
Most acute diarrhea, the kind caused by a virus, contaminated food, or a temporary gut irritant, clears up within two to three days without any treatment at all. With loperamide and proper hydration, many people see improvement within the first day. Bacterial infections can last longer, sometimes a week or more, and occasionally require antibiotics.
If you’re doing everything right and symptoms aren’t improving after 48 hours, that’s a signal something else may be going on. Pay attention to these warning signs that call for medical attention:
- Bloody or black stools
- Fever above 102°F (39°C)
- Severe abdominal or rectal pain
- Signs of dehydration: excessive thirst, very dark urine, little or no urination, dizziness, or skin that doesn’t bounce back when you pinch it
For children, the timeline is tighter. Seek care if diarrhea doesn’t improve within 24 hours, if a child has no wet diaper in three or more hours, or if any of the symptoms above appear. Young children and older adults dehydrate faster and have less margin for delay.
A Quick-Action Plan
If you need to get diarrhea under control as quickly as possible, layer these strategies together. Take loperamide as directed to slow things down immediately. Start sipping an electrolyte solution right away, even if you don’t feel thirsty. Cut out caffeine, alcohol, dairy, and high-fat or high-sugar foods until your gut settles. Add a Saccharomyces boulardii probiotic to shave hours off your recovery. And eat when you’re hungry, choosing whatever you normally eat rather than restricting yourself to toast and bananas. Most people feel noticeably better within 12 to 24 hours using this approach.

