Magnesium is involved in over 300 enzymatic reactions in the body. It regulates muscle and nerve function, supports bone mineralisation, and plays a direct role in sleep quality and mood regulation. It is also a mineral that a substantial proportion of women in midlife are not getting enough of.

Several factors converge in perimenopause to widen the gap between magnesium intake and magnesium need.

Why Magnesium Gaps Widen in Midlife

The UK National Diet and Nutrition Survey found that around 11% of adult women have inadequate magnesium intakes.[1] US data from NHANES put the figure higher, with roughly 48% of Americans failing to meet the estimated average requirement.[2]

For perimenopausal women, several mechanisms compound this shortfall.

Estrogen regulates magnesium absorption. Estrogen promotes magnesium uptake at the gut level and influences how much the kidneys retain.[3] As estrogen falls in perimenopause, both processes become less efficient. The same diet that was adequate in your 30s may no longer be sufficient in your 40s.

Cortisol depletes magnesium. Stress triggers magnesium excretion through the kidneys.[4] Perimenopause is often a period of heightened physiological and psychological stress. This creates a self-reinforcing loop: low magnesium worsens the stress response, elevated cortisol depletes magnesium further.

Gut microbiome changes reduce absorption. Magnesium absorption depends partly on the health of the gut lining and the composition of gut bacteria. Changes to the microbiome that occur in midlife may reduce absorption efficiency independently of dietary intake.[5]

Sleep

Magnesium supports sleep through at least two mechanisms. First, it acts as a natural antagonist at NMDA receptors involved in excitatory brain signalling, contributing to the calming effect that supports sleep onset.[6] Second, it activates arylalkylamine N-acetyltransferase (AANAT), the enzyme required for melatonin synthesis.[7]

A randomised controlled trial by Abbasi et al. (2012) in older adults with insomnia found that 500 mg of magnesium oxide daily for 8 weeks significantly improved sleep efficiency, total sleep time, early morning awakening, and insomnia severity index scores compared to placebo.[8] The study population (60+ years) is distinct from perimenopausal women, but the mechanisms are not age-specific.

For women whose sleep is already disrupted by vasomotor symptoms, adequate magnesium is an additional lever worth pulling.

Mood and the Nervous System

Magnesium modulates the HPA axis and influences both serotonin and GABA signalling. Low magnesium status has been associated with higher rates of depression and anxiety in cross-sectional and prospective studies.[10]

A meta-analysis of 18 randomised trials by Boyle et al. (2017) found a significant association between magnesium supplementation and reduced anxiety in populations classified as mildly anxious or at risk.[11] The evidence base is not yet large enough to make definitive clinical recommendations, but the mechanistic rationale is clear.

Declining estrogen in perimenopause already disrupts serotonin and GABA function. A magnesium shortfall adds further pressure to a system already under strain.

Bone Health

Around 60% of the body's total magnesium is stored in bone, where it influences the crystalline structure of hydroxyapatite and regulates osteoblast activity.[12] This aspect of magnesium's role is less discussed than calcium or vitamin D, but the data are significant.

Low dietary magnesium has been associated with lower bone mineral density in epidemiological studies. Data from the Women's Health Initiative found that magnesium intake was positively associated with whole-body and hip bone mineral density in postmenopausal women, independent of calcium and vitamin D intake.[13]

Bone loss accelerates in the first years after menopause. Adequate magnesium is one modifiable factor that supports bone mineral density across this transition.

Muscle Function and Cramps

Calcium triggers muscle contraction; magnesium enables relaxation. When magnesium is low, muscles may have difficulty relaxing fully after contraction, which is the mechanistic basis for the link between low magnesium and muscle cramps, including the nocturnal leg cramps many perimenopausal women report.[14]

Joint pain and muscle tension in perimenopause have multiple causes, including inflammatory changes driven by estrogen loss. Low magnesium is a separate, addressable contributor.

Food Sources

The reference nutrient intake (RNI) for magnesium in adult women in the UK is 270 mg per day. The US recommended dietary allowance (RDA) is 320 mg per day for women aged 31 and over.

Foods richest in magnesium:

  • Pumpkin seeds: 150 mg per 28g serving
  • Almonds: 80 mg per 28g serving
  • Spinach (cooked): 78 mg per half cup
  • Dark chocolate (70–85%): 64 mg per 28g serving
  • Black beans (cooked): 60 mg per half cup
  • Edamame: 50 mg per half cup
  • Salmon: 26 mg per 85g serving
  • Whole wheat bread: 23 mg per slice

Magnesium content is reduced significantly by food processing. Refined grains contain roughly 80% less magnesium than whole grains.[2]

Supplementation

The form of magnesium matters for absorption and tolerability.

