Key takeaways
- Magnesium is involved in more than 300 enzymatic processes in the body
- An estimated 10–30% of the population may have suboptimal magnesium intake
- Common symptoms include muscle cramps, fatigue, sleep disturbances and irritability
- Pumpkin seeds, almonds and dark chocolate are among the richest dietary sources
- Supplementation may be warranted when dietary intake is persistently insufficient
What is magnesium and why does your body need it?
Magnesium is an essential mineral your body cannot produce on its own. It plays a central role in muscle and nerve function, protein synthesis, blood sugar regulation and bone formation. Magnesium is also required for the production of ATP, the energy molecule that powers every cell.
Because magnesium is involved in so many processes, a deficiency can manifest in several ways at once — which can make it easy to overlook.
Causes of magnesium deficiency
A magnesium deficiency rarely has a single cause. The most common contributing factors include:
Insufficient dietary intake Heavily processed foods are low in magnesium. White flour loses up to 80% of its magnesium content during milling, according to research published in Open Heart (2018).
Increased excretion Alcohol, caffeine and certain medications — including diuretics, proton pump inhibitors and some antibiotics — increase urinary magnesium excretion.
Impaired absorption Conditions such as Crohn's disease, coeliac disease and type 2 diabetes can reduce intestinal absorption of magnesium.
Chronic stress Stress increases magnesium requirements because the mineral is consumed during the production of stress hormones.
Symptoms of magnesium deficiency
Symptoms are varied and can resemble those of other conditions:
- Muscle cramps and spasms — the classic sign, particularly in the calves
- Fatigue and low energy — even without physical exertion
- Sleep difficulties — trouble falling or staying asleep
- Irritability and mood changes — magnesium influences neurotransmitters including serotonin
- Headaches and migraine — low magnesium levels have been associated with migraine in several studies
- Heart palpitations — magnesium deficiency can affect heart rhythm
- Tingling in hands or feet — due to disrupted nerve conduction
For a broader picture of common nutrient deficiencies, see our articles on vitamin D deficiency and vitamin B12 deficiency.
Recommended daily intake
According to the European Food Safety Authority (EFSA), recommended daily intakes for adults range from 300 to 350 mg depending on sex and life stage. The Netherlands Nutrition Centre follows similar guidance from the Dutch Health Council.
| Group | Daily recommendation |
|---|---|
| Women (18–50 years) | 300 mg |
| Men (18–50 years) | 350 mg |
| Women (50+ years) | 300 mg |
| Men (50+ years) | 350 mg |
| Pregnant women | 300 mg |
Best dietary sources of magnesium
| Food | Magnesium per 100 g |
|---|---|
| Pumpkin seeds | 592 mg |
| Flaxseed | 392 mg |
| Cashew nuts | 292 mg |
| Almonds | 270 mg |
| Dark chocolate (85%+) | 228 mg |
| Cooked spinach | 87 mg |
| Wholegrain bread | 76 mg |
| Cooked quinoa | 64 mg |
| Avocado | 29 mg |
| Banana | 27 mg |
A small handful of pumpkin seeds (30 g) provides around 175 mg of magnesium — more than half the daily recommendation for women.
Magnesium and sleep
Magnesium plays a direct role in melatonin regulation and calming the nervous system. A meta-analysis published in Nutrients (2022) found that magnesium supplementation significantly improved sleep quality in older adults with a deficiency. Evidence in healthy adults without a confirmed deficiency is more limited.
Should you take a magnesium supplement?
Food should always come first. If dietary intake is consistently low, supplementation may be considered. Common forms include:
- Magnesium bisglycinate — well absorbed, gentle on the stomach
- Magnesium citrate — popular, good bioavailability
- Magnesium oxide — inexpensive but poorly absorbed
EFSA has set a tolerable upper intake level of 250 mg per day from supplements for adults. Higher doses may cause diarrhoea. Consult a doctor or registered dietitian if you are unsure.
Tracking your magnesium intake
Keeping track of how much magnesium you consume each day is difficult without the right tools. With Moveno, you photograph your meal and instantly see the nutritional breakdown, including minerals.
Conclusion
Magnesium deficiency is common and can present in ways that are easy to attribute to other causes. Increasing your intake of magnesium-rich foods — such as pumpkin seeds, almonds and dark chocolate — is a practical first step. Supplementation can be useful when a deficiency is confirmed, but more is not always better. If symptoms persist, consult a healthcare professional.
Sources: Dutch Health Council (2018); EFSA Panel on Dietetic Products, Nutrition and Allergies (2015); Vormann J. et al., Nutrients (2022); DiNicolantonio JJ. et al., Open Heart (2018)



