Several things reliably relieve cramps, whether you’re dealing with period pain or a muscle cramp that strikes mid-exercise or in the middle of the night. Heat, anti-inflammatory medication, stretching, and staying hydrated are among the most effective options, and many of them work within minutes. The best approach depends on what kind of cramp you’re experiencing and how severe it is.
Heat Therapy for Menstrual Cramps
Applying heat to your lower abdomen is one of the simplest and most effective ways to ease period cramps. Heat works by relaxing the uterine muscle and increasing blood flow to the area, which reduces the intensity of contractions causing the pain. Studies comparing heat patches to over-the-counter pain relievers have found them similarly effective, with heat patches supplying a constant temperature around 39°C (about 102°F) performing well in trials.
A heating pad, hot water bottle, or adhesive heat patch all work. The key is sustained contact: heat patches reach their maximum effectiveness at about 8 hours of use. If you’re using a heating pad at home, aim for 15 to 20 minutes at a time, repeating as needed. A warm bath can also help, since the heat reaches your lower back and abdomen simultaneously.
Over-the-Counter Pain Relievers
Anti-inflammatory pain relievers like ibuprofen are particularly effective for menstrual cramps because they reduce the production of hormone-like compounds called prostaglandins, which trigger uterine contractions. The standard dose for menstrual cramps is 400 mg every four hours as needed. Taking the first dose at the earliest sign of cramping, or even slightly before your period starts if your cycle is predictable, gives the medication time to lower prostaglandin levels before pain peaks.
Naproxen is another option that lasts longer per dose. If one type doesn’t work well for you, switching to the other sometimes makes a noticeable difference. Acetaminophen can help with pain but won’t reduce inflammation, so it’s generally less effective for period cramps specifically.
Stretching and Movement for Muscle Cramps
When a muscle cramp hits your calf, foot, or thigh, the fastest relief comes from stretching the affected muscle. For a calf cramp, straighten your leg and pull your toes toward your shin. You can also stand up and press your feet flat against the floor, or walk around on your heels. For a thigh cramp, pull the foot on that side up toward your buttock while holding a chair for balance.
Gently massaging the cramped muscle with your hands or a foam roller while stretching helps it release faster. The goal is to lengthen the muscle that’s involuntarily contracting. Once the acute cramp passes, light movement like walking prevents it from returning immediately.
For menstrual cramps, exercise helps too, though the mechanism is different. Physical activity releases your body’s natural pain-relieving chemicals and improves blood flow to the pelvic region. Even a 20-minute walk or gentle yoga session can noticeably reduce period pain.
Hydration and Electrolytes
Dehydration makes muscle cramps significantly more likely. Research from the Gatorade Sports Science Institute found that when athletes lost 2% of their body mass through fluid loss, a third of participants experienced exercise-associated cramps. At 3% dehydration, two-thirds cramped. At just 1% loss, nobody did. For a 150-pound person, that 2% threshold is only about 3 pounds of water weight, which is easy to lose during intense exercise or hot weather.
Drinking water throughout the day is the baseline, but electrolytes matter too. Sodium, potassium, and magnesium all play roles in muscle contraction and relaxation. Sports drinks, coconut water, or simply adding a pinch of salt to your water can help if you’re sweating heavily. For period cramps, staying well-hydrated won’t eliminate the pain, but dehydration can make bloating and cramping feel worse.
Magnesium Supplements
Magnesium helps muscles relax, and low levels are linked to more frequent cramping. A Cochrane review found that magnesium in the form of lactate or citrate, taken twice daily, was effective for reducing leg cramps in pregnant women. Many people with frequent nighttime leg cramps or menstrual cramps are mildly deficient in magnesium without knowing it.
Foods rich in magnesium include dark leafy greens, nuts, seeds, and dark chocolate. If you prefer a supplement, magnesium citrate and magnesium glycinate are better absorbed than magnesium oxide. Results aren’t instant; most people need a few weeks of consistent intake before noticing a difference in cramp frequency.
Vitamin B1 for Period Pain
Vitamin B1 (thiamine) is a lesser-known option for menstrual cramps that has shown real promise. In clinical trials, 100 mg of vitamin B1 taken daily for two months reduced the intensity of uterine contractions and improved both physical and mental symptoms associated with painful periods. One trial directly compared 100 mg of B1 against 400 mg of ibuprofen and found meaningful pain relief in both groups. Another trial found that combining B1 with fish oil worked better than either alone.
B1 isn’t a quick fix for cramps happening right now, but taken consistently over a couple of cycles, it can reduce how severe your cramps are each month.
TENS Devices
A TENS unit is a small, battery-powered device that sends mild electrical pulses through adhesive pads placed on your skin. For menstrual cramps, you place the pads on your lower abdomen or back. The electrical signals interrupt pain signals traveling to your brain and can also prompt your body to release its own pain-relieving chemicals.
Research on TENS for period pain, including endometriosis-related pain, suggests that high-frequency settings between 50 and 120 Hz provide the best relief. TENS units are widely available without a prescription, portable enough to wear under clothing, and have essentially no side effects. They work best as a complement to other methods rather than a standalone solution for severe cramps.
The Pickle Juice Trick for Muscle Cramps
Pickle juice has a real, science-backed mechanism for stopping muscle cramps. The acetic acid in the brine triggers nerves in the back of the throat that send a signal to shut down the misfiring nerve activity causing the cramp. It’s not about hydration or sodium replenishment; the effect happens too quickly for that. A small sip is all it takes. Mustard works through a similar mechanism. This is specifically useful for exercise-related muscle cramps, not for menstrual pain.
When Cramps Signal Something Else
Most menstrual cramps are a normal, if unpleasant, part of having a period. But certain patterns suggest the pain may be caused by a condition like endometriosis or fibroids rather than typical period cramps. Watch for pain that starts several days before your period and continues after it ends, cramps that get progressively worse over months or years, or pain so severe that it regularly keeps you from work, school, or daily activities. Period pain caused by an underlying condition tends to respond poorly to standard remedies like ibuprofen and heat.
For muscle cramps, occasional episodes after exercise or during sleep are common and harmless. Cramps that happen frequently without an obvious trigger, affect multiple muscle groups, or are accompanied by muscle weakness deserve a closer look, as they can occasionally point to nerve compression, circulation problems, or mineral deficiencies that are worth identifying.