VitMode

Magnesium

A cofactor for more than 300 enzymatic reactions — essential for neuromuscular function, sleep and energy metabolism.

PZdr Piotr ZielińskiReviewed by dr Anna KowalczykUpdated: 14 czerwca 2026
Strong evidence
4.7

Number of studies

3

Safety

Requires caution

Time to effects

With an actual deficiency, improvements in well-being and sleep can be noticeable after 1–3 weeks; fully replenishing tissue stores takes longer, usually several weeks.

Monthly cost

ok. 20–45 zł/miesiąc

Price in Poland

20–45 zł za opakowanie 60 kapsułek (miesiąc stosowania)

Who it's for

People with a diet low in leafy greens, nuts and whole grainsPeople training intensively (increased need and loss through sweat)People with muscle cramps, sleep problems or elevated stress levels

Tlenek magnezu jest najtańszy, ale ma najniższą biodostępność — cytrynian i glicynian kosztują więcej, lecz wchłaniają się znacznie lepiej.

Indicative prices for the Polish market — we don't point to specific retailers; the real price depends on the manufacturer, form and place of purchase.

Table of contents

TL;DR

A cofactor for more than 300 enzymatic reactions — essential for neuromuscular function, sleep and energy metabolism.

  • Supports normal muscle function and neuromuscular conduction, including reduced calf cramps
  • Possible improvement in sleep quality and architecture with supplementation in people with a deficiency
  • Involved in energy metabolism, protein synthesis and DNA replication
Chemical compoundElement — Mg2+ cation, cofactor for more than 300 enzymes
Group/classMacroelement / electrolyte
Best formsCitrate, glycinate, malate — high bioavailability
Form to avoidMagnesium oxide — lowest bioavailability (about 4%)
Evidence levelStrong — one of the best-documented mineral supplements
InteractionsYes — antibiotics, bisphosphonates, diuretics, PPIs
StatusDietary supplement, available without a prescription

Understand

Overview

Magnesium is the second most abundant intracellular cation in the body, right after potassium. It's involved in ATP synthesis, nerve conduction, muscle contraction and relaxation, and heart rhythm regulation. It's estimated that as much as half the population in developed countries consumes less magnesium than the recommended daily intake, mainly due to diets low in leafy greens, nuts, seeds and whole grains, as well as industrial food processing, which strips a significant portion of magnesium from grain products.

Magnesium deficiency can be hard to detect with a standard blood test, because only about 1% of the body's total magnesium stores are found in serum — most is stored in bones and soft tissue. That's why a normal blood test result doesn't rule out a subclinical deficiency, and doctors increasingly base their diagnosis on the clinical picture (muscle cramps, fatigue, sleep disturbances) combined with a dietary history.

The clearest effect of supplementation is felt by people with an actual deficiency — those on a diet low in leafy greens, nuts and whole grains, people training intensively (greater magnesium loss through sweat), or those living under chronic stress, which increases its excretion in urine. It's precisely in these groups that studies note improved sleep quality and reduced subjective stress. People with a well-balanced diet and no signs of deficiency are unlikely to notice a clear difference — the evidence for 'topping up' magnesium beyond an already sufficient intake is weak. Similarly, the evidence for a universal effect against calf cramps is mixed — it helps mainly where an actual deficiency is the underlying cause, not in everyone who occasionally gets cramps.

History of use

Magnesium was first isolated as an element in 1808 by the British chemist Humphry Davy through electrolysis, although its compounds — such as Epsom salt, or magnesium sulfate — had been known and used in folk medicine much earlier. The name comes from the region of Magnesia in Greek Thessaly, associated with deposits of magnesium minerals. Widespread interest in magnesium supplementation as a way to address dietary deficiencies is mostly a phenomenon of the past few decades, tied to growing awareness of how food processing affects the micronutrient content of the diet.

Mechanism of action

Magnesium stabilizes the structure of ATP (as the Mg-ATP complex) and acts as a cofactor for more than 300 enzymes, including kinases, phosphatases, and enzymes of the glycolytic pathway and the Krebs cycle. It also modulates NMDA receptor activity (blocking them at normal concentrations, which protects against excessive neuronal excitation) and enhances GABAergic transmission, which explains its link to relaxation and sleep quality. It additionally regulates the transport of calcium and potassium ions across cell membranes, which directly affects the contractility of skeletal muscle and the heart.

