Leg cramps are common, usually harmless and short-lived — anywhere from a few seconds to ten minutes. They can strike at any time, but most people get them at night or while resting. As for magnesium: for most people with cramps, the evidence is not encouraging. A recent review concluded that magnesium supplementation is unlikely to provide clinically significant cramp prevention in older adults with skeletal muscle cramps. So magnesium is not the fix many people hope for. But there are things you can change this week, and there are signs that deserve a conversation with a healthcare professional.
What leg cramps are and why they happen at night
In the legs, it happens mostly at night or when you are at rest. The NHS describes them as common, generally harmless and short-lived. That framing helps: the NHS describes them as generally harmless.
Possible causes are several. The NHS lists ageing, overexertion of the muscles during exercise (worse in hot or humid weather), late pregnancy, some medicines (such as statins or diuretics), dehydration and liver disease from excessive alcohol consumption. And it adds something important: the reason for some cramps is unknown. In other words, there is not always a clear explanation. That is not a licence to invent theories — it is a reason to accept that sometimes there is no identifiable cause.
If cramps come at night, it is tempting to look for a single cause — low magnesium, say. Reality is messier. The NHS list shows there are many possible factors, and that the reason for some cramps is unknown.
What you can change this week
The measure with the best support in the available information is regular leg stretching. The NHS indicates that regular calf-stretching exercises may help reduce cramps, although they may not stop them altogether. During a cramp, stretching and massaging the muscle can ease the pain.
What does that mean in practice? Calf stretches, done regularly — not just when the cramp hits. The ideal frequency and duration are not fixed in the information we have; the key is regularity. If you have never stretched before, start with gentle movements and stop if you feel sharp pain.
There are also causes you can address directly. If you exercise hard in hot or humid weather, overexertion of the muscles is a listed factor. Adjusting the intensity and making sure you are properly hydrated makes sense, although the available information does not quantify the effect. If you drink alcohol to excess, that is a possible cause of liver disease associated with cramps — and that is something only a professional can assess.
On diet: there is no specific diet in the available information that prevents cramps. A varied and balanced diet is the foundation of any supplementation, but there is no guarantee that changing your diet will solve the problem.
What tends not to help — and the popular idea that outruns the evidence
The idea that magnesium fixes cramps is very popular. The evidence, however, does not support it for most cases. The recent review, which pooled 11 randomised trials with 735 participants, concluded that magnesium supplementation is unlikely to provide clinically significant cramp prevention in older adults with skeletal muscle cramps. Certainty of evidence was moderate to high for the absence of a significant difference from placebo in the number of cramps per week at four weeks.
That does not mean magnesium is useless in every situation. It means that, for the group studied, no benefit was demonstrated. That distinction matters: absence of evidence of benefit is not the same as proof that it never helps anyone. But if you are looking for a quick fix, the message is clear: magnesium probably is not what will sort out your night-time cramps.
There is also a misconception about magnesium deficiency. MedlinePlus indicates that a true magnesium deficiency is rare, and that muscle twitches and cramps are among the moderate symptoms of a real deficiency. So: true deficiency exists, but it is rare, and cramps are only one of several symptoms. Taking magnesium on suspicion of deficiency, without assessment, is rarely the wisest approach.
Magnesium in pregnancy and exercise: what we know and what we don't
The picture changes with the type of cramp. The same review found conflicting evidence for pregnancy-associated cramps: the trials had a high risk of bias and could not be pooled. That is the opposite of a clear answer. If you are pregnant and getting cramps, the decision about supplementation should be made with your doctor or pharmacist, not on your own.
10% off to get you started ✨
Subscribe to our newsletter and receive your welcome code straight away. Get updates, tips and exclusive offers.
By subscribing, you agree to receive marketing communications from Tutti Bear. You can unsubscribe at any time. Please see our Privacy Policy and Terms and Conditions .
You're all set! Get 10% off ❤️
WELLCOME10
Use the code on your first order!
For exercise-associated cramps, the review found no randomised trials of magnesium. That simply means we do not know whether it helps. It is not that it has been shown not to help — it is that the question has not been studied properly. In that case, the honest answer is: there is no evidence to recommend it, and none to advise against it on the basis of trials.
Where supplements honestly fit — and where they don't
If you decide, with your healthcare professional, to try a magnesium supplement, know what to expect. The available evidence does not support the idea that magnesium prevents cramps in most people. There is no promise of benefit we can make from the information we have. What exists is the possibility of correcting a true deficiency — which MedlinePlus describes as rare — and uncertainty around pregnancy and exercise.
Our catalogue includes a gummy product: Magnesium Gummies. Each serving of two gummies provides magnesium citrate 360 mg, of which magnesium 50.4 mg (13% NRV), and vitamin B6 1.4 mg (100% NRV). It is intended for adults. The recommended dose is two gummies per day, without exceeding the recommended daily dose. Contains polyols; excessive consumption may produce laxative effects. In case of pregnancy, breastfeeding, illness or use of medication, consult a healthcare professional before consumption. We are not claiming that these gummies prevent or treat cramps — the evidence does not support that.
One practical point the review reports: oral magnesium was associated with adverse effects, mostly gastrointestinal such as diarrhoea, in 11% to 37% of participants in the magnesium groups of the trials that reported them (10% to 14% in control groups). If you try it and get those effects, that is a reason to stop and speak to a professional.
When a cramp stops being harmless
Most cramps are common and transient. But there are signs that justify seeing a doctor. The NHS advises seeing a GP if the cramps are disturbing your sleep, if you also have numbness or swelling in your legs, or if the cramps last longer than 10 minutes.
These signs are different from the ordinary cramp, which passes on its own within a few minutes. If you have numbness or swelling, that is not a typical cramp and deserves assessment. If the pain lasts more than 10 minutes, likewise. And if the problem is broken sleep, help is possible — you do not have to put up with it.
How long to give changes before judging them
There is no defined timeframe in the available information for knowing whether stretching is working. The magnesium review assessed the number of cramps per week at four weeks, which gives a sense of the time horizon for that kind of study — but it is not a promise that your symptoms will change in four weeks. Stretching, according to the NHS, may reduce cramps without eliminating them completely. Expect partial improvement, not a cure.
A sensible approach: pick one or two changes — regular stretching and, if relevant, adjusting exercise intensity or hydration — and keep them up for a few weeks. Keep track of the cramps you get. If nothing changes, or they get worse, speak to your doctor or pharmacist. There is no point continuing indefinitely with something that is not working.
And if you are thinking about magnesium: the evidence is weak for most cases. The decision to try it should be informed by that uncertainty, not by the hope of a quick fix. Your doctor or pharmacist can help work out whether there is a treatable cause — such as a medicine — and whether a supplement makes sense for you. There is no shame in admitting that a night-time cramp is a minor but recurring problem, and that it deserves a conversation rather than an impulse buy.
Keep exploring
Find your routine
- Sleep & Calm
Wind down at night, wake up more rested.
Explore the topic
Explore the topic
Related reads
Related reads
So tired but can't sleep: what's happening
If you feel very sleepy and still cannot get to sleep, the NHS lists the most common causes of difficulty sleeping as stress, anxiety or depression, noise, a…
Sleep tea: what helps and what is a myth
A warm cup before bed can be part of a decent evening routine, but it is not the tea that solves the problem. Chamomile is the herb with the most research…
How to lower cortisol: what helps and what does not
If you are looking for ways to lower cortisol, the short answer is that the most effective changes are boring ones: a consistent sleep window, less caffeine…
How to sleep better: habits that count and what to ignore
Sleeping better depends mostly on consistency: stable times, correct exposure to light and a routine that lowers the intensity before bed. There is no single…
Consequences of sleep deprivation: what changes in your body
Sleep deprivation is more than one bad night. The NHLBI defines sleep deprivation as not getting enough sleep, and sleep deficiency as a broader concept:…
Cortisol belly: what it is and what actually helps
You have probably come across the phrase cortisol belly — the fat that settles around the middle and which, according to a great deal of what gets published…
Cortisol: what it is, what it does and warning signs
Cortisol is a steroid hormone produced by the adrenal glands, which sit on top of the kidneys, and it affects almost every organ and tissue in the body. It…
Clock change and sleep: what shifts and how to adapt
The clock change can affect sleep, but studies are not conclusive about how long or how intense that effect is. In spring, when the clocks go forward an hour,…