What have human studies measured about magnesium and sleep?
Human studies do not establish that magnesium supplements reliably improve sleep or treat insomnia. A small number of limited trials have examined specific groups and outcomes; their findings do not establish that a particular supplement product works. Below is what those studies measured, and what they cannot tell us.
Two questions are easy to conflate: whether magnesium status is associated with sleep across a population, and whether giving people magnesium improves sleep in a controlled trial. These are different questions with different answers.
A systematic review of observational and interventional literature found that low magnesium status is associated with poorer sleep patterns in adults. An association is not a treatment effect. People who sleep badly may differ from people who sleep well in many ways – diet, activity, chronic illness – and magnesium intake is only one of them. This finding does not show that raising magnesium intake will improve sleep.
A 2021 systematic review and meta-analysis of oral magnesium supplementation for insomnia in older adults concluded that the available evidence was limited and of low quality. The trials were small, and the certainty was low. They do not establish a dependable benefit or support a claim that magnesium supplements treat insomnia.
How strong is the evidence, claim by claim?
The certainty is not uniform, so the findings should not be summarised with a single broad claim.
- Low magnesium status is associated with worse sleep in adults – supported at the level of association only. This is observational and cannot show that raising intake will improve sleep.
- Small trials in older adults with insomnia have reported changes in sleep-symptom scores – certainty is low; the trials do not establish a dependable effect or support using supplements to treat insomnia.
- Magnesium reliably improves sleep in healthy adults without deficiency – not demonstrated. A broad review of dietary supplements for sleep quality did not identify magnesium as having convincing evidence for improving subjective sleep quality.
In short, the literature includes an observational association, low-certainty findings in some small, defined samples, and no established effect in the general adult population.
Which groups and outcomes were studied?
Some of the trials most directly relevant to insomnia enrolled older adults with insomnia. Their results describe those study participants; they do not establish an effect for other groups, or show that people with adequate magnesium intake can expect a sleep benefit.
One randomized controlled trial examined magnesium and potassium supplementation in people with diabetes who also had insomnia, measuring sleep and sleep-related hormones. Diabetes can affect magnesium status, so this was a population-specific study. It tested a combination, not magnesium alone, and its results cannot establish an effect for the general adult population or for another formula.
A 2025 placebo-controlled trial enrolled 155 adults aged 18 to 65 who reported sleeping badly. Participants took 250 mg of elemental magnesium a day as bisglycinate for four weeks. Insomnia severity scores fell by 3.9 points, compared with 2.3 points on placebo (d = 0.2). This was a small difference on a self-reported questionnaire over a short period; it is not proof of a treatment effect, objectively measured sleep improvement, or benefit from a different magnesium product. Larger gains among participants with lower dietary magnesium intake are a subgroup finding, not evidence of a general effect.








