Skip to content
Nutrition Science12 min read·Updated 15 April 2026
🌿

Magnesium Deficiency: Signs, Why It's So Common, and the Best Food Sources

An estimated 50% of people in Western countries fall below recommended magnesium intakes, yet standard blood tests routinely miss it. Magnesium participates in over 300 enzymatic reactions. This guide covers deficiency causes, symptoms, the best dietary sources, and why different supplement forms have radically different bioavailability.

J
James Chen
Professional Chef & Culinary Educator
CPC · Le Cordon Bleu
View Profile
#magnesium#mineral deficiency#magnesium supplements#nutrition#pumpkin seeds#dark chocolate#sleep#muscle cramps
✔️

Medically Reviewed

Reviewed by James Chen, Professional Chef & Culinary Educator · CPC, Le Cordon Bleu

Last reviewed: 15 April 2026

Medical disclaimer: The information in this article is for educational purposes only. Always consult a qualified healthcare professional before making significant dietary or lifestyle changes, especially if you have a medical condition.

Magnesium is the fourth most abundant mineral in the human body and the second most abundant intracellular cation after potassium. It acts as a cofactor in over 300 enzymatic reactions — energy production, DNA synthesis, protein synthesis, muscle contraction, nerve conduction, blood glucose regulation, and bone mineralisation among them. Yet surveys consistently show that 45–50 % of Americans and similar proportions in other Western countries consume less than the recommended dietary allowance, and functional deficiency is likely far more widespread than serum testing suggests.

Why Magnesium Deficiency Is So Prevalent

Three intersecting forces explain why magnesium insufficiency is epidemic despite it being widely distributed in plant foods. First, soil depletion. Modern intensive agriculture — driven by nitrogen-phosphorus-potassium (NPK) fertilisation protocols that do not include magnesium — has progressively depleted soil magnesium content over the past 60 years. A vegetable or grain grown in magnesium-depleted soil contains less magnesium than an equivalent food grown 50 years ago. Studies comparing archived food composition data with current values show declines of 20–35 % in magnesium content in wheat, vegetables and fruits since the 1940s. Second, food processing. Magnesium is concentrated in the germ and bran of grains, and in the outer layers of vegetables. Refining wheat into white flour removes approximately 80 % of its magnesium. The modern diet — dominated by refined grains, processed meats, dairy, and ultra-processed foods — is structurally low in magnesium relative to a whole-food diet. Third, magnesium depletion by medications and lifestyle factors. Proton pump inhibitors (PPIs — omeprazole, lansoprazole), used by tens of millions of people for acid reflux, significantly reduce magnesium absorption and are a well-documented cause of hypomagnesaemia with long-term use. Diuretics (particularly loop and thiazide diuretics) increase urinary magnesium excretion. Alcohol increases renal magnesium wasting. High sugar intake increases urinary magnesium excretion through its effects on insulin secretion. Chronic stress activates the hypothalamic-pituitary-adrenal axis, which increases magnesium excretion as part of the stress response — and low magnesium then amplifies HPA axis reactivity, creating a vicious cycle.

💡 Pro Tip

If you take a proton pump inhibitor long-term, ask your doctor to check your magnesium level and consider magnesium glycinate supplementation. The clinical evidence linking PPI use to symptomatic hypomagnesaemia is strong and often overlooked in routine prescribing.

The Enzymatic Roles of Magnesium: Why It Matters

The breadth of magnesium's enzymatic involvement is extraordinary and explains why deficiency has such wide-ranging consequences. In energy metabolism, magnesium is required for every phosphate transfer step in ATP production — without magnesium, the ATP molecule is biologically inactive (it exists as a magnesium-ATP complex in vivo). This means every cell in the body depends on adequate magnesium just to produce and use energy, which directly explains the fatigue and weakness that are among the most common symptoms of deficiency. In DNA synthesis and repair, magnesium stabilises DNA and RNA structure, acts as a cofactor for DNA polymerase, and is required for the fidelity of DNA replication. In neuromuscular function, magnesium acts as a natural calcium channel blocker — it competes with calcium at N-methyl-D-aspartate (NMDA) receptors and at voltage-gated calcium channels in muscle cells. Low magnesium means uninhibited calcium influx into neurons and muscle cells, producing the hyperexcitability symptoms classic to deficiency: muscle cramps, tetany, tremors, palpitations, and heightened anxiety. This same mechanism explains why magnesium supplementation is used clinically to treat pre-eclampsia seizures (intravenous magnesium sulphate remains the standard of care) and why magnesium glycinate is used off-label for anxiety and insomnia. In blood glucose regulation, magnesium is a cofactor for insulin receptor tyrosine kinase activity — the first enzymatic step in insulin signalling. Magnesium deficiency impairs insulin sensitivity independently of weight or diet composition, and population studies consistently find inverse associations between magnesium intake and type 2 diabetes risk.

