On this page
Before the details
- Magnesium has established roles in energy production, nerve signaling, muscle contraction, bone, and normal heart rhythm.
- Having a plausible biological role does not by itself prove that extra magnesium improves sleep.
- A review of nine studies found observational associations, while randomized trials gave contradictory results.
- A meta-analysis in older adults included only 151 people and rated the evidence low to very low quality.

What magnesium does in the body
Magnesium helps cells make energy and contributes to DNA and protein production, nerve signaling, muscle contraction, bone structure, and normal heart rhythm.
Most magnesium is stored in bone and soft tissue, not circulating in blood.
Why researchers connect it to sleep
Sleep depends on coordinated nerve and muscle activity, so magnesium has a plausible connection to the systems involved.
Observational links can be influenced by diet quality, health, age, stress, medicines, and other factors.
What trials have found
A systematic review covering 7,582 adults across nine studies found observational associations, while randomized trials were contradictory.
A separate review pooled three randomized trials in 151 older adults. Participants fell asleep about 17 minutes sooner on average, but total sleep time did not improve by a statistically clear amount. The evidence was low to very low quality.
Dose, form, and the finished product matter
Magnesium forms can differ in elemental magnesium, absorption, tolerability, price, and the evidence available for a particular outcome.
Research & sources
Original papers and authoritative references used for this explainer.
- Magnesium: Health Professional Fact Sheet (opens in a new tab)
Reference for magnesium physiology, intake guidance, adverse effects, and medicine interactions.
- Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis (opens in a new tab)
Three small trials suggested shorter sleep-onset time, with low to very low certainty.










