First Time User? Enroll now.
COVID-19: Vaccine information, visitor restrictions, and additional resources | Medicaid: The program is changing and you must take steps to keep your UNC Health providers
Home > Health Library > Magnesium (Mg) Test
A magnesium test checks the level of magnesium in the blood. Magnesium is an important electrolyte needed for proper muscle, nerve, and enzyme function. It also helps the body use energy and is needed to move other electrolytes (potassium and sodium) into and out of cells.
Most of the magnesium in the body is found in the bones and inside the cells. Only a tiny amount of magnesium is normally present in the blood.
Tests for other electrolytes, such as calcium, potassium, sodium, and phosphorus, may be done along with a test for magnesium.
A test for magnesium is done to:
Don't take medicines containing magnesium for at least 3 days before this test. This includes:
A health professional uses a needle to take a blood sample, usually from the arm.
The test will take a few minutes.
When a blood sample is taken, you may feel nothing at all from the needle. Or you might feel a quick sting or pinch.
There is very little chance of having a problem from this test. When a blood sample is taken, a small bruise may form at the site.
Each lab has a different range for what's normal. Your lab report should show the range that your lab uses for each test. The normal range is just a guide. Your doctor will also look at your results based on your age, health, and other factors. A value that isn't in the normal range may still be normal for you.
Many conditions can change magnesium levels. Your doctor will talk with you about any abnormal results that may be related to your symptoms and past health.
Current as of:
September 23, 2020
Author: Healthwise StaffMedical Review: E. Gregory Thompson MD - Internal MedicineAdam Husney MD - Family MedicineMartin J. Gabica MD - Family Medicine
Current as of: September 23, 2020
Author: Healthwise Staff
Medical Review:E. Gregory Thompson MD - Internal Medicine & Adam Husney MD - Family Medicine & Martin J. Gabica MD - Family Medicine
To learn more about Healthwise, visit Healthwise.org.
© 1995-2021 Healthwise, Incorporated. Healthwise, Healthwise for every health decision, and the Healthwise logo are trademarks of Healthwise, Incorporated.