For stomach cramps with diarrhea, the two most effective over-the-counter options are loperamide (sold as Imodium) to slow the diarrhea and bismuth subsalicylate (sold as Pepto-Bismol) to calm both symptoms at once. Which one you reach for depends on how severe your symptoms are, what’s causing them, and whether you have any drug sensitivities. Beyond medication, staying hydrated and choosing the right foods during recovery matter just as much as what you swallow from the medicine cabinet.
Over-the-Counter Medications That Work
Loperamide is the strongest non-prescription option for diarrhea. It works by slowing the muscular contractions of your intestines, giving your gut more time to absorb water and firm up your stool. The standard approach is to take two tablets (4 mg) after your first loose bowel movement, then one tablet (2 mg) after each additional loose stool. With the over-the-counter tablet form, you should not exceed four tablets in 24 hours. You can take it with or without food, so timing around meals doesn’t matter.
Bismuth subsalicylate is better suited when you’re dealing with both cramps and diarrhea together, especially if nausea is also in the picture. It coats the lining of your stomach and intestines, reducing inflammation and slowing the excess fluid that causes watery stools. One important detail: bismuth subsalicylate contains a compound closely related to aspirin. If you’re allergic or sensitive to aspirin, skip it entirely. The same goes if you take blood thinners, methotrexate, or medications for gout. It can also turn your tongue and stool black temporarily, which is harmless but can be alarming if you’re not expecting it.
For the cramping specifically, some people benefit from antispasmodic medications. These work by relaxing the smooth muscle in your digestive tract, which is what’s contracting and causing that gripping pain. Dicyclomine and hyoscine are among the most commonly prescribed options in North America. These generally require a prescription, so they’re worth asking about if cramps are your primary complaint and OTC options aren’t helping.
Staying Hydrated Is Non-Negotiable
Diarrhea pulls water and electrolytes out of your body fast. If you’re having frequent loose stools, plain water alone isn’t enough because you’re losing sodium, potassium, and other salts your body needs to function. Oral rehydration solutions are specifically designed for this. The WHO-approved formula uses a low-osmolarity mix (250 mOsm/L or less) containing small amounts of glucose and electrolytes, which has been shown to reduce episodes of diarrhea, vomiting, and the need for IV fluids.
You can buy commercial oral rehydration solutions at any pharmacy, or make a basic version at home with water, salt, and sugar. Pedialyte works well for adults too, not just children. Sports drinks are a distant second choice since they contain far more sugar and less sodium than your body actually needs, but they’re better than nothing if that’s all you have. Sip steadily rather than gulping large amounts, especially if nausea is also an issue.
What to Eat During Recovery
You may have heard of the BRAT diet (bananas, rice, applesauce, toast) as the go-to for an upset stomach. It’s fallen out of favor. The American Academy of Pediatrics no longer recommends it for children because it’s too restrictive and lacks the protein, calcium, vitamin B12, and fiber needed for recovery. Following it for more than 24 hours can actually slow healing. For adults, eating only BRAT foods for a day at your sickest is fine, but you shouldn’t stick with it longer than that.
The current guidance is simpler: eat as tolerated. Start with small, bland portions and work your way back to a normal diet as your symptoms improve. Good early choices include plain chicken, cooked vegetables, eggs, and broth-based soups. Avoid greasy, spicy, or heavily seasoned foods until things settle down. Dairy can be tricky for some people during a bout of diarrhea because the intestinal lining temporarily loses some of its ability to digest lactose, so you might want to hold off on milk and ice cream for a few days even if you’re not normally lactose intolerant.
Probiotics Can Shorten Recovery
One specific probiotic strain, Saccharomyces boulardii, has solid clinical data behind it for acute diarrhea. In pooled studies, it shortened the duration of diarrhea by roughly 24 hours and reduced hospitalization time by about 20 hours. The number of watery stools began decreasing by day two, with significant improvement by days three and four. You can find S. boulardii sold under brand names like Florastor at most pharmacies. It’s a yeast-based probiotic rather than a bacterial one, which means antibiotics won’t kill it if you happen to be taking those at the same time.
Other probiotic strains like Lactobacillus rhamnosus GG also have some evidence for diarrhea recovery, though the data is strongest for S. boulardii. Starting a probiotic early in your illness, rather than waiting until symptoms are winding down, gives you the best shot at a meaningful benefit.
Peppermint Oil for Cramping
If your stomach cramps are a recurring problem, particularly if you suspect irritable bowel syndrome, enteric-coated peppermint oil capsules are worth trying. A meta-analysis of 10 randomized trials covering over 1,000 patients found that peppermint oil outperformed placebo for both overall IBS symptoms and abdominal pain specifically. For pain, about one in seven patients experienced meaningful improvement that they wouldn’t have gotten from placebo alone. The enteric coating is important because it prevents the oil from releasing in your stomach (where it can cause heartburn) and delivers it to your intestines where it relaxes smooth muscle. Adverse effects were more common with peppermint oil than placebo, mostly mild issues like heartburn and minty burping.
When Symptoms Signal Something Serious
Most bouts of stomach cramps and diarrhea are caused by a virus or something you ate, and they resolve within a day or two. But certain symptoms mean you should get medical attention rather than managing things at home:
- Blood in your stool or vomit. This can indicate a bacterial infection, inflammatory condition, or something more serious.
- Diarrhea or vomiting lasting more than two days without improvement.
- Signs of dehydration: excessive thirst, very dark urine or barely any urine output, dizziness, or severe weakness.
- Inability to keep liquids down for 24 hours.
- Fever above 104°F (40°C).
- Severe abdominal pain that’s getting worse rather than coming and going in waves.
For children, the thresholds are lower. A fever of 102°F (38.9°C) or higher, bloody diarrhea, unusual sleepiness or irritability, or signs of dehydration like a dry mouth and crying without tears all warrant a call to their pediatrician. For infants, no wet diaper in six hours or a sunken soft spot on the head are especially urgent signs.

