Magnesium for sleep, honestly
Widely recommended, weakly evidenced. Here is what the research actually supports and what it does not.
Before you try this. Magnesium interacts with several medications and is cleared by the kidneys. If you have reduced kidney function, or take antibiotics, bisphosphonates, diuretics or thyroid medication, check with a pharmacist or doctor first.
One mindvestment
Treat magnesium as a two-week experiment after the free changes are in place, not before
- Costs
- 1 min a day
- Effort
- Low
- Gives you
- Possibly easier sleep onset, mainly if your intake is genuinely low
- Felt after
- 2–4 weeks
If the free changes are already in place and you still want to try something, magnesium is a reasonable two-week experiment. It is not a sleep aid, and the evidence is much thinner than the internet suggests.
What the research actually shows
The honest summary is that the trials are small, short, mostly in older adults, and mostly rely on questionnaires rather than measured sleep. Reviews of this literature tend to reach the same conclusion: a possible small improvement in how quickly people report falling asleep, with low confidence and a real chance the effect is placebo.
There is a more defensible version of the claim. Magnesium is involved in hundreds of enzymatic processes, including ones in the GABA system, and a meaningful share of adults take in less than the recommended amount. If you are genuinely low, correcting that may help several things, one of which could be sleep. If your intake is already adequate, there is no good reason to expect a benefit from adding more.
That distinction is the whole story, and it is the part that gets left out.
What would change this grade: a properly powered, placebo-controlled trial in adults with normal magnesium status, using measured sleep rather than self-report. If one shows a real effect, this page moves to B. If one shows nothing, it moves to D.
If you want to test it
- Do the free things first. Wake time, morning light, caffeine timing. If those are not in place, you cannot read the result of anything else.
- Look at food before supplements. Pumpkin seeds, almonds, spinach, black beans, dark chocolate, wholegrains. Most people who are low are low because of what they eat.
- Form matters less than the marketing says. Glycinate and citrate absorb better than oxide, which is cheap and mostly passes through. Threonate is sold on brain claims that rest on rodent work.
- Modest doses. Supplemental magnesium above roughly 350 mg a day is where loose stools start for most people, and the added amount is doing nothing useful anyway.
- Two weeks, one variable. Change nothing else in that fortnight or the experiment tells you nothing.

Common mistakes
- Reaching for it first. It is the most-bought answer to a problem that is usually about timing.
- Buying magnesium oxide. It is the cheapest and the least absorbable.
- Stacking it with four other things. Then you learn nothing about any of them.
- Reading a good night as proof. You will have good nights anyway. Two weeks, not two nights.
- Assuming more is better. It is not, and it is uncomfortable.
What should change
If you were low, sleep onset may get a little easier over two to four weeks. If nothing shifts, stop. Continuing a supplement that did nothing for you is the most common and most expensive habit in this category.
Sources (3)
- Magnesium supplementation and subjective insomnia measures, systematic review BMC Complementary Medicine and Therapies 2021
- Dietary magnesium intake and sleep duration in adults Sleep 2019
- Magnesium fact sheet for health professionals NIH Office of Dietary Supplements 2022