In this article
However, interpreting the result requires more care than it may seem. The usual measurement is serum magnesium, meaning the amount of magnesium in the liquid part of the blood. This represents only a very small fraction of all the magnesium in the body.
This article explains what the test measures, when it is usually requested, which factors can affect the result, which other tests help provide a fuller picture, and why a result in isolation rarely tells the whole story. The aim is to help you prepare for a conversation with your doctor, not replace it. Each result must be interpreted by the person who requested the tests, taking account of your medical history and medicines.
What the test measures
Most of the body's magnesium is found in bones and inside cells. Only a small percentage of the total circulates in the blood, and even this is divided into three forms: a free (ionised) form, which is biologically active; a form bound to proteins, mainly albumin; and a form bound to small molecules. The routine test measures total magnesium in serum, which is the sum of these forms.
There is a practical reason for using this test: it is cheap, quick and widely available. Ionised magnesium can also be measured, though the method is not as consistent and is mainly used in particular circumstances. Some laboratories and websites also offer tests that measure magnesium in red blood cells. However, there is no widely accepted method or reference range for these tests, and they cannot replace the usual assessment.
| Type of measurement | What it assesses | Regular use |
|---|---|---|
| Total magnesium in serum | Sum of free and bound magnesium in the blood | Routine test |
| Ionised magnesium | Only the free, active fraction | Specific settings, mainly in hospital |
| Urinary magnesium (24-hour or spot sample) | How much magnesium the kidneys excrete | Investigating the cause of low results |
| Magnesium in red blood cells | Magnesium inside cells | No agreed standardisation; limited use |
When it is usually requested
A doctor may request a magnesium test when there are compatible symptoms, such as persistent cramps, tremors, weakness or palpitations. It may also be requested when the risk of deficiency is greater, even without symptoms. The test is often ordered when potassium or calcium is low without a clear explanation, because magnesium deficiency is a known cause of these changes and makes them difficult to correct until the deficiency itself is treated.
Other common reasons include monitoring people who take diuretics or proton pump inhibitors for a long time, those with chronic diarrhoea or intestinal diseases, high alcohol intake, poorly controlled diabetes, and certain cancer treatments or immunosuppressants. In hospital, magnesium is frequently checked in patients with arrhythmias, those in intensive care, or those receiving artificial nutrition.
| Situation | Why the test is requested |
|---|---|
| Low potassium or calcium | Magnesium deficiency may be the cause or may prevent correction |
| Long-term use of diuretics or medicines that protect the stomach | May increase losses or reduce absorption |
| Chronic diarrhoea, inflammatory bowel disease | Intestinal losses and poor absorption |
| Excessive alcohol use | Deficiency is common for several reasons |
| Arrhythmias or changes on an electrocardiogram | Magnesium affects heart rhythm |
How to read the result
Many labs use 0.7 to 1.0 mmol/L for the healthy range in grown-ups, though this is only a rule of thumb (some show mg/dL instead, which gives different numbers). The cut-off points depend on how and where the test was done, so always check your reading against those shown on your report. A reading marked as low points to a shortfall. Being only just below the cut-off with no signs of illness may mean something quite different from a clearly low reading alongside symptoms or other unusual findings.
A result within the reference range is reassuring, but does not rule out low stores because the body tends to maintain the blood level by drawing magnesium from the tissues. When there is strong clinical suspicion, the doctor may therefore consider other information or repeat the test. Conversely, high levels are less common and occur mainly in people with kidney disease or those taking large amounts of magnesium in supplements, laxatives or antacids.
| Result (in relation to the range on the report) | What it may mean | Who interprets it |
|---|---|---|
| Below the range | Magnesium deficiency likely; investigate the cause | Doctor who requested the tests |
| Within the range | No clear deficiency in the blood; does not rule out low stores | Doctor, together with the symptoms |
| Above the range | Excess, often linked to the kidneys or supplements | Doctor, together with kidney function |
Factors that may affect the result
Several technical and biological factors can make the result less accurate. Haemolysis, the rupture of red blood cells during or after collection, releases magnesium into the serum and can falsely raise the result. Low albumin, which is common in people who are malnourished or have liver or kidney disease, reduces total magnesium without necessarily reducing the free fraction.
Medicines and supplements also matter. Laxatives and antacids containing magnesium can raise the result; diuretics, proton pump inhibitors and other medicines can lower it. Tell your doctor and, when asked, the laboratory about everything you take, including natural remedies. Never stop taking medication for the test unless your doctor specifically tells you to.
| Factor | Usual effect on the result |
|---|---|
| Sample haemolysis | May cause a falsely high result |
| Low albumin | May lower total magnesium |
| Supplements, laxatives or antacids containing magnesium | May increase |
| Diuretics, long-term use of medicines that protect the stomach | May lower it |
| Kidney disease | Tends to increase |
Preparing for sample collection
A magnesium test does not usually require any special preparation, but it is often requested alongside other tests that may require fasting. Always follow the instructions from the laboratory and your doctor. If you take magnesium supplements, ask your doctor whether you should continue taking them or pause them before the sample is collected, as they may affect the interpretation.
It also helps to have follow-up tests under similar conditions to previous ones (time of day, fasting and medication), so comparisons are more reliable. If you had vomiting or diarrhoea in the preceding days, mention this, as these can temporarily alter several mineral levels.
Tests that complete the assessment
Magnesium is rarely assessed on its own. Potassium and calcium are almost always requested at the same time because changes in these three minerals often occur together. Creatinine, which assesses kidney function, is essential for understanding losses and deciding whether supplements can be given safely. Albumin helps with the interpretation of total magnesium.
When magnesium is low and the cause is not clear, the doctor may request a urinary magnesium test. The logic is simple: if there is little magnesium in the blood but the kidneys continue to excrete a substantial amount, the cause is likely to be renal, for example due to medicines or rare inherited conditions. If the kidneys are conserving magnesium, the loss is probably intestinal or intake is insufficient. This distinction guides treatment.
When a result requires prompt contact
Very low levels, particularly when accompanied by symptoms, may be associated with arrhythmias and seizures. Many laboratories contact the requesting doctor about critical results, but patients should also remain alert. If your result is marked as very low and you have palpitations, pronounced weakness, tremors or spasms, contact your doctor the same day or call SNS 24 (808 24 24 24). In the event of seizures, fainting, chest pain or severe palpitations, call 112.
Very high levels, particularly in people with kidney disease who have taken magnesium supplements or laxatives, also require prompt attention because they can cause weakness, drowsiness, low blood pressure and abnormal heart rhythms.
Special situations
During pregnancy, magnesium may be assessed in specific circumstances under the care of the obstetric team. Interpretation takes account of the normal changes in blood volume and kidney function at this stage. Any supplement taken during pregnancy should be agreed with the doctor or nurse providing antenatal care.
In older people, a combination of several medicines, a sometimes less varied diet and changes in kidney function makes magnesium abnormalities both more likely and more difficult to interpret. Reference ranges for children may differ from those for adults, and the laboratory will usually provide the appropriate values for the child's age.
In people with chronic kidney disease, the tendency is reversed: the main risk is a build-up of magnesium, especially with laxatives, antacids or supplements that contain it. It is therefore particularly important in these cases not to take products containing magnesium without professional advice.
| Group | Main consideration when interpreting the result |
|---|---|
| Pregnant women | Normal physiological changes of pregnancy; supplements only when advised |
| Older people | Several medicines and variable kidney function |
| Children | Age-specific reference ranges |
| Chronic kidney disease | Risk of build-up; avoid products containing magnesium without advice |
Repeating the test: when and why
A result just outside the range in someone without symptoms or risk factors is often repeated before any decision is made, to rule out collection errors or temporary variations. Once treatment begins, repeating the test confirms the response and helps prevent excessive levels, particularly in people with reduced kidney function.
For people with persistent risk factors, such as a medicine that needs to be continued, regular monitoring may form part of the follow-up plan. The doctor determines how often this is needed based on the severity, cause and previous results.
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.
Frequently asked questions
Do I need to fast for a magnesium test?
Not usually, but it may be requested alongside other tests that require fasting. Follow the laboratory's instructions.
Why is my magnesium normal if my doctor still suspects a deficiency?
Because the blood contains little magnesium and the level may remain normal even when stores are low.
Is the red blood cell test better?
It is not standardised and does not have agreed reference values. Its use is limited.
Do supplements affect the test?
They can. Ask your doctor whether you should continue taking them before the sample is collected.
Why were potassium and calcium also requested?
Because changes in these minerals often occur together and affect one another.
Is a slightly low level a cause for concern?
It depends on the context, symptoms and other tests. Only your doctor can make this assessment.
What is a urinary magnesium test for?
It helps determine whether magnesium is being lost through the kidneys or whether the problem is intestinal.
Did you enjoy this article?
Scientific references3
- de Baaij JHF, Hoenderop JGJ, Bindels RJM. Magnesium in man: implications for health and disease. Physiol Rev. 2015;95(1):1–46.
- Ahmed F, Mohammed A. Magnesium: the forgotten electrolyte. A review on hypomagnesaemia. Med Sci (Basel). 2019;7(4):56.
- Kardalas E, Paschou SA, Anagnostis P, et al. Hypokalemia: a clinical update. Endocr Connect. 2018;7(4):R135–46.





