What Helps With Cramps? Muscle, Period & Stomach

The fastest way to stop a cramp depends on where it’s happening. A muscle cramp in your leg responds best to stretching and gentle massage. Menstrual cramps ease most effectively with anti-inflammatory pain relievers taken on a schedule. Stomach cramps benefit from heat and, in some cases, peppermint oil. Here’s what works for each type and why.

Stopping a Muscle Cramp in the Moment

When a muscle locks up, your first move is to stretch it. For a calf cramp (the most common type), straighten your leg and pull the top of your foot toward your face. Hold the stretch while gently rubbing the muscle. A wall stretch also works well: hold onto a chair or wall, keep the cramped leg back with your knee straight and heel flat on the floor, then slowly lean forward until you feel the calf lengthen. Hold for 30 to 60 seconds.

Heat helps once the acute spasm passes. A warm towel or heating pad relaxes tight muscle fibers by increasing blood flow to the area. Cold packs are better for swelling or acute injuries, but cramps respond more to warmth because the problem is excessive contraction, not inflammation. If you’re mid-cramp, stretch first, then apply heat.

Preventing Muscle Cramps Before They Start

Night cramps in the calves and feet are notoriously common, especially in older adults. A simple stretching routine before bed can reduce how often they happen. Stand about three feet from a wall, lean forward with your arms outstretched, and press your palms against the wall while keeping your feet flat on the floor. Hold for a count of five, then repeat for at least five minutes. Doing this three times a day (including right before bed) gives your calves the length they need to avoid seizing up overnight.

Staying hydrated matters more than most people realize. Your muscles depend on a balance of electrolytes like sodium, potassium, and magnesium to contract and relax properly. When you’re dehydrated from sweating, vomiting, or diarrhea, that balance shifts and cramps become more likely. Water alone helps, but if you’ve been sweating heavily or losing fluids, an electrolyte drink or oral rehydration solution replaces what plain water can’t.

Does Magnesium Actually Help?

Magnesium supplements are widely recommended for cramps, but the clinical evidence is surprisingly thin. A study of 58 patients taking 900 mg of magnesium citrate daily couldn’t confirm a significant reduction in cramp frequency, and 64% of participants dropped out before the study ended. Another study of 42 patients using 300 mg of magnesium sulfate found it performed no better than a placebo for cramp frequency, severity, duration, or sleep disruption. Magnesium deficiency can certainly cause cramps, so if your diet is low in leafy greens, nuts, and whole grains, increasing your intake makes sense. But for people with normal magnesium levels, supplementing likely won’t make a noticeable difference.

Avoid Quinine for Leg Cramps

Quinine, sometimes found in tonic water, was once prescribed for leg cramps. The FDA has made clear it is not considered safe or effective for this purpose. Quinine carries serious risks including a dangerous drop in blood platelet counts, life-threatening allergic reactions, and heart rhythm problems. Fatalities and kidney failure requiring dialysis have been reported. It remains approved only for treating malaria.

What Helps With Menstrual Cramps

Menstrual cramps happen when your uterus contracts to shed its lining, driven by hormone-like chemicals called prostaglandins. Anti-inflammatory pain relievers work by blocking prostaglandin production, which is why they’re more effective for period pain than other types of pain medication. The key is timing: your body releases the most prostaglandins during the first two to three days of your period, so starting treatment right when bleeding or pain begins gives you the best results.

Ibuprofen (200 to 400 mg every four to six hours) and naproxen sodium (220 to 440 mg initially, then 220 mg every eight to twelve hours) are the most effective over-the-counter options. Taking them on a fixed schedule rather than waiting until pain flares up provides noticeably better relief. If starting at the onset of your period doesn’t control the pain well enough, beginning one to two days before your expected period can improve results.

Heat works well alongside pain relievers or on its own for milder cramps. A heating pad on your lower abdomen relaxes the uterine muscle directly. Chamomile tea has mild antispasmodic properties that may calm both intestinal and menstrual cramping.

Ginger as an Alternative

If you prefer a non-pharmaceutical approach, ginger performs surprisingly close to ibuprofen. In a head-to-head comparison, 62% of women taking ginger capsules reported meaningful pain relief compared to 66% taking ibuprofen. Both groups showed similar reductions in pain severity, and there was no statistical difference in satisfaction between the two. The dose used was 250 mg of ginger powder four times a day for the first three days of the menstrual cycle.

Relieving Stomach and Abdominal Cramps

Stomach cramps involve smooth muscle in your digestive tract rather than the skeletal muscles in your legs. The treatment approach is different. In the U.S., peppermint oil capsules are the only over-the-counter antispasmodic available, and they work by targeting your gut muscles directly, blocking the calcium and sodium those muscles need to contract. This makes them particularly useful for cramping related to irritable bowel syndrome or general digestive spasms.

Heat also helps with abdominal cramps. A warm compress or heating pad on your stomach reduces muscle tension and can ease discomfort from gas, bloating, or digestive upset. For cramps caused by diarrhea or vomiting, replacing lost fluids with an electrolyte solution is essential, since fluid loss disrupts the mineral balance your muscles need to function normally.

Quick Reference by Cramp Type

  • Calf or leg cramp: Stretch immediately, apply heat after, stay hydrated, stretch before bed to prevent recurrence.
  • Menstrual cramp: Take ibuprofen or naproxen on a schedule starting at the onset of pain, use a heating pad, consider ginger as an alternative.
  • Stomach cramp: Try peppermint oil capsules, apply warmth, rehydrate with electrolytes if you’ve been losing fluids.
  • Exercise-related cramp: Stop the activity, stretch the affected muscle, drink fluids with electrolytes, and apply heat once the spasm subsides.