Need Help? (888) GET LABS

General health single lab test icon

Magnesium Blood Test

$76
Product is not a lab test

* This is not a home test kit. You will need to visit a local lab for testing.

📅 Last Updated: April 2026  |  🩺 Medically Reviewed by: Edward Salko, D.O., Medical Director  |  🧪 Lab Partner: Labcorp

Also Known As

Mag, Mg, Magnesium-Serum

The Purpose of a Magnesium Test

Your body thrives on magnesium. It’s an important mineral that’s essential for many functions, which is why a deficiency shouldn’t be ignored. If left untreated, poor magnesium levels raise your risk for brittle bones, slow metabolism, and kidney, heart, or muscle issues, as well as serious health concerns such as heart disease, diabetes, arrhythmia, high blood pressure, and osteoporosis.

Factors that can contribute to magnesium deficiency include a poor diet, alcohol use disorder, certain medications, or diabetes, Crohn’s disease, and other health conditions. Magnesium level tests can help you stay proactive and make sure your body has what it needs to remain healthy.

Labcorp
Magnesium, Serum (001537)

What Does the Mg Blood Test Measure?

This test measures the body’s magnesium level.

Magnesium Normal Range — What Your Results Mean

| Level | Classification | Symptoms at This Level |
|—|—|—|
| Below 1.2 mg/dL | Severely Deficient | Muscle spasms, seizures, cardiac arrhythmia |
| 1.2–1.6 mg/dL | Deficient | Cramping, insomnia, anxiety, palpitations |
| 1.6–1.8 mg/dL | Low-Normal | Fatigue, headaches, constipation common |
| 1.8–2.6 mg/dL | Normal | Standard reference range |
| 2.0–2.4 mg/dL | Optimal | Functional medicine optimal target |
| Above 2.7 mg/dL | Elevated | Kidney disease, excess supplementation |

Why Magnesium Deficiency Is the Most Missed Deficiency in Medicine

Magnesium is involved in over 300 enzymatic reactions in the human body — yet it is excluded from standard annual blood panels and rarely tested in routine care.

The core problem with serum magnesium testing: only 1% of your total body magnesium circulates in the blood. Your body tightly regulates serum magnesium by pulling from bone and muscle stores when blood levels drop — meaning serum magnesium can appear normal while cellular stores are severely depleted. This is why many symptomatic patients test “normal” on serum magnesium.

Despite this limitation, serum magnesium below 1.8 mg/dL confirms deficiency and is clinically actionable regardless of symptoms.

The highest-risk groups for magnesium deficiency:

People on proton pump inhibitors (PPIs) — omeprazole, pantoprazole, esomeprazole. The FDA issued a safety warning in 2011 about PPI-induced magnesium deficiency. Long-term PPI users should test annually.

People taking diuretics — particularly loop diuretics (furosemide, torsemide) and thiazides. These medications increase magnesium excretion through the kidneys, often dramatically.

Type 2 diabetics and people with insulin resistance — insulin drives magnesium into cells. When insulin resistance is present, magnesium excretion increases. Low magnesium worsens insulin resistance creating a self-reinforcing cycle.

Chronic alcohol users — alcohol dramatically increases renal magnesium excretion.

People with chronic stress — cortisol increases magnesium excretion through the urine. Chronically stressed people lose magnesium faster than they replace it.

Symptoms that commonly resolve with magnesium repletion: nocturnal muscle cramps, restless leg syndrome, difficulty falling asleep, anxiety, palpitations, migraines, and unexplained fatigue.

Reviewed by Edward Salko, D.O., Medical Director, Personalabs

Who Should Take a Magnesium Lab Test?

Testing may be recommended if you are experiencing symptoms linked to inadequate magnesium levels, such as:

  • Appetite loss
  • Nausea
  • Fatigue
  • Muscle weakness or spasms

A magnesium blood test is also helpful to monitor your levels if you have a medical condition or take medication that can raise the risk of deficiency.

Magnesium Level Test Preparation

There are no special instructions for taking a magnesium test.

Mg Blood Test Results

The normal range for magnesium lab test results is 1.7 to 2.2 mg/dL, although there may be slight variations depending on the lab. Your doctor may order some more tests, like the RBC magnesium test, or suggest lifestyle modifications, such as including more magnesium-rich foods in your diet if your levels aren’t where they should be. (Recommended daily magnesium intake is 310 to 320 mg for women and 400 to 420 mg for men.).

Where Can I Get a Magnesium Blood Test Near Me?

Our wide array of vitamin and nutrition tests gives you valuable data you can use to support your overall wellness. With Personalabs, you enjoy the ease and convenience of ordering tests online so you can take a preventive and proactive approach to your health. Here’s how it works:

Step 1: Buy your desired test. (You may not need a doctor’s approval prior to purchase, depending on the state where you live.) Download the lab order that comes with the test so you can bring it to your blood draw.

Step 2: Use the Personalabs location tool to find a Labcorp or Quest Diagnostics facility near you from more than 4,000 locations across the country.

Step 3: Bring the lab order to the blood draw and complete your testing.

Step 4: View your test report in your secure Personalabs portal. Results usually arrive within 2 to 10 business days, but we can help if you have a specific turnaround time. Contact us for more information.

Browse our collection of tests today and take the first step toward gaining more control over your healthcare choices. Shop online, or reach out to our customer service team with any questions.

Frequently Asked Questions: Magnesium Blood Test

What is a normal magnesium level?

Normal serum magnesium is 1.8 to 2.6 mg/dL. The functional medicine optimal range is 2.0 to 2.4 mg/dL. Below 1.8 mg/dL is deficient and clinically significant. Note that serum magnesium can appear normal while cellular magnesium is depleted — symptomatic people with normal serum levels may benefit from RBC (red blood cell) magnesium testing for a more accurate functional assessment.


What are the symptoms of low magnesium?

Low magnesium causes muscle cramps and twitching (especially at night), insomnia, anxiety, heart palpitations, constipation, migraines, fatigue, and in severe cases cardiac arrhythmia and seizures. Many of these symptoms are non-specific — magnesium testing identifies whether deficiency is a contributing factor.


Do PPIs cause magnesium deficiency?

Yes. Long-term use of proton pump inhibitors including omeprazole (Prilosec), pantoprazole (Protonix), and esomeprazole (Nexium) significantly depletes magnesium. The FDA issued a safety warning in 2011. Anyone taking PPIs for more than one year should test magnesium annually. PPI-induced magnesium deficiency can cause muscle spasms, tremors, and life-threatening cardiac arrhythmias in severe cases.


Do I need to fast for a magnesium blood test?

No fasting required. Available through Personalabs without a doctor’s visit — order online, visit any Labcorp location, results in 24 to 48 hours. HSA and FSA eligible.


Additional information

Provider

LabCorp, Quest

Arrow icon

STEP 1

Order Your Test

Create an account, choose your tests, checkout securely, generate your lab order

Document

STEP 2

Generate & Print Out Lab Order

Our physician network will approve your order within 2-4hrs.

Location

STEP 3

Visit the Lab

The test price decides which lab you will visit: Quest or Labcorp. Find a location in your area.

Report

STEP 4

Get Your Results

Results can be provided in as little as 24-48 hrs. For more complex tests, please contact us for turn around times.