Dolore e Patologie

Night Leg Cramps: What Works (and What Does Not)

Revisione clinica: Daniele Carretto, Fisioterapista (Albo 2019) · Pubblicato il 9 giugno 2026

Inquadratura più larga del colloquio: la paziente di spalle in primo piano gesticola verso la propria spalla, Simone dall'altra parte del tavolo ascol.
Condividi

You wake up suddenly with your calf contracting like a rope, your foot turning on its own and a pain that does not even let you think. It lasts a minute, perhaps two. Then it passes, and the next day the calf stays sore.

Night leg cramps are common, increase with age and are surrounded by remedies that get passed down more than they get proven. It is worth separating the two.

What to do while it is happening

The only thing that really works in the moment is to stretch the contracted muscle.

For the calf, lying down: pull the tip of the foot towards you keeping the knee straight, and hold until the muscle lets go. If you can get up, put your weight on the heel of the affected leg, or place the sole on the floor and push the knee forward keeping the heel down.

For the foot or toes: grab the toes and pull them towards the shin.

Afterwards, walking a few steps and massaging the area helps reduce the soreness the next day. Heat can bring relief; cold rarely does.

Why they happen

In most cases no precise cause is found: these are idiopathic cramps, which become more frequent the older you get.

Their increase with age is also why, under the age of eight, a child waking up screaming because of their legs is almost always something else: the difference between cramp and growing pains, and the right gesture in the dark, are in night cramps in children: what they really are.

There are however conditions that make them more likely, and it is worth ruling them out:

  • dehydration and significant loss of salts, for example after intense sport or in the heat;
  • some medicines, including certain diuretics: one of the most overlooked causes;
  • pregnancy, in which they are very common especially in the last period;
  • circulation disorders, venous or arterial;
  • mineral salt imbalances, thyroid function, diabetes;
  • neurological or muscular conditions, more rarely.

If you are in the third trimester, the pregnancy aspect is almost the whole story: in a study of 205 women the prevalence reached 58%, and magnesium and stretching have different evidence from what applies here. The dedicated chapter is leg cramps in pregnancy: why they happen and what helps.

During those same weeks, and always in the evening, another thing that has nothing to do with the calves often happens too: the belly hardens for a few minutes and then releases. How those contractions behave, and when you should not wait, is covered in hard belly in pregnancy and Braxton Hicks contractions.

Ripresa dall'alto della paziente distesa sul lettino con palla blu tra le ginocchia mentre le mani del fisioterapista lavorano all'altezza delle sue s.

What the evidence says, and what it rules out

This is the part that changes how you approach them.

Magnesium. It is the most recommended remedy in Italy, and the literature is disappointing: a Cochrane review on magnesium for skeletal muscle cramps concludes that it is unlikely to offer a clinically significant benefit in older people with idiopathic cramps; for pregnancy cramps the picture is less defined. If you have been taking it for months and nothing has changed, you are not doing something wrong: it is consistent with what is known.

Quinine. It has a documented effect: a dedicated Cochrane review exists, but it comes with potentially serious side effects, and it is not a choice to make on your own. It is discussed with your doctor, and not as a first attempt.

Non-drug therapies. A Cochrane review has examined non-drug therapies for the secondary prevention of lower limb cramps. This is the path to take first: it costs nothing, has no side effects, and only requires consistency.

The evening routine

Do this every evening, for a few weeks before judging:

  • calf stretch: against a wall, back leg straight and heel on the floor, 30 seconds per side, 3 times;
  • hamstring stretch: seated, leg straight, lean forward from the hips, 30 seconds per side;
  • a few minutes of walking after dinner, instead of going straight from the sofa to bed;
  • sheets not tucked too tightly at the foot of the bed: they force the foot to point all night, which is the position from which the cramp most easily starts;
  • drink enough during the day, especially in summer and on days when you train.

One detail that helps many people: sleeping on your stomach is the worst position for calf cramps, because it keeps the foot pointed for hours.

When to talk to a doctor

  • cramps that came on suddenly and are very frequent;
  • weakness that remains even after the cramp;
  • swelling of one leg only, especially with pain and heat;
  • widespread tingling or unexplained weight loss;
  • cramps that started after a new medicine.

Getting followed

There is no magic pill for night cramps, and knowing that magnesium has weak evidence saves months of unmet expectations. What remains is less spectacular and more effective: regular stretching, hydration, and checking the conditions that favour them.

With Ri-Hub the first consultation is free: a physiotherapist on the Italian professional register builds the evening programme suited to you, checks whether load, circulation or habits are involved, and tells you when the question should go to the doctor instead. Follow-up sessions cost 29,90€.


If the cramps are not only at night, the general picture is in Muscle cramps: causes, prevention and how to make them stop.

If beyond the cramps your legs already feel heavy in the evening, read Heavy legs and poor circulation: causes and what to do.

If calf pain persists during the day too, the chapter is Calf pain: causes, remedies and when to worry.

Sources

Last source check: September 2026.

Domande frequenti

Why do night leg cramps happen?

In most cases no precise cause is found: they are called idiopathic cramps, and they become more frequent with age and are most common in the calf and foot. There are however situations that make them more likely: dehydration, some medicines (including certain diuretics), pregnancy, circulation disorders, mineral salt imbalances and some neurological or metabolic conditions.

How do you stop a cramp in the moment?

By stretching the muscle that has contracted. For the calf: lying down, pull the tip of the foot towards you keeping the knee straight, or get up and put your weight on your heel. Stretching interrupts the contraction faster than any massage, and it should be held until the muscle lets go.

Does magnesium help with cramps?

It is the most recommended remedy of all, and the evidence is disappointing: a Cochrane review on magnesium for muscle cramps concludes that it is unlikely to offer a clinically significant benefit in older people with idiopathic cramps, while for pregnancy cramps the picture is less clear. If you have been taking it for months with no change, that is not your fault.

And quinine?

It has a documented effect: a Cochrane review on quinine for muscle cramps has assessed it, but it is not an over-the-counter remedy nor a choice to make on your own: it has potentially serious side effects and needs to be discussed with your doctor. It is not the first thing to try.

Does stretching before bed work?

It is the non-drug measure that makes the most sense, and there is a Cochrane review dedicated to non-drug therapies for the secondary prevention of lower limb cramps. In practice you stretch the calf and hamstrings for a few minutes in the evening, every day: it is free, has no side effects, and it needs time: weeks, not two evenings.

Are night cramps dangerous?

Not in themselves. They should however be reported to a doctor if they came on suddenly and are very frequent, if they come with persistent weakness, swelling of one leg only, widespread tingling or weight loss, or if they started after a new medicine. In those cases there is something to look for upstream.

What is the difference from restless legs syndrome?

A cramp is a painful and visible contraction of the muscle, lasting from a few seconds to a few minutes, and it leaves the calf sore. Restless legs syndrome is not painful in the same way: it is an irresistible urge to move the legs that appears at rest in the evening and improves with movement. Different paths, different doctor.

Articoli correlati