Nutrition

Magnesium

/mæɡˈniːziəm/

Definition

Magnesium is an essential mineral and cofactor in more than 300 enzymatic reactions, including ATP synthesis, DNA replication, and protein production. The fourth most abundant cation in the human body, it governs nerve transmission, muscle contraction and relaxation, and blood glucose regulation. Nearly half of adults in developed nations consume less than the recommended daily requirement.

Standard blood tests measure serum magnesium, which represents only 1% of the body's total magnesium. This makes population-level deficiency difficult to detect through routine clinical screening.

How it works

Magnesium is required for every reaction involving ATP because cellular ATP exists almost exclusively as the MgATP complex; without sufficient intracellular magnesium, the reactions that produce energy, contract muscle fibres, and synthesise proteins cannot proceed. 2 Think of it as an activation key: the substrate is present, but the reaction stalls without the cofactor.

In the nervous system, magnesium blocks the NMDA receptor channel in a voltage-dependent manner, acting as a physiological calcium antagonist. 2 This block limits excessive excitatory signalling; its controlled removal underlies long-term potentiation, a cellular mechanism central to learning and memory. Within skeletal and cardiac muscle, magnesium competes with calcium at the sarcoplasmic reticulum, promoting relaxation after contraction. Intracellular depletion is associated with cramps, impaired recovery, and elevated cardiac arrhythmia risk. 2 3

A less obvious dependency involves vitamin D. Magnesium is required to activate the enzyme that converts vitamin D into its biologically active form, meaning low magnesium impairs vitamin D function regardless of intake or sun exposure. 3 This functional interaction compounds the consequences of two widespread deficiencies simultaneously.

48%
of US adults below estimated average dietary requirement
Rosanoff et al. (2012) 1

In action

Example

A strength athlete trains consistently but reports persistent muscle cramps, shallow sleep, and recovery times that do not improve with rest. Serum magnesium returns within the normal reference range. Because only 1% of the body's magnesium is extracellular, the blood result offers no window into intracellular stores. A dietary review reveals low intake of leafy greens, nuts, and seeds, typical of a calorie-restricted phase.

The normal serum reading is clinically misleading; the problem is not in the blood but in what standard testing cannot measure.

Why it matters

Roughly 48% of US adults consume less magnesium than the estimated average requirement from food, yet most clinicians rely on serum measurements that capture only extracellular magnesium. 1 This structural blind spot means subclinical depletion persists undetected. Subclinical magnesium deficiency is independently associated with hypertension, arterial calcification, atherosclerosis, cardiac arrhythmias, and elevated risk of sudden cardiac death, even when serum values appear normal. 3

Observational data link higher dietary magnesium intake to better sleep quality and longer sleep duration. 4 Magnesium deficiency is associated with elevated nocturnal cortisol, impaired melatonin synthesis, and increased neural excitability, each of which disrupts sleep architecture. The interventional evidence from randomised trials is more mixed, so the sleep benefit is better understood as a consequence of correcting deficiency rather than a direct pharmacological effect of supplementation.

Frequently asked
What foods are highest in magnesium?+

Pumpkin seeds lead all common foods at roughly 592 mg per 100 g, followed by dark chocolate at approximately 228 mg per 100 g. Cooked spinach, legumes, and whole grains are practical everyday sources. Absorption varies with food matrix, so variety across sources is more reliable than relying on a single food.

What are the symptoms of magnesium deficiency?+

Early symptoms include muscle cramps, fatigue, irritability, and impaired sleep. Prolonged deficiency is associated with hypertension and cardiac arrhythmias. Because standard blood tests measure only extracellular magnesium, which represents 1% of the body's total, serum results often appear normal even when intracellular stores are depleted.

Does magnesium improve sleep quality?+

Observational data associate higher magnesium intake with better sleep quality and duration. Randomised trial evidence is more mixed. The practical interpretation is that correcting magnesium deficiency can remove a barrier to good sleep, particularly by reducing elevated nocturnal cortisol and neural excitability that accompany low intracellular magnesium.

What is the best form of magnesium supplement?+

Forms with higher bioavailability, including magnesium glycinate, malate, and threonate, are preferable to magnesium oxide, which has reported absorption rates below 4%. The tolerable upper intake level for supplemental magnesium in adults is 350 mg per day; exceeding this increases the risk of osmotic diarrhoea.

Explore more
Free download

The 90-Day Kickstarter Protocol

Your day-by-day reset for sleep, stress & energy · PDF

Sources
1 Rosanoff et al. (2012) Suboptimal magnesium status in the United States: are the health consequences underestimated? Nutrition Reviews DOI
2 Gröber et al. (2015) Magnesium in Prevention and Therapy Nutrients DOI
3 DiNicolantonio et al. (2018) Subclinical magnesium deficiency: a principal driver of cardiovascular disease and a public health crisis Open Heart DOI
4 Arab et al. (2022) The Role of Magnesium in Sleep Health: a Systematic Review of Available Literature Biological Trace Element Research DOI