Person showing signs of fatigue and physical wear, representing the effects of magnesium deficiency
Science

Magnesium Deficiency: Symptoms, Causes, and What You Should Know

Magnesium deficiency is far more common than most people realize, and standard blood tests often miss it. Here is what causes it and what you can do.

Table of contents

Key Facts About Magnesium Deficiency

  • Approximately 48% of Americans do not meet the daily recommended intake for magnesium (NHANES data)
  • Standard serum blood tests miss deficiency because only 1% of body magnesium is in the bloodstream
  • Common causes include poor diet, gut absorption problems, and drugs like PPIs, diuretics, and metformin
  • Symptoms range from muscle cramps and fatigue to anxiety, poor sleep, and heart palpitations
  • Replenishing magnesium stores fully takes 3 to 6 months with diet changes and well-absorbed supplements
  • Best absorbed supplement forms are glycinate (80%+) and citrate (30-45%); avoid oxide (4% absorption)

What Magnesium Deficiency Actually Is

Magnesium deficiency, clinically called hypomagnesemia, occurs when your body does not have enough magnesium to carry out its essential functions. Magnesium is involved in more than 300 enzymatic reactions, including energy production, protein synthesis, muscle contraction, nerve signaling, and blood sugar regulation. When stores run low, nearly every system in the body is affected.

The challenge is that deficiency exists on a spectrum. Clinical deficiency severe enough to show up on a standard blood test is the extreme end. Functional deficiency, where cellular and bone stores are depleted but serum levels still appear normal, is far more common and far more difficult to diagnose.

Your body stores about 25 grams of magnesium in total. Roughly 60% is locked in bones, 39% inside muscle and soft tissue cells, and only about 1% circulates in the blood. This distribution is important because it means blood tests are a poor window into your actual magnesium status.

Why Blood Tests Often Miss Magnesium Deficiency

A serum magnesium test measures only the magnesium floating in your plasma, which is that small 1% fraction. Your body tightly regulates this number by pulling magnesium out of bones and cells whenever blood levels dip. This means serum magnesium can remain in the normal range even as your bone and intracellular stores are being steadily depleted.

Serum Magnesium Levels and Their Clinical Meaning

StatusSerum Level (mmol/L)Serum Level (mg/dL)What It Means
Optimal0.85-0.952.06-2.30Adequate circulating magnesium; bone/cell stores may still be low
Low-Normal0.75-0.841.82-2.05Within reference range but stores may be compromised
Borderline Low0.65-0.741.58-1.81Functional deficiency likely; symptoms may be present
Clinical Deficiency< 0.65< 1.58Hypomagnesemia; requires medical evaluation and treatment
Severe Deficiency< 0.50< 1.21High risk of cardiac arrhythmia and neuromuscular problems

A red blood cell (RBC) magnesium test measures magnesium inside red blood cells, which reflects intracellular levels more accurately than serum. Even this test is imperfect, but it is more sensitive to functional deficiency. Some specialists also use a magnesium loading test, where a measured dose of magnesium is given and urinary retention is assessed, to evaluate true body stores.

The Most Common Causes of Low Magnesium

Magnesium deficiency rarely has a single cause. In most people, several factors combine to push intake below the threshold needed to maintain healthy stores. Understanding your personal risk factors is the first step toward fixing the problem.

Dietary Insufficiency and Soil Depletion

Modern diets are low in magnesium-rich whole foods. Ultra-processed foods, refined grains, and fast food contain very little magnesium. Compounding this is the fact that intensive agricultural practices have depleted magnesium from topsoil over decades. Studies have found that the magnesium content of many vegetables and grains is significantly lower today than it was 50 years ago, meaning even people eating "healthy" may be getting less than they think.

Signs of physical fatigue and wear associated with chronic magnesium deficiency

Medications That Deplete Magnesium

