Magnesium for sleep is one of the most searched supplement questions, and the honest answer is more modest than the marketing. Small trials suggest magnesium may help some people fall asleep a little faster, especially older adults and people who don’t get enough magnesium from food. The form matters mostly for how well it’s absorbed and how your gut tolerates it.
This guide compares magnesium glycinate vs citrate vs threonate (and oxide), explains what the research actually shows for sleep, how much to take, and who should avoid it.
Short answer
- The sleep evidence is limited. A meta-analysis of 3 small trials in older adults found people fell asleep about 17 minutes faster with magnesium, but the evidence quality was low.
- Glycinate is gentle on the stomach and a common choice for evening use.
- Citrate is well absorbed but has a mild laxative effect, which can help if you’re also constipated.
- Threonate improved sleep scores in one 21-day trial that was funded by the ingredient’s maker.
- Oxide is poorly absorbed and mainly works as a laxative.
- Don’t exceed 350 mg a day of magnesium from supplements unless a doctor advises it.
Why magnesium might help sleep
Magnesium is involved in hundreds of processes in the body, including nerve signaling. It acts on GABA receptors, the same calming system targeted by many sleep medicines, and blocks NMDA receptors, which are involved in excitation. Many adults also eat less magnesium than recommended. The NIH Office of Dietary Supplements sets the recommended intake at 400–420 mg a day for men and 310–320 mg for women.
That doesn’t prove supplements improve sleep. A systematic review in Biological Trace Element Research of 9 studies (7,582 people) found that observational studies link better magnesium status with better sleep, but randomized trials gave contradictory results.
What the trials show
- Older adults with insomnia: a meta-analysis in BMC Complementary Medicine and Therapies pooled 3 trials (151 older adults). People taking magnesium fell asleep 17.4 minutes faster than with placebo. Total sleep time rose by 16 minutes, but that change was not statistically significant. All trials were at moderate to high risk of bias.
- One of those trials: in a double-blind trial of 46 older adults, 500 mg of magnesium daily for 8 weeks improved insomnia scores, sleep efficiency and time to fall asleep compared with placebo.
- Magnesium L-threonate: in a 21-day randomized trial in Sleep Medicine: X, 80 adults with sleep complaints took 1 g of magnesium L-threonate or placebo. The magnesium group had better deep and REM sleep scores on an Oura ring and better mood and energy. The study was run by the company that sells the ingredient, so it needs independent confirmation.
Magnesium glycinate vs citrate vs threonate vs oxide
| Form | Absorption | Gut effects | Best for | Evidence for sleep |
|---|---|---|---|---|
| Glycinate (bisglycinate) | Good | Gentle, low laxative effect | Evening use, sensitive stomachs | No dedicated sleep trials; glycine itself is being studied for sleep |
| Citrate | Good; highest in one comparison | Mild laxative | People who are also constipated | Indirect |
| L-threonate | Designed to raise brain magnesium | Generally well tolerated | Sleep and cognition (marketed) | One industry-funded 21-day trial |
| Oxide | Poor | Strong laxative | Constipation, not sleep | Weak |
In a randomized trial in Magnesium Research, 46 healthy adults took 300 mg of magnesium daily as citrate, an amino-acid chelate or oxide for 60 days. Citrate and the chelate were absorbed better than oxide, and oxide performed no better than placebo.
Bottom line on form: if your goal is sleep and your gut is sensitive, glycinate is a sensible first choice. If you’re also constipated, citrate may do double duty. Threonate is promising but more expensive and less studied.
How much to take and when
- Check the label for “elemental” magnesium. A 1,000 mg capsule of magnesium glycinate contains far less actual magnesium. The elemental amount is what counts.
- Common doses in trials: 250–500 mg of elemental magnesium a day.
- Upper limit: the NIH sets the upper limit for magnesium from supplements at 350 mg a day for adults, because higher amounts often cause diarrhea, nausea and cramps. Food sources don’t count toward this limit.
- Timing: many people take it 30–60 minutes before bed. There’s no strong evidence that timing changes the effect.
- Give it time: trials ran 3 to 8 weeks.
Food first
Pumpkin seeds, almonds, cashews, spinach, black beans, edamame, whole grains and dark chocolate are good sources. Many of these foods are also rich in fiber, which supports the gut. See our Gut Health 101 guide.
Magnesium won’t fix poor sleep habits
Even in the best trials, magnesium’s effect is small compared with a fixed wake-up time, morning light, a caffeine cutoff and a dark, cool bedroom. Start with the habits in our guide on how to sleep better naturally. If stress keeps you awake, read stress and your body. When we review magnesium products, we compare forms and doses with the research, as explained on our How We Review page.
The evidence at a glance
| Claim | Evidence strength | What it is based on |
|---|---|---|
| Magnesium helps older adults fall asleep faster | Limited | Meta-analysis of 3 small trials |
| Magnesium improves sleep in healthy younger adults | Mixed | Contradictory trials |
| Citrate and chelates absorb better than oxide | Moderate | Randomized comparison trial |
| Threonate improves deep and REM sleep | Limited | One industry-funded trial |
| Supplements above 350 mg/day cause gut side effects | Strong | NIH safety limit |
Who should be careful
- Kidney disease: your kidneys clear magnesium. Don’t take supplements without your doctor’s approval.
- Medications: magnesium can reduce absorption of some antibiotics (tetracyclines, quinolones), osteoporosis drugs (bisphosphonates) and thyroid medicine. Take it at least 2–4 hours apart and ask your pharmacist.
- Other medicines such as diuretics and proton pump inhibitors can change magnesium levels.
- Pregnancy and breastfeeding: check the dose with your doctor.
- Diarrhea: switch from citrate or oxide to glycinate, or lower the dose.
Ongoing insomnia, loud snoring or daytime sleepiness need a doctor, not a supplement. This guide is for general information and is not medical advice. Read our medical disclaimer.
Related: read vitamin D and sleep and inositol for sleep.
FAQ
What is the best magnesium for sleep?
There is no proven best form. Magnesium glycinate is a common choice because it is gentle on the stomach. Citrate absorbs well but can loosen stools. Threonate has one promising but industry-funded trial.
Magnesium glycinate vs citrate: what’s the difference?
Both are well absorbed. Glycinate is bound to the amino acid glycine and rarely causes diarrhea. Citrate is bound to citric acid and has a mild laxative effect, which helps some people with constipation.
How much magnesium should I take for sleep?
Trials used about 250–500 mg of elemental magnesium a day. The NIH upper limit for magnesium from supplements is 350 mg a day for adults unless a doctor advises more.
When should I take magnesium for sleep?
Many people take it 30 to 60 minutes before bed. Trials ran 3 to 8 weeks, so give it a few weeks before judging.
Can I take magnesium with melatonin?
They are often combined, and no major interaction is known, but evidence for the combination is limited. Check with your pharmacist if you take other medicines.
Share your experience
Have you tried magnesium for sleep? Tell other readers in the comments below: which form you used, the dose, how long you took it, and whether it helped. If it didn’t make a difference for you, that’s useful to share too.
Comments are moderated. Please don’t share personal medical details, and remember that what worked for one person may not suit another.
Sources
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther. 2021;21:125. doi:10.1186/s12906-021-03297-z
- Arab A, et al. The role of magnesium in sleep health: a systematic review of available literature. Biol Trace Elem Res. 2023;201:121-128. doi:10.1007/s12011-022-03162-1
- 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-1169. PubMed 23853635
- Hausenblas HA, et al. Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: a randomized controlled trial. Sleep Med X. 2024;8:100121. doi:10.1016/j.sleepx.2024.100121
- Walker AF, et al. Mg citrate found more bioavailable than other Mg preparations in a randomised, double-blind study. Magnes Res. 2003;16:183-191. PubMed 14596323
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals
