How to Stop Stomach Cramps and Diarrhea Fast

Most stomach cramps with diarrhea are caused by a short-lived infection or something you ate, and they typically resolve on their own within one to two days. In the meantime, you can speed up recovery and reduce discomfort with a combination of hydration, the right over-the-counter medications, dietary adjustments, and a few evidence-backed natural remedies.

Why You Have Cramps and Diarrhea

Knowing the likely cause helps you choose the right response. The two most common culprits are viral gastroenteritis (stomach flu) and food poisoning, and they follow different timelines. A stomach virus typically takes 24 to 48 hours after exposure before symptoms appear, and those symptoms usually last about two days. Food poisoning hits faster, often within two to six hours of eating contaminated food, and tends to pass more quickly.

Other common triggers include antibiotics, stress, too much caffeine or alcohol, lactose intolerance, and irritable bowel syndrome (IBS). If your symptoms are recurring rather than a one-off episode, one of these chronic causes is worth investigating.

Rehydrate First

Diarrhea pulls water and electrolytes out of your body fast. Replacing them is the single most important thing you can do. Signs you’re already dehydrated include excessive thirst, dark urine, dry mouth, dizziness, and fatigue. In young children, watch for a dry mouth and tongue, crying without tears, or no wet diaper for three or more hours.

Sip water steadily rather than gulping large amounts. Oral rehydration solutions (sold at most pharmacies) replace both fluids and the sodium and potassium your gut is losing. Broth-based soups work well too. Avoid sports drinks with high sugar content, since excess sugar can actually pull more water into your intestines and make diarrhea worse.

Over-the-Counter Options

Loperamide (the active ingredient in Imodium) works by slowing down the movement of your intestines, giving them more time to absorb water. It’s effective for reducing the frequency of loose stools and can ease cramping that comes from overactive gut contractions. It should not be used in children under two, and it’s best avoided if you have a high fever or bloody stools, since in those cases your body may need to clear an infection.

Bismuth subsalicylate (the active ingredient in Pepto-Bismol) takes a different approach. It coats the stomach lining and has mild anti-inflammatory properties that help with both cramps and loose stools. It can turn your tongue and stool black temporarily, which is harmless. Follow the dosing instructions on the package and don’t combine it with aspirin, since they share similar active compounds.

What to Eat and What to Avoid

You may have heard of the BRAT diet (bananas, rice, applesauce, toast), but most experts no longer recommend restricting yourself to just those foods. The current guidance from the National Institute of Diabetes and Digestive and Kidney Diseases is straightforward: once you feel like eating again, you can return to your normal diet. There’s no benefit to fasting or following a highly restricted menu.

That said, certain foods and drinks reliably make things worse and are worth avoiding until you’ve recovered:

  • Caffeine (coffee, tea, some soft drinks) stimulates gut contractions and can intensify cramping.
  • Alcohol irritates the gut lining and promotes dehydration.
  • High-fat foods like fried foods, pizza, and fast food are harder to digest when your gut is already irritated.
  • Dairy products containing lactose, since your ability to digest lactose often drops temporarily during a gut infection. Undigested lactose passes into the colon, where bacteria ferment it and produce gas and more diarrhea.
  • Sugar alcohols like sorbitol and xylitol, found in sugar-free gum and candies, have been shown to cause diarrhea even in healthy people.
  • High-fructose foods and drinks, including sodas sweetened with high-fructose corn syrup and naturally high-fructose fruits like apples and pears, can trigger the same kind of osmotic diarrhea as undigested lactose.

Stick with simple, easy-to-digest foods: plain rice, toast, crackers, lean chicken, bananas, and cooked vegetables. These won’t aggravate your gut while it’s healing.

Peppermint Oil for Cramps

If cramping is your main concern, enteric-coated peppermint oil capsules are one of the better-studied natural options. The menthol in peppermint oil blocks calcium channels in the smooth muscle of the gut wall, which reduces the spasms that cause cramping pain. This isn’t folk medicine speculation: in a meta-analysis of four clinical trials involving 392 adults, only 26% of people taking peppermint oil had persistent symptoms, compared to 65% of those on a placebo.

Look for enteric-coated capsules specifically. The coating prevents the oil from dissolving in your stomach (which can cause heartburn) and ensures it reaches your intestines where it’s needed. Peppermint tea is gentler but delivers a much lower concentration of the active compound.

Probiotics Can Shorten Recovery

Certain probiotic strains can meaningfully reduce how long diarrhea lasts. In a randomized, double-blind trial, people taking the yeast-based probiotic Saccharomyces boulardii recovered from acute diarrhea in about 66 hours, compared to 95 hours for the placebo group. That’s roughly a full day faster. Multiple studies have confirmed this roughly one-day reduction in duration.

S. boulardii and Lactobacillus GG are the two strains with the strongest evidence for acute diarrhea. You can find both in supplement form at most pharmacies. They’re generally well tolerated, though they work best when started early in the course of illness rather than after symptoms have already peaked.

Quick Relief Strategies at Home

A few practical measures can ease discomfort while you wait for things to settle. A heating pad or hot water bottle placed on your abdomen relaxes the muscles around your intestines and can reduce cramping within minutes. Lying on your left side with your knees drawn toward your chest also takes pressure off the lower digestive tract.

Rest matters more than people realize. Your immune system works more efficiently when you’re not burning energy on other activities, and lying down reduces the gut contractions that drive both cramps and urgency. If you can, clear your schedule for a day and let your body focus on recovery.

Warning Signs That Need Medical Attention

Most episodes pass without complications, but certain red flags mean you should see a doctor promptly. For adults, these include: diarrhea lasting more than two days, a fever above 101°F (38°C), bloody or black stools, severe abdominal or rectal pain, and signs of dehydration like very dark urine or dizziness that won’t resolve with fluids. For children, the timeline is shorter. Contact a doctor if a child’s diarrhea doesn’t improve within 24 hours, or if they develop a fever above 101°F, bloody stools, or any signs of dehydration.