Magnesium For Sleep

Importance and benefits of magnesium

Magnesium (Mg) is one of five major minerals in the body that are essential for human health. It is an important cell-signalling molecule and a cofactor for hundreds of enzymes governing chemical reactions in the body.1 Mg is involved in various processes in cells including energy production, DNA repair, vitamin D synthesis, and maintenance of healthy bone, normal cardiac rhythm, and electrolyte balance. 

More than half of the body’s Mg is concentrated in bone, around a quarter in muscle, and the remainder through other soft tissues and organs such as the brain, liver, and kidneys.2

Common symptoms of low Mg levels are 

  • Muscle twitching and cramping
  • Fatigue
  • Mental confusion
  • Nausea and loss of appetite
  • Irregular heartbeat (cardiac arrhythmia)
  • Chest pain or tightness

Mg deficiency can lead to serious health problems. Long-term deficiency can increase your risk of

Other conditions that may be linked to low Magnesium levels are migraines, asthma, depression, anxiety, age-related cognitive decline and memory loss.

Sources of magnesium intake

Mg is abundant in dark green leafy vegetables and other fibrous plant foods such as legumes, nuts, seeds, and whole grains. 

The recommended daily intake (RDI) for adults assigned male at birth (AMAB) is 300 mg and for adults assigned female at birth (AFAB) 270 mg. However, despite its relative abundance in a variety of plant foods, 1 in 10 UK adults are not eating enough Mg to prevent deficiency.3

Some food products such as breakfast cereals are ‘fortified’ with Mg and other vitamins and minerals which are lost during processing and then added back. Products with Mg added may bear health claims relating to effects on teeth and bone health, electrolyte balance, and muscle and nerve function, under European Food Safety Authority rules.

Mg is available in supplements in pill and powder form, as bathing salts, topical skin preparations, and oral sprays. It is also used in over-the-counter medicines such as antacids and laxatives. 

Magnesium for sleep

Mg is purported to be a natural sleep aid. It is a common ingredient in supplements designed to support a good night’s rest, usually in combination with other ingredients including melatonin and vitamins B6 and B12.

Large dietary surveys have consistently found that populations with the highest intakes of Mg (along with other nutrients including calcium, vitamin D, and vitamin B6,) tend to report better sleep quality and duration compared to those with the lowest intakes.4 It remains unclear to what extent Mg in particular enhances sleep and or whether this is simply a benefit of eating an overall healthy balanced diet. There have been very few randomised controlled studies - (considered the gold standard of scientific evidence) which have looked at the effects of supplemental Mg on objective measures of sleep quality.

How does it affect your sleep?

Mg may lead to better sleep by easing muscular tension and by helping to relax us. 

Mg is involved in the regulation of muscle contraction and tone and naturally, relieves muscle cramps and spasms. In fact, muscle cramps and twitching are often the first signs of low Mg.

Bathing with Epsom salts, also known as magnesium sulphate is a well-known prescription for the relief of aching, tense muscles. However, there is little evidence for the absorption of Mg through the skin; though there is certainly no harm in trying this! A hot bath, with or without Epsom salts can ease tight muscles and promote feelings of relaxation and well-being that can contribute towards more restful sleep.

Mg may also aid better quality sleep by supporting normal energy levels and physical activity. Strenuous activity such as exercise increases ‘sleep pressure’ - the biological drive towards sleep that gradually builds throughout the day. Unexplained feelings of fatigue can be a symptom of Mg deficiency and may lead to a reduction in a person’s usual physical activity, making them less tired at night. Low energy may also encourage excessive daytime napping and the use of stimulants, such as caffeine, both of which are likely to interfere with an individual’s sleep routine.

Magnesium and the central nervous system

Mg is critical for the normal functioning of the nervous system, which includes our brain, spinal cord, and nerves. It helps regulate the activity of receptors that receive electrical messages from the higher brain centres. Mg is involved in the activation of the parasympathetic nervous system, responsible for the ‘rest and digest mode’, and deactivation of the sympathetic nervous system, responsible for the ‘fight or flight response’. It does this by inhibiting receptors for excitatory neurotransmitters such as epinephrine (also called adrenaline) and norepinephrine, and by activating receptors for inhibitory neurotransmitters such as gamma-aminobutyric acid (GABA).5 The prescription sleep drug Ambien, induces drowsiness and sleep by acting on GABA receptors in the brain. 

