Electrolytes · Lab value guide

Magnesium: what your test result actually means

Lafia.health Editorial

Plain-language educational guide

4 min read · Updated July 2026

A magnesium blood test measures the amount of magnesium in a sample of blood [1]. Magnesium is an electrolyte, an electrically charged mineral [1]. Electrolytes help control the amount of fluid and the balance of acids and bases in the body [1]. The NHS says magnesium is a metallic element mainly found in the bones and is essential to life [4].

The body needs magnesium to help muscles, nerves, and the heart work properly, to help control blood pressure and blood glucose, to build strong bones, and to support the immune system [1]. The body stores magnesium in the bones, organs, and other tissue, and normally only a small amount is in the blood [1]. The encyclopedia says only a small amount of the body's magnesium is in the blood, about one half is in bone, and the other half is inside cells of tissues and organs [3]. The kidneys filter extra magnesium from the blood and remove it in urine, and the intestines control how much is absorbed from food [1].

The NHS says abnormal magnesium levels can occur in conditions that affect the kidneys or the intestines [4]. An unusually high or low blood level may be a sign of a health problem [1]. Compare the result with the reference range on your own report, because labs often use different ranges [6]. A result inside the reference range is not always a guarantee of good health, and a result outside the range may or may not be a sign of a health problem [6].

Magnesium example from MedlinePlus (mg/dL)

Example range1.7 to 2.2 mg/dL (0.70 to 0.91 mmol/L) [3]MedlinePlus gives this as a normal-range example and says ranges may vary slightly among different labs [3]. Some labs use different measurements or test different samples [3].
Your reportUse the printed range [6]Labs often use different reference ranges [6]. Check the reference range on your own report [6].

The amount of magnesium in the blood may be normal even though the amount stored in the body is low, because the body takes magnesium from the bones to keep the blood level stable [1]. Talk with your provider about what the result means [1][3].

What low magnesium (Hypomagnesemia) means

A low magnesium level is called hypomagnesemia, or magnesium deficiency [1]. It can happen if you do not eat enough food with magnesium, or if the kidneys or intestine are getting rid of too much [1]. Lab Tests Online UK says a low level may mean the diet does not contain enough magnesium, the intestines are not absorbing enough, or the kidneys are excreting too much [2]. It says dietary deficiencies are rare, and that low intake is seen in people who are elderly or malnourished, and with alcoholism [2]. MedlinePlus says older adults and people with alcohol use disorder or malnutrition are more likely not to get enough magnesium from food [1].

Symptoms of low magnesium that MedlinePlus lists include loss of appetite, nausea and vomiting, fatigue and weakness, muscle cramps, numbness or tingling, an irregular heartbeat, and seizures if the level is extremely low [1]. Lab Tests Online UK lists muscle weakness, twitching, cramping, confusion, cardiac arrhythmias, and seizures [2]. The NHS says a magnesium test may be recommended if there are symptoms such as nausea, weakness, twitching, cramping, or an irregular heartbeat, and that you may have abnormally low magnesium, calcium, or potassium [4].

Causes of a low level that these sources list include long-lasting diarrhea, digestive disorders that reduce absorption, alcohol use disorder, diabetes that is not well controlled, kidney problems, and some medicines [1][2][3]. MedlinePlus says diabetes can cause frequent urination if blood glucose is too high, and that this is one way the body can get rid of too much magnesium [1]. Medicines that can decrease magnesium include diuretics, certain antibiotics, and proton pump inhibitors [1]. The encyclopedia lists proton pump inhibitors for acid reflux, diuretics, and some antibiotics among medicines linked with a low level [3]. If magnesium is low, it is not unusual for calcium and potassium also to be low [2]. Tell your provider about every prescription and over-the-counter medicine and supplement you take [1].

How a magnesium result is interpreted

A provider may use a magnesium test to help find the cause of abnormal calcium, potassium, or phosphorus, because magnesium plays a role in how the body handles these minerals [1]. Lab Tests Online UK says the test may be requested as a follow-up to persistently low calcium and potassium, and that a low magnesium level can make a low calcium level more resistant to change [2]. It may also be used to monitor chronic kidney disease or diabetes that is not well controlled [1]. If the result is above or below the healthy range, the provider uses the medical history and other test results to look for the cause [1].

Magnesium in food comes from foods such as nuts, seeds, beans, fortified breakfast cereals, green leafy vegetables, and milk [1]. It is rare to get too much magnesium from food alone [1]. Getting too much from dietary supplements, laxatives, antacids, or certain prescription medicines can raise the blood level [1]. Treatment for an abnormal level depends on the condition [1]. Ask your provider what the result means [1].

What high magnesium (Hypermagnesemia) means

