Free delivery in France, Belgium and Luxembourg at a relay point for orders over €59.

Payment in 3 free instalments

Magnesium: your ally for quality sleep

Magnesium and sleep

Difficulty falling asleep, frequent night-time awakenings, persistent fatigue on waking... Sleep disorders affect a growing proportion of the population. Stress, a fast-paced lifestyle, the use of screens: our modern habits weaken our nervous balance and disrupt our nights.

But there's one thing that's often overlooked that can make all the difference: Magnesium. This essential mineral contributes to relaxation and the proper functioning of the nervous system, and plays a key role in regulating sleep.

👉 Read also: Magnesium bisglycinate, a precious ally for everyday energy

What is magnesium and why is it essential?

Magnesium is a vital mineral, involved in more than 300 enzymatic reactions. It is involved in the body's major functions:

  • nerve transmission,
  • muscle contraction and relaxation,
  • energy production,
  • maintaining normal bone structure,
  • psychological balance.

Around 60 % of our magnesium reserves are found in the bones, with the rest distributed throughout the muscles, nervous system and soft tissues. Even a slight deficiency can have a direct impact on our energy, stress management... and sleep.

The link between magnesium and sleep

Regulation of sleep-wake rhythm

Magnesium contributes to the regulation of the melatoninthe hormone that controls our biological day-night cycle [2,3]. It thus supports falling asleep and harmonious sleep phases.

Relaxing, anti-stress effect

By supporting the normal functioning of the nervous system, magnesium promotes relaxation and helps to reduce nervousness, anxiety and irritability [4,5,6]. These are all factors that have a direct impact on restful sleep.

Impact on certain sleep disorders

  • Age-related insomnia: A randomized double-blind study showed that magnesium supplementation could improve sleep duration and quality in the elderly [2].

  • Restless legs syndrome (RLS): Thanks to its muscle relaxant properties, magnesium can help reduce discomfort and uncontrolled nocturnal movements [7,8].

  • Chronic low-grade inflammation: Some studies suggest that adequate magnesium intake may reduce various inflammatory markers, often implicated in sleep disturbance [9].

How can you tell if you're magnesium deficient?

A deficiency can manifest itself through various symptoms:

  • difficulty falling asleep,
  • frequent awakenings,
  • persistent fatigue on waking,
  • increased nervousness,
  • muscle cramps or tension.

Chronic stress, a mineral-depleted diet and excessive consumption of coffee, alcohol or sugar are all factors that deplete magnesium reserves.

How can I optimize my magnesium intake?

Magnesium-rich foods

A diet varied and balanced remains the first key. Magnesium-rich foods include:

  • dark chocolate (≥ 70 % cocoa), ideally raw,
  • pumpkin seeds,
  • almonds, Brazil nuts and hazelnuts,
  • legumes (lentils, chickpeas),
  • wholegrain cereals,
  • green leafy vegetables (spinach, kale),
  • banana and avocado.

Recommended daily intake is about 300 mg for adult women and 380 mg in adult men [11].

Supplementation: when and why?

In the event of an unbalanced diet, high levels of stress, sustained physical activity or repeated sleep disturbances, diet alone may not be enough. In these situations, supplementation may be considered*, particularly in forms that are well assimilated and digestibly tolerated, such as magnesium bisglycinate.

*Before taking any supplements, it is advisable to seek the advice of a healthcare professional.

Focus on magnesium bisglycinate: the ideal form for sleep

The magnesium bisglycinate is a highly bioavailable form10] In addition, it is well tolerated from a digestive point of view, with no laxative effect, and generally causes few side effects. In this formulation, magnesium is combined with glycinean amino acid with relaxing properties. It significantly reinforces the effects of magnesium and contributes to muscle relaxation and normal sleep[11,12].
This form of magnesium is mainly recommended for headaches, convulsions, cerebrovascular disorders, anxiety states and sleep disorders[13].

Association with vitamin B6 to optimize magnesium's effectiveness

The vitamin B6 improves absorption and retention of magnesium in cells. It is also involved in the synthesis of neurotransmitters such as serotonin (precursor of the sleep hormone melatonin), dopamine and GABA [16,17].

This synergy is particularly interesting for :

  • better manage stress,
  • improve sleep quality,
  • reduce fatigue and irritability.

Clinical studies confirm that the combination of magnesium + vitamin B6 is more effective than magnesium alone in improving mood, quality of life and promoting restful sleep [20,21].

Precautions and limitations of current studies

Although a number of research studies suggest a beneficial effect of magnesium and vitamin B6 on sleep, stress and mood, caution must be exercised when interpreting the results. Many studies are small, which limits their scope. Effects may also vary according to individual profiles, initial magnesium levels, or duration of intake. Further, more extensive and rigorous research is needed to confirm these benefits and identify precisely who stands to benefit most.

When should you take magnesium to help you sleep?

For an optimal effect on sleep, it is recommended to take magnesium:

  • In the evening, 30 to 60 minutes before bedtime,
  • Or distributed morning and eveningdepending on tolerance and individual needs.

Side effects: what you need to know

Magnesium is generally well tolerated. From mild digestive problems (diarrhea, nausea, abdominal cramps) may appear depending on the form used. 
The
bisglycinate is often recommended for its good tolerance.

If you have any doubts or questions, we recommend that you consult a healthcare professional before starting magnesium supplementation.

In short, magnesium is a natural ally for restoring quality sleep.

Magnesium is much more than just a mineral: it's an essential key player in nervous, muscular and emotional balance. By acting on the regulation of the sleep-wake cycle and the stress managementit helps to improve :

  • falling asleep,
  • quality and depth of sleep,
  • night-time recovery,
  • everyday serenity.

