Which Magnesium Is Best for Sleep and Anxiety?

Magnesium glycinate is the best all-around choice for both sleep and anxiety, offering strong absorption, calming effects from its glycine component, and minimal digestive side effects. Magnesium L-threonate is the stronger pick if anxiety is your primary concern, thanks to its unique ability to cross into the brain. Both forms outperform cheaper options like magnesium oxide, which your body barely absorbs.

The “best” form depends on whether you’re more focused on falling asleep, quieting anxious thoughts, or both. Here’s what the evidence says about each option and how to choose.

How Magnesium Affects Sleep and Anxiety

Magnesium works on two systems in your brain simultaneously. First, it blocks a receptor called NMDA that, when overactive, keeps your nervous system in a heightened, excitable state. Think of it as turning down the volume on the signals that keep your brain wired. Second, it activates the GABA system, your brain’s primary “calm down” pathway, the same system targeted by anti-anxiety medications.

This dual action is why magnesium helps with both sleep and anxiety at once. It also promotes physical relaxation by reducing calcium buildup in muscle cells, which is why people who are magnesium-deficient often feel physically tense alongside their mental restlessness. The form of magnesium you choose determines how much of it actually reaches your brain and muscles, and whether the attached compound adds any bonus effects.

Magnesium Glycinate: Best for Sleep

Magnesium glycinate pairs magnesium with glycine, an amino acid that has its own sleep-promoting properties. In animal studies, oral glycine shortened the time to fall into deep sleep by about 18 minutes (from roughly 55 minutes down to 37 minutes) and stabilized sleep without disrupting normal sleep architecture. That means you’re getting a calming effect from the magnesium itself plus a separate sleep benefit from the glycine.

Glycinate is an organic salt, which means it dissolves well and absorbs efficiently in the gut. Organic magnesium salts consistently outperform inorganic forms like magnesium oxide in absorption studies. Equally important for a supplement you’ll take daily: glycinate is one of the gentlest forms on your stomach. Unlike citrate or oxide, it rarely causes loose stools or cramping, even at higher doses. This makes it practical for nightly use over weeks and months.

If your main problem is lying awake at night, waking frequently, or feeling like your sleep isn’t restorative, glycinate is the form to start with.

Magnesium L-Threonate: Best for Anxiety

Most magnesium supplements raise magnesium levels in your blood and muscles but struggle to increase levels in the brain. Magnesium L-threonate is the exception. Developed by researchers at MIT, this compound was shown to raise magnesium concentrations in cerebrospinal fluid (the fluid surrounding your brain) by 7% to 15% within 24 days in animal studies. Other forms, including citrate, glycinate, chloride, and gluconate, failed to produce a similar increase when compared directly.

This matters because anxiety is primarily a brain phenomenon. If magnesium can’t get past the blood-brain barrier in meaningful amounts, its anti-anxiety effects are limited to indirect pathways. L-threonate’s ability to deliver magnesium directly to brain cells makes it more targeted for anxious thoughts, racing mind, and the kind of mental tension that keeps you on edge during the day or spiraling at bedtime.

The tradeoff: L-threonate contains less elemental magnesium per capsule than glycinate, so you typically need more capsules to hit a useful dose. It also tends to cost more. But if anxiety is the bigger issue for you, L-threonate is worth the premium.

Magnesium Citrate: A Decent Middle Ground

Magnesium citrate absorbs well and is widely available at a lower price point than glycinate or L-threonate. One study using 320 mg of magnesium citrate over seven weeks found improvements in overall sleep quality scores among adults with sleep complaints.

The catch is that citrate has a well-known laxative effect. At higher doses, it draws water into the intestines, which is why it’s also sold as a bowel prep. At moderate supplement doses (200 to 300 mg), some people tolerate it fine, but others experience loose stools or cramping that makes it hard to stick with. If you’ve tried citrate and had digestive issues, switching to glycinate usually solves the problem.

