Most stomach pain with diarrhea resolves within a few days with the right combination of fluids, food choices, and simple remedies. The priority is replacing lost fluids, calming intestinal cramping, and avoiding anything that makes your gut work harder while it recovers. Here’s how to manage both symptoms effectively.
Start With Fluids, Not Food
Diarrhea pulls water from your body fast. Every loose stool carries electrolytes with it, and dehydration is the main reason people feel terrible during a bout of stomach illness. Replacing fluids is the single most important thing you can do, and plain water alone isn’t enough because it lacks the sodium and sugar your intestines need to absorb it efficiently.
You can make a simple rehydration drink at home: mix 4 cups of water with half a teaspoon of table salt and 2 tablespoons of sugar. If that sounds unappetizing, add a splash of flavoring. Another option is to combine 2 cups of regular (not low-sodium) chicken broth with 2 cups of water and 2 tablespoons of sugar. Both recipes provide the right balance of salt and glucose to help your gut pull water back in.
Sip steadily rather than gulping large amounts at once, which can trigger nausea. If you’re urinating less than usual, your mouth feels very dry, you feel dizzy when standing, or your urine is dark yellow, you’re already dehydrated and need to increase your intake right away.
What to Eat and What to Avoid
You don’t need to starve yourself, but what you choose matters. Stick to bland, low-fat foods: plain rice, toast, bananas, boiled potatoes, plain crackers. These are easy to digest and unlikely to irritate an already inflamed gut.
Several common foods and drinks actively make diarrhea worse:
- Caffeine (coffee, tea, energy drinks, some sodas) speeds up your intestines
- Dairy products containing lactose, which your gut may struggle to process even if you’re not normally lactose intolerant. This difficulty can persist for a month or more after an episode.
- High-fat foods like fried food, pizza, and fast food
- Sugary drinks and fruit juices high in fructose, which draws extra water into the intestines
- Sugar-free gum and candy containing sugar alcohols like sorbitol, which have a laxative effect
- Alcohol, which irritates the gut lining and worsens dehydration
Reintroduce your normal diet gradually over two to three days as your stools firm up.
Over-the-Counter Options
Loperamide is the most widely available anti-diarrheal medication. It works by slowing the movement of food through your intestines, giving your gut more time to absorb water. The result is firmer stools and less frequent trips to the bathroom. It typically starts working within about an hour. Follow the package directions and don’t exceed the recommended dose.
Bismuth subsalicylate (the active ingredient in Pepto-Bismol) can help with both diarrhea and stomach discomfort. One important safety note: it contains a compound related to aspirin. If you have an aspirin allergy or a blood clotting disorder, or if you take blood-thinning medication, skip it.
For pain specifically, a heating pad placed on your abdomen can help relax cramping muscles and improve blood flow to the area. Heat applied to the lower abdomen helps ease diarrhea-related spasms, while heat on the upper abdomen can soothe the bloating and indigestion that often accompany stomach pain. Use a moderate temperature for 15 to 20 minutes at a time.
Probiotics Can Shorten Recovery
Certain probiotics, particularly a yeast-based strain called Saccharomyces boulardii, have solid evidence behind them for acute diarrhea. A meta-analysis of five clinical trials found that taking it shortened diarrhea by roughly one day compared to doing nothing. In one trial of 100 children, those given the probiotic recovered in about 3 days versus nearly 5 days for the control group.
The typical adult dose is 500 mg once daily for prevention or twice daily during active symptoms. You can find it in most pharmacies, often labeled as “Florastor.” It works alongside rehydration, not as a replacement for it.
Peppermint for Cramping
Peppermint oil capsules are sometimes recommended for intestinal cramping because menthol, the main compound in peppermint, relaxes the smooth muscle lining of your intestines. This can ease the spasms that cause sharp, wave-like stomach pain. A large clinical trial in patients with irritable bowel syndrome found that peppermint oil reduced abdominal pain for about 47% of participants, though this wasn’t statistically different from the placebo group’s 34% response rate. It’s a low-risk option worth trying, but not a guaranteed fix. Peppermint tea is a gentler alternative if capsules feel too strong on an empty stomach.
When These Symptoms Need Medical Attention
Most episodes of stomach pain and diarrhea are caused by viral infections or something you ate, and they clear up on their own. But certain warning signs mean you need to talk to a doctor promptly:
- Duration: diarrhea lasting more than 2 days in adults, or more than 1 day in young children
- Frequency: six or more loose stools per day
- Blood or pus in your stool, or stools that are black and tarry
- High fever
- Severe abdominal or rectal pain that isn’t easing
- Frequent vomiting that prevents you from keeping fluids down
- Signs of dehydration: extreme thirst, dizziness, dark urine, or skin that stays “tented” when you pinch and release it
- Changes in alertness, such as unusual irritability, confusion, or lack of energy
For infants, any fever with diarrhea warrants a call to the pediatrician. No wet diapers for 3 hours or more, no tears when crying, or a sunken soft spot on the skull are signs of dehydration that need immediate attention.

