Sleep · 5 min read ·
Does your calf suddenly tighten in the middle of the night? Here is what happens in the muscle, how to ease the cramp and what to do before bed to help prevent it.
Written by Giuseppe Notarnicola · Health Performance Specialist. For more than 25 years I have worked with business owners and managers on energy, sleep and health.
If you have 30 seconds
- 1When a cramp starts: stand with your weight on the affected leg, or straighten your leg and pull your toes towards you.
- 2Stretch slowly and hold: the muscle usually starts to let go after six or seven seconds.
- 3In the evening, do two 30-second stretches for each calf. During the day, drink water regularly.
Leg cramps at night are sudden, involuntary contractions, often in the calf: the muscle shortens on its own and stays locked. They ease when you stretch the muscle slowly, standing or lying in bed with the leg straight, and a few habits can help to reduce them.
It is 2 am. Your calf suddenly tightens and you jump out of bed. Among the people I work with, it happens most often after ten-hour days at a desk, or after a match at the weekend.
Why do calf cramps happen at night?
Because the calf tends to shorten, and at night it stays still for hours. If it is tired, cold or in an awkward position, it can contract on its own and struggle to relax.
The calf has two muscles: the gastrocnemius, the large muscle that crosses the back of the knee, and the soleus underneath. The gastrocnemius tends to shorten, especially after many hours without moving: that is why it cramps so often.
- Hours at a desk. The calf stays still and short all day, so it is already tight by the evening.
- A tired muscle. Your muscle needs energy to relax, too. After a long walk or a match, the fibres can stay contracted.
- Water and minerals. Heat, saunas and sport make you lose fluids and minerals. Their role in cramps from exercise is debated. But low levels of potassium or magnesium in the blood can make cramps more likely.
- Cold and pointed toes. Cold reduces blood flow to the muscle, and a foot pointed for hours, under tightly tucked-in sheets for example, can keep the calf short.
Foot on the floor, weight on the leg, knee straight: the cramp starts to ease.
How do you stop a leg cramp?
Stand with your weight on the leg. Get out of bed, put your foot flat on the floor and lean onto it, heel down and knee straight: the floor stretches your calf for you.
If you cannot stand up. Stay in bed, leg straight, and gently pull your toes towards you. Keep your knee straight, because the gastrocnemius crosses the back of the knee.
Hold, then massage. Stay in the stretch until the muscle lets go, then massage it with slow movements.
How can you prevent leg cramps at night?
Two 30-second stretches per calf before bed. Put your hands on a wall and step one leg back, heel down and knee straight. Hold for 30 seconds and breathe slowly. Then bend the knee slightly and hold for another 30 seconds to stretch the soleus. Change legs. Keep the stretch light. It can reduce cramps, but it takes a few weeks of regular practice.
Water during the day, vegetables at dinner. Drink about 30 millilitres per kilo of body weight and never less than 1.5 litres, more in hot weather, in the sauna or with sport, and only a little after 5 pm. At dinner, choose the vegetables richest in potassium: celeriac, Brussels sprouts, artichokes, cauliflower and sweet potatoes. I cover magnesium in its own article. For night cramps, reviews of the studies show no clear benefit from magnesium supplements.
Calves on the move, loose sheets. Every hour, stand up for two minutes, so your calf does not stay shortened all the time you are sitting. In bed, keep the sheets loose at the foot of the bed so your feet stay free.
Try this, starting tonight
0 of 3 done
Your ticks are saved on this device.
Test yourself
It is 2 am and your calf locks up. What should you do first?
Start tonight with two 30-second stretches per calf. If cramps keep coming back, talk to your doctor.
Scientific sources
Studies published in scientific journals (PubMed).
- Garrison SR et al. (2020). Magnesium for skeletal muscle cramps Cochrane Database Syst Rev.
- Hallegraeff JM et al. (2012). Stretching before sleep reduces the frequency and severity of nocturnal leg cramps in older adults: a randomised trial J Physiother.
- Coppin RJ et al. (2005). Managing nocturnal leg cramps: calf-stretching exercises and cessation of quinine treatment: a factorial randomised controlled trial Br J Gen Pract.
- Rabbitt L, Mulkerrin EC, O'Keeffe ST (2016). A review of nocturnal leg cramps in older people Age Ageing.
- Nelson NL, Churilla JR (2016). A narrative review of exercise-associated muscle cramps: factors that contribute to neuromuscular fatigue and management implications Muscle Nerve.
- Schwellnus MP (2009). Cause of exercise associated muscle cramps (EAMC): altered neuromuscular control, dehydration or electrolyte depletion? Br J Sports Med.