A high magnesium level is called hypermagnesemia and is much less common [1]. Most cases happen in people who have kidney failure [1]. Lab Tests Online UK says an increased level is rarely due to excess magnesium in the diet and is usually the result of an excretion problem or excessive supplementation, and it lists kidney failure among the causes [2]. The encyclopedia also lists loss of kidney function, dehydration, and lithium use among causes of a high level [3].

Symptoms of a high level may be like those of a low level, such as nausea and fatigue, and may also include diarrhea, abdominal cramping, and difficulty breathing [1]. MedlinePlus says a magnesium test may be used to monitor health after cardiac arrest caused by extremely high magnesium levels [1]. Medicines and products that can increase magnesium include aspirin, lithium, laxatives that contain magnesium, and some antacids for heartburn or gastroesophageal reflux [1]. Tell your provider about everything you take [1].

When to contact your healthcare team

  • MedlinePlus lists an irregular heartbeat among symptoms of low magnesium, and seizures if the level is extremely low [1]. Lab Tests Online UK lists cardiac arrhythmias and seizures among symptoms of a low level [2]. The NHS magnesium page says the test may be recommended for symptoms that include an irregular heartbeat [4]. The NHS says to call 999 or go to A&E if you currently have heart palpitations with chest pain, shortness of breath, feeling dizzy or lightheaded, or fainting or feeling like you might faint [5]. If you have had those symptoms but they have now stopped, ask your GP surgery for an urgent appointment, call 111, or get help from 111 online [5]. Do not drive to A&E [5]. Ask someone to drive you or call 999 and ask for an ambulance, and bring any medicines you take with you [5].
  • The NHS says to call 999 and ask for an ambulance if it is the first time someone has had a seizure, the seizure lasts longer than is usual for them, the seizure lasts more than 5 minutes if you do not know how long their seizures usually last, the person does not regain full consciousness or has several seizures without regaining consciousness, the person is seriously injured during the seizure, or the person has difficulty breathing after the seizure [7].
  • Most cases of a high magnesium level happen in people who have kidney failure [1]. Symptoms of a high level can include difficulty breathing [1]. Tell your provider about prescription medicines, antacids, laxatives, and supplements, and ask what the result means [1]. A result outside the reference range may or may not be a sign of a health problem [6].

Common questions

Can I take magnesium supplements if my level is low?

Treatment for an abnormal magnesium level depends on the condition, so ask your provider what the result means [1]. A low level may mean the diet does not contain enough magnesium, the body is not absorbing enough, or the body is getting rid of too much [1][2]. Getting too much magnesium from dietary supplements, laxatives, or antacids can raise the level, and it is rare to get too much from food alone [1]. Most cases of a high level happen in people who have kidney failure [1].

Why did my doctor order a magnesium test?

A provider may order it for symptoms of a low or high level, to monitor chronic kidney disease or diabetes that is not well controlled, or to help explain abnormal calcium, potassium, or phosphorus [1]. Lab Tests Online UK says it may be requested as a follow-up to persistently low calcium and potassium, because a low magnesium level can, over time, cause persistently low calcium and potassium [2]. The NHS says it may be recommended for symptoms such as nausea, weakness, twitching, cramping, or an irregular heartbeat [4]. Medicines that can decrease magnesium include diuretics, certain antibiotics, and proton pump inhibitors [1].

Related guides

Sources

  1. MedlinePlus: Magnesium Blood Test
  2. Lab Tests Online UK: Magnesium
  3. MedlinePlus Medical Encyclopedia: Magnesium blood test
  4. NHS: Magnesium test
  5. NHS: Heart rhythm problems (arrhythmia)
  6. MedlinePlus: How to Understand Your Lab Results
  7. NHS: What to do if someone has a seizure (fit)

Have the full report?

Have the full report? Upload it for a plain-language walkthrough and questions to take to your clinician.

Lafia.health organises the values, units and reference intervals shown on your report. Educational only; not medical advice, diagnosis, or treatment. AI-generated interpretations are not reviewed by a physician or human clinician and do not replace a clinician, laboratory, or original report. Do not use this content for emergencies; consult a qualified healthcare professional. Do not post personal laboratory results publicly.

Upload your report

Upload only a report you are authorised to share. Redact unnecessary identifiers where possible. Read our Privacy Policy and Data Use information before uploading.

Medical disclaimer: Educational only; not medical advice, diagnosis, or treatment. AI-generated interpretations are not reviewed by a physician or human clinician. Do not use this content for emergencies; consult a qualified healthcare professional. Do not post personal laboratory results publicly. Reference intervals vary between laboratories—use the value, unit, date and range printed on your own report, and consult a qualified healthcare professional about your results and symptoms.