Last reviewed: November 2026

Magnesium is one of the most popular supplements for people over 50, mostly because of two promises: better sleep and fewer night-time leg cramps. Plenty of people take it every night and feel nothing. That does not always mean magnesium is useless. Often the expectation, the form, or the reason for taking it is off. Below is what the research actually supports, including two newer trials, the three most common mistakes, and a simple way to decide whether it is worth trying.

Quick answer

Magnesium may modestly help some adults fall asleep a little faster, especially if their intake from food is low. The evidence is small and of low quality, it does not reliably prevent ordinary leg cramps in older adults, and the form and dose matter. Food comes first, and anyone with kidney disease should not supplement without a doctor.

Woman in her fifties in bed at night reaching for a glass of water and a supplement dish on her nightstand

Why Magnesium Matters More After 50

Magnesium is involved in hundreds of reactions in the body, including muscle contraction, nerve signaling, blood sugar control and blood pressure regulation. According to the NIH Office of Dietary Supplements, older adults tend to eat less magnesium than younger adults, absorb less of it from the gut, and lose more of it through the kidneys. Several common medications in this age group can lower levels further (more on that below).

The recommended daily intake from all sources for adults 51 and older is 420 mg for men and 320 mg for women. Many Americans fall short. A review in Nutrition Reviews (Rosanoff et al., 2012) estimated that 48% of Americans got less magnesium from food than they need, based on national survey data from 2005–2006.

Man in his fifties gently massaging his calf muscle while sitting on the edge of a bed at night

What the Sleep Research Actually Shows

The best summary for older adults is a 2021 systematic review and meta-analysis in BMC Complementary Medicine and Therapies (Mah & Pitre). It pooled three small randomized trials with 151 older adults in three countries. People taking oral magnesium fell asleep about 17 minutes faster on average than those on placebo. Total sleep time rose by about 16 minutes, but that change was not statistically clear. The authors rated the evidence as low to very low quality and said it was too weak for doctors to make firm recommendations.

One of those trials (Abbasi et al., 2012) gave 46 older adults with insomnia 500 mg of magnesium or a placebo daily for 8 weeks. The magnesium group improved on insomnia severity, time to fall asleep and sleep efficiency, and had higher melatonin levels, although total sleep time did not clearly differ. It is an encouraging result, but it is one small study, in people whose diets may have been low in magnesium to begin with.

Two newer trials add a little more detail:

Honest reading: magnesium is not a sleeping pill. If it helps, the effect is usually small, and it is most likely to show up in people whose intake was low.

Overhead view of magnesium-rich foods on a wooden table - leafy greens, almonds, pumpkin seeds, dark chocolate, whole grains

Leg Cramps: Weaker Evidence Than the Marketing

Night-time calf cramps are the other big reason people buy magnesium. The 2020 Cochrane review (Garrison et al.) pooled the available randomized trials. In the five trials of ordinary (idiopathic) cramps, mostly in older adults, differences in cramp frequency between magnesium and placebo were small and not statistically significant. The authors concluded that older adults with cramps are unlikely to benefit. Cramps in pregnancy and in people with a real deficiency are separate questions.

Frequent cramps can also come from medications, dehydration, heavy sweating, nerve problems or circulation issues. If cramps are new, severe, or come with leg pain when you walk, talk to a doctor instead of just adding a supplement. Our free artery health checklist covers circulation warning signs worth mentioning at that visit, and our guide to electrolyte drinks after 50 explains when fluids and minerals actually matter.

For ordinary night cramps, a gentle calf stretch before bed and flexing your foot upward when a cramp starts are simple first steps.

3 Common Mistakes When Magnesium “Isn’t Working”

Mistake 1: Expecting it to work like a sleeping pill. The studies show a change of minutes, not hours, and only in some people. If you lie awake because of pain, a full bladder, caffeine after lunch, alcohol, a late heavy meal, or loud snoring with pauses in breathing (possible sleep apnea), magnesium will not fix the cause. Our article on sleep and cortisol covers the habits that usually matter more.

Mistake 2: The wrong form or the wrong dose. The NIH notes that forms that dissolve well in liquid (citrate, lactate, aspartate and chloride) are absorbed more completely than magnesium oxide and sulfate. Many cheap tablets are magnesium oxide, a common laxative ingredient, so they may cause loose stools more often than better sleep. Labels can also mislead: “500 mg magnesium glycinate” usually means 500 mg of the compound, which contains far less elemental magnesium. Check the elemental amount on the Supplement Facts panel.

