Most people assume a calf cramp means they are short on salt or potassium, but the usual cause is simpler: the muscle has been asked to work in a shortened position or under load it is not used to, and the nerve endings inside it fire off involuntary contractions. The accurate answer is that calf cramps are most often a "true" cramp — a sudden, hard, painful tightening of the calf muscle (the gastrocnemius and soleus) that lasts seconds to a few minutes and eases when you stretch it — and they are triggered by fatigue, dehydration, a sudden change in activity, cold, or holding the foot pointed for a long time. True cramps are common at night, during or after exercise, and in pregnancy, and they are usually harmless.
What Actually Causes Calf Cramps
A true cramp is not a tear and not a circulation problem in most cases. It is the muscle contracting hard and not relaxing, usually in the calf, foot or thigh. The classic triggers sit in three groups.
Position and stillness. Sleeping with the toes pointed and the calf muscle shortened is the most common setup for a night cramp. Sitting for long stretches with feet tucked under, or wearing heels that hold the calf short, does the same thing.
Load and fatigue. A muscle that is tired is more likely to cramp. New running distance, a long hike downhill, or a first session of a new sport will often produce a cramp in the 24 hours after, especially in the calf because it does the most work pushing you off the ground.
Fluid and electrolytes. Sweating heavily without replacing fluids can bring on cramps, and some medicines — diuretics in particular — make this more likely. This is a real cause, but it is not the default explanation for a healthy person who cramps occasionally at night.
Less common medical causes include thyroid problems, nerve compression in the lower back, kidney disease, and narrowing of the arteries in the legs. Those usually come with other clues: cramps in the buttock or thigh when walking a set distance, cold or pale feet, or cramps that keep worsening over weeks.
The Numbers Behind a Calf Cramp
Knowing what is normal helps you judge whether what you're feeling matches the usual pattern.
| What | Typical range |
|---|---|
| Length of a single cramp | A few seconds to about 10 minutes; most ease in under 2 minutes |
| Pain level at peak | Severe and sudden; often described as a hard knot in the calf |
| How often night cramps occur | Occasional for most people; some get them several nights a week for a stretch of weeks, then none for months |
| When exercise cramps hit | Most often in the last part of a session or within a few hours after |
| How long the muscle stays sore | Often 24-48 hours of tenderness after a bad cramp |
| Water lost in sweat during hard exercise | About 0.5-2 litres per hour, more in heat |
| Fluid to replace per hour of hard work in heat | About 400-800 ml, sipped rather than gulped |
One common misconception: cramps are not caused by a lack of salt in most people, and taking a salt tablet before bed rarely stops night cramps. The evidence points more strongly to stretching and to avoiding the pointed-toe sleeping position than to electrolyte supplements in otherwise healthy adults. If you sweat heavily for hours in heat, replacing fluid and some salt matters — but for a cramp at 3 a.m. after a normal day, it usually isn't the issue.
How to Stop a Calf Cramp Fast
The single most effective thing is to stretch the muscle immediately, before the pain peaks.
In bed at night
Sit up, keep the leg straight, and pull the toes and foot toward your shin with your hand or a towel looped around the ball of the foot. Hold 20-30 seconds. The cramp usually releases within the first 10-15 seconds. Then stand on the foot with the heel flat on the floor for a few seconds to confirm it has gone.
During or after exercise
Stop, put the ball of the foot on a step or low ledge, and let the heel drop slowly until you feel the calf stretch. Hold 20-30 seconds, then repeat twice more. Massaging the calf from the ankle upward toward the knee helps the muscle relax afterward.
An Example
Say you ran 10 km on Saturday morning after a week of only 4-5 km runs, in about 15°C/59°F weather, and drank roughly 500 ml of water over the 55 minutes. On Sunday night the calf cramps. The likely drivers are the jump in distance (roughly double the weekly norm) and fatigue, not salt. The fix is to stretch 3 times, each hold 30 seconds, then hold the toes-toward-shin stretch for 30 seconds before sleep for the next several nights, and to keep the next week's long run closer to your previous distance. If the same thing happens again after a similar jump, the pattern tells you the trigger is load, not hydration.
Reducing Cramps Over the Next Weeks
Prevention works better than treatment, and the routines are simple enough to build into a day.
Stretch the calf daily, and especially before bed: the standing wall stretch (back leg straight, heel down) for 30 seconds and the bent-knee version (back knee slightly bent, heel down) for 30 seconds, two rounds each. The bent-knee version reaches the deeper soleus muscle, which the straight-leg stretch misses.
Loosen the sheets at the foot of the bed so your toes are not pulled down overnight. That one change removes the most common nightly trigger.
Build load gradually. As a rough rule, increase weekly running distance by no more than about 10%, and add hill or speed work one session at a time.
Drink to thirst during the day, and during hard exercise in heat take about 400-800 ml per hour. If your sweat leaves white streaks on clothes or your urine is dark after exercise, you likely need more fluid and some salt in food rather than a supplement.
Warm up the calves for 5 minutes before demanding work — brisk walking, easy cycling, or 10 slow heel raises — and cool down with the same stretches.
If you take a diuretic or a statin, ask your prescriber whether cramps are a known effect and whether anything can be adjusted. Do not stop a prescribed medicine on your own.
When a Calf Cramp Is Something Else
Most cramps are harmless, but a few signs mean the calf needs a proper look.
Calf pain with swelling, warmth, redness or tenderness, especially in one leg after a long flight, surgery or a period of immobility, needs urgent assessment — that pattern can indicate a blood clot and should not be stretched or massaged while you wait for advice. Call a doctor or emergency service the same day.
Pain that comes on when you walk a set distance and eases with rest — say 200 metres of walking, then relief within a couple of minutes of standing still — points to narrowed leg arteries rather than a cramp and needs a medical review.
Cramps that are frequent, worsening over weeks, or come with weakness, numbness, or muscle wasting deserve a check, particularly with a thyroid condition, diabetes or kidney disease in the picture.
A sudden sharp tear-like pain with swelling and bruising in the calf, often after a push-off or sprint, is more like a muscle strain than a cramp and should be assessed before you exercise on it again.
For anyone who is pregnant or taking medicine for blood pressure, ask a clinician before adding supplements or painkillers.
Calf Cramps During Pregnancy and in Older Adults
Leg cramps are a well-recognized feature of pregnancy, most often in the second and third trimesters and often at night. The practical moves are the same ones above — toes toward the shin, a 30-second hold, looser bed covers — with a check of iron and other levels through your antenatal care if cramps are frequent. Ask your midwife or doctor before taking magnesium or any supplement.
In older adults, night cramps are common and often linked to reduced activity, certain medicines and nerve changes. Daily calf stretching before bed is the first thing to try. If you have heart or kidney disease, get advice on fluid and salt rather than adjusting either yourself, and report cramps that come with leg swelling or breathlessness promptly.