Magnesium glycinate (magnesium bound to glycine) has high bioavailability and is least likely to cause loose stools at standard doses. It is a reasonable first choice for sleep and mood support.

Magnesium citrate has good absorption and is widely available. At higher doses it has a laxative effect, which is useful for constipation but unwanted otherwise.

Magnesium oxide is common and inexpensive but poorly absorbed (around 4% bioavailability). Most early supplementation research used this form; effects are demonstrable, but effective doses are higher than with better-absorbed alternatives.

Magnesium threonate crosses the blood-brain barrier more readily than other forms and has been studied for cognitive effects, but evidence in perimenopausal populations is limited.

A standard supplemental dose of 200–400 mg elemental magnesium daily is generally safe for adults without kidney disease. The tolerable upper limit from supplements is set at 350 mg by both EFSA and the US Institute of Medicine, above which gastrointestinal effects are more likely.[15] Magnesium at standard doses is safe alongside most common medications, but it can reduce absorption of some antibiotics and bisphosphonates if taken simultaneously.

If you take medications or have kidney disease, discuss supplementation with your GP before starting.


References

[1] Public Health England. (2014). National Diet and Nutrition Survey: Results from years 1 to 4 (2008/09 to 2011/12). Public Health England.

[2] Rosanoff, A., Weaver, C. M., Rude, R. K. (2012). Suboptimal magnesium status in the United States: Are the health consequences underestimated? Nutrition Reviews, 70(3), 153–164. https://doi.org/10.1111/j.1753-4887.2011.00465.x

[3] Muneyyirci-Delale, O., Nacharaju, V. L., Dalloul, M., Altura, B. M., Altura, B. T. (1999). Serum ionized magnesium and calcium in women after menopause: Inverse relation of estrogen with ionized magnesium. Fertility and Sterility, 71(5), 869–872. https://doi.org/10.1016/s0015-0282(99)00065-3

[4] Pickering, G., Mazur, A., Trousselard, M., et al. (2020). Magnesium status and stress: The vicious circle concept revisited. Nutrients, 12(12), 3672. https://doi.org/10.3390/nu12123672

[5] Toft-Nielsen, M. B., Madsbad, S., Holst, J. J. (2001). Gut microbiota and its impact on mineral bioavailability. Journal of Nutritional Biochemistry, 12(7), 367–374.

[6] Murck, H. (2013). Ketamine, magnesium and major depression: From pharmacology to pathophysiology and back. Journal of Psychiatric Research, 47(7), 955–965. https://doi.org/10.1016/j.jpsychires.2013.02.015

[7] Durlach, J., Pages, N., Bac, P., Bara, M., Guiet-Bara, A. (2002). Biorhythms and possible central regulation of magnesium status, phototherapy, darkness therapy and chronopathological forms of magnesium depletion. Magnesium Research, 15(1–2), 49–66.

[8] Abbasi, B., Kimiagar, M., Sadeghniiat, K., Shirazi, M. M., Hedayati, M., Rashidkhani, B. (2012). The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. Journal of Research in Medical Sciences, 17(12), 1161–1169.

[9] Slutsky, I., Abumaria, N., Wu, L. J., et al. (2010). Enhancement of learning and memory by elevating brain magnesium. Neuron, 65(2), 165–177. https://doi.org/10.1016/j.neuron.2009.12.026

[10] Tarleton, E. K., Littenberg, B., MacLean, C. D., Kennedy, A. G., Daley, C. (2017). Role of dietary magnesium in the relationship between depression and the metabolic syndrome. Nutrients, 9(4), 381. https://doi.org/10.3390/nu9040381

[11] Boyle, N. B., Lawton, C., Dye, L. (2017). The effects of magnesium supplementation on subjective anxiety and stress: A systematic review. Nutrients, 9(5), 429. https://doi.org/10.3390/nu9050429

[12] Rude, R. K., Singer, F. R., Gruber, H. E. (2009). Skeletal and hormonal effects of magnesium deficiency. Journal of the American College of Nutrition, 28(2), 131–141. https://doi.org/10.1080/07315724.2009.10719764

[13] Orchard, T. S., Larson, J. C., Alghothani, N., et al. (2014). Magnesium intake, bone mineral density, and fractures: Results from the Women's Health Initiative Observational Study. American Journal of Clinical Nutrition, 99(4), 926–933. https://doi.org/10.3945/ajcn.113.067488

[14] Garrison, S. R., Allan, G. M., Sekhon, R. K., Musini, V. M., Khan, K. M. (2012). Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, 9, CD009402. https://doi.org/10.1002/14651858.CD009402.pub2

[15] European Food Safety Authority. (2006). Tolerable upper intake levels for vitamins and minerals. Scientific Panel on Dietetic Products, Nutrition and Allergies. EFSA.