In this guide
- Why magnesium is everywhere right now
- What magnesium does in the body
- How much you need
- Where to get it from food
- Magnesium and sleep: the real evidence
- Magnesium and muscle cramps
- What actually helps cramps
- Magnesium and recovery
- Supplements: forms, limits and side effects
- Who should be careful
- My take
Scroll any fitness or wellness feed and you will find someone recommending magnesium. Take it before bed for deep sleep. Take it for cramps. Take it for stress, recovery, testosterone, anxiety. Some people take three different forms at once.
I train a lot, and I wanted to know if magnesium deserves the hype. The honest answer is that magnesium is an essential mineral that matters for muscles, nerves and energy, but the evidence that extra magnesium from supplements helps sleep or cramps in healthy people is weak. Food first, and supplements only with realistic expectations.
I am not a doctor and this is not medical advice. If you have kidney problems, heart rhythm problems, diabetes, bowel disease or take regular medication, speak to a doctor or pharmacist before taking magnesium supplements. What follows comes from the NHS, the US National Institutes of Health and peer-reviewed research. The opinions are mine.
Why magnesium is everywhere right now
Supplements that are cheap, widely available and feel natural are easy to sell. Magnesium fits perfectly. It is also true that many people’s diets do not contain much of it, because it is found mainly in foods that heavily processed diets lack: whole grains, nuts, seeds, beans and leafy greens.
That combination, a real nutrient plus a real gap in modern diets, makes it easy to stretch a small truth into big promises.
What magnesium does in the body
The NHS says magnesium helps turn the food we eat into energy and helps the parathyroid glands, which produce hormones important for bone health, work normally (NHS vitamins and minerals: others).
The US National Institutes of Health Office of Dietary Supplements adds that magnesium is important for regulating muscle and nerve function, blood sugar and blood pressure, and for making protein, bone and DNA (NIH ODS magnesium).
The NIH also notes that in the short term, low intake does not produce obvious symptoms, because healthy kidneys hold on to magnesium. True deficiency causes loss of appetite, nausea, fatigue and weakness, and in extreme cases numbness, tingling, muscle cramps, seizures and abnormal heart rhythm. Groups more likely to be low include people with gut diseases such as Crohn’s or coeliac disease, type 2 diabetes, long-term heavy drinking, and older people.
How much you need
- NHS (UK): 300 mg a day for men aged 19 to 64, and 270 mg for women.
- NIH (US): 400 to 420 mg a day for adult men, and 310 to 320 mg for women.
The numbers differ because different countries set reference values differently. Either way, a varied diet can hit them.
Where to get it from food
The NHS lists spinach, nuts and wholemeal bread as good sources. The NIH adds legumes, seeds, whole grains, green leafy vegetables, fortified cereals, milk and yoghurt.
Practical ways to get there:
- A handful of almonds, cashews or pumpkin seeds as a snack
- Oats or wholegrain bread at breakfast
- Beans, chickpeas or lentils a few times a week
- A big portion of leafy greens with dinner
- Brown rice or wholemeal pasta instead of white
These are the same foods I keep recommending for fibre, so you get two benefits at once. See how much fibre men should eat. If most of your diet comes from packets, low magnesium is just one of the problems, as I explained in ultra-processed foods.
Magnesium and sleep: the real evidence
This is the biggest claim, so let us look at the best summary. In 2021, Jeffrey Mah and Tyler Pitre published a systematic review and meta-analysis in BMC Complementary Medicine and Therapies on oral magnesium for insomnia in older adults (Mah and Pitre, PubMed).
What they found:
- Only three randomised trials existed, with 151 older adults in total.
- Magnesium reduced time to fall asleep by about 17 minutes compared with placebo.
- Total sleep time improved by about 16 minutes, but that result was not statistically significant.
- All trials were at moderate to high risk of bias, and the evidence was rated low to very low quality.
The authors concluded that the literature is not good enough for doctors to make well-informed recommendations, while noting that magnesium is cheap and widely available.
So, for a young, healthy man training hard, there is basically no good trial evidence that magnesium improves sleep. If you sleep badly, the basics matter far more: a regular schedule, caffeine cut-off, a dark cool room and less alcohol. I covered what works in how to fall asleep faster and how much sleep men need.
Magnesium and muscle cramps
Cramps are another huge selling point. The best evidence here is a Cochrane review updated in 2020 by Scott Garrison and colleagues (Garrison et al., PubMed).
They found 11 randomised trials with 735 people:
- For idiopathic cramps, mostly night-time leg cramps in older adults (average ages around 62 to 69), they concluded it is unlikely that magnesium gives clinically meaningful protection.
- For pregnancy-related leg cramps, results were conflicting, and more research is needed.
- For exercise-associated muscle cramps, they found no randomised trials at all.
That last point surprised me. Magnesium for cramps during sport is one of the most common uses, and there is no trial evidence for it.
What actually helps cramps
The NHS says leg cramps can be caused by ageing, putting too much strain on muscles during exercise, which can be worse in hot or humid weather, pregnancy, certain medicines such as statins and diuretics, dehydration and liver disease from alcohol. For many cramps, the cause is unknown (NHS leg cramps).
For exercise cramps, what makes sense:
- Stretch and massage the cramping muscle until it eases.
- Build fitness gradually. Cramps often appear when you push muscles beyond what they are used to, like the late rounds of a fight or the last miles of a long run.
- Drink enough, especially in the heat. See how much water men should drink and exercising in hot weather.
- Check medicines with your doctor if cramps started after a new prescription.
See a doctor if cramps are frequent, severe, affect your sleep a lot, or come with muscle weakness, numbness or swelling.
Magnesium and recovery
Claims that magnesium speeds up muscle recovery, reduces soreness or raises testosterone in healthy men are mostly based on small studies, often in people who were low in magnesium to start with. If you are deficient, correcting it matters. If you are not, there is no strong evidence that extra magnesium will make you recover faster.
Recovery comes from the same boring things as always: sleep, enough protein and calories, sensible training volume and rest days. I wrote about that in rest days and overtraining and muscle soreness after a workout.
Supplements: forms, limits and side effects
If you still want to try a supplement, keep it sensible:
- Forms: The NIH says magnesium aspartate, citrate, lactate and chloride are absorbed more easily than some other forms. Magnesium oxide is common and cheap but less well absorbed.
- Limits: The NHS says 400 mg or less a day from supplements is unlikely to cause harm. The US upper limit for supplements and medicines is 350 mg a day for adults. Magnesium from food does not count towards these limits.
- Side effects: The NHS says high doses (more than 400 mg) for a short time can cause diarrhoea. The NIH adds nausea and stomach cramps. Extremely high intakes can cause irregular heartbeat and cardiac arrest.
- Check your total. Magnesium is also in many multivitamins, “sleep” blends, electrolyte powders, laxatives and antacids. Add them up. I explained more about stacking supplements in do multivitamins work.
Who should be careful
- People with kidney disease. Healthy kidneys remove extra magnesium. Damaged kidneys may not.
- People taking certain antibiotics. The NIH says some antibiotics may not be absorbed if taken too close to a magnesium supplement.
- People on osteoporosis drugs (bisphosphonates).
- People on diuretics or long-term acid reflux medicines, which can change magnesium levels.
- Anyone taking high-dose zinc, which can interfere with magnesium.
Ask a pharmacist. It takes two minutes.
My take
Magnesium is a genuinely important mineral, and many people would benefit from eating more of the foods that contain it: nuts, seeds, beans, whole grains and leafy greens. But the research on supplements is much weaker than the marketing. For sleep, the evidence comes from three small trials in older adults and is low quality. For night cramps in older adults, a Cochrane review says magnesium is unlikely to help, and for exercise cramps there are no trials at all. If you want to try a supplement, stay under the NHS 400 mg and US 350 mg limits, choose a well-absorbed form, check for interactions, and do not expect miracles. Fix your food and your sleep habits first.
Sleep, stress and diet all show up in the bedroom too. I covered the links in low libido in men. For the human side of the adult industry, read my columns on House of Maximo. Follow my work at maximogarciaworld.com, and for the 18+ side, fuckingpornstars.net.
Sources
- Garrison SR, et al. Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, 2020.
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies, 2021.
- NHS. Vitamins and minerals: others (magnesium).
- NIH Office of Dietary Supplements. Magnesium fact sheet for consumers.
- NHS. Leg cramps.



