Most cases of diarrhea resolve on their own within two to three days, but what you eat, drink, and take during that window makes a real difference in how quickly you recover. The single most important step is replacing lost fluids, and beyond that, a handful of straightforward changes to your diet and habits can reduce episodes and keep them from coming back.
Start With Fluids, Not Food
Diarrhea pulls water and electrolytes out of your body fast. Rehydration is the first priority, ideally by mouth. Water alone helps, but it doesn’t replace the sodium and potassium you’re losing. Oral rehydration solutions (sold at most pharmacies) are designed for exactly this purpose. Broth, diluted fruit juice, and coconut water also work in a pinch.
Signs you’re falling behind on fluids include excessive thirst, dry mouth, dark urine, dizziness, and weakness. If you notice these, increase your intake immediately. Small, frequent sips are easier to keep down than gulping large amounts at once.
Foods That Help Firm Things Up
Soluble fiber absorbs water in the gut and adds bulk to loose stool. Good sources include oat bran, barley, white rice, bananas, applesauce, and cooked carrots. These are gentle on your digestive system and easy to tolerate when your stomach is off.
Insoluble fiber does the opposite. It speeds things along and can make diarrhea worse. While you’re symptomatic, cut back on wheat bran, raw vegetables, whole grain bread, and salads. You can reintroduce them once your stools normalize. Plain toast, boiled potatoes, and lean chicken are all safe bets during a flare.
Know Your Dietary Triggers
If diarrhea keeps coming back without an obvious infection, something in your regular diet may be the cause. Fructose is one of the biggest offenders. It’s found naturally in peaches, pears, cherries, and apples, and it’s added to sodas, juice drinks, and applesauce. Many people absorb fructose poorly, and the undigested sugar draws water into the intestine.
Artificial sweeteners cause the same problem. Sorbitol, mannitol, and xylitol (common in sugar-free gum, candy, and some medications) are all poorly absorbed sugars that can trigger loose stools. Lactose, the sugar in dairy, is another frequent culprit. These all belong to a group of poorly digested sugars sometimes called FODMAPs. If you suspect one of these is behind your symptoms, try eliminating it for two to three weeks and see if things improve.
Cut Back on Caffeine and Alcohol
Coffee is a well-known bowel stimulant, and it’s not just the caffeine. Compounds in coffee trigger the release of a stomach hormone called gastrin, which increases gut motility. The warmth of the drink itself relaxes smooth muscle and speeds transit time. On top of that, most people drink coffee in the morning, when the body’s natural reflex to move things through the colon is already at its strongest. If you’re prone to diarrhea, switching to a smaller cup, drinking it with food, or cutting back temporarily can help.
Alcohol irritates the gut lining and disrupts water absorption in the intestine. Beer and wine are particularly common triggers. Even moderate drinking can loosen stools in people who are sensitive.
Over-the-Counter Options
Loperamide (the active ingredient in Imodium) is the most effective nonprescription option for slowing diarrhea. It works by reducing muscle contractions in the intestinal wall, giving your body more time to absorb water. In head-to-head comparisons, loperamide provided faster relief and longer-lasting control than bismuth subsalicylate (Pepto-Bismol), with subjects rating it significantly better after 24 hours.
Bismuth subsalicylate is a reasonable alternative, especially if you also have nausea or mild stomach upset. It works differently: rather than slowing the gut, it reduces the amount of fluid your intestines secrete. Combining loperamide with simethicone (a gas-relief ingredient) may provide faster and more complete relief when bloating and cramping accompany the diarrhea.
One important caveat: avoid loperamide if you have a high fever or bloody stools, since these suggest a bacterial infection where slowing the gut down could do more harm than good.
Probiotics for Prevention
Probiotics won’t stop an active bout of diarrhea overnight, but they can reduce how often episodes happen and how long they last. A large meta-analysis found that probiotics reduced antibiotic-associated diarrhea by 52% and diarrhea from other causes by 34% in adults. The benefit was even larger in children, with a 57% reduction.
Several strains show similar effectiveness, including Saccharomyces boulardii, Lactobacillus rhamnosus GG, and Lactobacillus acidophilus. No single strain clearly outperforms the others, so a product containing any of these is a reasonable choice. If you’re starting antibiotics and want to lower your risk of diarrhea as a side effect, beginning a probiotic at the same time is one of the better-supported preventive strategies.
Preventing Diarrhea While Traveling
Traveler’s diarrhea is the most common travel-related illness, and it’s almost entirely preventable with basic food and water precautions. Wash your hands often with soap and water, especially before eating and after using the bathroom. Alcohol-based hand sanitizer works when soap isn’t available. Keep your hands away from your mouth as a general rule.
In regions with unreliable water treatment, drink only bottled or boiled water. Avoid ice in drinks, raw salads washed in local water, and street food that’s been sitting at room temperature. Cooked food served hot is generally safe. Peelable fruits (bananas, oranges) are lower risk than berries or grapes.
Warning Signs That Need Attention
Most diarrhea is a nuisance, not a danger. But certain symptoms signal something more serious. For adults, these include: diarrhea lasting more than two days without any improvement, signs of dehydration (very dark urine, no urination, severe dizziness), bloody or black stools, severe abdominal or rectal pain, and a fever above 102°F (39°C). More than 10 bowel movements a day, or losing fluids faster than you can replace them, also warrants prompt medical evaluation.
For children, the timeline is shorter. Diarrhea that doesn’t improve within 24 hours, no wet diaper for three or more hours, fever above 102°F, or any blood in the stool all call for a same-day visit. Children dehydrate faster than adults, so the threshold for concern is lower.