# Does magnesium help you sleep?

> Magnesium is an essential mineral involved in more than 300 enzyme systems, including muscle and nerve function, and it is sold as a supplement in forms such as glycinate, citrate, oxide and L-threonate. It may help sleep a little: a meta-analysis of three small trials in older adults found people fell asleep about 17 minutes faster than on placebo, but the evidence is low quality and the benefit seems largest in people who get too little magnesium from food. [1] [2]

By the HealthCheck.org editorial team. Updated December 5, 2026. Web version: https://www.healthcheck.org/reviews/sleep/magnesium-for-sleep/

## Key takeaways

- The best summary of trials found magnesium shortened the time to fall asleep by 17.36 minutes in older adults with insomnia, but all three trials were at moderate-to-high risk of bias. [2]
- A 2025 trial of 155 adults with poor sleep found 250 mg of elemental magnesium as bisglycinate modestly improved insomnia scores over four weeks, with a small effect size. [6]
- The safe upper limit for magnesium from supplements and medicines is 350 mg a day for adults; it does not include magnesium in food. [1]
- About 48% of Americans get less magnesium from food and drinks than they need, and those with low dietary intake may benefit most from supplements. [1] [6]
- People with kidney disease should not take magnesium supplements without medical advice, because damaged kidneys cannot clear the excess. [1]
- Forms differ mainly in how much magnesium they carry and how often they cause diarrhea; no head-to-head trial shows one form is best for sleep. [7] [1]

## Magnesium for sleep at a glance

| | |
| --- | --- |
| What it is | An essential mineral; a cofactor in more than 300 enzyme systems [1] |
| Evidence for sleep | Small trials and systematic reviews; low to very low quality [2] [3] |
| Adult RDA (all sources) | 400 to 420 mg for men, 310 to 320 mg for women [1] |
| Upper limit from supplements | 350 mg a day for adults [1] |
| Doses studied for sleep | About 250 mg to 500 mg elemental magnesium a day [6] [4] |
| Main side effect | Diarrhea, nausea and cramps, most often with oxide, carbonate, chloride and gluconate [1] |
| Avoid or ask first | Kidney disease; bisphosphonates, tetracycline and quinolone antibiotics, diuretics [1] |

## Does magnesium help you sleep? What the trials show

Magnesium may help some people fall asleep a little faster, but the trials are few, small and short. Researchers propose that magnesium calms the nervous system by acting on GABA and NMDA receptors, which is plausible biology rather than proof of benefit. [4]

The most-cited meta-analysis, published in 2021, found only three randomized trials comparing oral magnesium with placebo, covering 151 older adults in three countries. Pooled together, people taking magnesium fell asleep 17.36 minutes faster. Total sleep time rose by 16.06 minutes, but that difference was not statistically significant, and the authors rated the evidence low to very low quality. [2]

A broader 2023 systematic review of nine observational studies and trials, with 7,582 participants, found that people with better magnesium status tended to report better sleep, but the randomized trials gave contradictory results. The reviewers called for larger trials lasting more than 12 weeks. [3]

Newer trials point the same way: small, real-looking effects in people with mild sleep complaints, not a cure for insomnia. The table lists the main randomized trials.

*Randomized trials of magnesium for sleep*

| Trial | Who and how many | Magnesium given | Main result |
| --- | --- | --- | --- |
| Abbasi 2012 | 46 older adults with primary insomnia | 500 mg elemental magnesium a day as magnesium oxide, 8 weeks | Better subjective and objective insomnia measures than placebo [4] |
| Hausenblas 2024 | 80 adults aged 35 to 55 with self-reported sleep problems | 1 g a day of magnesium L-threonate, 21 days | Better deep and REM sleep scores on a consumer ring and better morning alertness and mood [5] |
| Nature and Science of Sleep 2025 | 155 adults aged 18 to 65 with poor sleep | 250 mg elemental magnesium as bisglycinate, 4 weeks | Insomnia Severity Index fell 3.9 points vs 2.3 on placebo; small effect [6] |
| Meta-analysis 2021 | 3 trials, 151 older adults | Various oral doses | Fell asleep 17.36 minutes faster; low-quality evidence [2] |

