When to Take Magnesium, and Does It Really Help You Sleep?

When to Take Magnesium, and Does It Really Help You Sleep?

Short answer: you can take magnesium at any time of day. There's no clear evidence that one time is best; taking it consistently every day matters more. If you take it for sleep, many people choose the evening or bedtime, and if it upsets your stomach, taking it with food helps.

This article covers how much magnesium you need per day, how the different forms compare, what research says about magnesium and sleep, and who should be careful.

How much magnesium do you need per day?

The US National Institutes of Health (NIH) recommends these daily amounts for adults (NIH ODS):

Recommended per day (all sources)
Men 400–420 mg
Women 310–320 mg
Upper limit from supplements and medicines 350 mg

Note that the 350 mg limit counts only magnesium from supplements and medicines, not from food. If you take several supplements, for example a multivitamin plus magnesium, add up the amount from all of them to stay under this limit. Read more about combining supplements in The Margin of Safety.

Food sources: legumes, nuts, seeds, whole grains and green leafy vegetables such as spinach, as well as milk and yogurt (NIH ODS).

When to Take Magnesium, and Does It Really Help You Sleep?

How do the forms of magnesium differ?

Magnesium in supplements comes as several different salts, which are absorbed differently. NIH notes that magnesium aspartate, citrate, lactate and chloride are absorbed more easily (NIH ODS).

Form Notes
Magnesium glycinate (bisglycinate) Bound to the amino acid glycine; popular in sleep and relaxation formulas. See the magnesium glycinate page.
Magnesium citrate Well absorbed, but can cause loose stools in some people.
Magnesium oxide High magnesium per tablet and inexpensive; also used as a laxative and antacid.

When reading a label, look at the amount of elemental "magnesium" you actually get, not the weight of the whole compound, because the two numbers differ a lot. Learn more in Why understanding supplement labels matters.

Does magnesium really help you sleep?

There's some evidence, but it isn't strong. A 2021 meta-analysis of 3 trials in 151 older adults with insomnia found that people taking magnesium fell asleep about 17 minutes faster than those on placebo. Total sleep time rose by about 16 minutes, but this was not statistically significant. The authors rated the evidence as low to very low quality (Mah & Pitre, 2021).

In short, magnesium may help some people and is cheap and easy to find, but don't expect sleeping-pill effects, and pair it with better sleep habits. Read more in Can't sleep? What to do.

When to take it: practical tips

  • Focus on consistency. Take it at the same time every day so it becomes a habit.
  • If you take it for sleep, many people choose the evening or bedtime.
  • If magnesium upsets your stomach, take it with food or split it into 2 doses.
  • If you take certain medicines, such as some antibiotics or bisphosphonates for osteoporosis, space them apart from magnesium, because magnesium can reduce how well they're absorbed. Ask a pharmacist about the right gap (NIH ODS).

Side effects and who should be careful

Magnesium from food generally causes no problems, but large amounts from supplements or medicines can cause diarrhea, nausea and stomach cramps. Very high amounts can cause an irregular heartbeat (NIH ODS).

Talk to a doctor or pharmacist first if you:

  • Have kidney disease
  • Regularly take diuretics, antacids or ulcer medicines, antibiotics, or osteoporosis medicines
  • Already take very high-dose zinc, which can interfere with magnesium absorption
  • Are pregnant or breastfeeding

Who is more likely to be low in magnesium: NIH lists people with digestive conditions such as Crohn's or celiac disease, people with type 2 diabetes, people with long-term heavy alcohol use, and older adults.

When to Take Magnesium, and Does It Really Help You Sleep?

Summary

  • Take it at any time; consistency matters more than timing.
  • Men need 400–420 mg and women 310–320 mg per day from all sources, with no more than 350 mg combined from supplements.
  • Evidence for sleep is limited; in older adults it may help you fall asleep about 17 minutes faster.
  • Diarrhea is the most common side effect. People with kidney disease or on certain medicines should check with a doctor first.

Wondering whether magnesium suits you? Try chatting with Dr. good4u, or see every ingredient and amount in g4u Deep Sleep.

Frequently asked questions

Can I take magnesium every day?

Yes, for healthy adults taking no more than 350 mg a day from supplements, per the NIH limit. If you have kidney disease or take regular medication, check with a doctor first.

Can I take magnesium on an empty stomach?

Yes, but some people get stomach upset or loose stools. If that happens, take it with food instead.

Can I take magnesium with a multivitamin?

Usually yes, but keep total magnesium from all products under 350 mg a day, and if your multivitamin contains very high-dose zinc, consider taking them at different times.

Magnesium gives me diarrhea. What should I do?

Try a lower amount, split it into 2 doses, or take it with food. If it doesn't improve, stop and ask a pharmacist.

This article is for general information and is not medical advice. Dietary supplements are not medicines and are not intended to diagnose, treat, cure or prevent any disease. Eat a varied, balanced diet, and talk to a doctor or pharmacist before starting any supplement, especially if you have a health condition, take medication, or are pregnant or breastfeeding.

References

  • National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Consumers
  • Mah, J., & Pitre, T. (2021). Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis. BMC Complementary Medicine and Therapies. PubMed
Back to blog

Talk To Us — We’re Listening

Contact form