ReportSense
← All posts

Magnesium Blood Test: The Mineral Deficiency Behind Cramps, Anxiety, and Poor Sleep

By ReportSense Team·Reviewed by Dr. Khushi Maheshwari

The cramps start in the calf at 2 AM, sudden and severe enough to jolt you awake. Or it's the eyelid twitch that has been going on for three weeks and you cannot explain it. Or the anxiety that hums at a low constant level no matter how much you meditate or breathe deeply.

You have had blood tests. Everything is normal. You have been told it might be stress.

But there is one mineral that standard blood tests often miss entirely: magnesium. It is involved in over 300 enzyme reactions in the body, required for muscle relaxation, nerve function, sleep regulation, and blood sugar control. And it is quietly deficient in an estimated 60-70% of people who eat a modern processed diet.

What Magnesium Does in Your Body

Magnesium is the fourth most abundant mineral in the human body, with 60% stored in bones and 20% inside muscle cells. It is required for:

  • Muscle relaxation: Calcium contracts muscles; magnesium relaxes them. Without enough magnesium, muscles stay in a state of partial contraction.
  • Nerve signal transmission: Magnesium blocks over-excitation of nerve cells - low magnesium makes nerves fire more easily than they should.
  • Sleep: Magnesium regulates GABA, the brain's main calming neurotransmitter, and also influences melatonin pathways.
  • Blood sugar regulation: Over 100 enzymes involved in glucose metabolism require magnesium as a cofactor.
  • Heart rhythm: Magnesium is a natural calcium channel blocker. Cardiologists use IV magnesium to treat certain life-threatening arrhythmias.
  • Bone density: Magnesium is as important as calcium for bone structure - roughly 60% of body magnesium is stored in bone.

Magnesium Blood Test - What It Measures (and Its Limitation)

The standard test is serum magnesium - the magnesium level in the liquid part of your blood. This is what most labs report.

The important limitation: Only about 1% of your body's magnesium is in the blood. The body is very good at maintaining serum magnesium at the expense of tissue stores. This means your serum level can look normal even when your cells are severely depleted.

This is similar to the ferritin vs hemoglobin situation with iron: the serum test can be within normal range while your cells are running on empty.

A more accurate test is RBC (Red Blood Cell) magnesium, which measures the magnesium inside red blood cells and better reflects tissue levels. It is available in some larger diagnostic labs in India (cost ₹1,200 to ₹2,000), though serum magnesium remains the standard first-line test.

Magnesium Reference Ranges

Test Normal Range Deficiency Excess (Hypermagnesemia)
Serum Magnesium 1.7 to 2.2 mg/dL (0.7 to 0.9 mmol/L) Below 1.7 mg/dL Above 2.6 mg/dL
RBC Magnesium 4.0 to 6.4 mg/dL Below 4.0 mg/dL Above 6.4 mg/dL

Most Indian labs use the mg/dL unit. Some report in mEq/L (normal range 1.4 to 1.8 mEq/L) or mmol/L. Confirm which unit your lab uses when reading results.

Recognising Magnesium Deficiency - Symptoms by Body System

Body System Symptoms of Deficiency
Muscles Night cramps (especially calves), muscle twitches, involuntary eye spasms (myokymia)
Nervous system Anxiety, restlessness, low stress tolerance, tingling or numbness
Sleep Difficulty falling asleep, waking frequently, light non-restorative sleep
Heart Palpitations, irregular heartbeat, elevated blood pressure
Metabolism Worsening blood sugar control, fatigue, insulin resistance
Head Tension headaches, migraines
Gut Constipation (magnesium relaxes gut muscles)
Bones Long-term deficiency contributes to osteoporosis

The classic triad that should prompt a magnesium test: muscle cramps + sleep trouble + persistent anxiety, especially in someone who eats a processed-food-heavy diet.

Why Magnesium Deficiency Is Common in India

Refined diet: Magnesium is found in the outer layer (germ and bran) of grains. When rice is polished and wheat is processed into maida, almost all magnesium is removed. India's increasing shift toward refined grains is depleting dietary magnesium intake.

Diabetes: People with diabetes - India has 101 million - excrete excess magnesium through urine due to elevated glucose. The better your blood sugar control, the more magnesium you retain.

Diuretic medications: Common blood pressure drugs (thiazide diuretics) cause magnesium loss in urine. Many Indians on long-term antihypertensives are at risk.

Chronic stress: Sustained psychological stress activates the adrenal system, which drives magnesium out of cells and into urine. Stress depletes magnesium; low magnesium worsens anxiety - a reinforcing cycle.

Alcohol: Even moderate regular alcohol consumption increases urinary magnesium excretion.

Excessive tea and coffee: High caffeine intake increases urinary loss of magnesium.

Gut absorption problems: Conditions like irritable bowel syndrome, Crohn's disease, or chronic diarrhoea impair magnesium absorption.

Who Should Ask for a Magnesium Test?

You have good reason to test if you have:

  • Frequent muscle cramps, especially at night
  • Persistent eye twitching or facial muscle spasms
  • Unexplained anxiety or hyperirritability
  • Chronic poor sleep unresponsive to other interventions
  • Diabetes (type 1 or 2) or prediabetes
  • Long-term use of blood pressure medications, antacids, or diuretics
  • Migraines (magnesium supplementation has a documented role in migraine prevention)
  • Constipation that is chronic and unresponsive to diet
  • History of osteoporosis or low bone density

The test is a straightforward blood draw. Serum magnesium is included in many electrolyte panels and costs ₹300 to ₹600 at most diagnostics.

Increasing Magnesium Through Diet

Food is always the first intervention. Magnesium-rich foods that are readily available in India:

Food Magnesium per Serving
Pumpkin seeds (kaddu ke beej) - 30g ~150 mg
Dark chocolate (85% cocoa) - 30g ~64 mg
Spinach (palak), cooked - 1 cup ~157 mg
Black beans (kala chana) - 1 cup cooked ~120 mg
Almonds - 30g ~77 mg
Cashews - 30g ~74 mg
Brown rice - 1 cup cooked ~84 mg
Banana - 1 medium ~32 mg

The daily requirement for adults is approximately 310-420 mg, varying by age and gender.

Magnesium Supplements - What to Know

If diet alone is insufficient and your doctor recommends supplementation:

  • Magnesium glycinate and magnesium malate: Best absorbed forms, gentlest on the stomach. Good for anxiety, muscle cramps, and sleep.
  • Magnesium citrate: Also well-absorbed, has a mild laxative effect - useful if constipation is also a concern.
  • Magnesium oxide: Poorly absorbed (only ~4%). Very cheap and widely available in India, but largely ineffective for raising tissue magnesium.
  • Magnesium sulphate (Epsom salt): Used externally in baths - modest absorption through skin, not a reliable supplement route.

Typical supplementation dose: 200-400 mg elemental magnesium daily, taken at night (supports sleep). Check with your doctor before starting, especially if you have kidney disease - magnesium can accumulate when kidneys are impaired.

Must Read


Not sure if your blood test results are flagging a deficiency that's being overlooked?

Upload your PDF at ReportSense and get a plain-language explanation of every value, in under 2 minutes.

Disclaimer: This article is for educational purposes only and does not constitute medical advice. Always consult a qualified doctor for medical decisions.

Want to understand your own lab report?

Upload your PDF and get a plain-language explanation of every value, in under 2 minutes.

Get started free