Skip to content
Naturopathic MedicalEducation and practice-administration resource

Planning guide

Magnesium for Sleep: Which Form and What the Evidence Shows

Evidence that magnesium improves sleep is limited and mostly low quality. Small trials suggest modest benefits, mainly for people with poor sleep or low intake. Stay within the 350 mg supplement upper limit unless a clinician advises otherwise, and check your medicines first.
By Ekitore Adamase, Editor and publisherSources checked Published

Short answer: Magnesium may help some people sleep a little better, but the evidence is thin. The National Center for Complementary and Integrative Health (NCCIH) says there isn't enough rigorous scientific evidence to know whether magnesium supplements help with sleep problems. [S01] Small trials suggest modest improvements, mainly in people who already sleep poorly or eat little magnesium. [S03] [S04] If you try it, stay within the 350 mg daily upper limit for supplemental magnesium unless a health care provider recommends more, and check your medicines first. [S02] [S06]

Magnesium is one of the most popular "natural" sleep aids. This guide covers what the research actually shows, how the common forms differ, how much is considered safe, and when to talk to a clinician before taking it.

What the research shows

NCCIH, part of the National Institutes of Health, describes the research on magnesium for sleep as very limited. [S01] It points to two reviews:

  • A 2021 review of three studies with 151 participants suggested that magnesium might help older adults with insomnia fall asleep faster, but the studies were of low quality. [S01]
  • A review of nine studies with 7,582 participants found conflicting results, and its authors called for larger randomized controlled trials lasting more than 12 weeks. [S01]

The 2021 review, by Mah and Pitre, gives more detail. Across three randomized trials in older adults, people taking magnesium fell asleep about 17 minutes faster on average than people taking a placebo. [S03] Total sleep time rose by about 16 minutes, but that difference was not statistically significant. [S03] The authors rated the studies at moderate to high risk of bias and the overall quality of evidence as low to very low. [S03]

Two newer trials have tested specific forms:

  • Magnesium bisglycinate (2025). In a placebo-controlled trial of 155 adults aged 18 to 65 who reported poor sleep, 250 mg of elemental magnesium a day as bisglycinate lowered insomnia severity scores by 3.9 points after four weeks, compared with 2.3 points on placebo. [S04] The effect was small, and the authors described sleep as "modestly improved." [S04] In an exploratory analysis, people who reported eating less magnesium at the start improved more. [S04]
  • Magnesium L-threonate (2024). In a 21-day trial of 80 adults aged 35 to 55 with self-reported sleep problems, 1 g a day of magnesium L-threonate improved deep sleep and REM sleep scores measured with an Oura ring, as well as some questionnaire measures. [S05] The product used contains about 75 mg of elemental magnesium per gram, so the daily dose supplied roughly 75 mg of magnesium itself. [S05] The study was funded by AIDP Inc., and some of its authors are affiliated with the company. [S05]

Taken together, these studies point to a possible small benefit for some people, not a reliable sleep treatment. None of these trials followed people for longer than eight weeks. [S03] [S04] [S05]

Which form of magnesium is best for sleep?

No form has been shown to work best for sleep, because the forms have not been tested against each other in sleep trials. The trials in the 2021 review used magnesium oxide and magnesium citrate tablets. [S03] The newer trials used bisglycinate and L-threonate. [S04] [S05]

What the Office of Dietary Supplements (ODS) does report is how well different forms are absorbed and how often they cause digestive side effects:

Form

What ODS reports

Aspartate, citrate, lactate, chloride

Absorbed more completely than oxide and sulfate in small studies [S06]

Oxide, sulfate

Absorbed less completely in those studies [S06]

Carbonate, chloride, gluconate, oxide

The forms most commonly reported to cause diarrhea [S06]

ODS notes that the absorption studies were small. [S06] Glycinate and L-threonate are not covered in that comparison, so the table cannot tell you how they rank.

When comparing products, read the Supplement Facts panel. ODS says the panel lists the amount of elemental magnesium, the magnesium itself, rather than the weight of the whole compound. [S06] That is the number to compare across brands and against the upper limit.

How much magnesium is safe?

There is no established dose of magnesium for sleep. The trials used a range of amounts: 320 mg to 729 mg of elemental magnesium a day in the 2021 review, 250 mg a day in the bisglycinate trial, and about 75 mg a day in the L-threonate trial. [S03] [S04] [S05]

For safety, the key number is the tolerable upper intake level (UL) for supplements:

  • Adults and children 9 to 18 years: 350 mg a day of supplemental magnesium [S02]
  • Children 4 to 8 years: 110 mg a day [S02]

The UL applies only to magnesium from supplements and medicines, not magnesium in food. [S06] Some of the older trials used more than 350 mg a day. [S03] NCCIH advises against going above the upper limit unless a health care provider recommends it. [S02]

