Magnesium Explained Simply
Magnesium is a mineral that the body needs for energy, muscles, nerves and heart.
1. What Is Magnesium?
Magnesium is a mineral. The body needs it for several hundred enzymes. These enzymes help with energy production, muscle and nerve function and heart rhythm. About half of the magnesium in the body is in the bones. Only a very small part is in the blood.
2. Where Is It Found, and What Is It Made From?
Magnesium is in many foods. Good sources are whole grains, legumes, nuts, seeds and green leafy vegetables. Some mineral waters also contain a lot of magnesium. Supplements contain magnesium as a salt. Examples are citrate, oxide, glycinate, aspartate, chloride, carbonate or L-threonate. The salts differ in how much magnesium they contain and how well they are absorbed and tolerated.
3. What Does Magnesium Do? What Research Shows
| Area | State of research | Studies |
|---|---|---|
| Blood sugar and metabolism | well studied, mostly positive | 80 |
| Blood pressure, heart and blood vessels | several indications | 80 |
| Stress, anxiety and mood | well studied, mostly positive | 39 |
| Sleep | several indications | 29 |
| Bones | still unclear | 12 |
| Muscles and muscle cramps | several indications | 20 |
| Headache and migraine | several indications | 16 |
| Pregnancy | first indications | 4 |
| Other outcomes | well studied, mostly positive | 209 |
Blood Sugar and Metabolism
In type 2 diabetes, oral magnesium salts lowered fasting glucose more than the control 89. In two other reviews, insulin resistance and fasting glucose also decreased 1025. In a precursor to diabetes, insulin resistance improved, but fasting glucose did not reliably decrease 18. Two reviews that evaluated magnesium together with other minerals or vitamins found lower fasting glucose in gestational diabetes and polycystic ovary syndrome 1329. The share of magnesium in this cannot be separated.
Blood Pressure, Heart and Blood Vessels
Oral magnesium salts lowered blood pressure in several studies, especially in people with hypertension, diabetes or magnesium deficiency 25891014. In kidney patients, the wall thickness of the carotid artery decreased in two reviews 1521. However, magnesium did not slow vascular calcification in chronic kidney disease 1536. Magnesium did not prevent new-onset atrial fibrillation 4. The results depend on the salt form and the daily amount, and many studies were small or of short duration.
Stress, Anxiety and Mood
People with depression had fewer symptoms with magnesium than with the control. This was shown by a review 20 and three randomized (participants assigned by lot) trials 485259. A study in overweight women with mild to moderate depression found no difference from the control 40. A review also found an improvement in self-reported anxiety, although the studies were inconsistent 28. The studies are often small and differ in salt, dose and population; long-term studies are still pending.
Sleep
In people with sleep problems, sleep was better with magnesium than with a placebo. This was shown by two randomized (participants assigned by lot) trials: more deep sleep and REM sleep with magnesium L-threonate 57, longer sleep duration and more deep sleep in the other 56. A review reports better sleep quality with magnesium oxide and vitamin B6 in restless legs syndrome 16. In fibromyalgia, participants slept better with magnesium plus coenzyme Q10 and tryptophan; whether this was better than a placebo, the summary does not say 42. Other studies found no difference 4146.
Bones
In chronic kidney disease, magnesium lowered parathyroid hormone and calcium levels in two reviews 1521. In diabetic nephropathy, magnesium citrate lowered the bone turnover marker osteocalcin more than the control in a randomized trial 47. Magnesium oxide did not reliably change another bone resorption marker 50. A randomized trial on bone density gave both groups calcium, magnesium and calcitriol; the benefit there came from red clover extract with probiotics, not from magnesium 44.
Muscles and Muscle Cramps
In nocturnal leg cramps, magnesium oxide reduced the frequency and duration of episodes more than placebo in a randomized trial 34. In leg cramps, a review found no difference, nor did two randomized trials with magnesium citrate and magnesium hydrochloride 193839. In calf cramps, a randomized trial with magnesium oxide found no reduction 41. In two studies with a comparison group, muscle soreness decreased more with oral magnesium than in the comparison group 6061; a magnesium gel for topical use did not help 55. Muscle strength remained unchanged in three studies with a comparison group 556151.
Headache and Migraine
A review found fewer migraine attacks, lower severity and fewer migraine days with magnesium than with control 27. A newer review of double-blind studies, by contrast, found no advantage over placebo 6. In a randomized trial, all groups had fewer attacks; the analysis attributed a separate effect to magnesium oxide 37. A systematic review (ordered summary of all studies) rates magnesium as possibly effective for migraine prevention 31. Another review sees evidence that magnesium can prevent and relieve migraine 30. The evidence is moderate but rests on only one study with a comparison group alongside contradictory reviews; oral magnesium salts were studied. Questions about dose, salt form and duration of intake remain open.
Pregnancy
In gestational diabetes, magnesium lowered fasting glucose and insulin resistance in a review, but preterm births and large newborns were not less frequent 22. A small randomized trial with magnesium oxide found less neonatal jaundice and hospital stays than with placebo, as well as fewer active inflammatory genes 54. The gene expression of IL-1 and VEGF remained unchanged 54. The evidence is low, because there is only one small study with a comparison group.
Other Outcomes
In several controlled trials and reviews, magnesium increased the magnesium level in the blood or urinary excretion 1518333545. The inflammatory marker CRP in the blood decreased more than with placebo in two reviews and two randomized trials 12174551. In a randomized trial in overweight individuals, urinary cortisol also decreased more than with placebo 58. A review found lower liver values ALT and AST, but not lower GGT and alkaline phosphatase 26. In people with depression taking fluoxetine, additional magnesium improved a thinking and memory test more than fluoxetine alone in a randomized trial 53. It remains open which salt form and daily amount is most favorable for which measure (measured value).
4. How Was Magnesium Taken in the Studies?
The studies predominantly used oral magnesium salts. These include citrate, oxide, glycinate, aspartate, chloride, L-threonate and hydroxide as well as magnesium-rich mineral water. Individual studies tested magnesium for topical use as a gel or iontophoresis. In combination products with vitamin B6, vitamin D, potassium or other components, the contribution of magnesium cannot be separated.
5. Is Magnesium Safe? Side Effects in the Studies
In the studies, magnesium was predominantly well tolerated. Adverse events were mostly mild and similarly frequent in both groups 333842. In a small study with magnesium oxide, half of the magnesium group reported changes in digestion, such as looser stools or diarrhea; with placebo it was 7%. For some, this lasted only the first few days, and one person stopped because of it 49. In people with advanced kidney disease, magnesium did not help against vascular calcification in one study. The magnesium group had more diarrhea and more serious health events, including more deaths than with placebo: five according to the summary (six in the results section) versus two. The study doctors did not judge any of these events to be related to the study drug. However, the study was too small to settle this, and the researchers cannot rule out a link 36. In practice, this means: in advanced kidney disease, it is not clear whether magnesium is safe.
All details with tables and sources: full expert page on Magnesium
Frequently Asked Questions
Does Magnesium help with blood sugar and metabolism? What the studies show
Does Magnesium help with blood pressure, heart and blood vessels? What the studies show
Does Magnesium help with stress, anxiety and mood? What the studies show
Does Magnesium help with sleep? What the studies show
In people with sleep problems, sleep was better with magnesium than with a placebo. This was shown by two randomized (participants assigned by lot) trials: more deep sleep and REM sleep with magnesium L-threonate 57, longer sleep duration and more deep sleep in the other 56.
State of research: several indications. There are 29 human studies on this. Sources: 3162324
Does Magnesium help with bones? What the studies show
Sources
- 1An P, Wan S, Luo Y, Luo J, Zhang X, Zhou S et al. · 2022
- 2Alharran AM, Alzayed MM, Jamilian P, Prabahar K, Kamal AH, Alotaibi MN et al. · 2024
- 3Arab A, Rafie N, Amani R, Shirani F · 2023
- 4Curran J, Ross-White A, Sibley S · 2023
- 5Argeros Z, Xu X, Bhandari B, Harris K, Touyz RM, Schutte AE · 2025
- 6Ahmed M, Aiman U, Kukreja N, Rayyan SM, Shahzad UB, Nawaz HS et al. · 2026
- 7Yang L, Gao Y, Zhao W, Qi Y, Duo X, Wang H · 2025
- 8Maqrashi NA, Busaidi SA, Al-Rasbi S, Alawi AMA, Al-Maqbali JS · 2025
- 9
- 10Zhao B, Deng H, Li B, Chen L, Zou F, Hu L et al. · 2020
- 11Urata M, Sakurai H, Ueno F, Maruki T, Tada T, Uchida T et al. · 2025
- 12Veronese N, Pizzol D, Smith L, Dominguez LJ, Barbagallo M · 2022
- 13Ye J, Cen S, Qi Q, Wang C, Wang J, Wang J et al. · 2026
- 14Dibaba DT, Xun P, Song Y, Rosanoff A, Shechter M, He K · 2017
- 15
- 16González-Parejo P, Martín-Núñez J, Cabrera-Martos I, Valenza MC · 2024
- 17
- 18Basit A, Kumar S, Ahmed H, Babar R, Saeed SS, Siddiqui TA et al. · 2026
- 19Liu J, Song G, Zhao G, Meng T · 2021
- 20Moabedi M, Aliakbari M, Erfanian S, Milajerdi A · 2023
- 21Guo G, Zhou J, Xu T, Sheng Z, Huang A, Sun L et al. · 2022
- 22Luo L, Zhang Y, Wang H, Chen D, Li L · 2024
- 23
- 24Lopresti AL, Smith SJ, Drummond PD · 2026
- 25Mohammadi S, Palermo A, Ojani P, Alaghemand N, Pirayvatlou PS, Mirkarimi M et al. · 2026
- 26Leyva-Velázquez AP, Reyes-Avitia V, Simental-Mendía LE · 2026
- 27Talandashti MK, Shahinfar H, Delgarm P, Jazayeri S · 2025
- 28Rawji A, Peltier MR, Mourtzanakis K, Awan S, Rana J, Pothen NJ et al. · 2024
- 29Li D, Cai Z, Pan Z, Yang Y, Zhang J · 2021
- 30Nattagh-Eshtivani E, Sani MA, Dahri M, Ghalichi F, Ghavami A, Arjang P et al. · 2018
- 31von Luckner A, Riederer F · 2018
- 32Noah L, Pickering G, Mazur A, Dubray C, Hitier S, Dualé C et al. · 2020
- 33Al-Maqbali JS, Al Alawi AM, Osman A, Al-Farqani A, Kumar S, Al Futisi A et al. · 2026
- 34Barna O, Lohoida P, Holovchenko Y, Bazylevych A, Velychko V, Hovbakh I et al. · 2021
- 35Schutten JC, Joris PJ, Groendijk I, Eelderink C, Groothof D, van der Veen Y et al. · 2022
- 36Bressendorff I, Hansen D, Schou M, Kragelund C, Svensson M, Hashemi B et al. · 2023
- 37Tarighat Esfanjani A, Mahdavi R, Ebrahimi Mameghani M, Talebi M, Nikniaz Z, Safaiyan A · 2012
- 38Araújo CAL, Lorena SB, Cavalcanti GCS, Leão GLS, Tenório GP, Alves JGB · 2020
- 39Kuusipalo A, Laitila J, Lehtonen E, Joensuu J, Mustajoki P, Mustonen P et al. · 2026
- 40
- 41Roguin Maor N, Alperin M, Shturman E, Khairaldeen H, Friedman M, Karkabi K et al. · 2017
- 42Rosselló Aubach L, Fornós Roca X, Fernández Álvarez ME · 2025
- 43Dall RD, Cheung MM, Shewokis PA, Altasan A, Volpe SL, Amori R et al. · 2023
- 44Lambert MNT, Thybo CB, Lykkeboe S, Rasmussen LM, Frette X, Christensen LP et al. · 2017
- 45Razzaghi R, Pidar F, Momen-Heravi M, Bahmani F, Akbari H, Asemi Z · 2018
- 46Gholizadeh-Moghaddam M, Ghasemi-Tehrani H, Askari G, Jaripur M, Clark CCT, Rouhani MH · 2023
- 47Halawa N, Elsaid TW, El Wakeel LM, Shawki MA · 2023
- 48Nazarinasab M, Behrouzian F, Abdi L, Sadegh Moghaddam AA, Sadeghi S · 2022
- 49Lutsey PL, Chen LY, Eaton A, Jaeb M, Rudser KD, Neaton JD et al. · 2018
- 50Alonso A, Chen LY, Rudser KD, Norby FL, Rooney MR, Lutsey PL · 2020
- 51Zanforlini BM, Ceolin C, Trevisan C, Alessi A, Seccia DM, Noale M et al. · 2022
- 52Afsharfar M, Shahraki M, Shakiba M, Asbaghi O, Dashipour A · 2021
- 53Noor NJ, Syamsuddin S, Liaury K, Tawali S, Idris I, Azis I et al. · 2026
- 54Ahmadi S, Naderifar M, Samimi M, Mirhosseini N, Amirani E, Aghadavod E et al. · 2018
- 55Coates AM, Patel DV, Binet ER, Gibala MJ · 2025
- 56
- 57Hausenblas HA, Lynch T, Hooper S, Shrestha A, Rosendale D, Gu J · 2024
- 58Schutten JC, Joris PJ, Minović I, Post A, van Beek AP, de Borst MH et al. · 2021
- 59Rajizadeh A, Mozaffari-Khosravi H, Yassini-Ardakani M, Dehghani A · 2017
- 60Reno AM, Green M, Killen LG, O'Neal EK, Pritchett K, Hanson Z · 2022
- 61Steward CJ, Zhou Y, Keane G, Cook MD, Liu Y, Cullen T · 2019
Every statement on this page carries its evidence tier — proven, plausible or hypothesis — and leads to the original work. The decision in the individual case rests with the practitioner; we provide the connections.