Several widely prescribed medications reduce magnesium levels significantly. If you take any of these, your risk of deficiency is elevated and ongoing monitoring or supplementation may be warranted.

  • Proton pump inhibitors (PPIs) such as omeprazole and esomeprazole reduce stomach acid, impairing magnesium absorption in the intestine. Long-term PPI use is one of the most common drug-induced causes of deficiency.
  • Thiazide and loop diuretics increase urinary excretion of magnesium, directly draining stores. These are commonly prescribed for high blood pressure and heart failure.
  • Metformin, the first-line diabetes medication, has been associated with lower serum magnesium levels, though the mechanism is not fully established.
  • Certain antibiotics, particularly aminoglycosides, can cause significant renal magnesium wasting with prolonged use.
  • Calcineurin inhibitors (cyclosporine, tacrolimus) used in transplant patients are known to cause magnesium wasting through the kidneys.

Poor Gut Absorption

Magnesium is absorbed primarily in the small intestine. Any condition that damages the gut lining or causes chronic diarrhea will reduce how much magnesium you absorb from food. Crohn's disease, celiac disease, irritable bowel syndrome with diarrhea, and short bowel syndrome all significantly increase deficiency risk. Even moderate chronic diarrhea from any cause accelerates magnesium loss.

Diabetes, Stress, and Alcohol

Type 2 diabetes causes excess urinary magnesium loss because high blood glucose levels trigger the kidneys to excrete more magnesium. This creates a damaging cycle: low magnesium impairs insulin sensitivity, and poor blood sugar control worsens magnesium loss. Chronic stress elevates cortisol, which increases urinary magnesium excretion. Excessive alcohol intake impairs magnesium absorption and increases renal losses simultaneously.

WatchWatch the ZavoFit videoReal prep videos are in production. See what is already filmed on the channel.See the channel

Recommended for your routine

Meal Prep

ZavoFit Glass Meal Prep Containers (Set of 5)

Leak-proof glass containers that reheat evenly and do not hold onto smells or stains.

View product →

Symptoms to Know

Magnesium deficiency produces a wide range of symptoms because magnesium is involved in so many body processes. Symptoms tend to be vague early on, which is why deficiency often goes unrecognized for months or years. For a detailed breakdown of each symptom, see our guide to signs of magnesium deficiency.

  • Muscle cramps and spasms, especially at night (most common early symptom)
  • Fatigue and low energy, even with adequate sleep
  • Poor sleep quality and difficulty falling asleep. Read more in magnesium and sleep
  • Anxiety, irritability, and low mood, linked to magnesium's role in GABA and serotonin pathways
  • Headaches and migraines: low magnesium is found in the brains of migraine sufferers
  • Heart palpitations: irregular heartbeat is one of the most serious symptoms of deficiency
  • Constipation: magnesium helps maintain bowel movement rhythm
  • Numbness or tingling in hands, feet, or face
  • High blood pressure: magnesium relaxes blood vessel walls
  • Increased sensitivity to noise, bright light, or stress

Severe or prolonged deficiency can cause more serious complications including cardiac arrhythmias, seizures, hypocalcemia (low calcium, since magnesium is needed to activate vitamin D which controls calcium), and hypokalemia (low potassium, as magnesium is required for potassium retention in cells).

Who Is Most at Risk

While magnesium deficiency can affect anyone eating a modern diet, certain groups face substantially higher risk. Identifying your risk category helps prioritize action.

High-Risk Groups for Magnesium Deficiency

  • People with type 2 diabetes or prediabetes (increased urinary losses)
  • Anyone taking PPIs long-term (reduced intestinal absorption)
  • People on thiazide or loop diuretics (direct urinary depletion)
  • Metformin users (associated with lower magnesium levels)
  • People with Crohn's disease, celiac disease, or chronic diarrhea
  • Older adults over 65 (reduced gut absorption and higher medication burden)
  • Heavy alcohol drinkers (impaired absorption plus increased renal loss)
  • People under prolonged high stress (elevated cortisol drives excretion)
  • Pregnant and breastfeeding women (elevated magnesium demands)
  • Athletes with heavy sweat losses (magnesium is lost in sweat)

