Disclaimer
This article is for general information and is not medical advice. Always talk to your doctor or pharmacist before starting a supplement, especially if you take medication, are pregnant or have a health condition.
Some links are affiliate links. We may earn a commission if you buy through them, at no extra cost to you. It does not change our rating.
Fact Checked
Health claims in this article are checked against published research and official sources such as the NIH Office of Dietary Supplements, the FDA, PubMed and Cochrane. Every source is linked in the References section at the end.
Prices, packages and refund terms are copied from the official sales page on the date the article was updated. Brand claims are labelled as brand claims.
Review Process
We do not run lab tests or personal trials. Each review is desk research: we read the official sales page and label, compare the top-ranking reviews, check every ingredient against human studies, and look up side effects and drug interactions.
Our rating weighs evidence, label transparency, price, refund terms and red flags. We update reviews when prices or formulas change.
This article is for general education and is not medical advice. Magnesium supplements can interact with common medicines and can build up to harmful levels in people with kidney disease, so talk to a doctor or pharmacist before you start taking them.
Magnesium is one of the most popular supplements in the US, sold for everything from better sleep to fewer leg cramps. The real magnesium benefits are more specific than the marketing. The mineral is essential for hundreds of processes in the body, and the research supports it best for a small drop in blood pressure, migraine prevention, constipation and correcting a true shortfall.
This guide covers how much magnesium you need at each age, the signs of low levels, what the studies show for each claimed benefit, how the different supplement forms compare, the safe upper limit and the medicines it interacts with. It draws on the NIH Office of Dietary Supplements (ODS), the Linus Pauling Institute at Oregon State University, the American Academy of Neurology and published meta-analyses.
Key Takeaways
Adults need 310 to 420 mg of magnesium a day, depending on age and sex, and nuts, seeds, beans, leafy greens and whole grains are the best food sources. In a 2016 meta-analysis of 34 trials, supplements lowered blood pressure by about 2 points. Neurology and headache groups rate magnesium as “probably effective” for preventing migraines, and magnesium oxide is a recommended option for chronic constipation. Evidence for sleep is weak. Keep supplements to 350 mg a day or less unless your doctor advises more, and separate them from some antibiotics and osteoporosis drugs.
What Does Magnesium Do in the Body?
Magnesium works as a helper for more than 300 enzymes. It is needed to turn food into energy, build protein and DNA, keep the heart beating in a steady rhythm, let muscles relax after they contract, and send nerve signals. It also helps control blood sugar and blood pressure.
An adult body holds about 25 g of magnesium. More than half sits in the bones, most of the rest is inside muscle and other soft tissues, and less than 1% is in the blood. So a blood test sees only a tiny slice of the total, and your level can read normal even when the body’s stores are low.
The body absorbs about 30% to 40% of the magnesium in food, according to the Linus Pauling Institute. The kidneys then fine-tune how much is kept, which is why healthy people rarely run seriously low and why kidney disease changes the picture so much.
How Much Magnesium Do You Need?
These are the Recommended Dietary Allowances (RDAs) set by the National Academies and used by ODS. They include magnesium from food, drinks and supplements combined.
| Age | Men | Women | Pregnancy | Breastfeeding |
|---|---|---|---|---|
| 1 to 3 years | 80 mg | 80 mg | – | – |
| 4 to 8 years | 130 mg | 130 mg | – | – |
| 9 to 13 years | 240 mg | 240 mg | – | – |
| 14 to 18 years | 410 mg | 360 mg | 400 mg | 360 mg |
| 19 to 30 years | 400 mg | 310 mg | 350 mg | 310 mg |
| 31 years and older | 420 mg | 320 mg | 360 mg | 320 mg |
ODS notes that dietary surveys show many people in the US get less magnesium than these amounts. Older adults are more likely to fall short, becuase they tend to eat less, absorb less from the gut and lose more in urine. A diet heavy in refined grains and processed food is a common reason, since milling wheat into white flour strips out most of its magnesium.

