Every organ in the body -- especially the heart, muscles, and kidneys -- needs the mineral magnesium. It also contributes to the makeup of teeth and bones. Most important, it activates enzymes, contributes to energy production, and helps regulate calcium levels, as well as copper, zinc, potassium, vitamin D, and other important nutrients in the body.
You can get magnesium from many foods. However, most people in the United States probably do not get as much magnesium as they should from their diet. Foods rich in magnesium include whole grains, nuts, and green vegetables. Green leafy vegetables are particularly good sources of magnesium.
Although you may not get enough magnesium from your diet, it’s rare to be deficient in magnesium. Certain medical conditions, however, can upset the body's magnesium balance. For example, an intestinal virus that causes vomiting or diarrhea can cause temporary magnesium deficiencies. Some gastrointestinal diseases (such as irritable bowel syndrome or IBS and ulcerative colitis), diabetes, pancreatitis, hyperthyroidism (high thyroid hormone levels), kidney disease, and taking diuretics can lead to deficiencies. Too much coffee, soda, salt, or alcohol, as well as heavy menstrual periods, excessive sweating, and prolonged stress can also lower magnesium levels.
Symptoms of magnesium deficiency may include agitation and anxiety, restless leg syndrome (RLS), sleep disorders, irritability, nausea and vomiting, abnormal heart rhythms, low blood pressure, confusion, muscle spasm and weakness, hyperventilation, insomnia, poor nail growth, and even seizures.
Getting enough magnesium may enhance the effectiveness of conventional treatment for the following conditions:
Several studies show that intravenous (IV) magnesium and magnesium inhaled through a nebulizer can help treat acute attacks of asthma in children 6 - 18 years of age, as well as adults. But there is no evidence that taking oral magnesium helps control asthma symptoms. Low levels of magnesium may increase risk of developing asthma. A population-based clinical study of more than 2,500 children, 11 - 19 years of age, found that low dietary magnesium intake may be associated with risk of asthma. The same was found in a group of more than 2,600 adults 18 - 70 years of age.
Inadequate magnesium appears to reduce serotonin levels, and antidepressants have been shown to raise brain magnesium. One study found that magnesium was as effective as the tricyclic antidepressants in treating depression among people with diabetes.
People who have type 2 diabetes often have low levels of magnesium in the blood. A large clinical study of more than 2,000 people found that getting more magnesium in the diet may help protect against type 2 diabetes. Some -- though not all -- studies suggest that taking magnesium supplements may help blood sugar control and insulin sensitivity in people with diabetes or prediabetes.
A preliminary clinical study of 24 people with fibromyalgia found that a proprietary tablet containing both malic acid and magnesium improved pain and tenderness associated with fibromyalgia when taken for at least 2 months. Other studies suggest the combination of calcium and magnesium may be helpful for some people with fibromyalgia. However, a review article evaluating a number of studies found that magnesium with malic acid offered no pain relief. More studies are needed. Other studies suggest that magnesium supplementation helped improve muscle strength in pediatric patients with cystic fibrosis.
Noise related hearing loss
One study suggests that taking magnesium may prevent temporary or permanent hearing loss due to very loud noise.
Arrhythmia and heart failure
Magnesium is essential to heart health. Studies suggest a possible association between a modestly lower risk of coronary heart disease (CHD) in men and increased magnesium intake. In one study of women, higher dietary intakes of magnesium were associated with a lower risk of sudden cardiac death. Magnesium helps maintain a normal heart rhythm and is sometimes given intravenously (IV) in the hospital to reduce the chance of atrial fibrillation and cardiac arrhythmia (irregular heartbeat). People with congestive heart failure (CHF) are often at risk for developing cardiac arrhythmia. For this reason, your doctor may decide that magnesium should be a part of the treatment of CHF. One-well designed study found that taking magnesium orotate for a year reduced symptoms and improved survival rates compared to placebo in people with CHF. Magnesium and calcium work together at very precise ratios to ensure your heart functions properly. If you have a cardiac history, talk to your doctor before taking magnesium supplements.
Results of studies using magnesium to treat heart attack survivors, however, have been mixed. Some have reported lower death rates, as well as fewer arrhythmias and improved blood pressure when magnesium is used as part of the treatment following a heart attack. But one study found that magnesium slightly increased the risk of sudden death, chance of another heart attack, or need for bypass surgery in the year after a heart attack. If you have had a heart attack, your doctor will decide if magnesium supplementation, either IV or orally, is right for you.
High blood pressure
Eating low-fat dairy products, along with lots of fruits and vegetables on a regular basis, is associated with lower blood pressure. All of these foods are rich in magnesium, as well as calcium and potassium. A large clinical study of more than 8,500 women found that a higher intake of dietary magnesium may decrease the risk of high blood pressure in women. A few studies also suggest that magnesium supplements may help lower blood pressure, although not all studies agree.
A few studies suggest that taking magnesium supplements may help prevent migraine headaches. In addition, research suggests that magnesium supplements may shorten the duration of a migraine and reduce the amount of medication needed. People who have migraine headaches tend to have lower levels of magnesium compared to those with tension headaches or no headaches at all.
Some experts recommend combining magnesium with the herb feverfew along with vitamin B2 (riboflavin) when you have a headache.
However, some studies suggest that magnesium sulfate may be less effective than prescription medications for preventing migraines in those who have 3 or more headaches per month. The only exception to this may be women who get migraine headaches around the time of their period.
Not getting enough calcium, vitamin D, magnesium, and other micronutrients may play a role in the development of osteoporosis. To prevent osteoporosis, it is important to get enough calcium, magnesium, and vitamin D; to eat a well-balanced diet; and to do weight bearing exercises throughout life.
Preeclampsia and eclampsia
Preeclampsia is characterized by a sharp rise in blood pressure during the third trimester of pregnancy. Women with preeclampsia may develop seizures, which is then called eclampsia. Magnesium, given in the hospital by IV, is the treatment of choice to prevent or treat seizures associated with eclampsia or to prevent complications from preeclampsia. Some physicians also use magnesium sulfate to manage pre-term labor.
Premenstrual syndrome (PMS)
Scientific studies suggest that magnesium supplements may help relieve symptoms associated with PMS, particularly bloating, insomnia, leg swelling, weight gain, and breast tenderness. One study suggests that a combination of magnesium and vitamin B6 may work better than either one alone.
Restless legs syndrome
A study including only 10 patients found that magnesium improved insomnia related to restless legs syndrome (a disorder characterized by uncomfortable sensations in the legs, which are worse during periods of inactivity or rest or while sitting or lying down).
Preliminary studies suggest that higher intakes of dietary magnesium are associated with a lower risk of colorectal tumors. While this is a new area of research, scientists say consuming magnesium-rich foods may be another avenue to explore further in the search for cancer-prevention strategies.
Rich sources of magnesium include tofu, legumes, whole grains, green leafy vegetables, wheat bran, Brazil nuts, soybean flour, almonds, cashews, blackstrap molasses, pumpkin and squash seeds, pine nuts, and black walnuts. Other good dietary sources of this mineral include peanuts, whole wheat flour, oat flour, beet greens, spinach, pistachio nuts, shredded wheat, bran cereals, oatmeal, bananas, and baked potatoes (with skin), chocolate, and cocoa powder. Many herbs, spices, and seaweeds supply magnesium, such as agar seaweed, coriander, dill weed, celery seed, sage, dried mustard, basil, cocoa powder, fennel seed, savory, cumin seed, tarragon, marjoram, and poppy seed.
Magnesium is available in many forms. Recommended types include magnesium citrate, magnesium gluconate, and magnesium lactate, all of which are more easily absorbed into the body than other forms. Time release preparations may improve absorption. Ask your health care provider.
Other familiar sources are magnesium hydroxide (often used as a laxative or antacid) and magnesium sulfate (generally used orally as a laxative or in multivitamins, or added to a bath). Some magnesium, such as Epsom salts, can be absorbed through the skin. Preliminary research suggests Epsom salts can relieve swelling, inflammation, and ease muscle aches and pains.
How to Take It
Be sure to check with your health care provider before taking magnesium supplements and before considering them for a child. Under certain circumstances, such as certain heart arrhythmias or preeclampsia, a doctor will give magnesium by IV in the hospital.
It is a good idea to take a B vitamin complex, or a multivitamin containing B vitamins, because the level of vitamin B6 in the body determines how much magnesium will be absorbed into the cells.
Dosages are based on the dietary reference intakes (DRIs) issued from the Food and Nutrition Board of the United States Government's Office of Dietary Supplements, part of the National Institutes of Health.
Do not give magnesium supplements to a child without a doctor’s supervision.
Children 1 - 3 years of age: 40 - 80 mg daily
Children 4 - 8 years of age: 130 mg daily
Children 9 - 13 years of age: 240 mg daily
Males 14 - 18 years of age: 410 mg daily
Females 14 - 18 years of age: 360 mg daily
Pregnant females 14 - 18 years of age: 400 mg daily
Breastfeeding females 14 - 18 years of age: 360 mg daily
- Males 19 - 30 years of age: 400 mg daily
- Females 19 - 30 years of age: 310 mg daily
- Males 31 years of age and over: 420 mg daily
- Females 31 years of age and over: 320 mg daily
- Pregnant females 19 - 30 years of age: 350 mg daily
Pregnant females 31 and over: 360 mg daily
Breastfeeding females 19 - 30 years of age: 310 mg daily
Breastfeeding females 31 years of age and over: 320 mg daily
A person’s need for magnesium increases during pregnancy, recovery from surgery and illnesses, and athletic training. Speak with your physician.
Because of the potential for side effects and interactions with medications, you should only take dietary supplements under the supervision of a knowledgeable health care provider.
Since magnesium is excreted by the kidneys, people with heart or kidney disease should not take magnesium supplements except under their doctor's supervision.
It is very rare to overdose on magnesium from food. However, people who ingest large amounts of milk of magnesia (as a laxative or antacid), epsom salts (as a laxative or tonic), or magnesium supplements may overdose, especially if they have kidney problems. Too much magnesium can cause serious health problems, including nausea, vomiting, severely lowered blood pressure, confusion, slowed heart rate, respiratory paralysis, deficiencies of other minerals, coma, cardiac arrhythmias, cariac arrest, and death.
More common side effects from magnesium include upset stomach and diarrhea.
Magnesium competes with calcium for absorption and can cause a calcium deficiency if calcium levels are already low. Some medications may lower magnesium levels in the body. These include chemotherapy drugs, diuretics, digoxin (Lanoxin), steroids, and certain antibiotics.
If you are currently being treated with any of the following medications, you should not use magnesium without first talking to your health care provider.
Aminoglycosides -- Concomitant use with magnesium may cause neuromuscular weakness and paralysis.
Antibiotics -- Taking magnesium supplements may reduce the absorption of quinolone antibiotics, tetracycline antibiotics, and nitrofurantoin (Macrodandin). Magnesium should be taken 1 hour before or 2 hours after taking these medications. Quinolone and tetracycline antibiotics include:
Blood Pressure Medications, Calcium Channel Blockers -- Magnesium may increase the risk of negative side effects (such as dizziness, nausea, and fluid retention) from calcium channel blockers (particularly nifedipine or Procardia) in pregnant women. Other calcium channel blockers include:
Medications for diabetes -- Magnesium hydroxide, commonly found in antacids such as Alternagel, may increase the absorption of some medications used to control blood sugar levels (particularly glipizide or Glucatrol and glyburide or Micronase). If you take these medications to control blood sugar, your doctor may need to adjust your dose.
Digoxin (Lanoxin) -- Low blood levels of magnesium can increase negative effects from digoxin, including heart palpitations and nausea. In addition, digoxin can cause more magnesium to be lost in the urine. A doctor will monitor magnesium levels in people taking digoxin to see whether they need a magnesium supplement.
Diuretics -- Diuretics known as loop (such as furosemide or Lasix) and thiazide (including hydrochlorothiazide) can lower magnesium levels. For this reason, doctors who prescribe diuretics may recommend magnesium supplements as well.
Fluoroquinones -- Concomitant use with magnesium may decrease absorption and effectiveness. Flouroquinones should be taken a minimum of 4 hours before any products containing magnesium.
Hormone Replacement Therapy -- Magnesium levels tend to decrease during menopause. Clinical studies suggest, however, that hormone replacement therapy may help prevent the loss of this mineral. Postmenopausal women, or those taking hormone replacement therapy, should talk with a health care provider about the risks and benefits of magnesium supplementation.
Labetol -- Concomitant use with magneisum can slow heart beat abnormally and reduce cardiac output.
Levomethadyl -- Concomitant use with magnesium may precipitate a heart condition called QT prolongation.
Levothyroxine -- There have been case reports of magnesium containing antacids reducing the effectiveness of levothyroxine, a medication that treats underactive thyroid.
Penicillamine -- Penicillamine, a medication used to treat Wilson's disease (a condition characterized by high levels of copper in the body) and rheumatoid arthritis, can inactivate magnesium, particularly when high doses of the drug are used over a long period of time. Supplementation with magnesium and other nutrients may reduce side effects associated with penicillamine. If you take penicillamine, a health care provider can determine whether magnesium supplements are right for you.
Tiludronate (Skelid) and Alendronate (Fosamax) -- Magnesium may interfere with absorption of medications used in osteoporosis, including alendronate (Fosamax). Magnesium or antacids containing magnesium should be taken 1 hour before or 2 hours after taking these medications.
Others -- Aminoglycoside antibiotics (such as gentamicin and tobramycin), thiazide diuretics (such as hydrochlorothiazide), loop diuretics (such as furosemide and bumetanide), amphotericin B, corticosteroids (prednisone or Deltasone), antacids, and insulin may lower magnesium levels. Please refer to the depletions monographs on some of these medications for more information.
Aydin H, Deyneli O, Yavuz D, Gözü H, Mutlu N, Kaygusuz I, Akalin S. Short-Term Oral Magnesium Supplementation Suppresses Bone Turnover in Postmenopausal Osteoporotic Women. Biol Trace Elem Res. 2009 Jun 2. (Epub ahead of print)
Bartlett HE, Eperjesi F. Nutritional supplementation for type 2 diabetes: a systematic review. Ophthalmic Physiol Opt. 2008 Nov;28(6):503-23. Review.
Bendich A. The potential for dietary supplements to reduce premenstrual syndrome (PMS) symptoms. J Am Coll Nutr. 2000;19(1):3-12.
Bo S, Pisu E. Role of dietary magnesium in cardiovascular disease prevention, insulin sensitivity and diabetes. Curr Opin Lipidol. 2008 Feb;19(1):50-6. Review.
Bureau I, Anderson RA, Arnaud J, Raysiguier Y, Favier AE, Roussel AM. Trace mineral status in post menopausal women: impact of hormonal replacement therapy. J Trace Elem Med Biol. 2002;16(1):9-13.
Champagne CM. Magnesium in hypertension, cardiovascular disease, metabolic syndrome, and other conditions: a review. Nutr Clin Pract. 2008 Apr-May;23(2):142-51. Review.
Chiladakis JA, Stathopoulos C, Davlouros P, Manolis AS. Intravenous magnesium sulfate versus diltiazem in paroxysmal atrial fibrillation. Int J Cardiol. 2001;79(2-3):287-291.
Chiuve SE, Korngold EC, Januzzi JL, Gantzer ML, Albert CM. Plasma and dietary magnesium and risk of sudden cardiac death in women. Am J Clin Nutr. 2011; 93(2):253-60.
Ciarallo L, Brousseau D, Reinert S. Higher-dose intravenous magnesium therapy for children with moderate to severe acute asthma. Arch Ped Adol Med. 2000;154(10):979-983.
Dacey MJ. Hypomagnesemic disorders. Crit Care Clin. 2001;17(1):155-173.
Demirkaya S, Vural O, Dora B, Topcuoglu MA. Efficacy of intravenous magnesium sulfate in the treatment of acute migraine attacks. Headache. 2001;41(2):171-177.
Dietary Guidelines for Americans 2005. Rockville, MD: US Dept of Health and Human Services and US Dept of Agriculture; 2005.
Duley L, Gulmezoglu AM. Magnesium sulphate versus lytic cocktail for eclampsia. Cochrane Database Syst Rev. 2001;(1):CD002960.
Duley L, Henderson-Smart D. Magnesium sulphate versus phenytoin for eclampsia. Cochrane Database Syst Rev. 2000;(2):CD000128.
Eby GA, Eby KL. Magnesium for treatment-resistant depression: a review and hypothesis. Med Hypothesis. 2010; 74(4):649-60.
Eby GA, Eby KL. Rapid recovery from major depression using magnesium treatment.Med Hypotheses. 2006;67(2):362-70.
Ford ES, Mokdad AH. Dietary magnesium intake in a national sample of U.S. adults. J Nutr. 2003;133:2879-82. Fox C, Ramsoomair D, Carter C. Magnesium: its proven and potential clinical significance. [Review]. South Med J. 2001;94(12):1195-1201.
Getaneh W, Kumbi S. Use of magnesium sulfate in pre-eclampsia and eclampsia in teaching hospitals in Addis Ababa: a practice audit. Ethiop Med J. 2010; 48(2):157-64.
Gilliland FD, Berhane KT, Li YF, Kim DH, Margolis HG. Dietary magnesium, potassium, sodium, and children's lung function. Am J Epidemiol. 2002;155(2):125-131.
Goldman. Goldman's Cecil Medicine, 24th ed. Philadelphia, PA: Saunders, An Imprint of Elsevier. 2011.
Gontijo-Amaral C, Guimaraes EV, Camargos P. Oral magnesium supplementation in children with cystic fibrosis improves clinical and functional variables: a double-blind, randomized, placebo-controlled crossover trial. Am J Clin Nutr. 2012; 96(1):50-6.
Gontijo-Amaral C, Ribeiro MA, Gontijo LS, Condino-Neto A, Ribeiro JD. Oral magnesium supplementation in asthmatic children: a double-blind randomized placebo-controlled trial. Eur J Clin Nutr. 2007 Jan;61(1):54-60.
Guerrera MP, Volpe SL, Mao JJ. Therapeutic uses of magnesium. Am Fam Physician. 2009; 80(2):157-62.
Guerrero-Romero F, Rodríguez-Morán M. The effect of lowering blood pressure by magnesium supplementation in diabetic hypertensive adults with low serum magnesium levels: a randomized, double-blind, placebo-controlled clinical trial. J Hum Hypertens. 2009 Apr;23(4):245-51.
Hassan TB, Jagger C, Barnett DB. A randomised trial to investigate the efficacy of magnesium sulphate for refractory ventricular fibrillation. Emerg Med J. 2002;19(1):57-62.
Hijazi N, Abalkhail B, Seaton A. Diet and childhood asthma in a society in transition: a study in urban and rural Saudi Arabia. Thorax. 2000;55:775-779.
Ince C, Schulman SP, Quigley JF, et al. Usefulness of magnesium sulfate in stabilizing cardiac repolarization in heart failure secondary to ischemic cardiomyopathy. Am J Cardiol. 2001;88(3):224-229.
Institute of Medicine. Food and Nutrition Board. Dietary Reference Intakes: Calcium, Phosphorus, Magnesium, Vitamin D and Fluoride. National Academy Press. Washington, DC, 2004.
Johnson S. The multifaceted and widespread pathology of magnesium deficiency. Med Hypotheses. 2001;56(2):163-170.
Kim DJ, Xun P, Liu K, et al. Magnesium intake in relation to systemic inflammation, insulin resistance, and the incidence of diabetes. Diabetes Care. 2010; 33(12):2604-10.
Klevay LM, Milne DB. Low dietary magnesium increases supraventricular ectopy. Am J Clin Nutr. 2002;75(3):550-554.
Krauss RM, Eckel RH, Howard B, et al. AHA dietary guidelines. Revision 2000: A statement for healthcare professionals from the Nutrition Committee of the American Heart Association. Circulation. 2000;102:2284-2299.
Kushner JM, Peckman HJ, Snyder CR. Seizures associated with fluoroquinolones. Ann Pharmacother. 2001;35(10):1194-1198.
Liu S, Manson JE, Stampfer MJ, et al. A prospective study of whole-grain intake and risk of type 2 diabetes mellitus in US women. Am J Pub Health. 2000;90(9):1409-1415.
Mathers TW, Beckstrand RL. Oral magnesium supplementation in adults with coronary heart disease or coronary heart disease risk. J Am Acad Nurse Pract. 2009; 21(12):651-7.
Mauskop A. Alternative therapies in headache. Is there a role? Med Clin North Am. 2001;85(4):1077-1084.
Moulin DE. Systemic drug treatment for chronic musculoskeletal pain. Clin J Pain. 2001;17(4 Suppl):S86-S93.
Muir KW. Magnesium for neuroprotection in ischaemic stroke: rationale for use and evidence of effectiveness. CNS Drugs. 2001;15(12):921-930.
Nechifor M. Magnesium in major depression. Magnes Res. 2009; 22(3):163S-166S.
Nygaard IH, Valbø A, Pethick SV, Bøhmer T. Does oral magnesium substitution relieve pregnancy-induced leg cramps? Eur J Obstet Gynecol Reprod Biol. 2008 Nov;141(1):23-6.
Patrick L. Nutrients and HIV: part 2: vitamins A and E, zinc, B-vitamins, and magnesium. Alt Med Rev. 2000;5(1):39-51.
Pearlstein T, Steiner M. Non-antidepressant treatment of premenstrual syndrome. J Clin Psychiatry. 2000;61 Suppl 12:22-27.
Rowe BH, Edmonds ML, Spooner CH, Camargo CA. Evidence-based treatments for acute asthma. [Review]. Respir Care. 2001;46(12):1380-1390.
Sun-Edelstein C, Mauskop A. Foods and supplements in the management of migraine headaches. Clin J Pain. 2009 Jun;25(5):446-52. (Epub ahead of print)
Toraman F, Karabulut EH, Alhan HC, Dagdelen S, Tarcan S. Magnesium infusion dramatically decreases the incidence of atrial fibrillation after coronary artery bypass grafting. Ann Thorac Surg. 2001;72(4):1256-1261.
Walker JJ. Pre-eclampsia. Lancet. 2000;356(9237):1260-1265.
Wark PA, Lau R, Norat T, Kampman E. Magnesium intake and coloretal tumor risk: a case-control study and meta-analysis. Am J Clin Nutr. 2012; 96(3):622-31.