Every ATP molecule in the body exists as a magnesium-ATP complex in vivo — magnesium is not merely a cofactor, it is structurally required for biologically active ATP.

Schwalfenberg GK, Genuis SJ, Scientifica, 2017

Recognising Magnesium Deficiency: Signs and Symptoms

The challenge with magnesium deficiency is that standard serum magnesium testing is deeply unreliable for identifying functional deficiency. Only approximately 1 % of the body's magnesium is in the blood; the body tightly regulates serum levels by pulling from bone and intracellular stores, meaning serum values remain 'normal' until depletion is severe. Red blood cell (RBC) magnesium is a better indicator of intracellular status but is not routinely ordered. The consequence is that symptomatic functional deficiency is common but frequently undiagnosed. Symptoms of subclinical-to-moderate deficiency include: persistent muscle cramps and twitching (especially nocturnal leg cramps), fatigue and weakness unresponsive to rest, difficulty sleeping and poor sleep quality (magnesium regulates melatonin production and GABA activity), heightened anxiety and irritability, palpitations or irregular heartbeat, headaches and migraines (magnesium deficiency is found in roughly 50 % of migraine patients during attacks), constipation (magnesium relaxes intestinal smooth muscle), and increased sensitivity to stress. Severe deficiency (uncommon without malabsorption or prolonged PPI use) produces more dramatic neurological symptoms: tetany, seizures, cardiac arrhythmias. The paradox is that many of these symptoms — fatigue, anxiety, poor sleep, muscle cramps — are so common in the general population that they are attributed to lifestyle rather than investigated as potential nutritional deficiencies.

💡 Pro Tip

A 4-to-8 week trial of magnesium glycinate (200–400 mg elemental magnesium at bedtime) is often informative if you have multiple symptoms from this list. Resolution of symptoms is strong circumstantial evidence of deficiency.

Best Dietary Sources of Magnesium

Magnesium is broadly distributed in plant foods, particularly seeds, legumes, wholegrains, leafy greens, and dark chocolate. Pumpkin seeds are the richest common food source: 100 g of raw pumpkin seeds provides approximately 550 mg magnesium — more than the RDA for adult men (420 mg) in a single food. Practical daily amounts (30 g, approximately a handful) provide around 165 mg. Dark chocolate (70–85 % cocoa) is a remarkably magnesium-dense food: a 30 g portion contains approximately 50–65 mg magnesium, alongside flavanols that themselves have cardiovascular benefits. Legumes are excellent and underappreciated sources: black beans (120 mg per 100 g cooked), edamame (65 mg), lentils (36 mg), and chickpeas (48 mg). Wholegrains retain their bran and germ and therefore their magnesium: buckwheat (231 mg per 100 g dry), quinoa (197 mg per 100 g dry), oats (177 mg per 100 g dry), and brown rice (143 mg per 100 g dry). Leafy greens — particularly spinach (87 mg per 100 g cooked) and Swiss chard (86 mg) — provide significant amounts, with the magnesium being part of the chlorophyll molecule (magnesium is to chlorophyll what iron is to haemoglobin). Almonds (270 mg per 100 g), cashews (292 mg) and Brazil nuts (376 mg) are outstanding nut sources. The practical message is that a wholefood, plant-rich diet covering these food groups will reliably meet magnesium requirements; a refined-grain, processed-food diet will not.

Magnesium Supplement Forms: Bioavailability Differences

