Does magnesium help you sleep?

Magnesium may help some adults sleep a little better: in some small trials, people rated their sleep a bit better on it than on a dummy pill, though results were mixed. The effect was small, and it’s unlikely to clear insomnia on its own.

Signed off by Adam MurphyLast updated Sources
Spinach leaves, a bowl of pumpkin seeds, a bowl of almonds and slices of seeded brown bread on an oak table.

The short version

  • It may help a littleIn some small trials, people rated their sleep a bit better on magnesium than on a dummy pill. Results were mixed.
  • Start with foodA varied, balanced diet should give you all you need. Nuts, seeds, spinach and wholegrains are good sources.
  • No type is proven betterWe found no trial that compared types for sleep, so a type sold as the one for sleep says more than the research does.
  • 250 mg is the upper level from supplementsThat's for adults. Above it, loose stools are more likely. Magnesium that's naturally in food and drinks doesn't count.
  • Check the labelLook for the amount of magnesium itself. The compound it comes in can weigh several times more.

Which type?

Each was tested in different people at different amounts, so one type's result may not apply to another.

When to talk to your GP

Check with your GP or pharmacist first if you take medicines, or have kidney problems or another health condition. If you’re pregnant or breastfeeding, check with your GP, pharmacist or midwife. If poor sleep won’t shift, talk to your GP.

More on when to see your GP
  • Your kidneys clear extra magnesium, so if they don’t work well, it can build up.
  • For a child, ask your GP or pharmacist.

Common questions

Does magnesium help you sleep?

Magnesium may help some adults sleep a little better, mostly in how they rate their own sleep. The effect in trials was modest, and it’s unlikely to clear insomnia on its own.

Reviews of trials in adults suggest magnesium may help some people rate their sleep a little better, though the results were mixed and the evidence is weak. And in a study that compared people who take magnesium with people who don’t, those taking it didn’t consistently sleep better, whether they rated it themselves or it was measured overnight.

Not much evidence Sources 2, 3, 17

One trial hinted that people who get little magnesium from food may gain most, which still needs testing. Studies link magnesium levels with sleep quality, but a link isn’t proof, and the trials disagree.

Sources 1, 4

Your own intake isn’t easy to know. Magnesium-rich foods are the simple way to get enough, though whether that helps sleep still needs good trials. The sleep habits that help are in Can’t sleep? What helps.

Does magnesium glycinate help you sleep?

Magnesium bisglycinate, magnesium bound to glycine, may help a little. In its first sleep trial, insomnia scores improved a bit more than on a dummy pill.

In a trial of adults with poor sleep, insomnia scores improved a little more on magnesium bisglycinate than on a dummy pill, and most of the change came in the first 14 days. Other sleep scores didn’t differ. The capsules also held glycine, which has been studied for sleep too, so the trial can’t say which did the work. They were made by a supplement company, and the researchers’ university paid for the trial.

Not much evidence Sources 1

In that trial, people took it 30 to 60 minutes before bed, and most didn’t report any side effects. More on magnesium glycinate.

Which type of magnesium is good for sleep?

No one type has been shown to work better than the others for sleep. We found no trial that compared types for sleep, and each was tested in different people at different amounts.

Taken together, two small trials in older adults found people fell asleep a little faster on magnesium oxide than on a dummy pill. But both used amounts well above the upper level for supplements, and in one, everyone had soft stools. People didn’t clearly sleep longer. In another trial, of citrate, sleep improved just as much on the dummy pill. The evidence is weak.

Not much evidence Sources 5

Studies of how well each type is absorbed are small, measure blood or urine rather than sleep, and don’t agree with each other. We found nothing showing that a better-absorbed type means better sleep.

Sources 6, 7, 8, 13

Threonate was tested in two short trials paid for by the firms behind it, with mixed results. In one, a sleep ring scored deep sleep higher, but an insomnia score improved in both groups alike. In the other, the ring found no difference, though people rated some sleep problems as easing a little more.

Sources 9, 10, 11

A small trial of a chloride, part-paid for by its maker and not yet checked by other scientists, improved one sleep score but not two others.

Sources 12

So when a type is sold as the one for sleep, that says more than the trials do. Results for one type may not apply to another, so check which type a label names. Every type, and what each is used for, is on magnesium supplements.

Can you get enough magnesium from food?

Yes: a varied, balanced diet should give you all the magnesium you need. Good sources are green leafy vegetables such as spinach, beans and lentils, nuts, seeds, wholegrains and wholemeal bread, and foods with fibre generally bring some too.

The EU’s adequate intake for adults is 300 mg a day for women and 350 mg for men, from all they eat and drink. Pumpkin seeds and almonds are especially rich in it. Magnesium from food hasn’t been shown to cause loose stools or other harm in healthy people, and food doesn’t count towards the upper level for supplements.

Whether eating more magnesium helps you sleep still needs good trials.

How much magnesium is too much?

The upper level for adults is 250 mg of magnesium a day from supplements, as loose stools are more likely above it. They’re the main side effect. Magnesium that’s naturally in food and drinks doesn’t count.

Check the label for the amount of magnesium itself, not the weight of the compound it comes in, which can be several times more.

Some sleep trials used more. That’s what was tested, not a suggestion for you.

Does magnesium help with night cramps or restless legs?

Probably not for night cramps, and we found little research on restless legs.

In trials, mostly of older adults with night-time leg cramps that had no clear cause, magnesium made little or no difference to how often cramps came.

Some evidence Sources 18

For restless legs we found little research. In one study, taking magnesium had no consistent link with restless legs. People who took it did have night cramps or restless legs more often, possibly because people prone to cramps take it.

Sources 17

If restless legs or cramps keep you awake, talk to your GP.

Sources

View 18 sourcesHide sources

Change log

  • : Signed off and published.