## Which form of magnesium is best for sleep: glycinate, citrate, oxide or L-threonate?

No trial has compared forms head to head for sleep, so the honest answer is the form you tolerate, at a dose that fits under the upper limit. Forms differ in two practical ways: how much elemental magnesium each gram of compound carries, and how well it dissolves and is absorbed.

Magnesium oxide is about 60% magnesium by weight, while citrate is about 11%, bisglycinate about 14% and L-threonate about 8%. [7] That is why a magnesium oxide tablet can hold 400 mg of magnesium while a glycinate capsule holds far less. The fact sheet from the NIH Office of Dietary Supplements says forms that dissolve well in liquid are absorbed better, and that aspartate, citrate, lactate and chloride tend to be more bioavailable than oxide and sulfate. [1]

Check whether a figure on the label refers to elemental magnesium or to the weight of the whole compound, since the two can differ several-fold. [7] Label accuracy is a separate issue: a 2021 laboratory study of 116 magnesium supplements in Poland found 58.7% fell outside the allowed tolerance from the declared amount. [9]

*Common magnesium supplement forms compared*

| Form | Magnesium by weight | Absorption and stomach effects | Sleep evidence |
| --- | --- | --- | --- |
| Magnesium oxide | About 60% [7] | Less bioavailable than citrate; among the forms most often linked to diarrhea [1] | Used in the 2012 trial in older adults [4] |
| Magnesium citrate | About 11% [7] | More bioavailable than oxide; dissolves well [1] | No dedicated sleep trial found |
| Magnesium glycinate (bisglycinate) | About 14% [7] | Less soluble in water than citrate [7]; not on the NIH list of forms most linked to diarrhea [1] | One 2025 four-week trial, modest benefit [6] |
| Magnesium L-threonate | About 8% [7] | Soluble; studied for its brain bioavailability [5] | One 2024 three-week trial, wearable-measured outcomes [5] |

## How much magnesium should you take for sleep?

Most sleep trials used roughly 250 mg to 500 mg of elemental magnesium a day, and the NIH sets the upper limit for supplemental magnesium at 350 mg a day for adults. [6] [4] [1] Staying at or under 350 mg from supplements keeps you within the limit; higher doses, like the 500 mg in the 2012 trial, belong under a clinician’s supervision.

The recommended dietary allowance counts magnesium from every source, including food. It is 400 mg for men aged 19 to 30 and 420 mg after that, and 310 mg for women aged 19 to 30 and 320 mg after that. [1] The upper limit is lower than the allowance because it covers only supplements and medicines, not food. [1] Europe sets a lower supplement limit of 250 mg a day. [8]

For children and teenagers the supplement limit ranges from 65 mg to 350 mg depending on age, so adult-strength sleep products are not suitable for them. [1] Antacids and laxatives also count toward the limit: one tablespoon of a common milk of magnesia product contains 500 mg of magnesium. [1]

*Magnesium RDA by age (all sources) and supplement upper limit*

| Age | Men | Women | Supplement upper limit |
| --- | --- | --- | --- |
| 14 to 18 | 410 mg | 360 mg | 350 mg [1] |
| 19 to 30 | 400 mg | 310 mg | 350 mg [1] |
| 31 and older | 420 mg | 320 mg | 350 mg [1] |
| Pregnancy, 19 to 30 | Not applicable | 350 mg | 350 mg [1] |

## Does magnesium help sleep only if you are deficient?

The evidence suggests people with low intake benefit most. In the 2025 bisglycinate trial, exploratory analyses found greater improvement in participants who reported less magnesium in their diet, and the authors suggested a subgroup of high responders. [6]

Low intake is common. NHANES data from 2013 to 2016 showed 48% of Americans of all ages ate less magnesium than their estimated average requirement, with men over 70 and teenagers most likely to fall short. [1] Symptomatic deficiency from diet alone is uncommon in otherwise healthy people, because the kidneys limit how much magnesium they excrete. [1]

