Diarrhea cramps happen when the muscles lining your intestines contract too forcefully and too frequently, pushing contents through faster than normal. Relief comes from calming those contractions, staying hydrated, and using the right over-the-counter options. Most episodes resolve within a few days, but there are several things you can do right now to feel better.
Why Diarrhea Causes Cramping
Your digestive tract is wrapped in layers of smooth muscle that contract in coordinated waves to move food along. During a bout of diarrhea, whether triggered by a virus, contaminated food, stress, or medication, those muscles go into overdrive. Signals from the nerves embedded in your gut wall ramp up calcium flow into muscle cells, which triggers rapid, intense contractions. The result is that wringing, spasmodic pain you feel across your abdomen. Understanding this mechanism matters because the most effective remedies work by interrupting that cycle of overactive contraction.
Apply Heat to Your Abdomen
A heating pad or hot water bottle placed on your belly is one of the fastest ways to ease cramps. Heat increases blood flow through the tissue, which helps flush out pain-signaling chemicals and relax muscle spasms. It also raises tissue temperature enough to reduce stiffness and improve elasticity in the muscular wall of the gut. Keep the temperature comfortable (not scalding) and apply for 15 to 20 minutes at a time. A warm bath works similarly if you don’t have a heating pad on hand.
Stay Hydrated, but Strategically
Diarrhea pulls water and electrolytes out of your body quickly. Dehydration can worsen cramping and leave you feeling weak and dizzy. Sip water, broth, or an oral rehydration solution throughout the day rather than gulping large amounts at once, which can trigger another wave of contractions. Avoid alcohol, caffeine, and sugary drinks, all of which can pull more water into the intestines and make things worse.
Over-the-Counter Medications That Help
Two common pharmacy options target diarrhea cramps in different ways. Loperamide (sold as Imodium) slows intestinal muscle contractions directly, giving your gut a chance to absorb water and firm up stool. Bismuth subsalicylate (Pepto-Bismol) coats the intestinal lining and has mild anti-inflammatory effects. In a head-to-head comparison of nonprescription doses in adults with acute diarrhea, loperamide reduced the number of unformed bowel movements significantly more than bismuth subsalicylate, controlled symptoms for longer after the first dose, and was rated better for overall subjective relief at 24 hours.
If your primary complaint is cramping pain rather than frequency, loperamide is typically the stronger choice because it directly quiets the overactive muscle contractions causing the spasms. Bismuth subsalicylate is a reasonable alternative for milder symptoms or when nausea is also present. One important caution: bismuth subsalicylate contains a salicylate compound related to aspirin and should not be given to children under 16 due to the rare but serious risk of Reye’s syndrome.
Peppermint Oil as a Natural Option
Enteric-coated peppermint oil capsules are a well-studied alternative for intestinal cramping. The active ingredient, L-menthol, blocks calcium channels in gut smooth muscle. Since calcium flowing into those muscle cells is the main trigger for contraction, blocking it produces a direct antispasmodic effect. Look for enteric-coated capsules specifically, because the coating prevents the oil from releasing in your stomach (where it can cause heartburn) and delivers it to the intestines where cramping occurs. Peppermint tea offers a milder version of the same effect but is less concentrated.
What to Eat (and What to Skip)
The old advice to stick strictly to the BRAT diet (bananas, rice, applesauce, toast) is no longer the standard recommendation. The National Institute of Diabetes and Digestive and Kidney Diseases notes that most experts don’t recommend following a restricted diet or fasting during acute diarrhea. Once you feel like eating, you can return to your normal diet. Children should continue their usual age-appropriate foods, and infants should keep breastfeeding or drinking formula.
That said, some common-sense adjustments help. Greasy, fried, or very spicy foods can stimulate more intestinal contractions. Dairy may be harder to digest temporarily because diarrhea can reduce the enzymes that break down lactose. High-fiber raw vegetables and beans can also increase gas and bloating. Stick with foods that are easy on your system: cooked grains, lean proteins, bananas, and well-cooked vegetables. You don’t need to starve yourself, just avoid the obvious irritants until things settle down.
Probiotics for Shorter Episodes
Certain probiotic strains can shorten a diarrheal episode and reduce the cramping that comes with it. Saccharomyces boulardii, a beneficial yeast available over the counter, has been shown to reduce the median duration of acute diarrhea by about one day compared to no probiotic treatment (three days versus four in one large retrospective analysis). Starting a probiotic early in the illness gives the best results. Other strains like Lactobacillus rhamnosus have similar evidence behind them. Look for products that specify the strain, not just the genus, on the label.
Prescription Antispasmodics
When cramps are severe or keep recurring, doctors sometimes prescribe antispasmodic medications. These drugs, including dicyclomine and hyoscine, work by blocking the chemical signals that tell gut muscles to contract. They essentially quiet the nerve-to-muscle communication that drives spasms. Dicyclomine has been shown to improve symptoms compared to placebo in controlled studies, and hyoscine can significantly reduce abdominal pain intensity within the first few hours of use. These medications tend to cause side effects like dry mouth and drowsiness because they block the same chemical messenger in other parts of the body, so they’re reserved for cases where simpler measures aren’t enough.
Warning Signs That Need Medical Attention
Most diarrhea with cramping resolves on its own within two to three days. Certain symptoms signal something more serious. Seek medical care if you notice blood or black color in your stool, a fever above 102°F (39°C), or signs of dehydration like excessive thirst, very dark urine, dizziness, or skin that doesn’t bounce back when you pinch it. Severe abdominal or rectal pain that doesn’t respond to the measures above also warrants a visit.
For children, the threshold is lower. A child with no wet diaper for three or more hours, a dry mouth, no tears when crying, or unusual sleepiness needs prompt evaluation. These signs suggest dehydration is progressing faster than home fluids can keep up with.

