Health Benefits of Magnesium

In This Article
View All
In This Article

Magnesium is an essential mineral that your body doesn't make, which means you have to obtain it through your diet. Magnesium is needed for critical functions such as blood sugar regulation, muscle contraction, nerve function, blood pressure maintenance, and DNA synthesis so it’s important to take in optimal amounts of this nutrient on a daily basis.

Even though magnesium is found in a variety of foods, like beans, vegetables, and seeds, most people’s diets are too low in magnesium, which can negatively impact health in many ways. 

Taking a magnesium supplement is an easy way to increase your intake of this important mineral. Plus, magnesium supplements may benefit health in several ways, from lowering blood sugar to improving sleep quality.  

Here’s everything you need to know about magnesium supplements, including their potential health benefits, possible side effects, and how to use magnesium supplements safely.

Dietary supplements are minimally regulated by the FDA and may or may not be suitable for you. The effects of supplements vary from person to person and depend on many variables, including type, dosage, frequency of use, and interactions with current medications. Please speak with your healthcare provider or pharmacist before starting any supplements.

Benefits of Magnesium  

Your body needs a steady supply of magnesium in order to stay healthy and perform vital functions. Magnesium supplements can be a helpful way to increase magnesium intake for people who don’t get enough magnesium through their diet.

Taking in extra magnesium through dietary supplements has also been linked to several health benefits. 

Health Benefits of Magnesium

Design by Health

Promotes Healthy Blood Sugar Regulation 

Magnesium is necessary for carbohydrate metabolism and insulin secretion, which is why maintaining optimal magnesium levels is essential for healthy blood sugar regulation.

People with prediabetes and diabetes are more likely to develop low magnesium levels due to increased urinary magnesium excretion caused by elevated blood sugar. In order to maintain optimal magnesium levels, people with diabetes may require magnesium supplements.

A 2021 review of 25 studies found that magnesium supplements significantly reduced fasting blood sugar levels and improved insulin sensitivity in people with diabetes and in those at high risk for diabetes compared to placebo treatments.  

What’s more, studies show that people with both type 1 and type 2 diabetes who have higher blood levels of magnesium tend to have better blood sugar control than people with lower magnesium levels.

It May Reduce Stress and Improve Symptoms of Anxiety and Depression 

Magnesium plays an important role in your body’s stress response. If you’re not taking in enough magnesium, it can impact your ability to deal with stress. In fact, research shows that people who are frequently stressed have lower blood levels of magnesium compared to people who aren’t typically stressed.

What’s more, magnesium supplements may be helpful for improving symptoms of common mental health conditions like anxiety and depression.

A 2017 study in 112 people with depression found that daily supplementation with 248 milligrams of magnesium chloride for 6 weeks led to significant improvements in symptoms of depression and anxiety compared to a placebo group.

It Helps to Maintain Healthy Bones

Your bones contain up to 60% of the total magnesium stored in your body. If you don’t take in enough magnesium, it inhibits the activity of bone tissue-forming cells called osteoblasts while increasing the action of osteoclasts, which are cells that break down bone. Magnesium is also necessary for the absorption and metabolism of vitamin D, a nutrient that’s critical for skeletal health.

People with low blood levels of magnesium are at a higher risk for developing bone disorders like osteopenia and osteoporosis. Fortunately, studies show that magnesium supplements are effective for improving bone mineral density and decreasing fracture risk.

It May Improve Some Headaches

Magnesium is necessary for proper nerve function and also helps regulate inflammation and improve blood flow in the brain. People who experience frequent headaches, like migraines, tend to have lower blood levels of magnesium.

In fact, magnesium deficiency is considered an independent risk factor for migraine headaches.

A number of studies have found that magnesium supplements are helpful for reducing the frequency and severity of symptoms in people with migraines and tension-type headaches. According to a 2022 review, magnesium supplements may be effective for reducing the frequency of migraine attacks, and reducing the cost and side effects of traditional migraine treatments like medications.

It Supports Healthy Blood Pressure Levels  

Magnesium is involved in several processes necessary for healthy blood pressure regulation. For example, magnesium promotes the release of a signaling molecule called nitric oxide. Nitric oxide helps relax blood vessels, which is important for maintaining healthy blood pressure levels. 

Taking in optimal amounts of magnesium through your diet can help reduce your risk of developing high blood pressure. Studies show that taking magnesium supplements may help reduce both systolic and diastolic blood pressure in people with high blood pressure. 

However, according to a 2021 review of 49 studies, people with untreated hypertension may require high supplemental doses containing at least 600 milligrams of magnesium per day in order to effectively lower blood pressure levels.

It May Improve Sleep 

Maintaining healthy magnesium levels can help you get restful sleep. Magnesium binds to certain receptors in the central nervous stems and activates GABA, one of the main neurotransmitters responsible for sleep regulation.

