Skip to content
WebMD: Better Information. Better Health.
Other search tools:Symptoms|Doctors|Videos

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.
  • 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 form(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 17, 2008
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.
webMD Video

Show or hide information about video: Boosting Your Breasts Without Implants   Boosting Your Breasts Without Implants

48x48_boosting_your_breasts_without_implants.jpg

A breakthrough procedure gives women who want bigger breasts, but don’t like the idea of implant surgery, a new option.

Watch Video: Boosting Your Breasts Without Implants (opens in a new window)

Show or hide information about video: Dirty Truth About Hand Washing   Dirty Truth About Hand Washing

Show or hide information about video: Too Busy To Exercise?   Too Busy To Exercise?

Show or hide information about video: Boost Your Immune System   Boost Your Immune System

Show or hide information about video: What's Your Sleep Personality?   What's Your Sleep Personality?