Not all magnesium supplements are equivalent. They differ substantially in elemental magnesium content, bioavailability, and side effect profiles. Magnesium oxide: the cheapest and most widely sold form, but has poor bioavailability — studies show absorption of approximately 4 %, compared to 50–70 % for better-absorbed chelated forms. Its main use is as an osmotic laxative (Milk of Magnesia). It is largely ineffective for raising tissue magnesium levels. Magnesium citrate: a salt of magnesium and citric acid. Absorption is substantially better than oxide (approximately 30 %), and it also has a mild laxative effect that limits the dose that can be comfortably taken by sensitive individuals. Useful for constipation-prone individuals. Magnesium glycinate (or bisglycinate): magnesium chelated to glycine, an amino acid. Absorption is high (approximately 60–70 %), it crosses the blood-brain barrier well due to the glycine carrier, has minimal laxative effect, and is generally well tolerated at doses up to 400 mg elemental magnesium. The glycine component has its own calming effects on GABA receptors, making this form particularly appropriate for sleep and anxiety applications. This is the form most commonly recommended by nutritional clinicians for correcting deficiency. Magnesium malate: chelated to malic acid. Good bioavailability, energy-supporting (malic acid is involved in the citric acid cycle), and often used in the context of fatigue and fibromyalgia. Magnesium L-threonate: a newer form that has demonstrated enhanced central nervous system penetration in animal models, with early human data suggesting particular benefits for cognitive function and sleep. Currently the most expensive form. Magnesium sulphate (Epsom salt): commonly dissolved in bathwater; transdermal absorption is controversial and the evidence for meaningful systemic delivery through bathing is limited.

Key Takeaways

Magnesium deficiency is common, underdiagnosed, and consequential — affecting energy production, insulin signalling, sleep quality, neuromuscular excitability, and cardiovascular function. Standard serum testing misses the majority of cases. A wholefood diet rich in pumpkin seeds, dark chocolate, legumes, leafy greens, wholegrains, and nuts can readily meet requirements. For those supplementing, magnesium glycinate provides the best combination of bioavailability, tolerability, and central nervous system access, while magnesium oxide — despite dominating the supplement market — is largely ineffective for correcting tissue-level deficiency.

Frequently Asked Questions

Can magnesium help with sleep?
Yes — there is reasonable clinical evidence that magnesium supplementation improves subjective sleep quality, particularly in older adults and people with deficiency. The mechanisms include activation of GABA receptors (producing calming effects), regulation of melatonin synthesis, and muscle relaxation. Magnesium glycinate taken 30–60 minutes before bed is the most commonly recommended form for sleep applications.
Why do I get leg cramps at night — could it be magnesium?
Nocturnal leg cramps are one of the classic symptoms of magnesium deficiency. Magnesium blocks voltage-gated calcium channels in muscle cells; without adequate magnesium, uninhibited calcium entry produces sustained involuntary contractions. A trial of magnesium glycinate (300–400 mg at bedtime) for 4–6 weeks is a reasonable first intervention before more invasive investigations.
How much magnesium should I take as a supplement?
The RDA is 310–320 mg/day for adult women and 400–420 mg/day for adult men (from all sources combined). Most people consuming a Western diet are short by 50–150 mg daily. A supplement of 200–300 mg elemental magnesium as glycinate or malate daily is a reasonable starting dose. The upper tolerable intake level from supplements is 350 mg/day (above which gastrointestinal effects become more likely), though this applies to non-food sources only.
Is it true that cooking depletes magnesium in vegetables?
Boiling vegetables leaches water-soluble magnesium into the cooking water — losses of 30–50 % are documented for some vegetables. Steaming, roasting, or microwaving with minimal water preserves magnesium better. Using cooking water in soups or sauces recovers much of the lost mineral.

References

  1. [1]Rosanoff A, Weaver CM, Rude RK (2012). Suboptimal magnesium status in the United States: are the health consequences underestimated?.” Nutrition Reviews. PMID: 22364157
  2. [2]Barbagallo M, Dominguez LJ (2010). Magnesium and aging.” Current Pharmaceutical Design. PMID: 20388094
  3. [3]Schwalfenberg GK, Genuis SJ (2017). The Importance of Magnesium in Clinical Healthcare.” Scientifica. PMID: 29093983
  4. [4]Guerrera MP, Volpe SL, Mao JJ (2009). Therapeutic uses of magnesium.” American Family Physician. PMID: 19617879

More in Nutrition Science

View all →

About This Article

Written by James Chen, Professional Chef & Culinary Educator. Published 2 September 2025. Last reviewed 15 April 2026.

This article cites 4 peer-reviewed sources. See the full reference list below.

Editorial policy: All content is reviewed for accuracy and updated when new evidence emerges. Health articles include a medical disclaimer and are reviewed by qualified professionals.

About the Author

J
James Chen
Professional Chef & Culinary Educator

Professional chef with 18 years of kitchen experience across three Michelin-starred restaurants.

French CuisineJapanese TechniquesFermentationKnife Skills
View full profile →