At the level of ion transport, magnesium regulates the activity of the sodium-potassium pump (Na+/K+-ATPase) and voltage-gated calcium channels, which affects the resting membrane potential and neuronal excitability. Its absorption in the small intestine and reabsorption in the renal tubules depend largely on the TRPM6 and TRPM7 channels — which is why magnesium balance is sensitive to the condition of the intestinal mucosa and kidney function. Magnesium is also an essential cofactor for the enzymes that activate vitamin D (25-hydroxylase and 1-alpha-hydroxylase) and for the tyrosine kinase of the insulin receptor, which explains its indirect effect on both bone metabolism and insulin sensitivity.

1

Absorption in the small intestine

Magnesium is absorbed mainly in the small intestine via the TRPM6/TRPM7 channels and passive intercellular diffusion, and its bioavailability depends on the chemical form.

2

ATP stabilization

Magnesium binds to ATP, forming the Mg-ATP complex needed for kinases and phosphatases to function in cellular energy reactions.

3

Neurotransmission modulation

It blocks NMDA receptors at normal concentrations and enhances GABAergic transmission, limiting excessive neuronal excitation.

4

Ion transport in muscle

It regulates the flow of calcium and potassium across cell membranes, affecting the contractility of skeletal muscle and heart function.

5

Cofactor for vitamin D metabolism

It activates the enzymes that convert vitamin D into its active form, indirectly supporting calcium and bone metabolism.

Evidence: strong — based on 3 studies in this database.

Benefits

Supports normal muscle function and neuromuscular conduction, including reduced calf cramps
Possible improvement in sleep quality and architecture with supplementation in people with a deficiency
Involved in energy metabolism, protein synthesis and DNA replication
Supports a normal heart rhythm and blood pressure
Involved in regulating blood glucose levels and insulin sensitivity
Supports bone health through its effect on vitamin D and calcium metabolism

Common myths

MythA normal blood magnesium result rules out a deficiency.

FactOnly about 1% of the body's magnesium stores are found in the blood — most is stored in bones and soft tissue, so a normal serum level doesn't rule out a subclinical deficiency.

MythEvery form of magnesium works the same way.

FactBioavailability and gastrointestinal tolerance differ significantly between forms — magnesium oxide has much lower absorption than citrate or glycinate.

Forms & variants

Magnesium comes in several forms that differ in bioavailability and use case — the form you pick genuinely matters for how effective the supplementation is.

Magnesium citrate

Magnesium combined with citric acid — one of the most widely studied and best-absorbed forms available over the counter.

Best for: General-purpose use, a good balance of bioavailability and price

Magnesium glycinate (bisglycinate)

Magnesium chelated with glycine — high bioavailability and the best gastrointestinal tolerance among the popular forms.

Best for: Evening use, sleep, people with a sensitive digestive system

Magnesium malate

Combined with malic acid, which participates in the Krebs cycle — popular in the context of energy and muscle fatigue.

Best for: Daytime energy support

Magnesium threonate (L-threonate, e.g. Magtein)

A patented form studied for its ability to cross the blood-brain barrier and raise magnesium levels in cerebrospinal fluid.

Best for: Nootropic uses — memory and cognitive function (data still limited)

Magnesium oxide

The cheapest and most commonly found form in mass-market supplements — low bioavailability (about 4%), stronger laxative effect.

Best for: Occasional relief for constipation, not suited for long-term correction of a deficiency

Magnesium sulfate (Epsom salt)

Used mainly externally in baths — absorption through the skin has weak scientific support.

Best for: Relaxing baths, not as the main source of oral supplementation

Magnesium chloride

Good solubility and decent bioavailability, also available as 'magnesium oil' for topical use on the skin.

Best for: An alternative for people who prefer liquid forms or topical application

Practice

Frequently asked questions

Magnesium glycinate is often preferred in the evening because of its good gastric tolerance and the added contribution of the amino acid glycine, although there are few direct head-to-head studies comparing magnesium forms in the context of sleep.

With a balanced diet rich in leafy green vegetables, nuts and whole grains, needs can be met through food alone — supplementation makes sense with a confirmed deficiency or increased needs (e.g. intensive training).

The main differences concern bioavailability (how much is actually absorbed) and gastrointestinal tolerance. Chelated forms (glycinate, citrate, malate) are absorbed considerably better than the oxide form, which, despite containing the most elemental magnesium per tablet, has the lowest bioavailability.

