- Home
- Supplements
- Magnesium
- Insomnia
Magnesium for Insomnia
Magnesium modestly improves sleep onset and subjective sleep quality in small randomized trials, with the clearest effects in older adults and people with low dietary intake. It is a reasonable first-line trial, not a substitute for sleep hygiene or CBT-I.
Overview
Verdict
Small randomized trials show a modest reduction in time to fall asleep. Mechanism is plausible, safety is good at sensible doses, and the benefit is largest in people with low magnesium status.
How It Works
Pathways involved
Dosing & Protocol
Dosing by scenario
| Scenario | Elemental dose | Form | Timing |
|---|---|---|---|
| Standard sleep trial | 200-350 mg | Glycinate | 30-60 min before bed |
| Low tolerance / GI sensitivity | 100-200 mg | Glycinate | 30-60 min before bed |
| Also correcting low intake | 200-400 mg total daily | Glycinate or citrate | Split, with food; larger portion at night |
| Older adults (trial protocol) | 500 mg magnesium oxide | Oxide | Before bed, 8 weeks |
Doses refer to elemental magnesium, not the total weight of the compound. A 1000 mg magnesium glycinate capsule typically supplies around 100-140 mg elemental magnesium — check the label.
How to trial it properly
- 1
Fix the behavioural basics first· Week 0, ongoing
Set a fixed wake time, get out of bed when awake more than 20 minutes, and stop caffeine 8 hours before bed. Without these, no supplement result is interpretable.
- 2
Start low· Nights 1-7
Begin at 100-200 mg elemental magnesium as glycinate, 30-60 minutes before bed. Starting at the top of the range is the most common cause of loose stools and abandonment.
- 3
Titrate to effect· Weeks 2-4
If well tolerated and nothing has changed after a week, increase to 200-350 mg. Do not exceed 350 mg from supplements without clinician input.
- 4
Judge at four weeks· Week 4
Track time to fall asleep and night wakings. Trials run 4-8 weeks; a fair assessment needs at least four.
- 5
Stop if nothing changed· Week 8
If there is no difference at an adequate dose after 8 weeks, magnesium is not your lever. Continuing indefinitely on the assumption it might be working is the wrong call.
Form matters more here than dose
Glycinate is the right choice for sleep — well absorbed and least likely to loosen stools. Oxide is only about 4% absorbed and works mainly as a laxative, so a large oxide dose gives you the bowel effect without much of the systemic one. Citrate sits in between.
Evidence
What the studies say
Evidence at a glance
- Best available evidence
- Three small randomized trials in older adults, plus consistent observational data
- Typical effect size
- Roughly 15-17 minutes faster sleep onset
- Certainty of evidence
- Low, by GRADE assessment
- Time to effect
- 4-8 weeks in trial protocols
- Who benefits most
- People with low magnesium intake or status
- Comparison
- Effect is well below that of CBT-I
Safety
Kidney function is the main safety question
Magnesium is cleared renally. In chronic kidney disease, particularly at eGFR below 30, supplementation can cause hypermagnesaemia, which is potentially serious. Do not supplement magnesium in significant renal impairment without clinician supervision.
Common, dose-dependent side effects
When magnesium is the wrong answer
Interactions & Conflicts
Interactions to plan around
| Interacts with | Severity | Mechanism | Action |
|---|---|---|---|
| Tetracycline and quinolone antibiotics | moderate | Magnesium chelates the antibiotic in the gut, reducing absorption | Separate doses by at least 2 hours before or 4-6 hours after the antibiotic |
| Bisphosphonates | moderate | Reduced bisphosphonate absorption | Take the bisphosphonate on an empty stomach and separate magnesium by at least 2 hours |
| Levothyroxine | moderate | Impaired thyroid hormone absorption | Separate by at least 4 hours |
| Proton pump inhibitors | moderate | Long-term PPI use lowers magnesium absorption and can cause hypomagnesaemia | Not a reason to avoid magnesium — it is a reason to check levels; supplement as needed |
| Loop and thiazide diuretics | moderate | Increased renal magnesium loss | Magnesium is often warranted; monitor levels with your prescriber |
| Sedatives and alcohol | low | Additive central depressant effect, theoretical | Avoid stacking sedatives; alcohol worsens sleep architecture regardless |
References
- 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
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther. 2021
- Arab A et al. The role of magnesium in sleep health: a systematic review of available literature. Biol Trace Elem Res. 2023
- NIH Office of Dietary Supplements — Magnesium Fact Sheet for Health Professionals
- Qaseem A et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Ann Intern Med. 2016
Medical Disclaimer
The information provided on this website is for educational and informational purposes only and is not intended as a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition or before starting any supplement regimen.
Individual results may vary. The statements on this website have not been evaluated by the Food and Drug Administration. Products and information are not intended to diagnose, treat, cure, or prevent any disease.