NCCIH warns that high intakes from supplements can cause diarrhea, nausea and abdominal cramping, and that extremely high intakes can cause an irregular heartbeat or cardiac arrest. [S01] ODS adds that the risk of magnesium toxicity rises in people with impaired kidney function, because the kidneys can't remove excess magnesium as well. [S06]

Food first: how much magnesium you need

Adults need 310 to 420 mg of magnesium a day from all sources, depending on age and sex. [S06] Good food sources include green leafy vegetables, legumes, nuts, seeds and whole grains. [S06]

Food matters here because the bisglycinate trial found larger improvements in people who reported low magnesium intake from food, though that analysis was exploratory and relied on a single self-reported question. [S04]

Medicines that interact with magnesium

Magnesium supplements interact with several common medicines. ODS lists these: [S06]

  • Bisphosphonates (osteoporosis drugs such as alendronate): magnesium can reduce their absorption, so take them at least 2 hours apart.
  • Tetracycline and quinolone antibiotics: magnesium can bind them. Take these antibiotics at least 2 hours before, or 4 to 6 hours after, a magnesium supplement.
  • Loop and thiazide diuretics: long-term use can increase the amount of magnesium lost in urine.
  • Proton pump inhibitors (PPIs): taking them for more than a year can cause low blood magnesium.

If you take any of these, ask your pharmacist or prescriber about timing before you start. Our guide to herb-drug interactions explains how to screen supplements against your medicine list in a structured way.

How magnesium compares with other sleep approaches

Magnesium is one of several complementary approaches people try for sleep, and it is not the best supported. NCCIH notes that multicomponent cognitive behavioral therapy for insomnia (CBT-I) remains the most strongly recommended treatment for insomnia. [S02] CBT-I often includes relaxation techniques such as progressive relaxation, abdominal breathing and guided imagery. [S02]

NCCIH also suggests building sleep habits around a few steps: [S02]

  • Keep a consistent sleep schedule.
  • Avoid caffeine, nicotine, alcohol, large meals, strenuous exercise and bright artificial light, such as from a TV, computer or phone, too close to bedtime.
  • Spend time outside every day.
  • Sleep in a quiet, cool, dark room.

Should you try magnesium for sleep?

Magnesium is a reasonable thing to discuss with a clinician if you want to try a supplement, but the evidence does not support it as a dependable sleep treatment. [S01] [S03] A few practical points follow from the research:

  • Expect a small effect, if any. The best recent trial found a small improvement after four weeks. [S04]
  • Check the elemental dose. Compare products by elemental magnesium and stay at or below 350 mg a day from supplements unless a health care provider recommends more. [S02] [S06]
  • Watch your digestion. High intakes from supplements can cause diarrhea, nausea and cramping. [S01]
  • Ask first if you have kidney disease or take one of the medicines listed above. [S06]

NCCIH notes that larger, well-designed trials lasting more than 12 weeks are still needed. [S01] If sleep problems continue, talk with a clinician. Our guide to what a naturopathic doctor does explains what that kind of visit covers.

Questions

What is the best form of magnesium for sleep?

No form has been proven best. The newest placebo-controlled trials tested magnesium bisglycinate and magnesium L-threonate, and each found modest improvements, but neither has been compared head to head with other forms. The older trials in a 2021 review used magnesium oxide and citrate.

How much magnesium should I take for sleep?

There is no established sleep dose. The bisglycinate trial used 250 mg of elemental magnesium a day. For adults and teens 9 and older, the upper limit for magnesium from supplements is 350 mg a day unless a health care provider recommends more.

Is magnesium glycinate good for sleep?

A 2025 trial of magnesium bisglycinate in 155 adults with poor sleep found a small improvement in insomnia scores after four weeks compared with placebo. The researchers described the effect as modest.

Can I take magnesium every night?

The trials lasted roughly three to eight weeks, so long-term nightly use has not been well studied. High supplement doses can cause diarrhea and cramping, so stay within the 350 mg upper limit unless a provider recommends more. People with kidney problems should ask a clinician first.

Does magnesium interact with medications?

Yes. Magnesium can bind some antibiotics and bisphosphonates, so doses need to be spaced apart. Some diuretics and long-term proton pump inhibitor use can lower magnesium levels. Ask your pharmacist or prescriber before starting a supplement.

  • Guide

    Apple Cider Vinegar: What It Can and Can't Do

    Vinegar with a meal modestly lowers the blood sugar spike afterward, and small trials suggest small effects on weight and fasting glucose. The evidence is short-term and mixed, and the most-cited weight-loss trial was retracted in 2025.

    Read the guide: Apple Cider Vinegar: What It Can and Can't Do
  • Guide

    Ashwagandha: Benefits, Side Effects and Evidence

    Small trials suggest some ashwagandha extracts may ease stress and modestly improve sleep, but the studies are short, mostly from India and vary in product. It is usually well tolerated for up to three months, with rare liver injury and possible thyroid effects.

    Read the guide: Ashwagandha: Benefits, Side Effects and Evidence

Spotted an error or an outdated source? Tell us which page and what changed. Please do not include sensitive information.

Report a correction