Optimize
← All biomarkers
MineralsMuscles

Magnesium

Mineral involved in energy production, muscle function, and nerve signaling.

What is Magnesium?

Magnesium is a divalent cation that acts as a cofactor for more than 300 enzymatic reactions in the human body, including ATP synthesis, DNA replication, protein synthesis, and glucose metabolism. The normal serum range for adults is typically 0.7–1.1 mmol/L. However, roughly 99% of total body magnesium resides inside cells and in bone; only about 1% circulates in serum. This is the fundamental limitation of the blood test: a normal serum value does not rule out intracellular magnesium deficiency, because the body maintains the serum level at the expense of intracellular stores. The main dietary sources of magnesium are nuts, seeds, legumes, dark leafy greens, and wholegrains. Intestinal absorption ranges from 30–40% at normal intake and increases at lower intakes; the kidneys tightly regulate excretion. Multiple factors deplete magnesium status: chronic alcohol use impairs tubular reabsorption; diuretics (particularly loop diuretics) increase renal excretion; proton pump inhibitors (PPIs) reduce intestinal absorption with prolonged use; and malabsorption conditions such as coeliac disease, Crohn's disease, and short bowel syndrome limit uptake. Low serum magnesium (hypomagnesaemia) in someone with fitting symptoms — muscle cramps, restlessness, poor sleep, irritability, or arrhythmias — is a clear pointer. A normal serum level, however, does not rule out a functional deficiency.

Why is Magnesium relevant?

Magnesium is relevant in a preventive blood panel for several reasons. First, it is a cofactor in energy metabolism: ATP is biologically active only when bound to magnesium (Mg-ATP). Subclinical magnesium deficiency can therefore contribute to chronic fatigue, reduced exercise tolerance, and slower muscle recovery — symptoms that are non-specific in isolation but correctable when magnesium is the cause. The relationship with potassium is particularly clinically important: magnesium is necessary for tubular reabsorption of potassium in the kidney. With a magnesium deficiency, the kidney spills potassium, leading to refractory hypokalaemia — a low potassium that does not rise with potassium supplementation until magnesium is restored. In people with recurrent hypokalaemia or arrhythmias, checking magnesium status is always worthwhile. Furthermore, magnesium is involved in regulating calcium and potassium channels in cardiac cells, and low magnesium — especially combined with low potassium — increases cardiac excitability and the risk of ventricular arrhythmias. For sleep quality, magnesium modulates NMDA receptor activation and supports melatonin production; supplementation in people with documented low magnesium demonstrably improves sleep quality in multiple randomised trials.

Magnesium high or low — what it means

Serum magnesium is a limited snapshot: the kidney maintains the serum level by drawing on intracellular stores, so the serum can look normal while total body reserves are already compromised. Do not read a 'normal' result in someone with symptoms consistent with magnesium deficiency (cramps, poor sleep, irritability, arrhythmias) as a full reassurance — instead treat it as a reason to broaden the diagnostic context. Always interpret magnesium alongside potassium and calcium. A low potassium that fails to respond to supplementation is a strong indirect pointer to a magnesium deficiency. Elevated calcium combined with low magnesium further disrupts neuromuscular function, because both ions compete for transport and channel mechanisms. Kidney function is a key variable: with declining eGFR, the risk of hypermagnesaemia (too much magnesium) rises, while diuretic use carries the opposite risk. For those starting supplementation: allow 6–8 weeks before re-testing, as the cellular stores need time to replenish. Magnesium glycinate and malate are generally well tolerated; magnesium oxide has lower bioavailability. When clinical suspicion of deficiency is strong despite a normal serum level, a magnesium retention (loading) test can be considered, though this is rarely standard outside a hospital setting.

Educational information only — not medical advice. Consult a healthcare professional for clinical decisions.

Read about our scientific approach

Magnesium is one of the biomarkers in the Optimize test panel. Book a blood draw at any of 238+ partner labs in the Netherlands, or upload your existing results in the app.

See the full panel