Signs of Low Magnesium
A mild shortfall often causes no clear symptoms. As levels drop further, the early signs listed by ODS are loss of appetite, nausea, vomiting, fatigue and weakness. A more serious deficiency can cause numbness and tingling, muscle cramps and spasms, tremor, seizures, personality changes and abnormal heart rhythms. Low magnesium can also pull down calcium and potassium levels in the blood.
The people most likely to run low are those with:
- Digestive diseases such as Crohn’s disease, celiac disease, chronic diarrhea or past bowel surgery.
- Type 2 diabetes, especially when blood sugar is high, because sugar in the urine pulls magnesium out with it.
- Long-term heavy drinking.
- Long-term use of some diuretics or proton pump inhibitors (PPIs) for acid reflux.
- Age over 50 or a low-quality diet.
Muscle cramps alone are a poor guide, since they have alot of possible causes. If you think you are low, ask your doctor about a blood test, and mention any of the risk factors above.
Magnesium Benefits: What the Evidence Shows
Here is how the most common claims hold up, from the strongest evidence to the weakest.
Blood pressure: a small but real drop
A 2016 meta-analysis in Hypertension pooled 34 placebo-controlled trials with 2,028 adults. A median dose of 368 mg a day for a median of three months lowered systolic blood pressure (the top number) by 2.00 mm Hg and diastolic pressure by 1.78 mm Hg. The authors’ dose-response analysis suggested that 300 mg a day for one month was enough to see an effect. Most of the trials were small, and they called for better studies.
Two points is modest, and it won’t replace blood pressure medicine. The Linus Pauling Institute notes a 2021 meta-analysis of 49 trials in which the drop was larger in people whose blood pressure stayed high despite treatment.
Migraine prevention: probably effective
In 2012 the American Academy of Neurology and the American Headache Society reviewed treatments for preventing episodic migraine and rated magnesium as “probably effective,” their Level B. Trials have mostly used 400 to 600 mg a day. In two early placebo-controlled trials, 600 mg a day modestly cut how often migraines happened, while another trial using 485 mg found no benefit.
These doses are above the 350 mg upper limit for supplements, so take them only with your doctor’s guidance. Diarrhea and stomach upset were common, affecting 19% to 40% of people in the trials according to the Linus Pauling Institute.
Constipation: a recommended option
Some forms of magnesium pull water into the bowel, which softens stool. This is why milk of magnesia (magnesium hydroxide) has been used as a laxative for generations. In 2023 a joint guideline from the American Gastroenterological Association and the American College of Gastroenterology made a conditional recommendation for magnesium oxide in adults with chronic constipation, though the certainty of evidence was rated very low. People with kidney disease should avoid regular magnesium laxatives.
Blood sugar and type 2 diabetes: helpful if you are low
In cohort studies, people who eat more magnesium are less likely to develop type 2 diabetes; a 2016 meta-analysis of 25 cohorts found a 17% lower risk with higher intake. In trials, supplements lowered fasting blood sugar in people with diabetes but did not improve HbA1c, the three-month average. In people at high risk of diabetes, supplements improved insulin resistance, and the benefit was strongest in those who were low in magnesium. If your blood sugar is creeping up, our guide to prediabetes signs explains what to watch for.
Sleep: weak evidence
Magnesium is widley sold as a sleep aid. A 2021 meta-analysis in BMC Complementary Medicine and Therapies found just three small trials, with 151 older adults in total. Magnesium shortened the time it took to fall asleep by about 17 minutes compared with placebo, but total sleep time did not change significantly. The authors rated the evidence low to very low quality and said it was not good enough for doctors to make firm recommendations.
Bones and muscle cramps
More than half of the body’s magnesium is in bone, and getting enough from food is part of a bone-healthy diet alongside calcium, vitamin D, protein and exercise; our guide on how to strengthen bones after 50 covers the full picture. For ordinary leg cramps in older adults, reviews have generally found that magnesium supplements don’t help much.
Types of Magnesium Supplements Compared
Supplements bind magnesium to another compound, and that partner affects how well it dissolves and how your gut reacts. ODS notes that the aspartate, citrate, lactate and chloride forms are absorbed better than magnesium oxide and sulfate. Labels list “elemental” magnesium, which is the amount that counts toward the RDA and the upper limit.
| Form | Absorption | Common use | Notes |
|---|---|---|---|
| Magnesium citrate | Good | General supplement; larger doses as a laxative | Dissolves well; can loosen stools |
| Magnesium glycinate | Good (limited data) | General supplement, often chosen for sleep or calm | Often described as gentler on the stomach; few head-to-head studies |
| Magnesium oxide | Low | Constipation, heartburn, migraine trials | High magnesium per pill but poorly absorbed; most likely to cause diarrhea |
| Magnesium chloride | Good | General supplement | Rated well absorbed by ODS; also sold as flakes and sprays |
| Magnesium L-threonate | Unclear | Marketed for memory and brain health | Mostly animal research and small human studies; low magnesium per dose |
For most people, a citrate or glycinate product at 100 to 200 mg of elemental magnesium, taken with food, is a reasonable choice if a doctor agrees a supplement makes sense. Oxide is cheap and works well when the goal is a laxitive effect. Topical magnesium oils and Epsom salt baths have very little evidence that meaningful amounts pass through skin.
The 350 mg Upper Limit and Side Effects
The Tolerable Upper Intake Level (UL) for adults and children 9 and older is 350 mg a day from supplements and medicines. For children 1 to 3 it is 65 mg, and for children 4 to 8 it is 110 mg. Food magnesium does not count, because healthy kidneys flush out what the body doesn’t need.
Diarrhea is usually the first sign of too much, often with nausea and cramps. Very high intakes, often from large doses of laxatives or antacids, can cause magnesium toxicity: low blood pressure, lethargy, confusion, muscle weakness, trouble breathing, irregular heartbeat and, in severe cases, cardiac arrest. The risk is far higher in people with reduced kidney function, who can get into trouble even with moderate doses. Our guide to signs of kidney problems lists symptoms worth checking.
Medicines That Interact With Magnesium
| Medicine | Examples | What happens | What to do |
|---|---|---|---|
| Bisphosphonates for osteoporosis | Alendronate (Fosamax), risedronate | Magnesium can block absorption of the drug | Take at least 2 hours apart |
| Some antibiotics | Tetracyclines (doxycycline), quinolones (ciprofloxacin, levofloxacin) | Magnesium binds the antibiotic so less is absorbed | Take the antibiotic at least 2 hours before or 4 to 6 hours after magnesium |
| Diuretics | Furosemide, hydrochlorothiazide; potassium-sparing types such as spironolactone | Loop and thiazide types raise magnesium loss; potassium-sparing types lower it | Ask your doctor before supplementing |
| Proton pump inhibitors (PPIs) | Omeprazole, esomeprazole, pantoprazole | Long-term use can lower blood magnesium | Ask about a magnesium blood test if you’ve used one for a long time |
| Kidney disease | Chronic kidney disease, dialysis | Magnesium can build up to toxic levels | Avoid supplements, antacids and laxatives with magnesium unless your doctor approves |
Many antacids and laxatives allready contain magnesium, so check the labels and count them toward your total. If you take thyroid medicine, iron or calcium supplements, a pharmacist can help you time doses so they don’t compete with each other.
The Best Food Sources of Magnesium
Food is the safest way to get magnesium, and it comes with fiber and other nutrients. Values below are from the Linus Pauling Institute and ODS, based on USDA data.
| Food | Serving | Magnesium |
|---|---|---|
| Pumpkin seeds, roasted | 1 oz | 156 mg |
| Brazil nuts | 1 oz (6 nuts) | 107 mg |
| Oat bran cereal, dry | ½ cup | 96 mg |
| Cashews | 1 oz (16 nuts) | 83 mg |
| Mackerel, cooked | 3 oz | 82 mg |
| Spinach, cooked | ½ cup | 78 mg |
| Almonds | 1 oz (23 nuts) | 77 mg |
| Swiss chard, cooked | ½ cup | 75 mg |
| Shredded wheat cereal | 2 biscuits | 61 mg |
| Lima beans, cooked | ½ cup | 51 mg |
| Peanuts | 1 oz | 48 mg |
| Brown rice, cooked | ½ cup | 43 mg |
| Chickpeas, cooked | ½ cup | 39 mg |
| Banana | 1 medium | 32 mg |
| Avocado | ½ fruit | 29 mg |
A day that includes oatmeal with an ounce of pumpkin seeds, a spinach salad, a handful of almonds and a cup of beans or brown rice can easily reach 400 mg without any pills. Those same foods appear on our list of foods that lower blood sugar, which is part of why high-magnesium diets look so good in long-term studies.