Groups at higher risk of deficiency include people with gastrointestinal diseases, type 2 diabetes or alcohol dependence, and older adults, whose gut absorbs less magnesium and whose kidneys excrete more. [1] Early signs include loss of appetite, nausea, vomiting, fatigue and weakness; numbness, cramps, seizures and abnormal heart rhythms can follow as it worsens. [1] Blood tests are an imperfect guide, because less than 1% of the body’s magnesium is in the blood. [1]

Food is the first place to look: the NIH lists green leafy vegetables such as spinach, legumes, nuts, seeds and whole grains as good sources. [1]

## Is magnesium safe? Kidney disease, drug interactions and side effects

Magnesium from food is not a safety concern for healthy people, but high doses from supplements or medicines can cause diarrhea, nausea and abdominal cramping. [1] The forms most often reported to cause diarrhea are magnesium carbonate, chloride, gluconate and oxide. [1]

Kidney function is the key safety question. The risk of toxicity rises with impaired kidney function or kidney failure, because the body loses the ability to remove excess magnesium. [1] Very large doses from laxatives and antacids, typically above 5,000 mg a day, have caused magnesium toxicity, including deaths, with symptoms such as low blood pressure, vomiting, difficulty breathing, irregular heartbeat and cardiac arrest. [1]

- Osteoporosis drugs (oral bisphosphonates such as alendronate): magnesium reduces their absorption, so take them at least 2 hours apart. [1]
- Tetracycline and quinolone antibiotics (doxycycline, ciprofloxacin, levofloxacin): take the antibiotic at least 2 hours before or 4 to 6 hours after magnesium. [1]
- Loop and thiazide diuretics (furosemide, hydrochlorothiazide) increase magnesium loss; potassium-sparing diuretics (spironolactone, amiloride) reduce it, which matters if you also supplement. [1]
- Proton pump inhibitors for acid reflux can affect magnesium status; mention them to your clinician. [1]
- Combination sleep products may add melatonin or herbs; check the full label so you know everything you are taking.

## How does magnesium compare with other sleep treatments?

Magnesium is a low-risk experiment for mild sleep trouble, not a replacement for proven insomnia care. The American College of Physicians strongly recommends cognitive behavioral therapy for insomnia (CBT-I) as the first treatment for every patient with chronic insomnia. [10]

The 2021 meta-analysis authors concluded the literature was not good enough for physicians to make well-informed recommendations, while noting that magnesium is cheap and widely available. [2] In practice, that means trying a modest dose for a few weeks, judging the result honestly, and stopping if nothing changes.

## What do health authorities say?

> “The Tolerable Upper Intake Level for supplemental magnesium is 350 mg for adults, and it ranges from 65 to 350 mg for children and adolescents, depending on age.” — NIH Office of Dietary Supplements, Magnesium fact sheet for health professionals [1]

> “The risk of magnesium toxicity increases with impaired renal function or kidney failure because the ability to remove excess magnesium is reduced or lost” — NIH Office of Dietary Supplements, Magnesium fact sheet for health professionals [1]

## Who might try magnesium for sleep?

- Older adults with mild insomnia symptoms, the group in most trials. [2]
- Adults with self-reported poor sleep who eat few magnesium-rich foods. [6]
- People at higher risk of low magnesium, such as those with type 2 diabetes or gut conditions, after checking with a clinician. [1]

## Who should skip magnesium supplements?

- Anyone with kidney disease or reduced kidney function, unless a clinician prescribes it. [1]
- People taking bisphosphonates or tetracycline or quinolone antibiotics, unless doses are spaced as advised. [1]
- Children and teens given adult-strength products; their upper limits are lower. [1]
- People with long-standing insomnia, loud snoring or daytime sleepiness, who need an assessment rather than a supplement. [10]

## When should you see a doctor?

Talk to a clinician before taking magnesium if you have kidney disease, heart rhythm problems or take bisphosphonates, antibiotics, diuretics or proton pump inhibitors. [1] See one for sleep that has been poor for months, because CBT-I is the first-line treatment for chronic insomnia, and for loud snoring, gasping at night or daytime sleepiness. [10] Seek urgent care for signs of magnesium toxicity such as vomiting, very low blood pressure, difficulty breathing or an irregular heartbeat. [1]