Some studies show that magnesium supplements can help people fall asleep faster and stay asleep longer. A 2022 review also found that people with the highest magnesium intake,  including both dietary magnesium and magnesium supplements, were the most likely to meet the National Sleep Foundation’s sleep recommendations of seven to nine hours per night.

Good Sources of Magnesium

Magnesium is concentrated in a number of foods, including nuts, vegetables, seeds, and beans.

Here’s some of the best dietary sources of magnesium:

  • Spinach: 156 milligrams per cooked cup, or 37% of the Daily Value (DV)
  • Pumpkin seeds: 156 milligrams per ounce, or 37% of the DV
  • Swiss chard: 150 milligrams per cooked cup, or 36% of the DV
  • Dark chocolate (70-85% cacao solids): 129 milligrams per 2-ounce serving, or 31% of the DV 
  • Chia seeds: 111 milligrams per ounce, or 29% of the DV
  • Black beans: 120 milligrams per cup, or 28% of the DV
  • Almonds: 80 milligrams per ounce, or 19% of the DV

The best way to ensure you’re getting plenty of magnesium on a daily basis is to follow a nutritious diet that’s high in plant foods and to limit your intake of foods low in magnesium, like ultra-processed snack foods. 

How to Take Magnesium 

Magnesium can be taken any time of day, with or without food. 

It’s important to note that there are several forms of magnesium, so you’ll want to read the back of supplement labels to make sure you’re choosing the right kind for your health needs. 

Studies show that certain forms such as magnesium citrate, magnesium glycinate, magnesium acetyl taurate, and magnesium malate are better absorbed by the body compared to other forms, like magnesium oxide and magnesium sulfate.

Dosage 

Currently, it’s recommended that people take in between 310 and 420 milligrams of total magnesium per day, depending on age and sex. Unfortunately, more than half of Americans fall short of these intake recommendations.

What’s more, experts argue that although the current daily intake recommendations are usually enough to prevent magnesium deficiency, they may not be high enough to promote optimal magnesium status. This suggests that most people would benefit from increasing their magnesium intake, which can be accomplished through increasing consumption of magnesium-rich foods or by taking a magnesium supplement. 

Magnesium supplements provide varying doses of magnesium, but most pills and capsules contain around 100 to 150 milligrams of magnesium. Keep in mind that you may have to take several pills or capsules in order to meet your dosage recommendations. 

Is Magnesium Safe?

Magnesium supplements are generally safe and not associated with significant side effects when used appropriately. However, it is possible to take in too much magnesium from dietary supplements, which can lead to serious complications. 

People with kidney issues and elderly people with bowel conditions are more susceptible to developing high blood levels of magnesium, which is called hypermagnesemia in the medical field.

Potential Drug Interactions

Several medications can deplete magnesium stores. Plus, magnesium supplements may reduce the absorption of some medications.

  • Antibiotics: Magnesium supplements can reduce the absorption of antibiotics such as tetracyclines, fluoroquinolones, and nitrofurantoin.
  • Blood pressure-lowering medications: Magnesium may reduce blood pressure, so people on blood pressure medications shouldn't take magnesium without checking with their doctor first. 
  • Diuretics: Diuretic medications can increase magnesium excretion and increase the risk of magnesium deficiency. 
  • Proton pump inhibitors: Medications used to treat acid reflux, like Nexium, can increase the risk of magnesium deficiency. 
  • Blood sugar-lowering medications: Magnesium supplements may increase the absorption of certain antidiabetic medications, like sulfonylurea drugs. The antidiabetic drug Metformin may cause low magnesium levels over time. 

What to Look For

When shopping for a magnesium supplement, it’s important to choose high-quality products from trusted brands. Some supplement manufacturers hire third-party labs to test their products for purity and potency, which helps improve supplement safety. Whenever possible, purchase supplements from brands certified by organizations like UL, USP, and NSF International.

Choosing a bioavailable form of magnesium, such as magnesium glycinate or magnesium citrate, can help increase your body’s ability to absorb magnesium and may help reduce the risk of gastrointestinal side effects.

Lastly, magnesium supplements contain different doses, so it’s a good idea to ask a trusted healthcare provider how much supplemental magnesium you should be taking before selecting a supplement.  

Can You Take Too Much Magnesium?


Although magnesium supplements are relatively safe, it is possible to overdo it. For example, taking too much supplemental magnesium may cause minor side effects like diarrhea and abdominal cramps. 


Taking extremely high doses of magnesium can lead to a dangerous condition called magnesium toxicity, which occurs when blood levels of magnesium exceed 1.74–2.61 mmol/L. Magnesium toxicity is rare and is usually related to accidental overdoses of magnesium-containing products like antacids and laxatives. Magnesium toxicity can cause symptoms like low blood pressure and irregular heartbeat and can be fatal.


