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 | 77 |
| Blood pressure, heart and blood vessels | several indications | 74 |
| Stress, anxiety and mood | well studied, mostly positive | 38 |
| Sleep | several indications | 27 |
| Bones | still unclear | 9 |
| Muscles and muscle cramps | several indications | 18 |
| Headache and migraine | first indications | 7 |
| Pregnancy | first indications | 3 |
| Other outcomes | well studied, mostly positive | 191 |
Blood Sugar and Metabolism
In type 2 diabetes, oral magnesium salts lowered fasting glucose more than the control 78. In two other reviews, insulin resistance and fasting glucose also decreased 924. In a precursor to diabetes, insulin resistance improved, but fasting glucose did not reliably decrease 17. Two reviews that evaluated magnesium together with other minerals or vitamins found lower fasting glucose in gestational diabetes and polycystic ovary syndrome 1227. 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 2578913. In kidney patients, the wall thickness of the carotid artery decreased in two reviews 1420. However, magnesium did not slow vascular calcification in chronic kidney disease 1434. 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 19 and three randomized (participants assigned by lot) trials 454955. A study in overweight women with mild to moderate depression found no difference from the control 37. A review also found an improvement in self-reported anxiety, although the studies were inconsistent 26. 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 sham. This was shown by two randomized (participants assigned by lot) trials: more deep sleep and REM sleep with magnesium L-threonate 53, longer sleep duration and more deep sleep in the other 52. A review reports better sleep quality with magnesium oxide and vitamin B6 in restless legs syndrome 15. In fibromyalgia, participants slept better with magnesium plus coenzyme Q10 and tryptophan; whether this was better than a sham, the summary does not say 39. Other studies found no difference 3843.
Bones
In chronic kidney disease, magnesium lowered parathyroid hormone and calcium levels in two reviews 1420. In diabetic nephropathy, magnesium citrate lowered the bone turnover marker osteocalcin more than the control in a randomized trial 44. Magnesium oxide did not reliably change another bone resorption marker 47. 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 41.
Muscles and Muscle Cramps
In nocturnal leg cramps, magnesium oxide reduced the frequency and duration of episodes more than placebo (sham) in a randomized trial 32. In leg cramps, a review found no difference, nor did two randomized trials with magnesium citrate and magnesium hydrochloride 183536. In calf cramps, a randomized trial with magnesium oxide found no reduction 38. In two studies with a comparison group, muscle soreness decreased more with oral magnesium than in the comparison group 5657; a magnesium gel for topical use did not help 51. Muscle strength remained unchanged in three studies with a comparison group 515748.
Headache and Migraine
A review found fewer migraine attacks, lower severity and fewer migraine days with magnesium than with control 25. A systematic review (ordered summary of all studies) rates magnesium as possibly effective for migraine prevention 29. Another review sees evidence that magnesium can prevent and relieve migraine 28. The evidence is low because controlled studies on migraine are missing here; 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 21. A small randomized trial with magnesium oxide found less neonatal jaundice and hospital stays than with placebo, as well as fewer active inflammatory genes 50. The gene expression of IL-1 and VEGF remained unchanged 50. 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 1417313342. The inflammatory marker CRP in the blood decreased more than with placebo in two reviews and two randomized trials 11164248. In a randomized trial in overweight individuals, urinary cortisol also decreased more than with placebo 54. 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 313539. In a study with magnesium oxide, however, half of the magnesium group had gastrointestinal changes, compared with only 7% with placebo 46. In chronic kidney disease, more gastrointestinal complaints occurred with magnesium hydroxide than with placebo. In addition, five participants died in this group and six had cardiovascular problems; with placebo, two participants died and there were no cardiovascular problems 34.
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
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
- 6Yang L, Gao Y, Zhao W, Qi Y, Duo X, Wang H · 2025
- 7Maqrashi NA, Busaidi SA, Al-Rasbi S, Alawi AMA, Al-Maqbali JS · 2025
- 8
- 9Zhao B, Deng H, Li B, Chen L, Zou F, Hu L et al. · 2020
- 10Urata M, Sakurai H, Ueno F, Maruki T, Tada T, Uchida T et al. · 2025
- 11Veronese N, Pizzol D, Smith L, Dominguez LJ, Barbagallo M · 2022
- 12Ye J, Cen S, Qi Q, Wang C, Wang J, Wang J et al. · 2026
- 13Dibaba DT, Xun P, Song Y, Rosanoff A, Shechter M, He K · 2017
- 14
- 15González-Parejo P, Martín-Núñez J, Cabrera-Martos I, Valenza MC · 2024
- 16
- 17Basit A, Kumar S, Ahmed H, Babar R, Saeed SS, Siddiqui TA et al. · 2026
- 18Liu J, Song G, Zhao G, Meng T · 2021
- 19Moabedi M, Aliakbari M, Erfanian S, Milajerdi A · 2023
- 20Guo G, Zhou J, Xu T, Sheng Z, Huang A, Sun L et al. · 2022
- 21Luo L, Zhang Y, Wang H, Chen D, Li L · 2024
- 22
- 23Lopresti AL, Smith SJ, Drummond PD · 2026
- 24Mohammadi S, Palermo A, Ojani P, Alaghemand N, Pirayvatlou PS, Mirkarimi M et al. · 2026
- 25Talandashti MK, Shahinfar H, Delgarm P, Jazayeri S · 2025
- 26Rawji A, Peltier MR, Mourtzanakis K, Awan S, Rana J, Pothen NJ et al. · 2024
- 27Li D, Cai Z, Pan Z, Yang Y, Zhang J · 2021
- 28Nattagh-Eshtivani E, Sani MA, Dahri M, Ghalichi F, Ghavami A, Arjang P et al. · 2018
- 29von Luckner A, Riederer F · 2018
- 30Noah L, Pickering G, Mazur A, Dubray C, Hitier S, Dualé C et al. · 2020
- 31Al-Maqbali JS, Al Alawi AM, Osman A, Al-Farqani A, Kumar S, Al Futisi A et al. · 2026
- 32Barna O, Lohoida P, Holovchenko Y, Bazylevych A, Velychko V, Hovbakh I et al. · 2021
- 33Schutten JC, Joris PJ, Groendijk I, Eelderink C, Groothof D, van der Veen Y et al. · 2022
- 34Bressendorff I, Hansen D, Schou M, Kragelund C, Svensson M, Hashemi B et al. · 2023
- 35Araújo CAL, Lorena SB, Cavalcanti GCS, Leão GLS, Tenório GP, Alves JGB · 2020
- 36Kuusipalo A, Laitila J, Lehtonen E, Joensuu J, Mustajoki P, Mustonen P et al. · 2026
- 37
- 38Roguin Maor N, Alperin M, Shturman E, Khairaldeen H, Friedman M, Karkabi K et al. · 2017
- 39Rosselló Aubach L, Fornós Roca X, Fernández Álvarez ME · 2025
- 40Dall RD, Cheung MM, Shewokis PA, Altasan A, Volpe SL, Amori R et al. · 2023
- 41Lambert MNT, Thybo CB, Lykkeboe S, Rasmussen LM, Frette X, Christensen LP et al. · 2017
- 42Razzaghi R, Pidar F, Momen-Heravi M, Bahmani F, Akbari H, Asemi Z · 2018
- 43Gholizadeh-Moghaddam M, Ghasemi-Tehrani H, Askari G, Jaripur M, Clark CCT, Rouhani MH · 2023
- 44Halawa N, Elsaid TW, El Wakeel LM, Shawki MA · 2023
- 45Nazarinasab M, Behrouzian F, Abdi L, Sadegh Moghaddam AA, Sadeghi S · 2022
- 46Lutsey PL, Chen LY, Eaton A, Jaeb M, Rudser KD, Neaton JD et al. · 2018
- 47Alonso A, Chen LY, Rudser KD, Norby FL, Rooney MR, Lutsey PL · 2020
- 48Zanforlini BM, Ceolin C, Trevisan C, Alessi A, Seccia DM, Noale M et al. · 2022
- 49Afsharfar M, Shahraki M, Shakiba M, Asbaghi O, Dashipour A · 2021
- 50Ahmadi S, Naderifar M, Samimi M, Mirhosseini N, Amirani E, Aghadavod E et al. · 2018
- 51Coates AM, Patel DV, Binet ER, Gibala MJ · 2025
- 52Breus MJ, Hooper S, Lynch T, Hausenblas H · 2024
- 53Hausenblas HA, Lynch T, Hooper S, Shrestha A, Rosendale D, Gu J · 2024
- 54Schutten JC, Joris PJ, Minović I, Post A, van Beek AP, de Borst MH et al. · 2021
- 55Rajizadeh A, Mozaffari-Khosravi H, Yassini-Ardakani M, Dehghani A · 2017
- 56Reno AM, Green M, Killen LG, O'Neal EK, Pritchett K, Hanson Z · 2022
- 57Steward 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.