Sorry, nothing in cart.
Blog
Magnesium is one of the most popular “sleep supplements” online. It plays a role in nerve and muscle function, but does it actually help you sleep? Here is an honest look.

Key points at a glance
- Magnesium helps nerves and muscles work normally.
- Evidence that magnesium improves sleep is limited and mixed, with small studies mostly in older adults.
- People with low magnesium may be more likely to benefit.
- Glycinate is a popular evening choice because it is gentle on the gut.
- Sleep habits remain the most proven way to improve sleep.
What the research says
A few small studies, mainly in older adults, suggest magnesium may slightly improve how quickly people fall asleep and sleep quality. Larger, high-quality trials are still needed.
If you want to try it
- Choose a gentle form such as glycinate.
- Stay within 350 mg of supplemental magnesium a day unless advised otherwise.
- Take it with an evening meal to limit stomach upset.
- Avoid if you have kidney disease, unless your doctor agrees.
Proven sleep habits
- Keep regular bed and wake times.
- Get morning daylight.
- Limit caffeine after midday and alcohol at night.
- Keep screens out of the bedroom.
- See a GP if insomnia lasts more than a few weeks.
Read: insomnia tips, melatonin in Australia and which magnesium to choose.
Frequently asked questions
How long before bed should I take magnesium?
There is no set time. Many people take it with dinner or an hour before bed.
Is magnesium better than melatonin?
They work differently. Melatonin affects your body clock; magnesium supports nerves and muscles.
Can magnesium help restless legs?
Evidence is mixed. See a doctor if symptoms are frequent.
Can I take magnesium every night?
Yes, within safe limits, unless you have kidney problems.
Find more trusted, plain-English health guides at goodmedaustralia.com.
In an emergency, call triple zero (000). For health advice, call Healthdirect on 1800 022 222.
Source: NIH Office of Dietary Supplements; Healthdirect. General education does not replace individual medical advice. Updated November 2026.
