What Is a Magnesium Test?

Uses, Side Effects, Procedure, and Results

Nurse observing the blood
Yoshiyoshi Hirokawa / Getty Images

Magnesium is a plentiful mineral in the body, and it plays a central role in many chemical reactions—more than 300 different ones. Some of the ways magnesium assists the body, according to the National Institutes of Health (NIH) include:

  • protein synthesis
  • the function of muscles and nerves
  • managing blood glucose levels
  • maintaining blood pressure
  • facilitating energy production
  • the formation of bone
  • synthesizing antioxidants in the body
  • nerve conduction and contraction of the heart

Magnesium is naturally-occurring in many of the foods you eat, and some foods may be enriched with it. It can also be found in some over-the-counter medications and it can be purchased as a supplement as well.

Purpose of a Magnesium Test

The purpose of a magnesium test is to determine whether your levels are too low or too high. In the early stages of magnesium deficiency, a person may experience fatigue, reduced appetite, weakness, nausea, and vomiting. They may describe numbness and tingling in their extremities, leg cramps, or a change in heart rate.   

Low levels of magnesium may correlate with an increased risk of chronic and inflammatory diseases. One study in the journal Nutrients indicates that low levels of the mineral can contribute to conditions like Alzheimer’s disease, asthma, attention deficit hyperactivity disorder (ADHD), type-2 diabetes, high blood pressure, headaches, diseases of the cardiovascular system, and osteoporosis.

In contrast, high levels of magnesium may lead to symptoms like an irregular heartbeat, low blood pressure, slow respirations, bouts of confusion, and more. 

Your healthcare provider may choose to have you undergo a magnesium test, which is a blood test, usually if he/she suspects you may be exhibiting signs of abnormal magnesium levels. The test will help your practitioner gain a better understanding of the amount of magnesium in your blood. Additionally, if you have atypical calcium or potassium levels, your doctor may want to evaluate your magnesium levels, too.  

Risk and Contraindications

The risks and contraindications for a magnesium test are similar to those of any blood test. In general, blood tests have a very low risk of complications. However, sometimes a person may have veins that make it difficult to collect blood or that move during the process.

For those individuals, the healthcare provider may need to insert the needle more than once to obtain a blood sample. Other incidents to expect when having blood drawn for this test include:

  • a minor poke or stinging sensation at the site
  • bruising at the locatiom of the insertion of the needle
  • feeling faint or lightheaded
  • accumulation of blood under the skin (also known as a hematoma)
  • excessive bleeding
  • pain related to having more than one puncture to find a vein
  • a swollen vein (also known as phlebitis)
  • infection

Bruising may be alleviated or minimized by keeping a bandage in place for the amount of time the clinician recommends following the blood draw. In the unlikely instance that phlebitis occurs, it’s often treated using warm compresses throughout the day. 

Before the Test

Typically, there are no specific preparations required to have this blood test. To facilitate easy access to your veins, make sure you wear a shirt that allows you to roll it up above the elbows. Also, some medications like antacids, laxatives, and Epsom salts contain magnesium and may interfere with the blood test.

Let your doctor know about all the drugs you’re taking, including over-the-counter medications and supplements. Your healthcare provider might ask you to stop taking them for a few days before the test for the most accurate results.

On the day of the test, be sure to have your insurance card and a form of identification with you so that blood work can be billed to your insurance carrier without delay. You may want to talk with your insurance company about whether or not the blood test requires pre-approval.  

During the Test

A magnesium test is done in much the same way as other blood tests. You’ll likely be seated in a chair so that you can rest the arm where the blood will be taken from. The technician, nurse, or another healthcare provider with place an elastic band around your arm to temporarily restrict the flow of blood and locate a vein. Once a vein is found, the healthcare provider will disinfect the area, usually with an alcohol swab or pad, before inserting the needle.

After the needle has been inserted into the vein, the technician will place a vial at the end of the syringe to collect the sample. When a sufficient amount of blood has been obtained, the technician will remove the elastic and place an adhesive or bandage over the insertion site. The whole procedure should take no more than a couple of minutes. 

After the Test

You may notice a bit of pain at the injection site, but this should go away in a few days. Your technician may also want you to keep the bandage on for a few hours to decrease the likelihood of experiencing any bruising.

Generally, there are few follow-up instructions (if any) after a magnesium test, and you’re able to resume your normal activities. Your healthcare provider should notify you once the results are back and provide you with any specific follow-up instructions you might need.

Interpreting the Results

Each lab may have a particular guide or reference range for what is considered normal. As an example from the NIH, a normal range is from 1.7 to 2.2 mg/dL. A high magnesium test may indicate health conditions such as:

  • problems with the adrenal glands
  • kidney impairment
  • dehydration
  • diabetic ketoacidosis, which can have life-threatening consequences in people with diabetes
  • decreased urinary output

On the other hand, low magnesium levels can be indicative of conditions like:

  • alcoholism
  • chronic cases of diarrhea
  • reduced liver function
  • trouble with the parathyroid gland
  • pancreatitis
  • inflammation of the intestinal tract, which can be seen in illnesses like ulcerative colitis
  • preeclampsia if pregnant

Bear in mind that your physician will help you interpret your test results and assist in determining the appropriate course of treatment if need be.

A Word From Verywell

Blood tests are a commonly performed procedure, but an open line of communication between a patient and a physician is always beneficial whenever you’re having a test done. If you have any questions or concerns about a magnesium test, be sure to speak with your doctor about them so that you’re aware of why you’re undergoing the test, the risks involved, and what the test results can mean for you.

Was this page helpful?
Article Sources