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.
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
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
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
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
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
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
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
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.
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.
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.
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.
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.
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.
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.
Convenient lab testing at your fingertips at more than 5,000 locations nationally. Consult with a doctor, or get tested on your own.