The best remedies for cramps depend on where they’re happening. For muscle and leg cramps, magnesium, stretching, pickle juice, and B vitamins all have evidence behind them. For menstrual cramps, anti-inflammatory pain relievers taken before symptoms peak are the most effective option, with certain supplements offering additional relief. Here’s what works, what doesn’t, and how to use each one.
Anti-Inflammatory Pain Relievers for Menstrual Cramps
Over-the-counter anti-inflammatory medications like ibuprofen and naproxen are the most reliable way to manage period cramps. They work by blocking the hormone-like compounds that cause your uterus to contract painfully. The key is timing: these drugs work best when you take them before the pain gets bad. If you know your worst cramp day is day two of your cycle, start taking ibuprofen on day one.
Higher doses of ibuprofen (800 mg three times a day) can also reduce menstrual flow, though this is a prescription-level dose that’s worth discussing with a doctor first, especially if you have kidney, liver, or heart concerns. At standard over-the-counter doses, ibuprofen and naproxen still provide meaningful cramp relief for most people.
Magnesium for Muscle and Leg Cramps
Magnesium is one of the most studied supplements for cramp relief. A Cochrane review found that magnesium citrate or magnesium lactate taken twice daily was effective for reducing leg cramps in pregnant women. The mineral plays a direct role in how muscles contract and relax, so when levels run low, cramps become more likely.
Magnesium citrate is the most commonly recommended form because of its relatively high absorption rate, containing about 16% elemental magnesium by weight. Magnesium glycinate is another well-absorbed option that tends to be gentler on the stomach. The upper safe limit for supplemental magnesium is 350 mg of elemental magnesium per day for adults. Going above that threshold can cause diarrhea and digestive discomfort. Many people with frequent cramps are mildly deficient in magnesium without knowing it, particularly if their diet is low in leafy greens, nuts, and whole grains.
Pickle Juice: Fast-Acting but Surprising
Pickle juice has a reputation among athletes for stopping cramps almost instantly, and there’s a real physiological explanation for why it works. It’s not about hydration or sodium replacement. The acid in the brine triggers nerves in the back of the throat, which sends a signal that essentially tells the cramping muscle to relax. This reflex response can work in seconds.
The effective dose is small: roughly one tablespoon. You don’t need to drink a full glass. This makes pickle juice most useful as a quick fix when a cramp strikes rather than as a preventive strategy. It won’t address the underlying cause of recurring cramps, but for acute relief, it’s surprisingly effective.
B Vitamins for Nocturnal Leg Cramps
If you get leg cramps at night, vitamin B complex supplements may help. A 12-week trial of older adults found that daily B complex supplementation led to remission of muscle cramps in 86% of treated participants, compared with no improvement in the group that didn’t take the supplement. The participants were not known to be B-vitamin deficient beforehand, which suggests the benefit may extend beyond simple deficiency correction.
B vitamins are water-soluble, meaning your body excretes what it doesn’t need, so the risk of supplementation is low. A standard B complex supplement from any pharmacy covers the relevant forms.
Zinc for Menstrual Cramps
Zinc is a less well-known option for period cramps, but case reports spanning more than two decades describe significant relief when zinc gluconate is taken in the days leading up to menstruation. The protocol that has been used most involves taking 30 mg of zinc one to three times per day for the one to four days immediately before your expected period. In documented cases, this prevented essentially all cramping and premenstrual warning symptoms.
This approach is still considered preliminary and hasn’t been validated by large clinical trials. But zinc at these doses is well within safe limits for short-term use, and the consistent anecdotal results across many years make it worth trying if you’re looking for alternatives to pain relievers.
Stretching and Hydration
Dehydration is one of the most common and most overlooked triggers for muscle cramps. When you lose fluids through sweat, exercise, or simply not drinking enough water, the electrolyte balance in your muscles shifts, making involuntary contractions more likely. Drinking water throughout the day, especially before and after physical activity, is a basic but effective preventive measure.
Gentle stretching before bed can reduce the frequency of nighttime leg cramps. Calf stretches in particular, where you lean into a wall with one leg extended behind you, target the muscles most prone to cramping at night. Holding each stretch for 30 seconds and repeating two to three times per leg is a simple routine that costs nothing and takes under five minutes.
What to Avoid: Quinine
Quinine, once widely used for leg cramps, is no longer considered safe for this purpose. The FDA has stated that quinine is not safe or effective for the treatment or prevention of leg cramps. It is only approved for treating a specific type of malaria. The risks include a dangerous drop in blood platelet count, severe allergic reactions, and heart rhythm abnormalities. Fatalities and kidney failure requiring dialysis have been reported. If someone has suggested quinine or tonic water for your cramps, the risk far outweighs any potential benefit.
When Cramps Signal Something Else
Most cramps are harmless, but leg pain that comes with swelling, skin that feels warm to the touch, or a color change in the skin (reddish or purplish) could indicate a blood clot in a deep vein. This is especially worth paying attention to if the symptoms affect only one leg, started suddenly, or followed a period of immobility like a long flight or bed rest. A deep vein clot requires prompt medical evaluation because it can travel to the lungs.

