For a standard upset stomach with diarrhea, over-the-counter bismuth subsalicylate (Pepto-Bismol) treats both symptoms at once, while loperamide (Imodium) specifically targets diarrhea. Which one you reach for depends on whether nausea, cramping, or loose stools is your biggest problem. Beyond medication, what you drink and eat in the first 24 to 48 hours matters just as much for recovery.
Bismuth Subsalicylate for Both Symptoms
Bismuth subsalicylate is the closest thing to a two-in-one option. It calms nausea, reduces stomach cramping, and slows diarrhea through several mechanisms: it blocks bacteria from attaching to your stomach lining, reduces inflammation by lowering prostaglandin production, and helps your intestines reabsorb fluid instead of losing it. That fluid reabsorption is a big part of why it firms up loose stools.
It also has mild antimicrobial properties, which makes it useful for traveler’s diarrhea or mild food poisoning. One important limitation: bismuth subsalicylate contains a salicylate, the same active compound family as aspirin. Children and teenagers under 16 should not take it because of the rare but serious risk of Reye’s syndrome, a condition where the liver loses its ability to filter toxins from the blood, leading to dangerous brain swelling.
Loperamide for Diarrhea Specifically
If diarrhea is your main problem and your stomach feels mostly fine, loperamide works faster and more directly. It slows the muscle contractions in your intestines, giving your body more time to absorb water from stool. The over-the-counter maximum for adults is 8 mg per day. For children, the limit depends on weight, ranging from 3 mg daily for smaller kids to 8 mg for children 12 and older. It should never be given to children under 2.
Loperamide is not appropriate for every type of diarrhea. Skip it if you have a fever above 101°F, bloody or black stools, or symptoms suggesting a bacterial infection. In those situations, slowing your gut down can actually trap the pathogen inside, making things worse.
Acid Reducers for Stomach-Heavy Symptoms
When your upset stomach feels more like burning, heartburn, or acid reflux than nausea, an acid reducer like famotidine (Pepcid) targets the problem more precisely. Famotidine blocks the receptors on your stomach cells that trigger acid production, reducing both the volume and acidity of gastric secretions. It also dials down acid production triggered by food, caffeine, and stress. Over-the-counter formulations should not be used for more than two weeks without guidance from a doctor.
Antacids like calcium carbonate (Tums) work faster but wear off sooner. They neutralize acid already in your stomach rather than preventing new acid from being made. For quick relief of that sour, burning feeling, antacids are a reasonable first step.
Ginger for Nausea
Ginger has genuine anti-nausea effects. Its active compounds interact with serotonin receptors in your gut, the same receptor pathway targeted by prescription anti-nausea medications. It also stimulates gastric motility, helping food move through your stomach instead of sitting there and making you feel worse. Ginger tea, ginger chews, or capsules with real ginger root all work. Ginger ale is less reliable because most commercial brands contain very little actual ginger.
Probiotics Can Shorten Recovery
Probiotics won’t stop diarrhea the way loperamide does, but they can cut the total duration of illness. A meta-analysis of 19 randomized trials found that one well-studied strain, Lactobacillus rhamnosus GG, reduced diarrhea duration by about 24 hours on average. Higher doses (at least 10 billion colony-forming units per day) were more effective than lower doses. For diarrhea caused by rotavirus, the reduction was even larger, roughly 31 hours.
The benefit is greatest when you start probiotics early, ideally within the first three days of symptoms. Look for products that list specific strains and CFU counts on the label rather than generic “probiotic blend” products.
Hydration Is the Priority
Diarrhea pulls water, sodium, and potassium out of your body faster than you’d expect. Plain water replaces volume but not electrolytes. Oral rehydration solutions, available at any pharmacy, contain a precise balance of sodium, potassium, and glucose designed to maximize fluid absorption in your intestines. The glucose is essential because it activates a transport mechanism that pulls sodium and water across your gut lining.
If you don’t have a commercial rehydration solution on hand, broth-based soups are a reasonable substitute because they contain both sodium and water. Avoid sports drinks with high sugar content. Drinks with large amounts of fructose or sugar alcohols can actually pull more water into your intestines and worsen diarrhea. Coffee, alcohol, and caffeinated tea all increase fluid loss and should be avoided until you’re recovering.
What to Eat During Recovery
You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s fine for the first day or two, but it’s nutritionally limited and there’s no clinical evidence that it works better than a broader bland diet. Harvard Health Publishing notes that brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereals are equally easy to digest and provide more variety.
Once your stomach settles, adding protein and nutrient-dense foods speeds recovery. Cooked carrots, sweet potatoes without skin, avocado, skinless chicken or turkey, fish, and eggs are all gentle on the gut while giving your body what it needs to heal.
Foods That Make Things Worse
During and after a bout of diarrhea, certain foods are reliably counterproductive:
- Dairy products: Your ability to digest lactose can be impaired for a month or more after acute diarrhea, even if you’re normally fine with milk.
- High-fat foods: Fried foods, pizza, and fast food are harder for an inflamed gut to process.
- Sugary drinks and candy: Fructose and sugar alcohols draw water into the intestines, worsening loose stools.
- Caffeine and alcohol: Both increase gut motility and fluid loss.
Warning Signs That Need Medical Attention
Most cases of upset stomach and diarrhea resolve within a couple of days. But certain symptoms mean something more serious is going on. For adults, those include: diarrhea lasting more than two days, signs of dehydration (dark urine, dizziness, dry mouth), severe abdominal or rectal pain, bloody or black stools, or a fever above 101°F. For children, the timeline is shorter. If a child’s diarrhea doesn’t improve within 24 hours, or they show any of those same warning signs, they need medical evaluation.

