Skip to main content
Medfolio
Minerals · Glossary

Magnesium

Serum Magnesium

हिंदी · मैग्नीशियम

What the serum magnesium test measures, why it is checked alongside calcium and potassium, what a low result can cause, and when to talk to your doctor.

This page is general educational content. It describes what Magnesium measures and how doctors generally interpret it. It does not interpret your individual result. Always discuss your reports with a qualified medical professional.

Reviewed by the Medfolio editorial team
Written for an Indian audience against current ICMR, WHO, and NIH guidance · Last updated 27 May 2026
In your home language — हिंदी · తెలుగు · தமிழ் · मराठी · ਪੰਜਾਬੀ translations coming

Also seen on reports as: S. Magnesium, Mg, Serum Mg

What is Magnesium?

Magnesium is an essential mineral involved in over 300 enzyme reactions in the body — energy production, muscle and nerve function, heart rhythm, blood pressure regulation, bone health, and blood sugar control. About half the body's magnesium is in bones; most of the rest is inside cells, with only a small amount in blood.

Because most magnesium is inside cells and bones, the small amount in serum (the blood test) does not always reflect total body magnesium. Mild-to-moderate magnesium deficiency at the cellular level can exist with a normal serum magnesium — this is one reason magnesium deficiency is often under-diagnosed.

The test is run on a small blood sample drawn from a vein. NABL-accredited Indian labs typically report serum magnesium in milligrams per decilitre (mg/dL); some report in mmol/L. RBC (red cell) magnesium and ionised magnesium are available in some specialist settings but are not routine.

Why doctors order it

Magnesium is most commonly ordered when symptoms suggest deficiency — muscle cramps (particularly leg cramps at night), muscle twitches around the eyes or face, tingling, restlessness, palpitations or arrhythmias, persistent tiredness, sleep disturbance, or migraines. It is also checked when hypocalcaemia (low calcium) is unexplained — severe magnesium deficiency can cause low calcium that does not respond to calcium supplementation alone.

Doctors order it in critically ill patients (ICU monitoring), in chronic alcohol-related illness (alcohol depletes magnesium), in malabsorption conditions (coeliac disease, inflammatory bowel disease, gastric bypass), in patients on long-term diuretics (loop and thiazide diuretics waste magnesium), on long-term PPIs (proton pump inhibitors reduce absorption), on certain chemotherapy agents, and in some heart-rhythm problems.

Magnesium has growing recognition in routine cardiometabolic health — some Indian endocrinologists check it in patients with insulin resistance, metabolic syndrome, type-2 diabetes, hypertension, and migraine. Indian dietary patterns are often low in magnesium-rich foods (whole grains, nuts, seeds, green leafy vegetables, legumes) particularly in highly refined-grain diets.

What the result means

A serum magnesium in the normal range (roughly 1.7–2.2 mg/dL) is usually reassuring but does not fully rule out cellular magnesium deficiency. Symptomatic patients with normal serum magnesium sometimes still benefit from a trial of supplementation — particularly when symptoms (cramps, fatigue, palpitations) and risk factors (diuretics, PPI use, alcohol, restricted diet) all line up. Some doctors use a 'magnesium tolerance test' or RBC magnesium in tricky cases.

Low serum magnesium (hypomagnesaemia) usually indicates substantial deficiency or active loss. Common causes seen in Indian practice include long-term loop or thiazide diuretic use, long-term PPI use (proton pump inhibitors block magnesium absorption over months to years), chronic alcohol use, persistent diarrhoea or vomiting, malabsorption, and rarely some genetic kidney conditions. Severe hypomagnesaemia can cause low calcium, low potassium, dangerous heart rhythms, and seizures.

High magnesium (hypermagnesaemia) is uncommon and usually iatrogenic — most often from over-supplementation with magnesium-containing antacids or laxatives, particularly in people with reduced kidney function. Severe hypermagnesaemia can cause muscle weakness, low blood pressure, and heart-rhythm problems. The kidneys normally clear magnesium efficiently, so significant elevation usually requires reduced kidney function plus an external source.

Reference range

Values in mg/dL. Reference ranges vary slightly between Indian labs.

Typical adult range
Roughly 1.7 – 2.2 mg/dL (lab-dependent)
Low magnesium (hypomagnesaemia)
Below the lower limit — investigate cause (diuretics, PPIs, alcohol, malabsorption)
Severe hypomagnesaemia
Below ~1.2 mg/dL — can cause low calcium, low potassium, and arrhythmias
Normal serum but suspected deficiency
Cellular deficiency can exist with normal serum — symptomatic trial of supplementation sometimes considered
High magnesium
Above the upper limit — usually from supplements or magnesium-containing medications, particularly with kidney disease

Serum magnesium represents only about 1% of total body magnesium and may underestimate cellular deficiency. RBC magnesium and ionised magnesium are more sensitive but less widely available. Indian diets low in whole grains, nuts, seeds, and green vegetables are commonly low in magnesium.

