Recovery

Signs of Magnesium Deficiency: Symptoms and Testing

Medically reviewed by Medical Advisory Board Last reviewed 2026-07-28

Eye twitches, cramps, and poor sleep can all point to low magnesium — and standard blood tests often miss it

Common signs of magnesium deficiency include muscle cramps, eyelid twitches, poor sleep, fatigue, and irritability. Low magnesium is easy to miss because only about 1% of the body's magnesium sits in the blood, so a normal serum test can look fine while tissue stores run low. People on certain medications, heavy drinkers, and those with diabetes or gut problems are most at risk, and an RBC magnesium test gives a better read than a standard serum level.

Magnesium deficiency is more common than most people realize, and its signs are easy to blame on other things. An estimated half or more of people fall short of ideal magnesium intake, and the mineral is needed for over 300 enzyme reactions, including GABA activity, melatonin production, and muscle relaxation. When it runs low, muscles, nerves, sleep, and mood can all feel it.

This page covers the common signs, why standard blood tests often miss low magnesium, who is most at risk, the best food sources, and how testing works. If the signs sound familiar, magnesium is low-risk to address, but persistent symptoms still deserve a medical review. For the sleep angle, see our magnesium for sleep guide.

Want expert help with your sleep and recovery?

We can match you with a sleep-medicine specialist who understands this area — so you get the right doctor, not just any doctor.

Book An Appointment With A Specialist →

Common Signs of Magnesium Deficiency

The most common signs of low magnesium involve muscles, nerves, sleep, and mood, because magnesium is central to all of them. No single symptom proves a deficiency, but a cluster of these is a reasonable prompt to look closer:

  • Muscle cramps and spasms: especially night-time leg cramps, though these have many causes.
  • Eyelid twitching: a persistent flutter in the eyelid is a classic anecdotal sign, since magnesium helps calm nerve and muscle firing.
  • Trouble sleeping: difficulty winding down or staying asleep, tied to magnesium's role in GABA and melatonin.
  • Fatigue and low energy: magnesium supports energy production in cells.
  • Anxiety, irritability, or feeling wired: low magnesium can leave the nervous system over-activated.
  • Headaches and, in some people, heart palpitations: magnesium helps regulate nerve and heart-muscle signaling.

These overlap with many other conditions, so treat them as clues rather than proof. Palpitations, in particular, always deserve medical evaluation; see our heart palpitations guide for one common context.

Why Eye Twitching Is Linked to Low Magnesium

Eyelid twitching is one of the most talked-about signs of low magnesium because the mineral helps control how nerves and muscles fire. When magnesium is low, nerves can become more excitable, which can show up as small, involuntary muscle twitches, including in the delicate eyelid muscle.

That said, eye twitches are usually harmless and have several triggers, including stress, fatigue, too much caffeine, and eye strain. Low magnesium is only one possibility. If a twitch is brief and comes and goes, it is rarely a concern, and improving sleep, cutting caffeine, and easing stress often settles it. A twitch that spreads, lasts weeks, or affects other parts of the face should be checked by a doctor.

Who Is Most at Risk of Low Magnesium

Some groups are far more likely to run low on magnesium, either because they lose more or absorb less. You are at higher risk if you fall into one of these categories:

  • People on proton pump inhibitors (PPIs): long-term use of these acid-reducing drugs is linked with low magnesium.
  • People on diuretics: water pills increase magnesium loss through urine, often alongside potassium.
  • Heavy alcohol use: alcohol raises magnesium loss and often goes with a lower-quality diet.
  • People with type 2 diabetes or insulin resistance: high blood sugar increases magnesium loss in urine, and low magnesium can in turn worsen insulin resistance.
  • Gut conditions: Crohn's, celiac, chronic diarrhea, and other absorption problems reduce how much magnesium you take in.
  • Older adults: intake, absorption, and kidney handling all shift with age.

If you recognize yourself here, low magnesium is worth considering. The link with blood sugar is especially two-way; learn more in our insulin resistance guide.

Why Standard Blood Tests Miss Magnesium Deficiency

A normal serum magnesium test does not rule out a deficiency, because only about 1% of the body's magnesium is in the blood. The body works hard to keep blood levels steady by pulling magnesium from bone and tissue, so serum magnesium can read normal until you are quite depleted.

That is why a standard serum test can miss functional shortfalls that still cause symptoms. An RBC (red blood cell) magnesium test looks inside cells and gives a better sense of your stores, so it is often the more useful order if deficiency is suspected. If your symptoms fit and your risk factors line up, do not let a normal serum result alone close the door. Ask about RBC magnesium and review the bigger workup in our lab testing hub.

Magnesium-Rich Foods and How to Restore Levels

Food is the best first step for raising magnesium, and many nutritious foods are rich in it. Good sources include leafy greens like spinach, nuts and seeds such as pumpkin seeds and almonds, legumes, whole grains, and dark chocolate. Building meals around these covers most people's needs while adding fiber and other nutrients.