Frequently Asked Questions
What are the main magnesium benefits?
Magnesium is needed for energy production, muscle and nerve function, heart rhythm, bones and blood sugar control. In studies, supplements lowered blood pressure by about 2 points, are rated probably effective for preventing migraines, and magnesium oxide helps chronic constipation. Benefits for blood sugar are clearest in people who are low.
How much magnesium should I take a day?
The RDA is 400 to 420 mg for adult men and 310 to 320 mg for adult women, from food and supplements combined. Supplements should stay at or below 350 mg a day unless a doctor recommends more.
What are the signs of low magnesium?
Early signs include loss of appetite, nausea, vomiting, fatigue and weakness. A more serious deficiency can cause numbness, tingling, muscle cramps, seizures, personality changes and abnormal heart rhythms.
Which type of magnesium is best?
Citrate, chloride, lactate and aspartate are absorbed better than magnesium oxide and sulfate, according to the NIH. Glycinate is often chosen because it tends to be gentle on the stomach. Oxide is poorly absorbed but works well as a laxative.
Does magnesium help you sleep?
The evidence is weak. A 2021 review of three small trials in 151 older adults found magnesium helped people fall asleep about 17 minutes faster, but total sleep time did not change significantly and the evidence was rated low quality.
Is it safe to take magnesium every day?
For most healthy adults, up to 350 mg a day from supplements is considered safe. Higher doses often cause diarrhea. People with kidney disease should not take magnesium supplements without medical advice, because it can build up to toxic levels.
What medicines should not be taken with magnesium?
Magnesium can reduce absorption of bisphosphonates such as alendronate and of tetracycline and quinolone antibiotics, so doses need to be separated. Some diuretics and long-term use of proton pump inhibitors can change magnesium levels.
What foods are highest in magnesium?
Pumpkin seeds (156 mg per ounce), Brazil nuts, cashews, almonds, cooked spinach and Swiss chard, mackerel, oat bran, beans and brown rice are among the best sources.
The Bottom Line
Magnesium is essential, and most of its benefits come from simply getting enough: 310 to 420 mg a day for adults, ideally from nuts, seeds, beans, leafy greens and whole grains. Supplements lower blood pressure by about 2 points, are rated probably effective for migraine prevention at doses that need a doctor’s input, and magnesium oxide is a recommended option for constipation. Blood sugar benefits are clearest in people who are low, and the sleep evidence is weak. Keep supplements at 350 mg a day or less, separate them from antibiotics and bisphosphonates, and avoid them with kidney disease unless your doctor says otherwise.
References
- Magnesium Fact Sheet for Health Professionals, NIH Office of Dietary Supplements
- Magnesium, Micronutrient Information Center, Linus Pauling Institute, Oregon State University
- Zhang X et al. Effects of Magnesium Supplementation on Blood Pressure: A Meta-Analysis of Randomized Double-Blind Placebo-Controlled Trials. Hypertension, 2016
- Holland S et al. Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults. Report of the American Academy of Neurology and the American Headache Society. Neurology, 2012
- Chang L et al. AGA-ACG Clinical Practice Guideline on the Pharmacological Management of Chronic Idiopathic Constipation. American Journal of Gastroenterology, 2023
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review and Meta-Analysis. BMC Complementary Medicine and Therapies, 2021
- Magnesium Fact Sheet for Consumers, NIH Office of Dietary Supplements
- Magnesium in diet, MedlinePlus, US National Library of Medicine
Medical disclaimer: These statements have not been evaluated by the Food and Drug Administration. Dietary supplements are not intended to diagnose, treat, cure or prevent any disease. This page is for educational purposes only and is not a substitute for professional medical advice, diagnosis or treatment. Always ask your doctor or pharmacist before taking magnesium, especially if you have kidney disease or take prescription medicines.
Dr. Emily Carter is a U.S.-based medical doctor specializing in clinical nutrition, dietary supplements, and integrative health. With over 14 years of experience, she has worked with individuals to improve their health through evidence-based nutrition, lifestyle changes, and safe supplementation.
She has extensive experience reviewing supplement ingredients, clinical studies, and product formulations, helping bridge the gap between scientific research and everyday health decisions.
