How to Treat Diarrhea: Foods, Fluids & Medication

Most cases of diarrhea clear up on their own within two to three days. Your main job in the meantime is to stay hydrated, eat the right foods, and know when the situation calls for medical attention. Here’s what to do from the moment symptoms start.

Start Replacing Fluids Immediately

Diarrhea pulls water and electrolytes out of your body fast. Dehydration is the biggest short-term risk, and it can set in within hours, especially in children and older adults. Don’t wait until you feel thirsty.

Water alone isn’t enough because you’re also losing sodium, potassium, and other minerals. Oral rehydration solutions (sold as Pedialyte or store-brand equivalents) replace both water and electrolytes in the right ratio. Clear broths, diluted fruit juices, and sports drinks also work for mild cases in adults, though sports drinks tend to have more sugar than is ideal. Avoid coffee, alcohol, and full-strength apple or pear juice, all of which can make diarrhea worse.

A good rule of thumb: take small, frequent sips rather than gulping large amounts at once. Large volumes hitting your stomach can trigger more cramping and send things through even faster.

What to Eat (and What to Skip)

You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s fine for the first day or two, but there’s no research showing it works better than a broader bland diet. Brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereals are equally gentle on your gut and give you more nutrition to work with.

Once your stomach starts to settle, gradually add back more substantial foods: cooked carrots, sweet potatoes without the skin, avocado, skinless chicken or turkey, fish, and eggs. The goal is to move toward a normal diet as soon as you can tolerate it rather than restricting yourself longer than necessary.

Certain foods and drinks will reliably make things worse while your gut is inflamed:

  • High-fat foods like fried food, pizza, and fast food
  • Sugary foods and drinks with large amounts of fructose, including some fruit juices, candy, and packaged desserts
  • Sugar alcohols found in sugarless gum and sugar-free candies
  • Dairy products containing lactose. This one can linger: some people have trouble digesting lactose for a month or more after a bout of acute diarrhea, even if they normally tolerate milk fine

Over-the-Counter Medications

Loperamide (the active ingredient in Imodium) slows down the movement of your intestines, giving them more time to absorb water. It’s widely available as tablets, capsules, and liquid. For straightforward diarrhea with no fever or blood in the stool, it can help you get through a work day or a flight. Bismuth subsalicylate (Pepto-Bismol) is another option that can reduce the number of loose stools and ease cramping.

There’s an important exception: do not take anti-diarrheal medications if you have a high fever or bloody stools. These symptoms suggest a more serious infection, and slowing your gut down can actually trap the pathogen inside and make things worse. Loperamide should also never be given to children under two years old, and older adults should use it cautiously because of a small risk of heart rhythm changes at higher doses.

When Diarrhea Needs Medical Attention

Most diarrhea is caused by a virus and resolves without treatment. But certain signs mean something more serious could be going on. For adults, get in touch with a doctor if:

  • Diarrhea lasts longer than two days without improving
  • You notice blood or black color in your stool
  • You develop a fever above 101°F (38.3°C)
  • You have severe abdominal or rectal pain
  • You show signs of dehydration: sunken eyes, skin that stays “tented” when you pinch it instead of flattening back, dizziness, or very dark urine

For children, the timeline is tighter. Call your pediatrician if a child’s diarrhea doesn’t improve within 24 hours, or sooner if the child has a fever above 101°F, bloody or black stools, or any signs of dehydration like a dry mouth, no tears when crying, or a sunken soft spot on an infant’s head.

Diarrhea that wakes you up at night, bulky or greasy stools with a particularly foul smell, or unexplained weight loss alongside diarrhea are also worth flagging to your doctor. These patterns point away from a simple stomach bug and toward conditions that need specific testing.

Keeping Kids Hydrated

Children dehydrate faster than adults because of their smaller body size, and rehydration requires a more precise approach. For mild dehydration, the general guideline is roughly 50 to 60 milliliters of oral rehydration solution per kilogram of body weight, given over four hours. That works out to about one cup (240 mL) over four hours for a 10-pound baby, or closer to four cups for a 40-pound child. Moderate dehydration calls for 80 to 100 mL per kilogram over the same window.

Offer small amounts frequently rather than large volumes at once. A syringe or spoon works well for infants who won’t take a bottle. Each additional episode of diarrhea calls for a little extra fluid on top of the baseline amount. If your child is vomiting and can’t keep fluids down, that’s a reason to seek medical care promptly.

How Long Recovery Takes

Acute diarrhea from a viral infection typically lasts one to three days. Bacterial food poisoning can stretch a bit longer but generally wraps up within a week. If symptoms persist beyond two weeks, doctors classify it as persistent diarrhea, and beyond four weeks it’s considered chronic, both of which warrant investigation for underlying causes like food intolerances, inflammatory bowel disease, or infections that need targeted treatment.

Even after the diarrhea itself stops, your gut can remain sensitive for a few days to a couple of weeks. Reintroduce rich, fatty, or dairy-heavy foods gradually. If lactose intolerance seems to linger beyond a month after recovery, that’s not unusual, but it’s worth mentioning to your doctor if it doesn’t eventually resolve.