Most cases of diarrhea resolve on their own within a few days, but the right combination of fluids, food choices, and over-the-counter medication can shorten your discomfort and prevent complications like dehydration. Acute diarrhea typically lasts less than a week. If yours persists beyond two weeks, it’s considered persistent diarrhea, and anything lasting four weeks or longer is classified as chronic, which points to an underlying cause that needs investigation.
Stay Hydrated First
Replacing lost fluid is the single most important thing you can do. Diarrhea pulls water and electrolytes out of your body faster than normal, and dehydration is what makes a routine bout of diarrhea genuinely dangerous. Water alone isn’t ideal because it doesn’t replace the sodium, potassium, and other minerals you’re losing. Oral rehydration solutions (sold at most pharmacies) contain the right balance of salt and sugar to help your intestines absorb water efficiently. Broth, diluted fruit juice, and coconut water also work if you don’t have a rehydration solution on hand.
Signs you’re becoming dehydrated include a dry mouth, reduced or dark urine, sunken-looking eyes, and feeling lightheaded or unusually tired. In children and older adults, dehydration can escalate quickly. A child who has no tears when crying, hasn’t urinated in several hours, or seems unusually sleepy needs medical attention. In severe dehydration, the skin loses its elasticity: if you gently pinch the skin on the back of the hand and it stays tented for a moment instead of snapping back, that’s a warning sign.
What to Eat (and What to Skip)
You may have heard of the BRAT diet: bananas, rice, applesauce, and toast. While those foods are gentle on the stomach, a strict BRAT diet is no longer recommended. The American Academy of Pediatrics considers it too restrictive, lacking the nutrients your gut needs to recover. Following it for more than 24 hours may actually slow healing.
Instead, eat as tolerated. Start with soft, bland foods if your stomach is sensitive: plain crackers, boiled potatoes, cooked carrots, lean chicken, oatmeal. As soon as you feel up to it, broaden your diet so your body gets the protein, fats, and vitamins it needs to bounce back. The goal is adequate nutrition, not starvation.
Certain foods and drinks will make things worse. Dairy can be hard to digest during a bout of diarrhea because the gut lining temporarily produces less of the enzyme that breaks down lactose. Greasy or fried foods speed up intestinal contractions. Caffeine and alcohol both increase fluid loss. Sugar-free candies, gums, and diet drinks deserve special attention: many contain sorbitol, a sugar alcohol that acts as an osmotic laxative. As little as 10 grams of sorbitol (roughly three sugar-free candies) can cause bloating and gas, and 20 grams often triggers cramping and diarrhea on its own. Check ingredient labels for sorbitol, mannitol, and xylitol, and avoid them until you’ve recovered.
Over-the-Counter Medication
Loperamide (sold as Imodium and store-brand equivalents) is the most widely used anti-diarrheal. It works by binding to receptors in the gut wall, which slows the muscle contractions that push food through your intestines. This gives your body more time to absorb water from stool, making bowel movements firmer. It also tightens the anal sphincter, which helps with urgency and the feeling that you won’t make it to a bathroom in time.
The standard adult dose is 4 mg (two capsules) at the first loose stool, then 2 mg (one capsule) after each subsequent unformed stool, up to a maximum of 16 mg per day. Don’t exceed that limit. Loperamide is appropriate for run-of-the-mill acute diarrhea, but you should avoid it if you have a high fever, bloody stools, or suspect food poisoning from bacteria like Salmonella or E. coli. In those situations, slowing the gut down can trap the pathogen inside longer.
Bismuth subsalicylate (the active ingredient in Pepto-Bismol) is another option. It coats the intestinal lining, reduces inflammation, and has mild antibacterial properties. It can turn your tongue and stool black, which is harmless but alarming if you aren’t expecting it. Don’t combine it with blood thinners or give it to children recovering from a viral illness.
Probiotics and Recovery
Probiotics, whether from supplements or fermented foods like yogurt and kefir, can help restore the balance of bacteria in your gut, particularly after a course of antibiotics. The evidence is strongest for specific strains helping with antibiotic-associated diarrhea and infectious diarrhea in children. They won’t stop diarrhea the way loperamide does, but they may shorten the duration by a day or so. If you want to try them, look for products that list specific bacterial strains and contain at least a few billion colony-forming units.
Helping Children Recover
Children dehydrate faster than adults, so fluid replacement is even more critical. Offer small, frequent sips of an oral rehydration solution rather than large amounts at once, which can trigger vomiting. Avoid fruit juices and sodas. Their high sugar content can pull more water into the intestines and worsen diarrhea.
Continue breastfeeding or formula feeding as usual. There’s no reason to stop. For children eating solid food, reintroduce their normal diet as soon as they’ll accept it. The World Health Organization recommends zinc supplementation for children with diarrhea: 20 mg per day for 10 to 14 days (10 mg per day for infants under six months). Zinc shortens the duration of illness and reduces the likelihood of recurrence in the following two to three months. Zinc supplements formulated for children are available over the counter in most countries.
When Diarrhea Signals Something Bigger
A few days of loose stools after a questionable meal or a stomach bug is normal and expected. But certain features suggest something more serious is going on. Blood or mucus in your stool, a fever above 102°F (39°C), severe abdominal pain that isn’t just cramping, or signs of dehydration that aren’t improving with oral fluids all warrant a call to your doctor. The same applies if diarrhea lasts longer than two weeks without improvement, if you’ve recently taken antibiotics (which can trigger a specific and sometimes dangerous gut infection), or if you’re losing weight unintentionally.
Chronic diarrhea lasting four weeks or more often points to conditions like irritable bowel syndrome, inflammatory bowel disease, celiac disease, or food intolerances. These require testing to identify and won’t resolve with the strategies above. If your diarrhea keeps coming back or never fully clears, that pattern itself is the information your doctor needs to guide the right workup.