As well as calming the mind and body, GABA activity helps to stimulate the pineal gland to produce melatonin, the hormone responsible for regulating the sleep/wake cycle. Additionally, by acting as a cofactor for melatonin production in the gut, Mg further helps sleep/wake cycle regulation .

Stress and antioxidant magnesium

Both physical and psychological or emotional stress increases free-radical oxidative damage, thereby increasing cellular demand for antioxidants. Oxidative damage causes inflammation throughout the body which has been linked to numerous chronic health conditions. These include heart disease, Type 2 diabetes, age-related cognitive impairment, anxiety and depression; all of which are also associated with Mg deficiency.

Mg is an important antioxidant. Individuals who are suffering from stress or depression tend to have low levels of magnesium because exposure to stress depletes the body’s stores of it. The relationship between stress and Mg may be bi-directional. Research suggests that not only does stress contribute to lower Mg levels, but low Mg may also, in turn, increase susceptibility to stress, and affective mood disorders such as anxiety and depression, thus forming a vicious circle.6

Stress, mood disorders, and sleep disturbances are frequent bed-fellows; racing thoughts, rumination, or the inability to fully relax can make it harder to drift off to sleep. Studies have shown a modest beneficial effect of Mg supplementation on psychological stress in people suffering from depression, anxiety disorders, premenstrual syndrome (PMS) and chronic pain conditions,7,8 but whether this calming effect translates into improvements in sleep quality has not been independently studied.

Magnesium and Insomnia

Low Mg levels have been linked to insomnia, a sleep disorder characterised by persistent night-time wakefulness and difficulties in falling or staying asleep. It is the most common sleep disorder, affecting roughly one-third of all adults and up to half of adults over 55. Insomnia is also common in people with anxiety and depression.

The elderly are more likely to experience insomnia than the young. This may be partly due to age-related changes in the circadian rhythm resulting in increased sleep drive during the day and poor sleep routines. Seniors are also more prone to nutrient deficiencies due to poor diets and are more likely to be taking medications that can affect Mg absorption or excretion, thereby contributing to chronic Mg deficiency which may in turn lead to insomnia.9 

Despite the observed association between low Mg and insomnia, randomised clinical trials conducted in older adults with insomnia have not been able to conclusively establish the effectiveness of taking oral Mg supplements.10  Nevertheless, studies that have looked at rates of insomnia and Mg intake among elderly populations have found that people with the highest Mg intakes tend to experience better sleep quality and lower rates of daytime drowsiness. 

Which form of magnesium is best for sleep?

There are many different forms of Mg supplements. Mg is well known for its laxative effect and certain forms of Mg used in supplements can cause gastrointestinal (GI) symptoms such as abdominal cramping, nausea, loose stools and diarrhoea. The NHS recommends that the maximum daily dose of Mg is 400 mg.

Forms of Mg that have shown promising results in randomised control trials include Mg-oxide and Mg citrate. In one study, healthy adults aged over 60 years who received 828 mg of Mg oxide for 8 weeks saw increases in sleep duration and a reduction in time taken to fall asleep.11 Blood tests also showed an increase in serum melatonin and a reduction in serum cortisol - the primary hormone involved in the stress response that opposes the sleep-inducing actions of melatonin. 

The amount of Mg administered in the above study exceeds the limit generally accepted as safe and well tolerated. The study did not report any side effects such as GI symptoms, but Mg-oxide can have a laxative effect if taken in high doses and is a common ingredient in constipation remedies. However, Mg-oxide is poorly absorbed, which may account for the tolerance of the higher dose used in this study. 

In another study, seniors with sleep disturbances who received 320 mg of Mg-citrate daily for 7 weeks self-reported overall improvements in sleep quality.12 When treating Magnesium deficiency, Mg-citrate is the form that is most easily absorbed by the body. However, it is also known for its laxative properties and so may not be well suited to those who suffer from GI complaints!

Other forms of Mg used in supplements are gentler on digestion. Mg-malate, Mg-threonate and Mg-glycinate are well tolerated, but there have been few studies that have looked at their impact on sleep.

