Skip to content
WebMD: Better information. Better health.
 
Other search tools:Symptoms|Doctors|Medical Dictionary

Information and Resources

Font Size
A
A
A

Magnesium (Mg)

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 make and 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.

Why It Is Done

A test for magnesium is done to:

  • Find a cause for nerve and muscle problems, such as muscle twitches, irritability, and muscle weakness.
  • Find the cause of symptoms such as low blood pressure, nausea, vomiting, diarrhea, dizziness, muscle weakness, and slurred speech.
  • Monitor kidney function.
  • Find the cause of heart problems or trouble breathing, especially in people who have kidney disease.
  • Find the cause of a low calcium or potassium level that is not improving with treatment.
  • Look for changes in magnesium levels caused by medicines, such as diuretics.
  • See if people with heart problems need extra magnesium. Low magnesium levels can increase the chances of life-threatening heart rhythm problems.
  • Measure levels when magnesium is being given for medical treatment.

How To Prepare

Many medicines may change the results of this test. Be sure to tell your doctor about all the nonprescription and prescription medicines you take. Do not take medications containing magnesium for at least 3 days before this test. This includes antacids that contain magnesium, laxatives (such as milk of magnesia or Epsom salts), magnesium supplements, and some diuretics.

Talk to your doctor about any concerns you have regarding the need for the test, its risks, how it will be done, or what the results will mean. To help you understand the importance of this test, fill out the medical test information formpdf(What is a PDF document?).

How It Is Done

The health professional drawing blood will:

  • Wrap an elastic band around your upper arm to stop the flow of blood. This makes the veins below the band larger so it is easier to put a needle into the vein.
  • Clean the needle site with alcohol.
  • Put the needle into the vein. More than one needle stick may be needed.
  • Attach a tube to the needle to fill it with blood.
  • Remove the band from your arm when enough blood is collected.
  • Put a gauze pad or cotton ball over the needle site as the needle is removed.
  • Put pressure on the site and then put on a bandage.

How It Feels

The blood sample is taken from a vein in your arm. An elastic band is wrapped around your upper arm. It may feel tight. You may feel nothing at all from the needle, or you may feel a quick sting or pinch.

1 | 2 | 3

WebMD Medical Reference from Healthwise

Last Updated: April 05, 2010
This information is not intended to replace the advice of a doctor. Healthwise disclaims any liability for the decisions you make based on this information.

Hot Topics

Health Solutions From Our Sponsors

WebMD Video: Now Playing

Click here to wach video: Michelle Obama’s Nutrition Tips for Moms

First Lady Michelle Obama shares tips on parenting with moms and other audience members in a WebMD Town Hall meeting in Miami, Florida.

Click here to watch video: Michelle Obama’s Nutrition Tips for Moms

Popular Slideshows & Tools on WebMD

puppy eating
What you need to know.
Ra Management Get A Personalized Report
Assess your symptoms.
Xray of foot highlighting gout
Causes, symptoms and treatments.
Concentration Killers Slideshow
What's robbing your focus?
brain scan
Recognizing symptoms.
group beer toast
Do you know your suds?
Diabetic tools
Symptoms, causes, treatments.
thumbnail for fatigue slideshow
Causes, fixes for fatigue.
thumbnail for Brain Food slideshow
Foods that can help you focus.
Hot cup of coffee
The facts about that cup of joe.
Wendy’s Chicken Club
Double-fisted diet wreckers.

Women's Health Newsletter

Find out what women really need.