A magnesium-rich diet, combined if necessary with appropriate supplements and vitamin B6, is a natural and effective approach to restoring peaceful nights.

Resources

General references on magnesium

[1] Volpe SL. Magnesium in disease prevention and overall health. Adv Nutr. 2013 , 4, 378S.

[11] Nutritional references for vitamins and minerals. ANSES 2025.

Magnesium and sleep

[2] Abbasi B et al. The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. J Res Med Sci. 2012, 17, 1161.

[3] Khalid S et al. Effects of magnesium and potassium supplementation on insomnia and sleep hormones in patients with diabetes mellitus. Front Endocrinol, 2024, 15, 1370733.

[7] Hornyak M et al. Magnesium therapy for periodic leg movements-related insomnia and restless legs syndrome: an open pilot study. Sleep. 1998, 21, 501.

[8] Gorantla S et al. Magnesium citrate monotherapy improves restless legs syndrome symptoms and multiple suggested immobilization test scores in an open-label pilot study. J Clin Sleep Med. 2024, 20, 1357.

Magnesium, stress and mental health

[4] Botturi A et al. The Role and the Effect of Magnesium in Mental Disorders: A Systematic Review. Nutrients. 2020, 12, 1661.

[5] Pickering G et al. Magnesium Status and Stress: The Vicious Circle Concept Revisited. Nutrients. 2020, 12, 3672.

[6] Cuciureanu MD et al.  Magnesium and stress. In: Vink R, Nechifor M, editors. Magnesium in the Central Nervous System [Internet]. Adelaide (AU): University of Adelaide Press; 2011. 

Magnesium, inflammation and muscles

[9] Veronese N et al.  Effect of Magnesium Supplementation on Inflammatory Parameters: A Meta-Analysis of Randomized Controlled Trials. Nutrients. 2022, 14, 679.

[13] Sankova MV et al. Magnesium deficiency and its interaction with the musculoskeletal system, exercise, and connective tissue: an evidence synthesis. Sport Sci Health  2024, 20, 715.

Magnesium bioavailability

[10] Schuette SA et al. Bioavailability of magnesium diglycinate vs magnesium oxide in patients with ileal resection. J Parenter Enteral Nutr. 1994, 18, 430.

[15] Schuchardt JP et al. Intestinal Absorption and Factors Influencing Bioavailability of Magnesium-An Update. Curr Nutr Food Sci. 2017, 13, 260.

Glycine and sleep

[11] Inagawa, K et al. Glycine ingestion improves subjective sleep quality in human volunteers, correlating with polysomnographic changes. Sleep Biol Rhythms, 2007, 5, 126.

[12] Kawai N et al. The Sleep-Promoting and Hypothermic Effects of Glycine are Mediated by NMDA Receptors in the Suprachiasmatic Nucleus. Neuropsychopharmacology, 2015, 40, 1405.

Vitamin B6: stress, sleep and well-being

[14] Abraham GE et al. Effect of vitamin B-6 on plasma and red blood cell magnesium levels in premenopausal women. Ann Clin Lab Science, 1981, 11, 333.

[16] Sato, K. Why is vitamin B6 effective in alleviating the symptoms of autism? Medical Hypotheses, 2018, 115, 103.

[17] McCarty, MF. High-dose pyridoxine as an anti-stress strategy. Medical Hypotheses 2000, 54, 803.

[18] Doll H et al. Pyridoxine (vitamin B6) and the premenstrual syndrome: A randomized crossover trial. RCGP 1989, 39, 364.

[19] Kafeshani M et al. Higher vitamin B6 intake is associated with lower depression and anxiety risk in women but not in men: A large cross-sectional study. Int J Vit Nutr Res, 2019, 90, 484.

Magnesium + Vitamin B6 synergy

[20] Pouteau E et al. Superiority of magnesium and vitamin B6 over magnesium alone on severe stress in healthy adults with low magnesemia: A randomized, single-blind clinical trial. PLoS One, 2018, 13, e0208454.

[21] Noah L et al. Effect of magnesium and vitamin B6 supplementation on mental health and quality of life in stressed healthy adults: Post-hoc analysis of a randomised controlled trial. Stress Health. 2021, 37, 1000.

[22] Jadidi A et al. Therapeutic effects of magnesium and vitamin B6 in alleviating the symptoms of restless legs syndrome: a randomized controlled clinical trial. BMC Complement Med Ther. 2022, 31, 1.

Authorized health claims

The magnesium and the vitamin B6 contribute to :

  • reduce fatigue,
  • normal energy metabolism,
  • normal functioning of the nervous system,
  • normal muscle function,
  • normal psychological functions.

The magnesium contributes to :

  • normal muscle function,
  • normal psychological functions.

Contact us

Contact us directly, we'll be happy to answer all your questions.

Have the naturopath call me back

Let us know your availability

Your exclusive advantage!

Wholesale prices!

At Life's Code, the more you order, the more you save!
Our sliding-scale prices apply automatically from 15, 30, 50 or 100 mixed units in your basket.
The discounted price is displayed directly in your basket depending on the total number of products selected.

Your exclusive advantage!

10% for our partners!

At Life's Code, we support all our partners who distribute our products and share our passion for well-being.
All products visible on the site already include your 10 % discount!

Your exclusive advantage!

15% for practitioners!

At Life's Code, we support healthcare professionals who accompany their patients/clients on a daily basis.
All products visible on the site already include your discount of 15 %.

Still hesitating?

Our natural health advisors are available Monday to Friday from 09:30 to 17:30 on 07.80.90.62.80.

Product search

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors