I got curious about magnesium the way most people do: someone I trust mentioned they take it before bed, said they sleep "deeper," and I wanted to know whether that was a real effect or just a nice ritual.
So I went digging through the actual studies. The answer turned out to be more interesting (and more useful) than "yes, it works." The form matters, the dose matters, and the people who notice the biggest difference tend to share one thing in common.
Here's everything I found, and exactly how I'd use it.

The short version
- What it is: Magnesium is a mineral your body uses in hundreds of processes, including the ones that help you relax and wind down.
- What the research shows: In placebo-controlled trials, adults taking magnesium fell asleep faster and rated their sleep better. A 2025 trial of magnesium bisglycinate found better sleep scores after just four weeks.
- Best form: Magnesium glycinate (also called bisglycinate). It's gentle on the stomach and pairs magnesium with glycine, an amino acid with its own sleep research.
- Dose: Most people do well with 200-350 mg of elemental magnesium a day from supplements.
- Timing: 30-60 minutes before bed, every night. Consistency beats intensity.
- Who notices most: People who don't eat many magnesium-rich foods.
Why magnesium and sleep go together
Magnesium plays a role in calming the nervous system. It helps regulate GABA, the neurotransmitter that tells your brain it's time to slow down, and it's involved in muscle relaxation. That's why you'll often hear it described as a "relaxation mineral."
The catch is that a lot of us don't get enough of it from food. The NIH's recommended daily intake is 400-420 mg for adult men and 310-320 mg for adult women, and national survey data suggest many Americans fall short. Leafy greens, pumpkin seeds, almonds, black beans and dark chocolate are great sources, but most of us aren't eating a handful of pumpkin seeds every day.
So the idea behind magnesium for sleep is simple: top up a mineral that's part of your body's wind-down machinery, then let your natural sleep process do its thing.
What the studies actually found
I wanted real numbers, not vibes. Here are the three studies I think matter most.
1. The 2025 bisglycinate trial (the most relevant one)
This is the study I'd point a friend to first. Researchers at Leibniz University Hannover ran a randomized, double-blind, placebo-controlled trial with 155 adults aged 18-65 who reported poor sleep (Schuster et al., 2025, Nature and Science of Sleep).
The setup: - 250 mg of elemental magnesium a day, as magnesium bisglycinate - Two capsules taken 30-60 minutes before bed - Four weeks
The magnesium group improved more on a standard sleep-quality questionnaire than the placebo group. The effect was modest, but here's the part I found most useful: people who ate the least magnesium in their normal diet improved the most. The researchers flagged them as likely "high responders."
That fits common sense. If you're already eating plenty of magnesium, a supplement has less to add. If your diet is light on greens, nuts and seeds, this is where you're most likely to feel a difference.
2. The meta-analysis: about 17 minutes faster to fall asleep
A 2021 systematic review pooled randomized trials of oral magnesium in older adults who had trouble sleeping (Mah & Pitre, 2021, BMC Complementary Medicine and Therapies). Across the trials, people taking magnesium fell asleep about 17 minutes faster than people on placebo.
Seventeen minutes doesn't sound dramatic until you think about what it means every night: less lying there replaying your inbox, more actual sleep.
3. The original trial that put magnesium on the map
In an earlier double-blind trial, 46 older adults took 500 mg of elemental magnesium or a placebo daily for eight weeks (Abbasi et al., 2012, Journal of Research in Medical Sciences). The magnesium group saw better sleep efficiency, longer sleep time and shorter time to fall asleep, along with higher melatonin and lower cortisol levels.
That dose is higher than most people need. I mention the study because it's the one most often cited, and because the hormone changes help explain why magnesium might help you wind down.
Why glycinate is the form I'd pick
Walk down a supplement aisle and you'll see magnesium oxide, citrate, glycinate, threonate, malate and more. For sleep, I'd go with magnesium glycinate, for three reasons.
1. It's easy on the stomach. Some forms, especially citrate and oxide, have a well-known laxative effect at higher doses. Glycinate is a chelated form (magnesium bound to an amino acid), which tends to be much gentler.
2. It's well absorbed. Chelated forms generally absorb better than magnesium oxide, which is poorly absorbed.
3. You get glycine as a bonus. Glycine is an amino acid with its own sleep research. In one study, taking 3 g of glycine before bed improved how rested people felt the next morning and how quickly they reached deep sleep (Yamadera et al., 2007, Sleep and Biological Rhythms). A glycinate supplement won't give you a full 3 g, but the 2025 trial above delivered about 1.5 g of glycine alongside the magnesium. It's a nice pairing.
Quick note on threonate: it's a newer form marketed for the brain, and it has some promising early research. For a straightforward sleep routine, glycinate is the reliable workhorse.
How much to take: reading the label correctly
This is where most people get confused, so let me save you the headache.
Labels list two numbers that look similar but aren't:
- The compound weight: e.g. "2,500 mg magnesium glycinate." That's magnesium plus the glycine it's bound to.
- Elemental magnesium: the actual magnesium in that dose. This is the number the studies use.
Magnesium makes up only a fraction of magnesium glycinate by weight, so a big compound number means a much smaller elemental number. Always dose by the elemental figure on the Supplement Facts panel.
My rule of thumb: - Start at about 200 mg elemental for the first week. - Move to 250-350 mg if you want more. That range matches the 2025 trial and stays within the NIH's 350 mg daily upper limit for magnesium from supplements (magnesium from food doesn't count toward that limit).
When to take it
30-60 minutes before bed. That's the window the 2025 trial used, and it fits naturally into a wind-down routine.
Two things that help: - Take it every night. Magnesium isn't a knockout pill. The trials ran for weeks, and the benefits built over that time. Give it at least 2-4 weeks before deciding how it's working for you. - Pair it with a cue. I tie mine to brushing my teeth. Same time, same place, no thinking required.
My magnesium wind-down routine
Here's how I'd build magnesium into a full evening routine. It's the "recover hard" part of work hard, play hard, recover hard.
- 90 minutes before bed: dim the lights and drop screen brightness. Bright light late at night pushes your body clock later.
- 60 minutes before bed: take your magnesium glycinate with a glass of water.
- 45 minutes before bed: do something low-key: a book, a stretch, a warm shower.
- 30 minutes before bed: phone goes on the charger, outside the bedroom if you can manage it.
- Lights out at the same time every night, weekends included. A steady schedule is one of the most powerful sleep habits there is.
Food first, supplement second
A supplement works best on top of a decent diet, not instead of one. Easy ways to eat more magnesium:
- Pumpkin seeds: one of the richest sources around; a small handful goes a long way
- Almonds and cashews: great desk snacks
- Spinach: toss it into eggs or a smoothie
- Black beans and edamame: easy lunch upgrades
- Dark chocolate (70%+): yes, really
If you eat these most days, you may need less from a supplement. If you rarely do, you're exactly the person the 2025 trial suggests will notice the most.
Common questions
Can I take magnesium every night? Yes. Daily use is how it was studied. Stick within 200-350 mg elemental from supplements.
Glycinate or citrate? For sleep, glycinate. Citrate is better known for supporting regularity. We compare the two side by side in which magnesium is best for sleep.
Will I feel groggy in the morning? Magnesium isn't a sedative, so most people don't. If anything, the goal is waking up feeling more rested.
Can I combine it with other sleep supplements? Many people do. Andrew Huberman's well-known sleep stack pairs magnesium with apigenin and L-theanine, and Rhonda Patrick takes magnesium glycinate every night as part of her daily stack.
The bottom line
Magnesium is one of the simplest upgrades you can make to your evenings. Pick glycinate, dose by elemental magnesium (200-350 mg), take it 30-60 minutes before bed, and give it a few weeks. If your diet is light on greens, nuts and seeds, you're the person most likely to feel it.
Our Magnesium Glycinate is a simple, chelated glycinate capsule that slots right into this routine.
Work hard, play hard, recover hard.
References
- Schuster J, et al. Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized, placebo-controlled trial. Nature and Science of Sleep. 2025. doi:10.2147/NSS.S524348
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis. BMC Complementary Medicine and Therapies. 2021;21:125. doi:10.1186/s12906-021-03297-z
- Abbasi B, et al. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. Journal of Research in Medical Sciences. 2012;17(12):1161-1169.
- Yamadera W, et al. Glycine ingestion improves subjective sleep quality in human volunteers, correlating with polysomnographic changes. Sleep and Biological Rhythms. 2007;5(2):126-131. doi:10.1111/j.1479-8425.2007.00262.x
- National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals.
These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.