View All Biomarkers

Magnesium

Also called Mg, serum magnesium, or magnesium total.

An essential electrolyte involved in over 300 enzymatic reactions, including muscle function, nerve signalling, sleep regulation, and energy metabolism. One of the most under-tested nutrients in adults over thirty.

Test with an Aniva Membership

How to test with Aniva

Sample type
Venous blood
Fasting required
No
Best timing
Morning, 7–11am
Results in
~7 days

What magnesium actually is and does for you

Magnesium is the fourth most abundant mineral in the human body and a cofactor in more than 300 enzymatic reactions. It regulates muscle and nerve function, blood glucose control, and blood pressure, and is required for protein synthesis and the production of ATP.

About sixty percent of the body's magnesium is stored in bone; the remainder is distributed across muscle tissue, soft tissue, and a small fraction (less than one percent) in blood serum.

Why magnesium is worth checking.

Magnesium status is one of the more under-recognised drivers of fatigue, sleep disturbance, and muscle cramping in otherwise healthy adults. Subclinical deficiency is common, estimated to affect 10–30% of the population in industrialised countries, and is rarely caught in routine GP visits because magnesium is not part of a standard German Hausarzt blood panel.

Testing magnesium becomes particularly relevant for people with persistent muscle cramps, type 2 diabetes risk, chronic stress, restless sleep, or migraine patterns, and for athletes whose intake doesn't keep pace with sweat losses.

What your magnesium result tells you.

If your level is low: may indicate inadequate dietary intake, gastrointestinal losses, renal wasting, or refeeding effects. Low magnesium often coexists with low potassium and low calcium.

If your level is high: typically reflects impaired kidney function or excess supplementation. Mild elevations are common in people taking magnesium-based laxatives or antacids.

If your level is in range: a single normal reading does not rule out tissue depletion. If symptoms persist, intracellular or RBC magnesium can be a useful follow-up.

The reference range, by the numbers.

A reference range describes the values typically measured in a healthy adult population, not a verdict on whether you're well. Published by DGKL, reviewed every year.

How to test magnesium

Aniva measures magnesium as part of an annual panel, not a one-off. Pick a panel below: one venous draw at a partner clinic covers magnesium alongside the rest, and results arrive in your dashboard within a week.

Test with an Aniva Membership

Things that can throw magnesium results off.

Recent supplementation: magnesium taken in the 24 hours before the draw can elevate serum levels and mask a true deficit. We recommend pausing supplementation 48 hours before testing.

Haemolysis: magnesium is concentrated inside red blood cells, so a haemolysed sample reads falsely high. Aniva clinics flag and re-draw any haemolysed samples automatically.

Diuretic use, PPIs, and alcohol: all increase renal magnesium loss and may produce true low readings even with adequate intake.

Membership

Everything you need to make this your best decade yet.

One annual membership. A full panel, a doctor's review, and support that doesn't stop after the report lands.

199 €

per year. That's €0.54 a day.

100+ biomarkers tested (upgrade to 500+ anytime)

Every result reviewed by a licensed German doctor

Your personalized action plan, ready in 7 days

24/7 health concierge. Ask anything about your results.

Accredited German labs (RiliBÄK quality standards)

GDPR-compliant. Data stays in the EU.

Cancel anytime. No lock-in.

Join Today

Aniva provides health information, not medical diagnoses. Your results add to the advice from your GP. They don't replace it

Where this information comes from.

We pull our reference ranges and content from accredited reference laboratories and peer-reviewed research. You can check our work.

Guideline
DGKL Reference Intervals (2024)Deutsche Gesellschaft für Klinische Chemie — German clinical reference intervals for serum magnesium.

Source
Reference lab
Mayo Clinic LaboratoriesTest catalog: Magnesium, Serum (TMAGS), 2025 edition.

Source
Peer-reviewed
Volpe (2013)Magnesium in Disease Prevention and Overall Health. Advances in Nutrition, 4(3).

Source
Peer-reviewed
de Baaij et al. (2015)Magnesium in Man: Implications for Health and Disease. Physiological Reviews, 95(1).

Source
Gov agency
NIH Office of Dietary SupplementsMagnesium Fact Sheet for Health Professionals. Updated 2024.

Source
Guideline
Endocrine SocietyClinical Practice Guideline on electrolyte disorders, 2023 update.

Source
LOINC19123-9
MeSHD008274
WikidataQ11788
Lab codeMG

Questions people ask.

Do I need to fast before a magnesium test?+

No — fasting is not required for serum magnesium. We do recommend pausing magnesium-containing supplements for 48 hours before testing, since recent supplementation can artificially elevate serum levels and mask a deeper tissue deficit.

What's the difference between serum and RBC magnesium?+

Serum magnesium measures the small fraction circulating in blood plasma — tightly regulated and quick to test. RBC magnesium measures intracellular stores and is more sensitive to chronic depletion, but it's a less common assay. Aniva's standard panel uses serum; RBC is recommended as a follow-up if symptoms persist despite a normal serum reading.

How does magnesium affect sleep?+

Magnesium regulates GABA, the primary inhibitory neurotransmitter, and supports melatonin synthesis. Low magnesium is associated with restless sleep, frequent night-waking, and reduced sleep efficiency in observational studies.

Should I test if my GP already ran bloods?+

Magnesium is not part of a standard German Hausarzt panel (großes Blutbild) and is rarely included unless specifically ordered. If your GP didn't request it, it almost certainly wasn't tested — even if other electrolytes were measured.

How often should I retest magnesium?+

For people with normal results: annually as part of the Aniva membership baseline. For people with borderline or low results who have started intervention: 8–12 weeks after starting supplementation or dietary change, to confirm the change has taken effect.