Magnesium blood test: What it measures and what your results mean

Published Aug 05, 2024

|

Updated Apr 29, 2026

|

Est. reading time: 3 minutes

Key points

  • A magnesium blood test, usually a serum magnesium level, evaluates whether you have too little or too much magnesium in your blood.
  • The normal serum magnesium range is roughly 1.7 to 2.4 mg/dL (0.7 to 1.0 mmol/L).
  • Low magnesium (hypomagnesemia) can cause muscle cramps, weakness, tremor, fatigue, and abnormal heart rhythms.
  • High magnesium (hypermagnesemia) is uncommon and is most often seen in people with kidney disease or those using magnesium-containing laxatives or antacids.
  • Most magnesium blood tests are quick and only require a routine venous blood draw.

Ensure your health. Get tested today.

Magnesium blood test: What it measures and what your results mean


A magnesium blood test measures the amount of magnesium in your blood. Magnesium is an essential mineral that helps regulate heart rhythm, blood pressure, blood sugar, muscle contraction, and nerve signaling. The test is usually a simple venous blood draw, and your doctor may order it if you have unexplained muscle cramps, abnormal heart rhythms, kidney disease, or are taking medications that affect magnesium levels.1

What does a magnesium blood test measure?

The most common test is a total serum magnesium level, which measures the amount of magnesium in the liquid portion of your blood. Most magnesium in your body is stored in your bones and inside cells, so serum levels capture only about one percent of your total body magnesium. In specific clinical situations, a clinician may order an ionized (free) magnesium level, a 24-hour urine magnesium test, or a red-blood-cell magnesium test for additional information.2

What is the normal range for magnesium?

Normal serum magnesium typically falls between 1.7 and 2.4 mg/dL (about 0.7 to 1.0 mmol/L). Reference ranges can vary slightly between labs, so always interpret your results against the range listed on your specific report.3

What does a low magnesium level mean?

Hypomagnesemia is defined as a serum magnesium level below 1.7 mg/dL. Common causes include chronic alcohol use, gastrointestinal losses (such as diarrhea, malabsorption, or proton pump inhibitor use), kidney losses from diuretics, poorly controlled diabetes, and inadequate dietary intake. Symptoms typically appear when levels fall below 1.2 mg/dL and can include muscle cramps, twitching, tremor, fatigue, irritability, and arrhythmias such as torsades de pointes. Severe deficiency can also cause low calcium and low potassium that don't correct until magnesium is replaced.4

What does a high magnesium level mean?

Hypermagnesemia is uncommon because healthy kidneys excrete excess magnesium efficiently. It typically occurs in people with chronic kidney disease, those receiving large doses of magnesium-based laxatives, antacids, or IV magnesium during obstetric care. Symptoms can include flushing, nausea, low blood pressure, weakness, slowed reflexes, and at very high levels, cardiac conduction problems and respiratory depression.5

How is the test performed?

A magnesium blood test is a routine blood draw, usually from a vein in the arm. No special preparation is required for the standard test, though your clinician may ask you to fast or pause certain supplements before the draw. Most results come back within 24 hours.1

How is an abnormal magnesium level treated?

Treatment depends on severity, symptoms, and the underlying cause. Mild low magnesium is usually corrected with oral magnesium supplements (often magnesium oxide, glycinate, or citrate) and addressing the underlying cause. Severe or symptomatic deficiency — particularly with arrhythmias — is treated with intravenous magnesium sulfate. High magnesium is treated by stopping the source, ensuring adequate hydration, and in severe cases, giving IV calcium gluconate, diuretics, or dialysis.6

Next steps

If you've been told you need a magnesium blood test or have symptoms that could be related to an electrolyte imbalance, you don't have to wait for a primary care appointment. Solv can help you find a same-day urgent care visit, including locations with on-site lab testing, so you can get answers quickly and start any treatment you need.

FAQs

Should I take magnesium supplements before my blood test?

Most labs do not require you to stop magnesium supplements before a routine serum magnesium test, but supplements taken in the hours before a draw can transiently raise your level. To get the most accurate baseline, ask your ordering clinician whether to pause supplements for 24 to 48 hours before the test.

Is a low magnesium level dangerous?

Mild deficiencies are usually managed with diet and oral supplements. Severely low magnesium can trigger life-threatening heart rhythm problems, seizures, and refractory low calcium or potassium. People who feel weak, lightheaded, or have palpitations alongside a low result should be evaluated promptly.

Can magnesium levels be checked at urgent care?