More is not better. For adults, the NIH upper limit for magnesium from supplements is 350 mg per day unless a doctor advises otherwise. Above that, diarrhea, nausea and cramping become more likely. Magnesium from food does not count toward this limit.

Mistake 3: Ignoring what drains it, and who should not take it.

Food First, Then a Simple Plan

Approximate amounts per serving, from the NIH food table:

Food Serving Magnesium (approx.)
Pumpkin seeds, roasted 1 oz 156 mg
Chia seeds 1 oz 111 mg
Almonds, dry roasted 1 oz 80 mg
Spinach, boiled ½ cup 78 mg
Cashews, dry roasted 1 oz 74 mg
Black beans, cooked ½ cup 60 mg
Peanut butter, smooth 2 tbsp 49 mg

A handful of pumpkin seeds plus a serving of beans or leafy greens covers a big share of the daily target, with fiber and protein as a bonus. Protein matters after 50 too (see how much protein you really need).

  1. Check your plate for a week. If you rarely eat nuts, seeds, beans, whole grains or leafy greens, your intake is probably low. Fix that first.
  2. Rule out the usual sleep thieves: caffeine after noon, alcohol, late meals, screens in bed, and snoring with breathing pauses.
  3. If you still want to try a supplement and your doctor agrees, choose a well-absorbed form (such as citrate or glycinate), stay within 350 mg of elemental magnesium a day from supplements, and take it consistently for 3–4 weeks before judging.
  4. Stop and call your doctor if you get diarrhea, feel weak or dizzy, or have kidney problems.

Frequently Asked Questions

Does magnesium help you sleep?

It may help some older adults fall asleep slightly faster (about 17 minutes in a pooled analysis of three small trials), but the evidence is low quality. It is not a substitute for treating the real cause of poor sleep.

Which type of magnesium is best for sleep?

No form has been proven best. Forms that dissolve well (citrate, glycinate, lactate, chloride) are absorbed better than magnesium oxide. Glycinate and L-threonate have small trials behind them, but neither has strong, independent evidence yet.

Can magnesium stop leg cramps at night?

For typical cramps in older adults, a 2020 Cochrane review found it is unlikely to make a meaningful difference. New or severe cramps deserve a checkup.

Is it safe to take magnesium every night?

For most healthy adults, staying within 350 mg a day from supplements is considered safe. People with kidney disease, or those on certain antibiotics or osteoporosis drugs, should check with their doctor or pharmacist first.

The Takeaway

Magnesium is an important mineral that many adults over 50 do not get enough of, and closing that gap with food is worthwhile on its own. As a sleep aid, it offers a modest benefit at best, mostly for people whose intake was low. For ordinary leg cramps, the best evidence says it probably will not help much. If you try it, pick a well-absorbed form, keep supplements at or under 350 mg a day, give it a few weeks, and check with your doctor if you take reflux medicine, water pills or osteoporosis drugs, or if you have kidney problems. Other nutrients often run low after 50 too; see our guide to vitamin D after 50.

Free PDF guide

Free: The 2-Day Strength Plan for Adults Over 50

A simple 4-week, at-home routine: two short sessions a week, no gym required. Includes the CDC chair-stand test and a printable progress sheet.

Sources

  1. NIH Office of Dietary Supplements. “Magnesium: Fact Sheet for Health Professionals.” ods.od.nih.gov
  2. Mah J, Pitre T. “Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis.” BMC Complementary Medicine and Therapies (2021). PubMed 33865376
  3. 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). PubMed 23853635
  4. 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
  5. Hausenblas HA et al. “Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial.” Sleep Medicine: X (2024). PubMed 39252819
  6. Garrison SR et al. “Magnesium for skeletal muscle cramps.” Cochrane Database of Systematic Reviews (2020). doi:10.1002/14651858.CD009402.pub3
  7. Rosanoff A, Weaver CM, Rude RK. “Suboptimal magnesium status in the United States: are the health consequences underestimated?” Nutrition Reviews (2012). doi:10.1111/j.1753-4887.2011.00465.x
  8. U.S. FDA Drug Safety Communication (March 2, 2011): Low magnesium levels can be associated with long-term use of proton pump inhibitor drugs (PPIs), as summarized in the NIH fact sheet above.

This article is for educational purposes only and is not a substitute for professional medical advice. Always consult your doctor before making changes to your diet, exercise, or supplement routine. Some links on this site may be affiliate links, meaning we may earn a small commission at no extra cost to you.

Leave a Reply

Your email address will not be published. Required fields are marked *