Because it’s possible to take in too much magnesium from supplements, the Food and Nutrition Board (FNB) has established a Tolerable Upper Intake Level (UL) for magnesium, which is currently set at 350 milligrams per day. A UL is the maximum daily intake of a nutrient unlikely to cause harm.  Keep in mind that the UL only applies to supplemental magnesium.


Even though studies show that magnesium can safely be taken in doses higher than 350 milligrams per day, you shouldn’t take more than the UL unless it’s recommended by a medical professional for a specific reason.  

Side Effects of Magnesium

When taken in appropriate doses, magnesium supplements aren’t usually associated with many side effects.

However, high doses of magnesium can lead to a few side effects, which mainly impact the gastrointestinal system. Certain forms of magnesium, including magnesium oxide and magnesium chloride, are more likely to cause side effects than others.

Here are some of the most common side effects associated with magnesium supplements:

If you experience gastrointestinal side effects after taking a magnesium supplement, changing the form of magnesium you take or cutting back on the dose may help. 

A Quick Review

Magnesium is a mineral that plays a number of important roles in the body. 

Even though magnesium is concentrated in foods like vegetables, nuts, and beans, most people don’t meet the daily intake recommendations for this nutrient.

Taking a magnesium supplement can help you cover your magnesium needs and may offer several health benefits, from enhancing sleep to reducing symptoms of anxiety.

If you’re interested in taking a magnesium supplement, ask a healthcare provider like a dietitian or doctor for advice on dosing and their recommendations for high-quality magnesium supplements.  

Was this page helpful?
15 Sources
Health.com uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. National Institutes of Health. Magnesium.

  2. Veronese N, Dominguez LJ, Pizzol D, Demurtas J, Smith L, Barbagallo M. Oral magnesium supplementation for treating glucose metabolism parameters in people with or at risk of diabetes: a systematic review and meta-analysis of double-blind randomized controlled trials. Nutrients. 2021;13(11):4074. doi: 10.3390/nu13114074

  3. Wan Nik WNFH, Zulkeflee HA, Ab Rahim SN, Tuan Ismail TS. Association of vitamin D and magnesium with insulin sensitivity and their influence on glycemic controlWorld J Diabetes. 2023;14(1):26-34. doi: 10.4239/wjd.v14.i1.26

  4. Pickering G, Mazur A, Trousselard M, et al. Magnesium status and stress: the vicious circle concept revisitedNutrients. 2020;12(12):3672. doi: 10.3390/nu12123672

  5. Tarleton EK, Littenberg B, MacLean CD, Kennedy AG, Daley C. Role of magnesium supplementation in the treatment of depression: A randomized clinical trialPLoS One. 2017;12(6):e0180067. doi: 10.1371/journal.pone.0180067

  6. Rondanelli M, Faliva MA, Tartara A, et al. An update on magnesium and bone healthBiometals. 2021;34(4):715-736. doi: 10.1007/s10534-021-00305-0

  7. Maier JA, Pickering G, Giacomoni E, Cazzaniga A, Pellegrino P. Headaches and magnesium: mechanisms, bioavailability, therapeutic efficacy and potential advantage of magnesium pidolateNutrients. 2020;12(9):2660. doi: 10.3390/nu12092660

  8. Domitrz I, Cegielska J. Magnesium as an important factor in the pathogenesis and treatment of migraine—from theory to practiceNutrients. 2022;14(5):1089. doi: 10.3390/nu14051089

  9. Dibaba DT, Xun P, Song Y, Rosanoff A, Shechter M, He K. The effect of magnesium supplementation on blood pressure in individuals with insulin resistance, prediabetes, or noncommunicable chronic diseases: a meta-analysis of randomized controlled trialsAm J Clin Nutr. 2017;106(3):921-929. doi: 10.3945/ajcn.117.155291

  10. Rosanoff A, Costello RB, Johnson GH. Effectively prescribing oral magnesium therapy for hypertension: a categorized systematic review of 49 clinical trialsNutrients. 2021;13(1):195. doi: 10.3390/nu13010195

  11. Zhang Y, Chen C, Lu L, et al. Association of magnesium intake with sleep duration and sleep quality: findings from the CARDIA studySleep. 2021;45(4):zsab276. doi: 10.1093/sleep/zsab276

  12. Workinger JL, Doyle RP, Bortz J. Challenges in the diagnosis of magnesium statusNutrients. 2018;10(9). doi: 10.3390/nu10091202

  13. DiNicolantonio JJ, O’Keefe JH, Wilson W. Subclinical magnesium deficiency: a principal driver of cardiovascular disease and a public health crisisOpen Heart. 2018;5(1):e000668. doi: 10.1136/openhrt-2017-000668

  14. Yamaguchi H, Shimada H, Yoshita K, et al. Severe hypermagnesemia induced by magnesium oxide ingestion: a case seriesCEN Case Rep. 2018;8(1):31-37. doi: 10.1007/s13730-018-0359-5

  15. Memorial Sloane Kettering Cancer Center. Magnesium.

Related Articles