What Helps Muscle Cramps: Remedies That Actually Work

Stretching the affected muscle is the fastest way to stop a cramp in progress. Beyond that immediate fix, preventing cramps from coming back involves a mix of hydration, targeted stretching routines, and addressing any nutritional gaps. What works best depends on when your cramps happen: during exercise, at night, or during pregnancy.

How to Stop a Cramp Right Now

When a cramp strikes, stretch the muscle and hold it until the spasm releases. For a calf cramp, keep your leg straight and pull your toes toward your shin. You can also stand on the cramping leg and press your weight down firmly through the foot. For a front thigh cramp, grab the foot on that side and pull it toward your buttock, using a chair for balance.

Once the cramp breaks, gently massage the area. Applying a warm towel or heating pad can help the muscle relax further. If soreness lingers, ice for 10 to 15 minutes can reduce residual tenderness. Walking around briefly after the cramp resolves helps restore normal blood flow and reduces the chance of it returning immediately.

The Pickle Juice Trick

Drinking a small amount of pickle juice can shut down a cramp surprisingly fast. Researchers at Brigham Young University found that about 2.5 ounces (roughly 1 mL per kilogram of body weight) relieved electrically induced cramps faster than water. The effect happens too quickly to be explained by digestion or rehydration. Instead, the strong vinegar taste appears to trigger a reflex in the mouth and throat that signals the nervous system to dial down the overactive nerve firing causing the cramp. Any intensely sour or acidic liquid, like vinegar diluted in water, may produce a similar effect.

Nighttime Cramp Prevention

Nocturnal leg cramps are common in adults over 50, and stretching before bed is the best-supported prevention strategy. A routine combining calf and hamstring stretches performed daily for six weeks reduced the severity of nighttime cramps in adults 55 and older. Each stretch was held for 10 seconds, repeated three times with 10-second rest periods between them.

Interestingly, stretching only the calves didn’t reduce cramp frequency when studied over 12 weeks. The combination of calf and hamstring stretches together seems to matter. This makes sense given that the muscles in the back of the leg work as a connected chain, and tightness in one area can trigger cramping in another.

Does Magnesium Actually Help?

Magnesium is one of the most commonly recommended supplements for cramps, but the evidence is disappointing for most people. A Cochrane review of randomized controlled trials found that magnesium supplementation made essentially no difference for older adults with nocturnal leg cramps. Compared to placebo, magnesium didn’t significantly reduce cramp frequency, intensity, or duration at the four-week mark. The trials used daily doses ranging from 200 to 366 mg of elemental magnesium in various forms (citrate, lactate, aspartate), and none outperformed a sugar pill.

The one exception may be pregnancy. The research on magnesium for pregnancy-related cramps is mixed rather than clearly negative, and some medical guidelines still suggest it as a reasonable option during pregnancy. If you’re not pregnant and your cramps aren’t caused by a diagnosed magnesium deficiency, supplementation is unlikely to help.

B Vitamins: A Lesser-Known Option

A small but notable study found that a B-vitamin complex significantly reduced nocturnal leg cramps in elderly patients with high blood pressure. After three months of supplementation, 86% of those taking the B vitamins experienced prominent remission of their cramps, while the placebo group saw no meaningful change. The supplement reduced cramp frequency, intensity, and duration. This was a small trial of 28 patients, so the results need more confirmation, but it’s worth discussing with a healthcare provider if nighttime cramps are persistent and other approaches haven’t worked.

Staying Hydrated During Exercise

Exercise-associated muscle cramps are a different animal from nighttime cramps. They tend to hit muscles you’re actively working, especially late in a workout or competition when you’re fatigued and sweating heavily. The National Athletic Trainers’ Association recommends that athletes prone to cramping add 0.3 to 0.7 grams of salt per liter to their drinks. Some experts suggest even higher sodium concentrations (3.0 to 6.0 grams per liter) for people who cramp frequently during exercise.

Fluid intake matters too. Tennis athletes susceptible to cramping have tolerated up to 1.8 liters of fluid per hour during play. You don’t necessarily need that much, but the takeaway is that sipping small amounts throughout exercise is less effective than drinking consistently and generously, especially in hot conditions. Plain water alone may not be enough if you’re a heavy sweater. Adding salt to your drink or choosing an electrolyte-containing sports drink helps replace what you lose through sweat.

Cramp Relief During Pregnancy

Leg cramps are especially common in the second and third trimesters. Stretching your calves before bed is the most consistently recommended prevention step. Staying physically active during the day, wearing supportive shoes with a firm heel, and drinking plenty of fluids all help reduce cramp frequency.

If a cramp hits during the night, stretch the calf by flexing your foot (pulling toes toward your shin), then walk around briefly before lying back down. A warm bath or hot shower can relax the muscle and prevent it from cramping again. Some research links lower blood calcium levels during pregnancy to increased cramping, so getting 1,000 mg of calcium daily through food or supplements is worth prioritizing.

Skip the Tonic Water

Quinine, the bitter compound in tonic water, was once widely used for leg cramps. The FDA has explicitly stated that quinine is not approved for treating or preventing nocturnal leg cramps, and the drug’s label carries a boxed warning (the most serious type) about potentially fatal blood disorders, dangerous heart rhythm changes, and severe allergic reactions. The amount of quinine in commercial tonic water is much lower than in prescription quinine, but the FDA’s position is clear: the risks outweigh any potential benefit for cramps. Don’t rely on tonic water as a cramp remedy.

When Cramps Signal Something Else

Most muscle cramps are harmless, even if they’re painful. They strike, they pass, and the muscle feels normal afterward (maybe a little sore). But certain patterns warrant attention. Cramps accompanied by muscle weakness, swelling, dark-colored urine, or numbness and tingling can point to conditions like rhabdomyolysis (muscle tissue breakdown) or neuromuscular disease.

Cramps that happen only during specific fine motor tasks, like writing, without much pain may be a form of dystonia rather than a true cramp. Cramps paired with visible muscle twitching (fasciculations), stiffness, and exercise intolerance can indicate cramp-fasciculation syndrome. And cramps occurring alongside progressive weakness, muscle wasting, and exaggerated reflexes are among the early signs of motor neuron diseases. If your cramps come with any of these additional symptoms, or if they don’t improve after several weeks of stretching, hydration, and basic prevention measures, further evaluation is reasonable.