In people with normal kidney function, excess magnesium from food and typical supplements is usually excreted in urine. The risk of serious hypermagnesemia mainly concerns people with kidney failure or very high intravenous doses used in a hospital setting.

The evidence is mixed — some studies show a benefit in people with a deficiency or in pregnant women, but meta-analyses in the general population don't clearly confirm an effect stronger than placebo.

Dosage & timing

Typical dose

200–400 mg of elemental magnesium per day (RDA: approx. 310–420 mg depending on sex and age)

Form

Magnesium citrate, lactate or glycinate — better bioavailability than the oxide form

Dosing is informational and reflects the ranges used in the cited studies — it does not replace consulting a doctor or pharmacist.

Best times to take it

  • In the evening — the most commonly chosen time due to its potential effect on relaxation and sleep
  • Doses above 350 mg are best split into 2 portions to reduce the risk of a laxative effect

What to combine with

Good combinations

Witamina D3Jointly involved in bone and enzymatic metabolism

Use caution with

wapn w wysokich dawkachVery high doses of calcium may compete for absorption

Safety

Side effects & contraindications

Possible side effects

Inorganic forms (oxide, citrate at high doses) can have a laxative effect and cause loose stools

Risk of hypermagnesemia in kidney failure

Rarely: nausea or stomach cramps when taking high doses on an empty stomach

Contraindications

Severe kidney failure — only under medical supervision

Atrioventricular heart block without an implanted pacemaker

Interactions

Fluoroquinolone and tetracycline antibiotics — magnesium reduces their absorption (keep a 2–3 hour gap)

Bisphosphonates — a similar time gap is required

Loop and thiazide diuretics — may increase magnesium loss through urine

Proton pump inhibitors (used long-term) — associated with reduced magnesium absorption

Is it worth taking?

Who it's for

  • People with a diet low in leafy greens, nuts and whole grains
  • People training intensively (increased need and loss through sweat)
  • People with muscle cramps, sleep problems or elevated stress levels

Not for

  • Severe kidney failure — only under medical supervision
  • Atrioventricular heart block without an implanted pacemaker

Evidence

Worth knowing

Magnesium is a cofactor for more than 300 enzymes in the body — more than any other single micronutrient.

Doses above 350 mg are best split into 2 portions to reduce the risk of a laxative effect.

Antibiotics (fluoroquinolones, tetracyclines) and magnesium require a 2–3 hour gap due to reduced drug absorption.

Studies

Magnesium supplementation was associated with improved subjective sleep quality and a shorter time to fall asleep — though the number of large, well-designed RCTs remains limited.

Mah J, Pitre T., BMC Complementary Medicine and Therapies, 2021

The effects of magnesium supplementation on subjective anxiety and stress: a systematic review

Moderate evidence

Boyle NB, et al. · Nutrients · 2017

A review pointing to a potential, though methodologically limited, link between magnesium supplementation and a reduction in subjectively perceived stress.

View study

Effects of oral magnesium supplementation on insomnia: a systematic review

Moderate evidence

Mah J, Pitre T. · BMC Complementary Medicine and Therapies · 2021

A review pointing to improvements in subjective sleep parameters (time to fall asleep, quality) with magnesium supplementation, with a limited number of large RCTs.

View study

Magnesium intake and depression in adults

Early-stage evidence

Tarleton EK, Littenberg B. · Journal of the American Board of Family Medicine · 2015

An observational study describing an inverse relationship between magnesium intake and depressive symptoms in adults.

View study

Sources & bibliography

Citations are illustrative for this demo version and require full bibliographic verification by the editorial team before production publication.

Compare with similar entries

About the authors of this entry

PZ

Author

dr Piotr Zieliński

Endocrinologist

Piotr reviews content on hormones, metabolic health and supplement pharmacology.

47 publications on this site

AK

Medical review

dr Anna Kowalczyk

Editor-in-Chief, Molecular Biology

Anna oversees the editorial process and scientific review of every publication in the knowledge base. She previously researched autophagy and mitochondrial biology.

26 publications on this site

Published: 22 stycznia 2025Updated: 14 czerwca 2026

Related entries

Comments (2)

  • KW

    Kasia W. 2 weeks ago

    Very clearly explained, especially the interactions section — I hadn't seen it laid out this well anywhere else.

  • MT

    Marek T. a month ago

    Are you planning to update this with the newest study from this year? I saw an interesting meta-analysis.