A sudden, rock-hard calf cramp that jolts you awake is one of the most common sleep complaints in older adults, and it isn’t necessarily a sign that something is wrong. For most people it starts in the nerves that control the muscle, not in a shortage of minerals, which is why the popular fix of magnesium so often disappoints. The way you lie in bed turns out to matter too, so small changes to how you sleep and stretch can make a real difference.
What Actually Triggers a Night Cramp
Cramps come from nerve cells in the spinal cord that fire too much and tell the muscle to contract when it shouldn’t.1Neurology. Help for People with Muscle Cramps? Lying down puts the calf in a vulnerable spot. On your back or front, the foot drops and the toes point downward.2JAMA. Nocturnal Leg Muscle Cramps In that position the calf muscles are slack, so when a nerve signal arrives the muscle shortens past its normal range into a cramp.2JAMA. Nocturnal Leg Muscle Cramps About 8 in 10 night cramps hit the calf.3PubMed Central. Prevalence of cramps in patients over the age of 60 in primary care: a cross sectional study Many people who get them say a particular sleeping position, or stretching their toes downward, sets them off.4PubMed Central. Unknotting night-time muscle cramp: a survey of patient experience, help-seeking behaviour and perceived treatment effectiveness
Often there is a warning: a twitch or tightening in the calf a few seconds before the full cramp. Then the calf goes hard, sometimes visibly knotted, and may pull your toes down with it. The pain usually peaks and then fades within seconds to minutes. The calf can feel sore or bruised the next day, even though nothing was torn.
The trigger is often a movement you make half asleep. Heavy blankets can press your feet into a pointed position, and the instinctive stretch on waking, with toes pointed, shortens the calf even further.
Who Gets Them and How Common They Are
About a quarter of adults report mild night leg cramps, and about 6 in 100 report moderate to severe ones.5PubMed Central. Nocturnal leg cramps: Prevalence and associations with demographics, sleep disturbance symptoms, medical conditions, and cardiometabolic risk factors Among people over 60 seeing a family doctor, nearly half get leg cramps.3PubMed Central. Prevalence of cramps in patients over the age of 60 in primary care: a cross sectional study About 3 in 10 people over 60 are woken by them, and about 15 in 100 get them more than three times a month.3PubMed Central. Prevalence of cramps in patients over the age of 60 in primary care: a cross sectional study They peak around age 60 to 69.6PubMed Central. Criteria in diagnosing nocturnal leg cramps: a systematic review Men and women over 60 seem to get them about equally.3PubMed Central. Prevalence of cramps in patients over the age of 60 in primary care: a cross sectional study
Pregnancy is another common time. More than half of women in the last three months of pregnancy get leg cramps.7Journal of Sabzevar University of Medical Sciences. Prevalence of Leg Cramps in the Third Trimester of Pregnancy and Its Relationship to Nutritional Behavior and Consumption Supplementation in Pregnancy They tend to start around the middle of pregnancy and come several times a week.7Journal of Sabzevar University of Medical Sciences. Prevalence of Leg Cramps in the Third Trimester of Pregnancy and Its Relationship to Nutritional Behavior and Consumption Supplementation in Pregnancy
Cramps are also more common with heavier weight, smoking and poorer sleep, and in people with heart disease, high blood pressure, arthritis or depression. These are links, not proof that each one causes cramps.
How to Stop a Cramp Right Now
Stretching and massaging the cramping muscle can ease the pain, though most cramps go away on their own.8nhs.uk. Leg cramps Standing up and putting your weight on the cramping leg can help.8nhs.uk. Leg cramps People who feel a cramp coming often stop it by pulling the foot and toes up toward the shin.4PubMed Central. Unknotting night-time muscle cramp: a survey of patient experience, help-seeking behaviour and perceived treatment effectiveness That lengthens the shortened calf, reversing the pointed-toe position that caused it.
When a cramp wakes you, sit up and grab your toes, pulling them toward you with the knee straight. If you can’t reach, swing your leg out of bed and press your heel into the floor. Or stand and lean forward slightly to stretch the calf. Once it eases, rub the muscle and walk a few steps.
Avoid pointing your toes or curling up, which shortens the muscle more. Stretch firmly but steadily. Afterward, a warm towel or compress can ease any lingering soreness.
How to Prevent Night Cramps
Keeping the ankle from pointing downward is a recognized way to prevent repeat cramps.4PubMed Central. Unknotting night-time muscle cramp: a survey of patient experience, help-seeking behaviour and perceived treatment effectiveness Some people put a board or firm pillow at the foot of the bed to keep their feet upright.4PubMed Central. Unknotting night-time muscle cramp: a survey of patient experience, help-seeking behaviour and perceived treatment effectiveness Loosening tightly tucked covers or sleeping on your side with knees slightly bent can do the same.
If you sleep on your back, a pillow or rolled towel against the soles can help keep the foot at a right angle.
Stretching before bed has some support. In older adults, six weeks of calf and thigh stretches before bed cut about one cramp a night and made cramps less painful.9PubMed. Stretching before sleep reduces the frequency and severity of nocturnal leg cramps in older adults: a randomised trial The same kind of routine also helped frail adults over 75.10PubMed. Pilot testing a stretching regimen for prevention of night time nocturnal leg cramps But another trial found 12 weeks of calf stretching alone made little difference.11PubMed Central. Non‐drug therapies for the secondary prevention of lower limb muscle cramps So stretching is worth trying for a few weeks, but it isn’t guaranteed.
A simple routine: stand facing a wall with one heel down at the back and the knee straight, and hold for about 20 to 30 seconds. Repeat with the back knee bent to reach the lower calf. Then sit with your legs out in front and reach toward your toes for a hamstring stretch. Do it every night for several weeks before judging whether it works. Stretch to a firm pull, not pain, because forcing a tight muscle can strain it.
Drinking little and standing for long periods are both linked to night cramps.12DEVELOPMENTAL MEDICO-LIFE-SCIENCES. Serum Electrolyte Profiles and Clinical Severity of Recurrent Nocturnal Leg Cramps in Adults: A Frequency-Matched Case-Control Study Long standing at work may matter more for cramps than whether you’re a man or woman.13PubMed. Relationship between prolonged standing and symptoms of varicose veins and nocturnal leg cramps among women and men So drink regularly through the day, and take sitting or walking breaks if your job keeps you on your feet.
Does Magnesium or Pickle Juice Help
In a well-run trial in older adults, magnesium oxide pills cut cramps no more than a dummy pill.14PubMed Central. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial Another trial also found magnesium no better than a dummy pill.15PubMed. Magnesium for the treatment of nocturnal leg cramps: a crossover randomized trial People’s cramps fade over time anyway, so magnesium can seem to work when it doesn’t.14PubMed Central. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial One trial did find a small extra benefit, under one cramp a week more than a dummy pill.16PubMed Central. A randomized, double-blind, placebo-controlled, multicenter study assessing the efficacy of magnesium oxide monohydrate in the treatment of nocturnal leg cramps
That makes magnesium cheap but probably not worth relying on. High doses can cause diarrhea, and people with kidney problems should check with a doctor first. A blood test for low levels is more useful than guessing.
Pickle juice is a different kind of remedy. A swallow of it stopped muscle cramps faster than water in a lab test.17PubMed. Reflex inhibition of electrically induced muscle cramps in hypohydrated humans The vinegar seems to trigger nerves in the mouth and throat that switch off the cramp signal, not by replacing salts.18PubMed Central. Pickle Juice Intervention for Cirrhotic Cramps Reduction: The PICCLES Randomized Controlled Trial
If you want to try it, take a small mouthful when a cramp starts. It’s salty, so it isn’t ideal if you’re limiting salt. It may help some people, but it isn’t proven for night cramps.
Medicines and Health Problems That Cause Cramps
Starting diuretics, or water pills for blood pressure or fluid, is linked to more night cramps afterward.19PubMed. Nocturnal leg cramps and prescription use that precedes them: a sequence symmetry analysis Potassium-sparing water pills carry a higher link than others.19PubMed. Nocturnal leg cramps and prescription use that precedes them: a sequence symmetry analysis Long-acting asthma or COPD inhalers more than double the chance of new cramps.19PubMed. Nocturnal leg cramps and prescription use that precedes them: a sequence symmetry analysis Statins for cholesterol carry a smaller link.19PubMed. Nocturnal leg cramps and prescription use that precedes them: a sequence symmetry analysis If cramps began soon after a new medicine, ask your doctor whether it could be the cause, but don’t stop it on your own. Cramps that begin within weeks of a new medicine are worth mentioning, whereas ones that existed for years before it probably have another cause.
Blood pressure, heart, cholesterol and breathing medicines protect against serious problems, so stopping them for cramps could do more harm than the cramps do. Doctors can often adjust the dose, change the timing or switch to another drug with the same benefit. Inhalers in particular must not be stopped abruptly if you have asthma or COPD, because symptoms can return or worsen.
Health conditions matter too. Cramps affect between about 2 and 9 in 10 people with liver cirrhosis.20PubMed Central. Treatment of Muscle Cramps in Patients With Cirrhosis of Liver: A Systematic Review In people with long-term liver disease, diabetes and kidney disease are strongly linked to cramps.21PubMed. Overlooked muscle cramps in patients with chronic liver disease: in relation to the prevalence of muscle cramps About half of people with frequent night cramps had a low blood mineral such as magnesium, calcium or potassium, compared with about 1 in 5 without.12DEVELOPMENTAL MEDICO-LIFE-SCIENCES. Serum Electrolyte Profiles and Clinical Severity of Recurrent Nocturnal Leg Cramps in Adults: A Frequency-Matched Case-Control Study If cramps are frequent, a simple blood test can check these levels.
Is It a Cramp or Restless Legs
Night cramps are a sudden, painful tightening, mostly in the calf or foot.22PubMed. Restless legs syndrome and nocturnal leg cramps: a review and guide to diagnosis and treatment Restless legs syndrome is different: an uncomfortable feeling with an urge to move your legs, which eases while moving.22PubMed. Restless legs syndrome and nocturnal leg cramps: a review and guide to diagnosis and treatment It comes on at rest in the evening or night.23PubMed. Differentiating nocturnal leg cramps and restless legs syndrome Doctors usually diagnose cramps from your description, sometimes ordering tests to rule out look-alikes.23PubMed. Differentiating nocturnal leg cramps and restless legs syndrome
Restless legs is usually described as a crawling, tingling or pulling feeling deep in the legs, not a hard, painful knot in a muscle. The urge to move is the central feature, and walking brings relief, whereas moving a cramping calf only helps if you stretch it the right way. A cramp ends after seconds or minutes, but restless legs tends to return repeatedly through the evening and night.
Because a cramp is a short event that has usually passed by the time you are seen, the doctor relies mainly on your description. Tests may look for causes such as low minerals, kidney or liver problems, or thyroid disease, if your history suggests them. Saying exactly when it happens, where in the leg, and what eases it gives more to work with than “leg pain.”
See a doctor if cramps are daily or getting worse, or if they come with leg pain on walking that eases with rest, swelling, numbness or weakness. Muscle wasting, cramps spreading beyond the legs, or cramps that began after a new medicine are also reasons to go.
Prescription Options for Stubborn Cramps
Quinine reduces cramps, but only modestly, and can cause serious side effects.24PubMed. Assessment: symptomatic treatment for muscle cramps (an evidence-based review): report of the therapeutics and technology assessment subcommittee of the American academy of neurology Neurology experts advise against it for routine use, reserving it for a careful trial in select people.24PubMed. 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 everyday use, side effects like headache, dizziness and nausea affected under 1 in 10 people on quinine.25PubMed Central. Efficacy and Tolerability of Pridinol Mesylate Versus Quinine Sulfate in the Treatment of Nocturnal Leg Cramps: A Propensity Score-Matched Real-World Analysis of Depersonalized 4-Week Data from the German Pain e-Registry (PRISCILA Study) Serious reactions are uncommon but can affect blood cells and heart rhythm, so a low rate of mild effects doesn’t settle the concern. Vitamin B complex and some other drugs, including diltiazem, may help.24PubMed. Assessment: symptomatic treatment for muscle cramps (an evidence-based review): report of the therapeutics and technology assessment subcommittee of the American academy of neurology
Tonic water isn’t a shortcut. It has far less quinine than a treatment dose, and quinine itself can cause rare but dangerous blood and heart reactions, so check with a doctor before any quinine product.