Common factors that affect the result

Diet matters significantly. Magnesium-rich foods — whole grains (millet, ragi, jowar, bajra, whole-wheat), nuts and seeds (almonds, cashews, sesame, sunflower), legumes, dark leafy greens, and bananas — are present in many traditional Indian diets but reduced in highly refined-grain diets. Refining grains (white rice, maida) removes most of the magnesium. Modern processed food and refined-grain shifts are likely contributing to lower magnesium intake in many Indian adults.

Several common medications lower magnesium. Long-term PPIs (omeprazole, pantoprazole, esomeprazole, rabeprazole) are a recognised cause — most international and Indian regulatory bodies now warn about this; periodic monitoring is recommended on long-term PPI use. Loop diuretics (furosemide), thiazides, some antibiotics (aminoglycosides), some chemotherapy agents (cisplatin), and tacrolimus all waste magnesium through the kidneys.

Chronic alcohol use is one of the strongest causes of magnesium depletion — alcohol increases urinary magnesium loss and people drinking heavily often have inadequate diets. Persistent diarrhoea, vomiting, malabsorption conditions, and uncontrolled diabetes (high blood sugar causes magnesium loss in urine) also lower magnesium. Acute illness, refeeding after malnutrition, and intense exercise without electrolyte replacement can shift levels too.

When to talk to your doctor

  • Your serum magnesium is below the lab's lower limit, particularly with symptoms — muscle cramps, twitches, palpitations, persistent tiredness, or sleep problems.
  • You have unexplained low calcium that does not respond to calcium and Vitamin D treatment — magnesium deficiency may be the underlying issue.
  • You are on long-term PPIs, loop diuretics, thiazides, or chemotherapy that can lower magnesium — periodic monitoring is reasonable.
  • You have type-2 diabetes, hypertension, or migraines and are wondering whether magnesium is worth checking — discuss with your doctor whether testing or a trial of supplementation is appropriate.
  • You take magnesium-containing antacids or laxatives regularly, particularly with kidney disease — periodic monitoring helps avoid build-up.

Related tests

Sources

  • ICMR-NIN Dietary Guidelines for Indians — Indian Council of Medical Research — National Institute of Nutrition
  • Endocrine Society of India Position Papers — Endocrine Society of India
  • Indian Society of Nephrology — Electrolyte Disorders Guidance — Indian Society of Nephrology
  • Indian Society of Gastroenterology — PPI Use Recommendations — Indian Society of Gastroenterology
  • RSSDI Recommendations on Micronutrients in Diabetes — Research Society for the Study of Diabetes in India

See our medical disclaimer for what this content is and is not.

Frequently asked questions

Magnesium is one possible cause of night-time cramps, but not the only one. Other common causes include dehydration, sodium or potassium shifts, Vitamin D deficiency, varicose veins, certain medications, and unaccustomed exercise. A serum magnesium test is reasonable as part of the work-up, though it may not show deficiency even when cellular magnesium is low. Many doctors will accept a trial of magnesium supplementation for 2–4 weeks alongside addressing other possible causes, and continue if symptoms improve.

It is reliable for severe deficiency but limited for mild-to-moderate deficiency. Only about 1% of total body magnesium is in serum — most is inside cells and in bones. Symptomatic patients with risk factors (long-term PPIs, diuretics, alcohol, refined-grain diets, diabetes) can have cellular magnesium deficiency even when serum magnesium is in the normal range. RBC magnesium and ionised magnesium are more sensitive but less widely available in routine Indian labs.

Yes — long-term PPI use (months to years) is a recognised cause of magnesium deficiency. PPIs block the absorption of magnesium in the gut. The effect is dose-dependent and time-dependent, with concern rising after roughly a year of continuous use. Indian and international regulators now recommend periodic magnesium monitoring on long-term PPI therapy, particularly when combined with other magnesium-wasting medications (diuretics, certain antibiotics). This is one of several reasons doctors try to use PPIs at the lowest effective dose for the shortest needed duration.

Yes, in principle — traditional Indian diets that include whole grains (millet, ragi, jowar, bajra, whole-wheat), nuts and seeds, legumes, dark leafy greens, and bananas are good sources of magnesium. The challenge is the shift to refined grains (white rice, maida) and processed snacks, which strips most magnesium out. Increasing whole-grain intake, including a handful of nuts daily, and adding more green leafy vegetables and legumes usually improves magnesium intake meaningfully without needing supplements.

Most labs ask for an overnight fast for magnesium because it is usually drawn alongside other tests that benefit from fasting (electrolytes, kidney function, sometimes calcium). Magnesium itself does not change dramatically with recent meals. Pause magnesium-containing antacids and supplements for 24–48 hours before the test for a meaningful baseline.

Track your Magnesium over the years.

Get Medfolio and see how your Magnesium is moving — visit by visit, lab by lab.

Coming soon to Google Play. Coming soon on the App Store.