Skip to content
    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 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 who have 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 medicines 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.
    1 | 2 | 3

    WebMD Medical Reference from Healthwise

    Last Updated: September 09, 2014
    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

    WebMD Video: Now Playing

    Click here to wach video: Dirty Truth About Hand Washing

    Which sex is the worst about washing up? Why is it so important? We’ve got the dirty truth on how and when to wash your hands.

    Click here to watch video: Dirty Truth About Hand Washing

    Popular Slideshows & Tools on WebMD

    disciplining a boy
    Types, symptoms, causes.
    fruit drinks
    Eat these to think better.
    embarrassed woman
    Do you feel guilty after eating?
    diabetes highlighted
    4 early warning signs.
    handful of vegetables and vitamins
    Diet tips and mistakes.
    birth control pills
    Which kind is right for you?
    Remember your finger
    Are you getting more forgetful?
    sticky notes on face
    10 tips to clear your brain fog.
    Close up of eye
    12 reasons you're distracted.
    Trainer demonstrating exercise for RA
    Exercises for your joints.
    apple slices with peanut butter
    What goes best with workouts?
    woman having a good day
    Revitalize your life.

    Pollen counts, treatment tips, and more.

    It's nothing to sneeze at.

    Loading ...

    Sending your email...

    This feature is temporarily unavailable. Please try again later.

    Thanks!

    Now check your email account on your mobile phone to download your new app.

    Women's Health Newsletter

    Find out what women really need.