Citrate also doesn’t offer the bonus brain-delivery of L-threonate or the glycine sleep benefits of glycinate. It’s a reasonable budget option but not the strongest choice for either sleep or anxiety specifically.

Forms to Skip

Magnesium oxide packs the most elemental magnesium per pill but has the worst absorption. It dissolves poorly, and absorption studies consistently rank it at the bottom. Much of what you swallow passes straight through without entering your bloodstream. It’s effective as a laxative or antacid, but for sleep and anxiety, you’re largely wasting your money.

Magnesium sulfate (Epsom salt) is meant for baths and topical use. There’s no strong evidence that soaking in it raises your magnesium levels enough to affect sleep or mood. Magnesium chloride and magnesium malate absorb reasonably well but don’t bring the targeted benefits that glycinate or L-threonate offer for sleep and anxiety.

What the Clinical Evidence Shows

In clinical trials, magnesium supplementation improved sleep efficiency from 75% to 85%, a meaningful jump that translates to spending more of your time in bed actually asleep rather than staring at the ceiling. Participants also fell asleep faster and logged more total sleep time.

For anxiety, the results are similarly encouraging. In one trial, nearly 42% of participants experienced at least a 50% reduction in anxiety scores, with the average score dropping by about 12 points on a standard clinical scale. Another placebo-controlled trial found that the magnesium group improved significantly more than placebo on both clinician-rated and self-reported anxiety measures, with 45% of the magnesium group responding compared to 32% on placebo.

Most of these trials ran for six to eight weeks, which is a reasonable window to expect noticeable changes. Some people report feeling calmer within the first week, but the full effect on sleep quality and anxiety tends to build gradually.

How Much to Take

The recommended daily intake for magnesium is 310 to 320 mg for adult women and 400 to 420 mg for adult men, depending on age. Most people don’t reach these amounts through diet alone, which is why supplementation can make a noticeable difference.

The tolerable upper limit for supplemental magnesium (meaning from pills, not food) is 350 mg per day for adults. Going above this doesn’t improve results and increases the risk of digestive side effects, particularly diarrhea. A practical approach: start with 200 mg taken about an hour before bed and increase to 300 to 350 mg if you don’t notice improvement after two weeks.

Keep in mind that the amount listed on a supplement label is often the total weight of the compound, not the elemental magnesium. A 500 mg capsule of magnesium glycinate might contain only 70 to 100 mg of actual magnesium. Check the “elemental magnesium” line in the Supplement Facts panel to know what you’re actually getting.

Who Should Be Cautious

Your kidneys are responsible for clearing excess magnesium from your body. If you have chronic kidney disease, your ability to excrete magnesium is reduced, and supplementing without medical guidance can lead to dangerously high blood levels. This is especially relevant for people on dialysis or with significantly reduced kidney function.

Proton pump inhibitors, commonly prescribed for acid reflux, reduce intestinal magnesium absorption. If you take one of these medications, you may absorb less from your supplement than expected. Magnesium can also interfere with the absorption of certain antibiotics and other medications, so spacing your supplement at least two hours away from other pills is a good practice.

Choosing the Right Form for You

  • Mainly trouble sleeping: Magnesium glycinate. The glycine component adds its own sleep-promoting effect, absorption is strong, and digestive side effects are rare.
  • Mainly anxiety: Magnesium L-threonate. It’s the only form shown to meaningfully raise magnesium levels in the brain, where it can directly influence the neural pathways driving anxious thoughts.
  • Both sleep and anxiety: Start with magnesium glycinate for its combined benefits. If anxiety remains a problem after four to six weeks, consider switching to L-threonate or adding a small dose alongside your glycinate.
  • On a budget: Magnesium citrate delivers decent absorption at a lower cost, as long as your stomach can handle it.

Whichever form you choose, consistency matters more than the first dose. Magnesium’s effects on sleep and anxiety build over weeks as your body’s levels normalize, especially if you’ve been running low for a while.