Most charley horses ease within minutes, and the fastest help is usually something you do rather than a pill. Many popular remedies, including magnesium tablets, perform no better than a sugar pill for most people with night cramps.1JAMA Internal Medicine. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial Cramps seem to start in overexcited nerves rather than in a muscle running short of salt, which is why some odd-sounding quick fixes work and some familiar ones don’t.
Why a Charley Horse Happens
A charley horse is a sudden, hard knot, often in the calf, that you can feel and sometimes see. It usually lasts seconds to a few minutes and leaves the muscle tender for hours or even a day. Night cramps often wake people and can pull the foot or toes into a pointed position. Ordinary soreness after exercise, by contrast, builds slowly and doesn’t lock the muscle into a knot.
The signal to tighten a muscle comes from nerve cells in the spinal cord.2BrainFacts/SfN. What Causes Muscle Cramps? After repeated or hard use, these cells can start firing uncontrollably, much like the misfiring behind a seizure.2BrainFacts/SfN. What Causes Muscle Cramps? During a cramp they fire far faster than they do when you tighten a muscle on purpose.3PubMed Central. Muscle cramps as disorders of impaired termination of contraction: An integrated neurophysiological framework A tired, strained muscle sends more “tighten” messages to the spine and fewer “relax” messages, so the nerve keeps going.3PubMed Central. Muscle cramps as disorders of impaired termination of contraction: An integrated neurophysiological framework
That is why the whole muscle contracts at once and stays contracted, and why you feel a bunched knot under the skin. Muscles that cross two joints, like the calf, which acts on both the knee and the ankle, are especially prone to cramping, and the calf is the most common site. Cramps often come when the muscle is already shortened, such as when you point your toes in bed, because a shortened muscle is more easily set off.
A nerve-based explanation fits better than “low on salt or water” with rested, well-fed people who still cramp at night. Fluids and salts may still matter during long, sweaty exercise, which comes up later.
What Stops a Cramp While It’s Happening
Gently stretch the cramping calf by pulling your toes toward your shin. Stretching activates tendon sensors that tell the nerve to relax. Standing and putting weight on the leg, then walking a few steps, can do the same job.
A slow, firm pull works better than a sudden jerk, which can strain an already tight muscle. Hold the stretch until the knot softens, often in under a minute, and expect some tenderness afterward. For a cramp in the back of the thigh, straighten the knee and lean forward. For the front of the thigh, bend the knee and pull the heel toward your buttock. Don’t rub hard on a muscle that is still gripping; save massage for when it has let go.
Strong-tasting liquids work through the mouth, not the blood. The vinegar in pickle juice appears to trigger sensors in the mouth and throat that send a signal shutting the cramp down.4PubMed Central. Pickle Juice Intervention for Cirrhotic Cramps Reduction: The PICCLES Randomized Controlled Trial That signal reduces the nerve overactivity in the spine.5Applied Sciences. Effectiveness of Mouth Rinsing versus Ingesting Pickle Juice for Alleviating Electrically Induced Cramp in Physically Active Adults Pickle juice isn’t replacing salt, since it doesn’t change the salts in your blood.4PubMed Central. Pickle Juice Intervention for Cirrhotic Cramps Reduction: The PICCLES Randomized Controlled Trial Other sharp, spicy flavors that excite the same mouth sensors have eased foot cramps.6PubMed. Effects of TRPV1 and TRPA1 activators on the cramp threshold frequency: a randomized, double-blind placebo-controlled trial Yellow mustard contains vinegar plus pungent seed compounds that hit the same sensors. A swallow about the size of a shot glass is enough to try.
If cramps are frequent, keep pickle juice or mustard packets by the bed.
Menthol rub-on creams are generally well tolerated on the skin.7Academic Press. The Neurobiology, Physiology, and Psychology of Pain They help the leftover ache more than they break a cramp that is already locked. Warmth can also ease the leftover soreness, but avoid heating pads on numb skin, or if you might fall asleep on them.
A painkiller or a banana won’t help in the moment. Pills like ibuprofen take far longer to work than most cramps last. A banana’s potassium can’t reach the muscle in time, and low potassium is rarely the cause anyway.
Does Magnesium Prevent Charley Horses
In older adults with night leg cramps, magnesium oxide worked no better than a placebo.1JAMA Internal Medicine. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial In another trial, people averaged about 11 cramps whether they took magnesium or a dummy pill.8PubMed. Magnesium for the treatment of nocturnal leg cramps: a crossover randomized trial Neurology experts list magnesium as likely not helpful for cramps.9Neurology. Summary of Evidence-based Guideline for Patients and Their Families: Drug Treatments for Symptoms of Muscle Cramps One trial did find a modest drop in night cramps and better sleep with a magnesium oxide product.10PubMed Central. A randomized, double-blind, placebo-controlled, multicenter study assessing the efficacy of magnesium oxide monohydrate in the treatment of nocturnal leg cramps
The improvement many people notice probably comes from the placebo effect, which helps explain magnesium’s popularity.1JAMA Internal Medicine. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial Night cramps are irregular, with bad weeks and quiet weeks. People tend to start a remedy when cramps are at their worst, and then the cramps ease on their own. That drift back toward normal makes nearly any remedy look like it worked. If you want to test it yourself, track your cramps for a few weeks before and after.
A pill that does nothing can still cost you. Magnesium commonly causes loose stools or diarrhea, especially at higher doses. People with kidney disease clear magnesium poorly and shouldn’t take supplements without medical advice. It can also interact with some medicines, such as certain antibiotics and osteoporosis drugs, which are absorbed less well if taken at the same time. The money may be better spent on measures with at least some support, such as stretching.
Pregnancy is the main exception. For troublesome cramps in pregnancy, the best evidence supports magnesium lactate or citrate, 5 mmol in the morning and 10 mmol in the evening.11PubMed. Interventions for leg cramps in pregnancy Calcium for pregnancy cramps seems to work mainly as a placebo.11PubMed. Interventions for leg cramps in pregnancy Ask your midwife or doctor before starting any supplement during pregnancy.
Salty Drinks and Water for Cramps During Exercise
Drinking a carbohydrate-electrolyte drink before and during exercise in heat more than doubled the time before cramps started, from about 15 to about 37 minutes.12PubMed Central. Influence of Hydration and Electrolyte Supplementation on Incidence and Time to Onset of Exercise-Associated Muscle Cramps Most people still cramped even when fully hydrated with electrolytes.12PubMed Central. Influence of Hydration and Electrolyte Supplementation on Incidence and Time to Onset of Exercise-Associated Muscle Cramps Runners who cramp don’t lose noticeably more fluid or body weight than those who don’t.13PubMed Central. Exercise-Associated Muscle Cramps So dehydration alone doesn’t explain exercise cramps.
Cramping tends to strike the muscles you’ve worked hardest, which fits the idea that local muscle tiredness matters more than total body water. No drink can be counted on as insurance during hard effort.
Plain water after heavy sweating can backfire. It made muscles cramp more easily, by diluting blood salts.14PubMed Central. Water intake after dehydration makes muscles more susceptible to cramp but electrolytes reverse that effect A drink containing electrolytes reversed that effect.14PubMed Central. Water intake after dehydration makes muscles more susceptible to cramp but electrolytes reverse that effect Sweat contains salt as well as water, so replacing only the water dilutes your blood salts. After a long, sweaty workout, choose a drink with salt rather than plain water alone. A sports drink, a salty snack with water, or an ordinary meal works. This matters after prolonged hot exercise, not a short, easy walk. People on salt-restricted diets for blood pressure or heart conditions should check with their doctor first.
A few habits lower the risk. Build up distance and intensity gradually, since tired muscles cramp most, and ease off when a muscle starts twitching, an early warning sign.
Vitamins and Prescription Options for Frequent Cramps
Neurology experts rate vitamin B complex, diltiazem, and naftidrofuryl as possibly effective, each backed by a single solid study.15PubMed. Assessment: symptomatic treatment for muscle cramps (an evidence-based review): report of the therapeutics and technology assessment subcommittee of the American academy of neurology In older adults with high blood pressure, 86% taking vitamin B complex had a marked drop in night cramps after 3 months.16PubMed. Randomized, double-blind, placebo-controlled study of the safety and efficacy of vitamin B complex in the treatment of nocturnal leg cramps in elderly patients with hypertension Diltiazem is a heart and blood pressure drug with side effects of its own. Naftidrofuryl, a circulation drug, is available in some countries but not the US. Gabapentin, a nerve-pain drug, likely doesn’t help cramps.9Neurology. Summary of Evidence-based Guideline for Patients and Their Families: Drug Treatments for Symptoms of Muscle Cramps
“Possibly effective” on a single study means others haven’t confirmed the result. These are options to discuss, not proven fixes.
Diltiazem lowers blood pressure and slows the heart, so it can cause dizziness, a slow pulse, ankle swelling, and constipation. It interacts with several other medicines, so a doctor needs to review everything you take.
Quinine was long the standard cramp pill, but its benefit is small and safety concerns are real.17PubMed Central. N-of-1 trials of quinine efficacy in skeletal muscle cramps of the leg US regulators warn against using quinine for leg cramps because of serious blood and heart reactions. Vitamin E was once reported to relieve night cramps, but only in early uncontrolled reports.
If you raise this with your doctor, bring a few weeks’ record of how often cramps happen and when. Don’t use tonic water or leftover quinine as a substitute treatment.
Medicines and Conditions That Make Cramps Worse
Night cramps are more likely to start after beginning water pills, statins, or long-acting asthma inhalers.18PubMed. Nocturnal leg cramps and prescription use that precedes them: a sequence symmetry analysis Long-acting asthma inhalers showed the strongest link, with new cramps about 2.4 times as likely after starting them.18PubMed. Nocturnal leg cramps and prescription use that precedes them: a sequence symmetry analysis Potassium-sparing water pills carried a higher link than other water pills.18PubMed. Nocturnal leg cramps and prescription use that precedes them: a sequence symmetry analysis
A link means cramps were more common among people who started the drug, not that the drug is certain to cause yours. Water pills may contribute by shifting the body’s salts. Stopping a statin, inhaler, or water pill suddenly can cause its own harm, such as worsening asthma, so if cramps began after a new prescription, ask your doctor and don’t stop it on your own. Doctors can sometimes adjust the dose, change the timing, or switch to another drug in the same class.
Some illnesses bring cramps with them. Between about a fifth and nearly 9 in 10 people with liver cirrhosis get muscle cramps.19PubMed Central. Muscle Cramps in Liver Disease In liver disease, diabetes and kidney disease were strongly linked to cramps.20PubMed. Overlooked muscle cramps in patients with chronic liver disease: in relation to the prevalence of muscle cramps In cirrhosis, a small drink of pickle juice has been tested as a quick fix.4PubMed Central. Pickle Juice Intervention for Cirrhotic Cramps Reduction: The PICCLES Randomized Controlled Trial Cramps are common enough in these conditions that they are worth mentioning at routine visits. Clues to an underlying cause include cramps that started suddenly with a new medicine, cramps in many muscles rather than just the calves, cramps with weakness, numbness, or muscle wasting, and a known liver, kidney, or thyroid problem, or diabetes.
Stretching to Prevent Night Cramps
Older adults who stretched before bed had about 1 fewer cramp per night after six weeks, and milder ones.21PubMed. Stretching before sleep reduces the frequency and severity of nocturnal leg cramps in older adults: a randomised trial Another trial of calf stretching for 12 weeks found no reduction in night cramps.22PubMed Central. Managing nocturnal leg cramps — calf-stretching exercises and cessation of quinine treatment: a factorial randomised controlled trial Overall confidence in nightly stretching is low.23PubMed Central. Non‐drug therapies for the secondary prevention of lower limb muscle cramps
Stretching is cheap and safe, so it’s worth a few weeks’ trial. Stand facing a wall with one leg back, heel flat, and lean forward. Hold about 10 to 30 seconds, then switch legs, for a few rounds each. Stretch shortly before bed and count your cramps each week. Loose bedcovers also help by keeping your toes from being pressed into a pointed position. Judge it after several weeks, since the helpful trial needed six weeks to show a difference.
When Leg Pain Isn’t a Charley Horse
Deep vein thrombosis is a blood clot in the leg’s deep veins.24Center for Vein Restoration. How Do I Tell the Difference Between a Cramp and a Blood Clot in the Leg? A clot can travel to the lungs and become life-threatening,24Center for Vein Restoration. How Do I Tell the Difference Between a Cramp and a Blood Clot in the Leg? so a suspected clot should be checked promptly, not at a routine appointment.25United Vein & Vascular Centers. Blood Clot or Charlie Horse? How to Tell the Difference
A cramp comes on suddenly and eases in minutes; clot pain persists or builds. A clot often brings swelling, warmth, or redness in one leg. Stretching relieves a cramp but not clot pain. Sudden breathlessness or chest pain with leg pain needs emergency care.
Book a doctor visit if cramps come nightly or disrupt sleep for weeks, if they come with weakness, numbness, or changes in muscle size, or if they began with a new medicine.

