soul
A crescent moon above a card showing magnesium starting doses for sleep, on a soft sage background
Wellness · 10 min read

Magnesium for sleep: does it work, and is magnesium glycinate the best kind?

Does magnesium help you sleep? What the research shows, why magnesium glycinate is the usual pick, how much to take and when, and who should avoid it.

By Last checked

The short answer

The evidence that magnesium helps sleep is thin: small studies suggest a slightly shorter time to fall asleep, larger reviews find no consistent benefit. Magnesium glycinate is the usual pick because it is gentle on the stomach, not because it is proven better for sleep.

  • A typical starting dose is 100 to 200 mg of elemental magnesium; keep supplements under 350 mg a day. Sprays and lotions are not supported.
  • For ongoing insomnia, CBT-I and sleep habits come first; people with kidney or heart problems should ask a doctor.
10 minto read
10sections
8questions answered

Magnesium for sleep is popular, but the evidence that it helps is thin. Small studies suggest it may shorten the time it takes to fall asleep by a little, and some people find it helps, but larger, better trials have not shown a consistent benefit. If you want to try it, magnesium glycinate is the usual choice because it is easy on the stomach, a typical starting dose is 100 to 200 mg of elemental magnesium, and supplements should stay under 350 mg a day. For ongoing insomnia, doctors recommend other steps first.

General information, not medical advice. Ask a doctor or pharmacist before taking magnesium if you have kidney or heart problems, are pregnant, or take other medicines.

Does magnesium help you sleep?

Maybe a little, for some people. Here is what the main sources say:

What the evidence on magnesium for sleep says
SourceWhat it says
Harvard Health, Sept 2026Clinical studies have not shown a consistent sleep benefit; results in older adults are mixed; the American Academy of Sleep Medicine makes no recommendation on magnesium
Cleveland Clinic, Sept 2026The evidence is thin; small, preliminary studies suggest magnesium may slightly reduce the time to fall asleep and ease mild, stress-related sleep problems
2021 systematic reviewThree small trials in 151 older adults with insomnia: falling asleep took about 17 minutes less than on placebo, but the evidence was rated low to very low quality

Studies ran from 5 days to 8 weeks, according to Harvard Health.

Why might it work at all? Harvard Health says the mechanism is not well understood. It may involve GABA, a calming signal in the brain, and effects on melatonin and cortisol. That is a plausible reason to try it, not proof that it works.

Harvard's reviewing sleep physician goes further: he says he never recommends magnesium, and that sleep problems should be discussed with a clinician first. Cleveland Clinic says magnesium should not be the first step for ongoing sleep problems.

Magnesium glycinate for sleep

Magnesium glycinate is magnesium bound to glycine, an amino acid. It is the most common pick for sleep because it is well absorbed and gentle on the stomach, and Cleveland Clinic adds that glycine itself may help you relax. What it does not have is proof that it works better for sleep than other forms: Harvard Health notes that most forms of magnesium have not been studied for sleep at all.

So glycinate is a sensible choice for comfort, not a proven sleep aid. For a side-by-side of glycinate and citrate, including cost, see our guide to magnesium glycinate vs citrate.

Which magnesium is best for sleep?

Forms of magnesium for sleep
FormFor sleepWhy
Glycinate (bisglycinate)The usual pickWell absorbed and gentle on the stomach; not proven better for sleep
L-threonateLimited evidenceDesigned to reach the brain more easily, but sleep evidence is limited; a label amount of 2,000 mg may give only about 140 to 150 mg of elemental magnesium
CitrateNot ideal at nightIt has a laxative effect, which can disrupt sleep
OxideNot idealPoorly absorbed; used mainly as a laxative or antacid
Sprays, oils and lotionsNot supportedCleveland Clinic says sprays do not absorb well enough to help sleep; a 2017 review found the case for magnesium through the skin scientifically unsupported

Sources: Cleveland Clinic, Harvard Health, Gröber et al. 2017.

The magnesium spray and lotion trend deserves a plain answer: a 2017 review in Nutrients looked at the claims and concluded that promoting magnesium through the skin is not supported by science, since healthy skin absorbs very little from outside. A spray can still feel nice as part of a bedtime routine, but it is not a way to raise your magnesium.

How much magnesium for sleep?

The number that counts is the elemental magnesium on the label, not the weight of the whole compound. Harvard Health and Cleveland Clinic both describe 100 to 200 mg a day as a reasonable starting dose.

The NIH Office of Dietary Supplements sets the upper limit for adults at 350 mg a day from supplements and medicines, because more commonly causes diarrhea. That limit does not count magnesium in food. For reference, the NIH's recommended daily amount for women is 310 mg from age 19 to 30 and 320 mg from 31, from food and supplements together, so many people get a good share from what they eat.