Older adults are at particular risk for a compounding reason: stomach acid production decreases with age, and magnesium requires adequate stomach acid for proper absorption. Combined with higher rates of medication use and reduced dietary variety, deficiency in people over 65 is extremely common and often clinically overlooked.

How to Correct Magnesium Deficiency

Correcting magnesium deficiency requires a two-pronged approach: improving dietary intake to provide a consistent daily supply, and using supplementation to rebuild depleted stores. Neither strategy alone is as effective as both together. The full process takes time because magnesium must gradually refill bone and cellular stores.

Step 1: Maximize Magnesium From Food

Food-sourced magnesium is the most sustainable long-term strategy and comes with co-nutrients (fiber, phytonutrients) that enhance health outcomes beyond magnesium alone. For a comprehensive guide to the best dietary sources, see best food sources of magnesium. The highest-impact foods to add immediately are:

Top Food Sources of Magnesium

FoodServing SizeMagnesium (mg)Notes
Pumpkin seeds1 oz (28g)156 mgHighest density per ounce of any food
Chia seeds1 oz (28g)111 mgEasy to add to smoothies or yogurt
Almonds1 oz (28g)80 mgAlso provides protein and healthy fats
Cooked spinach1 cup (180g)78 mgCooking increases density vs raw
Dark chocolate (70%+)1 oz (28g)50 mgChoose 70%+ cocoa for best yield
Avocado1 medium58 mgAlso rich in potassium and monounsaturated fats
Black beans½ cup cooked60 mgBudget-friendly and easy to prepare in bulk

Step 2: Choose the Right Supplement Form

Not all magnesium supplements are equally effective. The form of magnesium determines how well it is absorbed, and the difference is dramatic. Magnesium oxide, the cheapest and most common form in drugstores, has only about 4% absorption. Chelated forms like magnesium glycinate offer 80% or higher absorption and are far more effective for rebuilding stores. For a detailed comparison of all supplement forms, read how to choose a magnesium supplement and magnesium glycinate vs citrate.

A Practical Timeline for Correcting Deficiency

  1. Week 1-2Initial changes

    Add magnesium-rich foods to every meal. Start supplementing with 100-150 mg/day of magnesium glycinate or citrate. Many people notice improved sleep quality and reduced muscle cramps within this window.

  2. Week 3-4Symptom relief phase

    Increase supplemental dose to 200-300 mg/day if tolerated. Continue dietary improvements. Fatigue, headaches, and anxiety may begin to improve as circulating levels stabilize.

  3. Month 2-3Cellular repletion

    Maintain consistent intake. Cellular magnesium levels begin to normalize. Energy and mood stability improvements become more noticeable. If on PPIs or diuretics, discuss magnesium monitoring with your doctor.

  4. Month 3-6Full restoration

    Bone stores begin to replenish. This phase requires patience and consistency. Most people with significant prior deficiency need a full 6 months to fully restore body stores.

  5. OngoingMaintenance

    Magnesium is used continuously by the body and is not stored indefinitely. Maintain daily dietary intake at or above the RDA (310-420 mg/day depending on your age and sex). Review your supplement strategy annually.

To understand exactly how much magnesium you should be getting based on your age, sex, and health conditions, read how much magnesium per day for detailed guidance.

When to See a Doctor

Most mild to moderate magnesium deficiency can be addressed with dietary changes and over-the-counter supplements. However, certain situations call for medical evaluation and potential intravenous (IV) magnesium therapy.

  • You experience heart palpitations, irregular heartbeat, or chest discomfort. Seek immediate medical attention.
  • You have seizures or severe neuromuscular symptoms. This is a medical emergency.
  • You are taking medications known to deplete magnesium (PPIs, diuretics, metformin) and have symptoms of deficiency. Ask your doctor to monitor your levels.
  • You have a gastrointestinal condition like Crohn's or celiac disease that impairs absorption. You may need higher supplemental doses or IV administration.
  • Symptoms do not improve after 8-12 weeks of consistent dietary and supplement intervention.
  • You want a baseline blood test to track your magnesium status over time.

