Several proven remedies can help cramps, and the best option depends on what kind of cramp you’re dealing with. Heat therapy, anti-inflammatory pain relievers, specific stretches, and dietary changes all have solid evidence behind them. Here’s what actually works for menstrual cramps, muscle cramps, and stomach cramps, based on the type of pain you’re experiencing.
Heat Therapy Works Better Than You’d Expect
For menstrual cramps, a heating pad or heat wrap applied to your lower abdomen is one of the simplest and most effective options. In a randomized trial comparing continuous low-level heat therapy to acetaminophen (1,000 mg), the heat wrap provided better pain relief over an eight-hour period and reduced the sensation of tightness and cramping more effectively than the medication. The heat wrap outperformed acetaminophen specifically at the three- through six-hour marks, which is when many people feel their cramps peak.
A hot water bottle, microwavable heat pack, or adhesive heat wrap that stays around 40°C (104°F) all do the job. Heat works by relaxing the uterine muscle and increasing blood flow to the area. For muscle cramps in your legs or back, heat also helps by loosening the surrounding tissue, though stretching is typically more effective for those.
Anti-Inflammatory Pain Relievers
Over-the-counter NSAIDs like ibuprofen and naproxen are among the most effective treatments for menstrual cramps. They work by blocking an enzyme that produces prostaglandins, the hormone-like chemicals that cause the uterus to contract. Higher prostaglandin levels are directly linked to more painful periods, so reducing their production addresses the root cause rather than just masking pain.
The key with NSAIDs is timing. Taking them at the first sign of cramping, or even just before your period starts if your cycle is predictable, gives them time to lower prostaglandin levels before contractions intensify. Waiting until pain is severe means those prostaglandins have already done their work, and the medication has to play catch-up. Acetaminophen can help with mild cramps, but because it doesn’t reduce prostaglandin production the way NSAIDs do, it’s generally less effective for period pain.
Dietary Changes That Reduce Period Pain
What you eat in the days leading up to your period can influence how severe your cramps are. Omega-3 fatty acids, found in fatty fish like salmon and mackerel, interfere with the pathway that produces the most inflammatory prostaglandins. Research has shown that a daily dosage of 2 grams of fish oil supplement improved menstrual pain. If you don’t eat fish regularly, a fish oil supplement taken throughout the month (not just during your period) is a reasonable alternative.
Vitamin D plays a role too. It suppresses prostaglandin production in the uterine lining and limits prostaglandin activity at the receptor level. Vitamin B1 at 100 mg daily was found to be an effective treatment for painful periods in a well-conducted trial. Vitamin B6 at 200 mg daily also reduced period pain more than a placebo. These aren’t instant fixes; they work best when taken consistently rather than only when cramps appear.
TENS Devices for Menstrual Cramps
Transcutaneous electrical nerve stimulation (TENS) units are small, portable devices that deliver mild electrical pulses through adhesive pads placed on your skin. For period cramps, you place the pads on your lower abdomen or lower back. High-frequency TENS, typically set between 50 and 120 Hz (100 Hz being the most common setting), has been shown to be more effective for pain relief than placebo devices. Low-frequency TENS, by contrast, performed no better than a placebo.
You can use a TENS device whenever severe pain hits, for as long as needed, though 20 to 30 minutes is likely the minimum effective treatment time. The intensity should be set to the highest level you can comfortably tolerate. TENS units are widely available online and at pharmacies, and they can be used alongside other remedies like heat or medication.
Muscle Cramps: What Actually Helps
If your cramps are in your calves, hamstrings, or other skeletal muscles, especially at night, the most reliable remedy is stretching. For calf cramps, the Cleveland Clinic recommends standing about 3 feet from a wall, leaning forward with your arms outstretched, and pressing into 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, and particularly right before bed, can reduce the frequency of nighttime leg cramps.
When a muscle cramp strikes, gently stretching the affected muscle and holding the stretch until the spasm releases is the fastest way to stop it. Massaging the muscle or walking around can also help it relax.
The Magnesium Question
Magnesium supplements are widely recommended for muscle cramps, but the evidence is surprisingly weak. A Cochrane Review found that magnesium supplementation, at doses ranging from 100 to 520 mg daily, did not significantly reduce cramp frequency, intensity, or duration compared to placebo. The review concluded that magnesium supplementation is unlikely to be effective for general skeletal muscle cramps at any tested dosage. Oral magnesium also caused diarrhea in 11% to 37% of participants. If you have a confirmed magnesium deficiency, supplementation makes sense for overall health, but don’t expect it to fix your cramps specifically.
Dehydration Isn’t the Main Culprit
The common advice to “drink more water” for exercise-related muscle cramps doesn’t hold up well under scrutiny. In a study published in the Journal of Athletic Training, 69% of participants still experienced muscle cramps even when they were well-hydrated and supplemented with electrolytes. The incidence of cramps was similar whether participants were dehydrated or fully hydrated with electrolyte supplementation. Local muscle fatigue appears to be a more significant trigger than fluid or electrolyte status. Staying hydrated is good general practice, but if you’re cramping during exercise, pacing yourself and conditioning gradually is more likely to help than drinking extra water.
Stomach and Abdominal Cramps
Cramps in your gut involve a different type of muscle than your legs or uterus, but the principle is similar: smooth muscle in your intestinal wall contracts too forcefully or too frequently. For conditions like irritable bowel syndrome or general abdominal cramping, antispasmodic medications work by preventing calcium from entering the smooth muscle cells, which stops the contraction cycle. Some are available over the counter, depending on your country, while others require a prescription.
Peppermint oil capsules (enteric-coated so they dissolve in the intestine rather than the stomach) act as a natural smooth muscle relaxant and are widely available without a prescription. Heat applied to the abdomen can also ease gut cramps, just as it does for menstrual pain.
When Cramps Need Medical Attention
Most cramps are uncomfortable but harmless. However, sudden, severe abdominal pain that doesn’t ease within 30 minutes warrants urgent medical evaluation. The same applies to abdominal pain accompanied by continuous vomiting, fever with a rapid pulse, or vaginal bleeding with severe pelvic pain (which could signal an ectopic pregnancy). Pain that starts mild and worsens steadily, particularly in the lower right abdomen with nausea and loss of appetite, can indicate appendicitis. Severe upper abdominal pain that worsens after eating and lasts for days may point to pancreatitis. These situations require prompt evaluation rather than home remedies.