Many urgent care clinics can draw blood for a magnesium level, often as part of a broader chemistry panel that includes electrolytes and kidney function. Results may be available the same day if the clinic has an on-site lab, or within 24 to 48 hours if sent to an outside lab.

Which medications can lower my magnesium?

Common culprits include long-term proton pump inhibitors (omeprazole, pantoprazole), loop and thiazide diuretics, certain antibiotics like aminoglycosides, chemotherapy agents such as cisplatin, and some immunosuppressants. If you take any of these and develop muscle cramps, fatigue, or arrhythmias, talk with your prescriber about checking a level.

Does the test require fasting?

A standalone serum magnesium test does not usually require fasting. However, magnesium is often ordered alongside a comprehensive metabolic panel or lipid panel that does require fasting for 8 to 12 hours. Confirm with your clinician or the lab when you book the appointment.

Can I get enough magnesium from food alone?

Most healthy adults can meet their magnesium needs through diet by eating leafy greens, nuts, seeds, whole grains, beans, and dark chocolate. Supplements are generally only needed when intake is low, when there is increased loss from medications or GI conditions, or when a clinician recommends them based on your test results.

On-demand lab testing

Ensure your health. Get tested today.

Convenient lab testing at your fingertips at more than 5,000 locations nationally. Consult with a doctor, or get tested on your own.

Book a lab visit

Dr. Rob Rohatsch, MD, is a Board-Certified Emergency Medicine physician and urgent care executive. He earned his MD from Jefferson Medical College, currently serves on multiple boards and is Solv’s Chief Medical Officer.

How we reviewed this article

Medically reviewed

View this article’s sources and history, and read more about Solv’s Content Mission Statement, editorial process, and editorial team.

Sources

6 sources

Solv has strict sourcing guidelines and relies on peer-reviewed studies, academic research institutions, and medical associations. We avoid using tertiary references.

  • Cleveland Clinic. Hypomagnesemia. https://my.clevelandclinic.org/health/diseases/23264-hypomagnesemia
  • National Institutes of Health, Office of Dietary Supplements. Magnesium fact sheet for health professionals. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
  • National Library of Medicine. Hypomagnesemia (StatPearls). https://www.ncbi.nlm.nih.gov/books/NBK500003/
  • National Library of Medicine. Disorders of magnesium metabolism. https://pmc.ncbi.nlm.nih.gov/articles/PMC6357249/
  • National Library of Medicine. Hypermagnesemia (StatPearls). https://www.ncbi.nlm.nih.gov/books/NBK549811/
  • Cleveland Clinic. Hypermagnesemia: causes, symptoms and treatment. https://my.clevelandclinic.org/health/diseases/hypermagnesemia

History

Solv’s team of medical writers and experts review and update our articles when new information becomes available.

  • August 05 2024

    Written by Solv Editorial Team

    Medically reviewed by: Dr. Rob Rohatsch, MD

  • April 29 2026

    Edited by Solv Editorial Team

6 sources

Solv has strict sourcing guidelines and relies on peer-reviewed studies, academic research institutions, and medical associations. We avoid using tertiary references.

  • Cleveland Clinic. Hypomagnesemia. https://my.clevelandclinic.org/health/diseases/23264-hypomagnesemia
  • National Institutes of Health, Office of Dietary Supplements. Magnesium fact sheet for health professionals. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
  • National Library of Medicine. Hypomagnesemia (StatPearls). https://www.ncbi.nlm.nih.gov/books/NBK500003/
  • National Library of Medicine. Disorders of magnesium metabolism. https://pmc.ncbi.nlm.nih.gov/articles/PMC6357249/
  • National Library of Medicine. Hypermagnesemia (StatPearls). https://www.ncbi.nlm.nih.gov/books/NBK549811/
  • Cleveland Clinic. Hypermagnesemia: causes, symptoms and treatment. https://my.clevelandclinic.org/health/diseases/hypermagnesemia

Solv’s team of medical writers and experts review and update our articles when new information becomes available.

  • August 05 2024

    Written by Solv Editorial Team

    Medically reviewed by: Dr. Rob Rohatsch, MD

  • April 29 2026

    Edited by Solv Editorial Team

Topics in this article

Urgent CareNutritionLab TestingWellnessMedication
On-demand lab testing

Ensure your health. Get tested today.

Convenient lab testing at your fingertips at more than 5,000 locations nationally. Consult with a doctor, or get tested on your own.

Book a lab visit

This site uses cookies to provide you with a great user experience. By using Solv, you accept our use of cookies.