## How much do magnesium supplements cost?

Magnesium is among the cheaper supplements; oxide tablets usually cost least per dose, while glycinate, citrate and especially L-threonate cost more because each capsule carries less magnesium. We did not record specific prices. Compare products by cost per milligram of elemental magnesium, not per capsule, since the elemental share ranges from about 8% to about 60% by form. [7]

## Frequently asked questions

### Which magnesium is best for sleep?

No trial has compared forms for sleep. Glycinate has one modest positive trial and is not among the forms the NIH links most often to diarrhea, while oxide carries the most magnesium per tablet but is less well absorbed. [6] [1]

### How much magnesium should I take for sleep?

Sleep trials have used about 250 mg to 500 mg of elemental magnesium a day. [6] [4] The NIH upper limit for supplements is 350 mg a day for adults, so stay at or below that unless a clinician advises otherwise. [1]

### Does magnesium glycinate make you sleepy?

It is not a sedative. In a four-week trial, 250 mg of magnesium as bisglycinate modestly improved insomnia scores compared with placebo, with a small effect size. [6]

### How long does magnesium take to work for sleep?

Trials measured results after three to eight weeks, not after one dose. [5] [4] Give it a few weeks and stop if you notice no change.

### Is it safe to take magnesium every night?

For healthy adults with normal kidney function, staying within 350 mg a day from supplements is considered safe. [1] People with kidney problems should ask a clinician first because excess magnesium can build up. [1]

### Can you take magnesium and melatonin together?

Some combination sleep products contain both, and the NIH magnesium fact sheet does not address combining them. Count the magnesium toward the 350 mg supplement limit, and ask a pharmacist to check the full ingredient list against your other medicines. [1]

### What are signs of low magnesium?

Early signs include loss of appetite, nausea, vomiting, fatigue and weakness; numbness, cramps and heart rhythm changes can follow if it worsens. [1]

## Sources

1. NIH Office of Dietary Supplements. [Magnesium: Fact Sheet for Health Professionals](https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/). accessed 2026-12.
2. Mah J, Pitre T. BMC Complementary Medicine and Therapies 21:125. [Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis](https://pubmed.ncbi.nlm.nih.gov/33865376/). 2021.
3. Arab A, Rafie N, Amani R, Shirani F. Biological Trace Element Research 201:121. [The Role of Magnesium in Sleep Health: a Systematic Review of Available Literature](https://pubmed.ncbi.nlm.nih.gov/35184264/). 2023.
4. Abbasi B et al. Journal of Research in Medical Sciences 17:1161. [The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial](https://pubmed.ncbi.nlm.nih.gov/23853635/). 2012.
5. Hausenblas HA et al. Sleep Medicine: X 8:100121. [Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial](https://pubmed.ncbi.nlm.nih.gov/39252819/). 2024.
6. Schuster J et al. Nature and Science of Sleep 17:2027. [Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial](https://pubmed.ncbi.nlm.nih.gov/40918053/). 2025-08-30.
7. Case DR, Zubieta J, Gonzalez R. Molecules 26. [Synthesis and Chemical and Biological Evaluation of a Glycine Tripeptide Chelate of Magnesium (Table 1, magnesium content of common supplement forms)](https://pmc.ncbi.nlm.nih.gov/articles/PMC8122334/). 2021.
8. Nutrients 11(7):1663. [Predicting and Testing Bioavailability of Magnesium Supplements](https://pmc.ncbi.nlm.nih.gov/articles/PMC6683096/). 2019.
9. Puścion-Jakubik A, Bartosiewicz N, Socha K. Nutrients 13(10):3416. [Is the Magnesium Content in Food Supplements Consistent with the Manufacturers’ Declarations?](https://pubmed.ncbi.nlm.nih.gov/34684417/). 2021-09-28.
10. Sateia MJ et al., American Academy of Sleep Medicine. Journal of Clinical Sleep Medicine 13(2):307. [Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults](https://pmc.ncbi.nlm.nih.gov/articles/PMC5263087/). 2017.