The amino acid glycine is itself a natural sleep aid. It has a calming effect on central nervous system activity and has been found to: boost serotonin levels, help people to fall asleep faster, and increase the amount of time spent in deep sleep.13 It could be reasonably expected therefore that Mg and glycine combined (as Mg-glycinate, or bis-glycinate,) would prove a powerful soporific, however, more studies are needed.

Mg-threonate crosses the blood-brain barrier easily  raising Mg levels in the brain most effectively. It may also be protective against depression and age-related memory loss according to pre-clinical studies conducted in animals. Andrew Huberman, neuroscientist and tenured associate professor in the Department of Neurobiology, Psychiatry and Behavioural Sciences, Stanford University School of Medicine, recommends Mg-threonate or glycinate for improved cognition and aiding sleep, and says most people will benefit from 145 mg daily without any unwanted GI side effects.

So far research has only looked at the long-term effects of Mg supplementation and it is not known what the effect of a single dose of Mg has on sleep, if any.

Things to remember

Low levels of Mg may contribute to insomnia, stress and mental ill health, and there is some evidence to support its use for the treatment of insomnia, especially in older adults. Anecdotally, people report Mg has a calming effect, and there are several biological mechanisms that lend support to this claim. 

Most people can get enough Mg by eating a healthy balanced diet that includes a variety of vegetables, fruits, nuts, seeds and whole grains.

FAQs

How much magnesium should I take for sleep?

People who wish to take magnesium for sleep and who already eat a balanced diet are advised to start with 145 mg daily.

High doses of magnesium can cause GI upset and certain forms of magnesium used in some supplements may not be well tolerated in people who suffer from digestive complaints. The NHS-recommended upper limit for Mg in dietary supplements and over-the-counter medications is 400 mg daily.(4) 

Is it OK to take magnesium every night?

Mg is generally safe to take every night, provided you do not exceed 400 mg daily.

Excessive Mg intake can lead to hypermagnesemia, a rare but serious condition where there is too much Mg in the blood. Hypermagnesemia can lead to mental confusion, slow breathing, low blood pressure, paralysis, and sudden cardiac arrest.14 Kidney disease can make toxic build-up of Mg more likely to occur, and people with kidney problems should not take Mg supplements without first consulting their doctor.

Which form of magnesium is best for sleep?

There is insufficient evidence to recommend any specific supplemental form of Mg for sleep. Some other ingredients that may be beneficial in combination with Mg21 are vitamins B6 and B12 and the amino acid tryptophan, which helps your body to produce melatonin and serotonin; amino acid L-theanine, which increases GABA and serotonin in the brain and the amino acid glycine.

Summary

Magnesium (Mg) is crucial for numerous functions, including energy production, DNA repair, and heart rhythm. Over half of it resides in bones, with significant portions in muscles and organs. Deficiency can manifest as muscle twitching, fatigue, and irregular heartbeat, leading to severe issues like heart disease and cognitive decline. While Mg-rich foods include leafy greens, nuts, and whole grains, many in the UK are deficient. Mg acts as a natural sleep enhancer, aiding muscle relaxation and influencing the nervous system. Chronic stress can further deplete Mg levels. Notably, low Mg may induce insomnia, especially in the elderly. There are various Mg supplements available, but for sleep benefits, starting with 145 mg daily without exceeding 400 mg is advised. A balanced diet is the best way to maintain Mg levels.