If you are addressing deficiency primarily through diet and supplementation, tracking symptoms in a simple journal (sleep quality, energy, cramp frequency, mood) gives you useful feedback over the 3-6 month repletion window, even without repeated blood tests.

Magnesium is involved in more than 300 enzymatic processes. It is not a niche nutrient. It is foundational.

NIH Office of Dietary Supplements

For related reading, explore our guides on signs of magnesium deficiency, how magnesium and sleep are connected, and the best food sources of magnesium to build an effective nutrition strategy around this essential mineral.

Real stories, coming soon

Real people, real results

We're putting together real stories from people who use ZavoFit's guidance in everyday life. Coming soon.

Questions, answered.

How do I know if I have magnesium deficiency?

Common signs include muscle cramps, fatigue, poor sleep, irritability, headaches, and irregular heartbeat. However, symptoms alone are not definitive. A standard blood test is often unreliable because only 1% of body magnesium is in the blood. If you suspect deficiency, discuss a red blood cell (RBC) magnesium test or a clinical evaluation with your doctor.

Can a blood test detect magnesium deficiency?

Standard serum magnesium tests miss deficiency in most cases because only about 1% of your body's magnesium circulates in the blood. Serum levels can appear normal even when cellular and bone stores are depleted. A red blood cell magnesium test is more informative, though still imperfect.

What causes magnesium deficiency?

The most common causes include a diet low in magnesium-rich foods, poor absorption due to gut conditions like Crohn's disease or celiac disease, medications such as proton pump inhibitors (PPIs), diuretics, and metformin, chronic stress, excessive alcohol intake, and type 2 diabetes, which accelerates urinary magnesium loss.

How long does it take to correct magnesium deficiency?

Replenishing magnesium stores in bones and cells typically takes 3 to 6 months with consistent supplementation and dietary improvements. Initial symptom relief, such as reduced muscle cramps and better sleep, may occur within 2 to 4 weeks of starting an effective protocol.

How much magnesium should I take to fix a deficiency?

The tolerable upper intake level for supplemental magnesium in adults is 350 mg/day of elemental magnesium. Many practitioners recommend starting at 200-300 mg/day in divided doses and increasing gradually. Choose well-absorbed forms like glycinate or citrate rather than magnesium oxide, which has only about 4% absorption.

What foods are highest in magnesium?

The best food sources include pumpkin seeds (156 mg per ounce), chia seeds (111 mg per ounce), almonds (80 mg per ounce), cooked spinach (78 mg per cup), black beans (60 mg per half-cup), avocado (58 mg), and dark chocolate (50 mg per ounce). Eating a variety of these daily is the most sustainable way to meet your needs.

Is magnesium deficiency serious?

Chronic low magnesium is associated with increased risk of type 2 diabetes, cardiovascular disease, osteoporosis, anxiety, and migraines. Severe deficiency can cause dangerous heart arrhythmias and neuromuscular problems. Even mild, long-term deficiency degrades quality of life through fatigue, poor sleep, and mood instability.

Who is most at risk for magnesium deficiency?

People most at risk include those with type 2 diabetes, gastrointestinal conditions that impair absorption, older adults (reduced absorption with age), people taking PPIs, diuretics, or metformin, heavy alcohol drinkers, and anyone under chronic high stress. Pregnant women also have elevated magnesium needs.

Sources & references

Share this story

About the author

ZavoFit Team , Editorial Team

Writing about everyday health, nutrition, movement and better habits.

Nutrition basicsTrainingEveryday routine
View all articles

This article is educational and not a substitute for individual advice from a qualified health professional.

Keep reading

Get the weekly meal prep email

One email a week. Recipes, habits, no spam.