Magnesium and Sleep: What Science Says About the Link Between Magnesium Deficiency and Insomnia
Magnesium is known as 'the stress mineral.' Does it help with insomnia? What does science know about the connection between magnesium, sleep, and anxiety — and when should you take it?
"Try magnesium – it's good for everything: stress, anxiety, insomnia." This sounds like an internet tip in the "drink more water" category. But magnesium actually has neurobiological foundations. Let's break down what's real and what's exaggerated.
1. The Role of Magnesium in the Nervous System
Magnesium is the fourth most abundant mineral in the body. It participates in over 300 enzymatic reactions. For the nervous system, it's important to note:
- Magnesium blocks NMDA receptors (glutamate) – reducing neural excitability
- Participates in GABA synthesis – an inhibitory neurotransmitter
- Regulates the HPA axis: in case of deficiency – cortisol is elevated
- Participates in melatonin synthesis
2. Magnesium Deficiency: Prevalence
According to various data, 30 to 50% of the population in developed countries consume magnesium below the recommended norm. Reasons include: magnesium-poor diet (processed foods), stress (cortisol depletes magnesium stores), alcohol, and certain medications (diuretics, proton pump inhibitors).
3. What Research Shows About Magnesium and Sleep
Studies are small, but:
- A 2021 meta-analysis (Journal of Evidence-Based Integrative Medicine): magnesium supplements improved subjective sleep quality in older adults with deficiency
- Several RCTs showed improvement in anxiety and and sleep with magnesium intake in people with deficiency
- Important point: the effect is primarily noticeable in those who actually have a deficiency
4. Magnesium-Rich Foods
Before buying supplements – check your diet:
- Dark chocolate (70%+): 64 mg/28 g
- Pumpkin seeds: 156 mg/28 g
- Black beans: 60 mg/half cup
- Cooked spinach: 78 mg/half cup
- Avocado: 29 mg/avocado
- Almonds: 76 mg/28 g
5. Supplements: What, When, and How Much
- Form: magnesium glycinate or threonate for sleep/anxiety
- Dose: 200–400 mg elemental magnesium per day
- Timing: in the evening, 1–2 hours before sleep
Important: magnesium does not replace CBT-I for chronic insomnia. It is a supplementary tool, not a treatment. Discuss with our AI psychologist psybot.app.