If diet alone is not enough or you have a risk factor, a well-absorbed supplement like magnesium glycinate can help. A common range is about 200 to 400 mg of elemental magnesium per day, and the supplemental upper limit for adults is 350 mg per day to avoid digestive upset. People with kidney disease should only supplement under medical supervision. Compare forms in our glycinate vs citrate guide, and see the magnesium for leg cramps page if cramps are your main symptom.

When to See a Doctor

See a doctor if you have symptoms of low magnesium along with a risk factor like long-term PPI or diuretic use, diabetes, or a gut condition, since these call for proper testing rather than guesswork. Severe deficiency can cause numbness, tingling, muscle contractions, seizures, or heart-rhythm changes and needs medical care.

Also check in before supplementing if you have kidney disease or take medications, because magnesium can build up or interact with other drugs. A doctor can order the right test, review your medications, and rule out other causes of your symptoms. For a personalized starting point, take our free metabolic assessment or browse the recommendations hub.

What Makes a Good Magnesium Supplement

Form matters more than dose: magnesium glycinate and citrate absorb well and are gentle on the stomach, while cheap magnesium oxide is poorly absorbed. A typical supplemental dose is 200–400 mg of elemental magnesium (check the label — it's usually lower than the pill weight). Take it in the evening if you're using it for sleep, and pick a third-party-tested brand.

Nature’s Bounty High Absorption Magnesium Glycinate 240 mg for Supporting Muscle Relaxation and Bone, Heart & Nerve Health – Non-GMO, Gluten-Free, Vegetarian, 120 Count/60 Servings
Nature’s Bounty High Absorption Magnesium Glycinate 240 mg for Supporting Muscle Relaxation and Bone, Heart & Nerve Health – Non-GMO, Gluten-Free, Vegetarian, 120 Count/60 Servings
Nature's Bounty
View on Amazon →
Magnesium Glycinate 400mg | 180 Capsules | Sleep, Muscle, & Heart Support | Vegan, Third Party Tested, Gluten Free, Non-GMO, by Double Wood Supplements
Magnesium Glycinate 400mg | 180 Capsules | Sleep, Muscle, & Heart Support | Vegan, Third Party Tested, Gluten Free, Non-GMO, by Double Wood Supplements
Double Wood Supplements
View on Amazon →

Frequently Asked Questions

What are the first signs of magnesium deficiency?

Early signs of low magnesium often include muscle cramps, eyelid or muscle twitches, poor sleep, fatigue, and feeling irritable or wired. These overlap with many other issues, so no single symptom is proof. A cluster of them, especially alongside a risk factor like diuretic use or diabetes, is a good reason to look closer.

Can magnesium deficiency cause eye twitching?

Low magnesium can contribute to eyelid twitching because magnesium helps control nerve and muscle firing, and a shortfall can leave nerves more excitable. But most eye twitches are harmless and often come from stress, fatigue, caffeine, or eye strain. A twitch that lasts weeks, spreads, or affects the face should be checked by a doctor.

Why do blood tests miss magnesium deficiency?

Standard serum magnesium tests miss many deficiencies because only about 1% of the body's magnesium is in the blood. The body keeps blood levels steady by drawing magnesium from bone and tissue, so serum can read normal until you are quite depleted. An RBC magnesium test looks inside cells and gives a better picture of your stores.

What foods are highest in magnesium?

Leafy greens like spinach, nuts and seeds such as pumpkin seeds and almonds, legumes, whole grains, and dark chocolate are all rich in magnesium. Building meals around these covers most people's needs while adding fiber and other nutrients. If diet is not enough or you have a risk factor, a well-absorbed supplement like glycinate can help.

Who is most likely to be low in magnesium?

People on long-term proton pump inhibitors or diuretics, heavy drinkers, and those with type 2 diabetes, insulin resistance, or gut absorption problems are most at risk, along with many older adults. High blood sugar increases magnesium loss, and low magnesium can worsen insulin resistance, so the link runs both ways.

Topic updates

Get the weekly recovery roundup

Sleep, HRV, fatigue, burnout, cortisol rhythm, sleep apnea, overtraining, and stress physiology.

No spam. Unsubscribe anytime.

Medical Disclaimer: This content is for informational purposes only and does not constitute medical advice. Always consult a qualified healthcare provider before making changes to your health regimen.

Check Where You Stand

Take our free health assessment to understand your metabolic, hormonal, and recovery risk factors — and get personalized recommendations.

Take the Free Assessment →

Free · Takes 5 minutes · Instant results

Continue Reading

← Back to Sleep & Recovery

Affiliate disclosure: The Metabolic Journal is reader-supported. Some links above are affiliate or referral links and we may earn a commission at no extra cost to you. As an Amazon Associate we earn from qualifying purchases. Products are chosen on the merits; commissions never influence what we recommend. This is general information, not medical advice — talk to your clinician before acting.