References

  1. Wu N, Veillette A. Magnesium in a Signalling Role. Nature [Internet]. 2011 Jul [cited  2022    Dec 19];475(7357):462–3. Available from: http://www.nature.com/articles/475462a
  2. Jahnen-Dechent W, Ketteler M. Magnesium basics. Clin Kidney J [Internet]. 2012 [cited 2023 Aug 4]; 5(Suppl 1):i3–14. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4455825/.
     
  3.  Derbyshire E. Micronutrient Intakes of British Adults Across Mid-Life: A Secondary Analysis of the UK National Diet and Nutrition Survey. Front Nutr [Internet].  2018 Jul 19 [cited 2022 Dec 16];5:55. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6060686/
  4. Arab A, Rafie N, Amani R, Shirani F. The Role of Magnesium in Sleep Health: a Systematic Review of Available Literature. Biol Trace Elem Res [Internet]. 2023 [cited 2023 Aug 4]; 201(1):121–8. Available from: https://doi.org/10.1007/s12011-022-03162-1.
  5. Papadopol V, Nechifor M. Magnesium in neuroses and neuroticism. In: Vink R, Nechifor M, editors. Magnesium in the Central Nervous System [Internet]. Adelaide (AU): University of Adelaide Press; 2011 [cited 2023 Aug 4]. Available from: http://www.ncbi.nlm.nih.gov/books/NBK507254/.
  6. Pickering G, Mazur A, Trousselard M, Bienkowski P, Yaltsewa N, Amessou M, et al. Magnesium Status and Stress: The Vicious Circle Concept Revisited. Nutrients [Internet]. 2020 [cited 2023 Aug 4]; 12(12):3672. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7761127/.
  7. Kirkland AE, Sarlo GL, Holton KF. The Role of Magnesium in Neurological Disorders. Nutrients [Internet]. 2018 [cited 2023 Aug 4]; 10(6):730. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6024559/.
  8. Boyle NB, Lawton C, Dye L. The Effects of Magnesium Supplementation on Subjective Anxiety and Stress—A Systematic Review. Nutrients [Internet]. 2017 [cited 2023 Aug 4]; 9(5):429. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5452159/.
  9. Barbagallo M, Veronese N, Dominguez LJ. Magnesium in Aging, Health and Diseases. Nutrients [Internet]. 2021 [cited 2023 Aug 4]; 13(2):463. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7912123/.
  10. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complementary Medicine and Therapies [Internet]. 2021 [cited 2023 Aug 4]; 21(1):125. Available from: https://doi.org/10.1186/s12906-021-03297-z.
  11. Abbasi B, Kimiagar M, Sadeghniiat K, Shirazi MM, Hedayati M, Rashidkhani B. The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. J Res Med Sci. 2012; 17(12):1161–9.
  12. Nielsen FH, Johnson LK, Zeng H. Magnesium supplementation improves indicators of low magnesium status and inflammatory stress in adults older than 51 years with poor quality sleep. Magnes Res. 2010; 23(4):158–68.
  13. Kawai N, Sakai N, Okuro M, Karakawa S, Tsuneyoshi Y, Kawasaki N, et al. The Sleep-Promoting and Hypothermic Effects of Glycine are Mediated by NMDA Receptors in the Suprachiasmatic Nucleus. Neuropsychopharmacology [Internet]. 2015 [cited 2023 Aug 4]; 40(6):1405–16. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4397399/.
  14. Langan-Evans C, Hearris MA, Gallagher C, Long S, Thomas C, Moss AD, et al. Nutritional Modulation of Sleep Latency, Duration, and Efficiency: A Randomized, Repeated-Measures, Double-Blind Deception Study. Medicine & Science in Sports & Exercise [Internet]. 2023 [cited 2023 Aug 4]; 55(2):289. Available from: https://journals.lww.com/acsm-msse/Citation/2023/02000/Nutritional_Modulation_of_Sleep_Latency,_Duration,.16.aspx
This content is purely informational and isn’t medical guidance. It shouldn’t replace professional medical counsel. Always consult your physician regarding treatment risks and benefits. See our editorial standards for more details.

Get our health newsletter

Get daily health and wellness advice from our medical team.
Your privacy is important to us. Any information you provide to this website may be placed by us on our servers. If you do not agree do not provide the information.

Tori Berry Jeremie

ANutr, BS Nutrition, Oxford Brookes University

Associate registered nutritionist (AfN) and personal trainer (NASM) with 10 years of experience supporting individuals and groups with positive behavior change. Victoria works as a Communication & outreach officer for the urological cancer charity UCARE.

my.klarity.health presents all health information in line with our terms and conditions. It is essential to understand that the medical information available on our platform is not intended to substitute the relationship between a patient and their physician or doctor, as well as any medical guidance they offer. Always consult with a healthcare professional before making any decisions based on the information found on our website.
Klarity is a citizen-centric health data management platform that enables citizens to securely access, control and share their own health data. Klarity Health Library aims to provide clear and evidence-based health and wellness related informative articles. 
Email:
Klarity / Managed Self Ltd
Alum House
5 Alum Chine Road
Westbourne Bournemouth BH4 8DT
VAT Number: 362 5758 74
Company Number: 10696687

Phone Number:

 +44 20 3239 9818