When to take magnesium for sleep

Harvard Health suggests taking it one to two hours before bed; Cleveland Clinic suggests about 30 minutes before. Either is reasonable. Because the studies lasted from days to weeks, one night tells you very little, so if you try it, try it consistently for a while and notice whether anything actually changes.

Get magnesium from food first

Cleveland Clinic lists good sources: leafy greens such as spinach and Swiss chard; nuts and seeds such as pumpkin seeds, almonds and cashews; beans and lentils; whole grains such as quinoa, oats and brown rice; dark chocolate; and fish such as salmon. Food magnesium does not count toward the 350 mg limit, and it comes with everything else those foods offer.

Who should be careful with magnesium?

  • Kidney problems: the kidneys clear extra magnesium, so people with kidney disease can build up dangerous levels. Ask a doctor first.
  • Some heart and muscle conditions: Harvard Health lists heart block and myasthenia gravis as reasons to avoid it.
  • Other medicines: magnesium can interact with certain antibiotics, gabapentin, diuretics, thyroid hormone and bisphosphonates (osteoporosis drugs). Ask a pharmacist about timing.
  • Side effects: above 350 mg a day from supplements, diarrhea, nausea and cramps are common. Very high amounts can cause magnesium toxicity, with muscle weakness, low blood pressure and a slow heartbeat.

Cleveland Clinic notes that adults over 65, people with type 2 diabetes, people with gut conditions such as Crohn's or celiac disease, and people with alcohol dependence are more likely to run low on magnesium. If that is you, it is a reason to talk to a doctor, not to guess.

Magnesium vs melatonin

Harvard Health compares the two: melatonin has some evidence that it can shorten the time to fall asleep in insomnia and can work quickly, while magnesium has not shown a consistent benefit. The American Academy of Sleep Medicine does not recommend melatonin for ongoing insomnia either. The article says the two can likely be taken together because they work differently, but that the combination has not been shown to improve sleep.

What helps sleep more reliably

Both Harvard Health and Cleveland Clinic point to cognitive behavioral therapy for insomnia (CBT-I) as a first-line approach for ongoing insomnia. The everyday basics Cleveland Clinic lists are the same ones that work for most people: a consistent sleep schedule, less caffeine and alcohol, a cool and dark bedroom, and no screens right before bed. Our guide on how to fall asleep fast covers them step by step, and if stress is keeping you up, see how to lower cortisol.

If you buy a magnesium supplement

  • Check the elemental magnesium per serving and keep supplements under 350 mg a day.
  • Look for a third-party seal such as USP or NSF. In the US, the FDA does not evaluate supplements before they are sold, and Cleveland Clinic notes that a USP mark means basic quality, not that a product works.
  • Check what else is in it. Some sleep blends add melatonin or other herbs, and some threonate products add vitamins.

Sources: BMC Complement Med Ther (2021): oral magnesium for insomnia in older adults

Before you buy

Questions people ask about this

Does magnesium help you sleep?

It may help a little for some people, but the evidence is thin. Small studies suggest it may shorten the time to fall asleep slightly, while larger reviews have not found a consistent benefit.

What is the best magnesium for sleep?

Magnesium glycinate is the usual choice because it is well absorbed and gentle on the stomach. It has not been proven better for sleep than other forms; most forms have not been studied for sleep at all.

Is magnesium glycinate good for sleep?

It is a comfortable form to try, and glycine may help you relax, but there is no proof it improves sleep more than other forms.

How much magnesium should I take for sleep?

Harvard Health and Cleveland Clinic describe 100 to 200 mg of elemental magnesium as a reasonable starting dose. Keep supplements under the NIH limit of 350 mg a day unless a doctor advises otherwise.

When should I take magnesium for sleep?

Harvard Health suggests one to two hours before bed; Cleveland Clinic suggests about 30 minutes before. Try it consistently for a while, since one night tells you little.

Do magnesium sprays or lotions help you sleep?

Probably not through magnesium. Cleveland Clinic says sprays do not absorb well enough, and a 2017 review found the case for magnesium through the skin unsupported.

Can I take magnesium with melatonin?

Harvard Health says they can likely be taken together because they work differently, but the combination has not been shown to improve sleep. Ask a doctor if you take other medicines.

Who should not take magnesium?

People with kidney disease, heart block or myasthenia gravis should avoid it or ask a doctor first, and it can interact with some antibiotics, diuretics, thyroid hormone, gabapentin and osteoporosis drugs.

Reader notes

Tried this? Tell other readers how it went. Notes are read by a person before they appear.

Add a note

Keep reading

Related notes.

The next edit

Get the next one by email.

One a month, only when we have actually worked something out.

Question 1 of 3

What would you love more of?

Your picks are ready.

Where should we send them?

No daily sends. Unsubscribe in one click.