Top 10 Foods Highest in Magnesium

Top 10 Foods Highest in Magnesium

Magnesium is an essential mineral required by the body for muscle and nerve function, maintaining heart rhythm, building strong bones (2) and energy production. The secretion and action of insulin also require magnesium.

A deficiency in magnesium can lead to numbness, muscle cramps, seizures, abnormal heart rhythms, and coronary spasms. (2)

Conversely, consuming too much magnesium typically causes diarrhea and nausea as the body attempts to excrete the excess. (2)

High magnesium foods include dark leafy greens, seeds, beans, fish, whole grains, nuts, dark chocolate, yogurt, avocados, bananas and more. The current daily value (DV) for magnesium is 420mg. (2)

Below is a list of high magnesium foods, for more, see the extended lists of magnesium rich foods, magnesium fruits, and magnesium vegetables.

Top 10 List of High Magnesium Foods

A Bowl of Spinach1 Spinach
per Cup Cooked
per 100g
per 200 Calories
(37% DV)
(21% DV)
(180% DV)

More Greens High in Magnesium

  • 36% DV in 1 cup of Swiss chard
  • 18% DV in 1 cup of kale
  • 10% DV in 1 cup of collard greens
  • 8% DV in 1 cup of turnip greens

See the list of high magnesium vegetables.

Squash and Pumpkin Seeds2 Squash and Pumpkin Seeds
per 1oz Handful
per 100g
per 200 Calories
(37% DV)
(131% DV)
(46% DV)

More Seeds High in Magnesium

  • 47% DV in 1oz of hemp seeds
  • 27% DV in 1oz of flax seeds
  • 24% DV in 1oz of sesame seeds
  • 23% DV in 1oz of chia seeds

Nuts and seeds are high in protein which helps with magnesium absorption. See the list of all nuts and seeds high in magnesium.

Lima Beans3 Lima Beans
per Cup Cooked
per 100g
per 200 Calories
(30% DV)
(18% DV)
(29% DV)

More Beans High in Magnesium

  • 29% DV in 1 cup of white beans
  • 22% DV in 1 cup of black-eyed peas
  • 19% DV in 1 cup of kidney beans
  • 19% DV in 1 cup of chickpeas
  • 17% DV in 1 cup of lentils

See all beans high in magnesium.

Tuna fillet4 Tuna
per 6oz Fillet
per 100g
per 200 Calories
(26% DV)
(15% DV)
(17% DV)

More Fish High in Magnesium

  • 20% DV in a 3oz mackerel fillet
  • 17% DV in a 3oz pollock fillet

Fish are very high in protein, which helps with magnesium absorption. See all fish high in magnesium.

Brown Rice5 Brown Rice
per Cup
per 100g
per 200 Calories
(20% DV)
(10% DV)
(19% DV)

More Grains High in Magnesium

  • 28% DV in 1 cup of quinoa
  • 20% DV in 1 cup of buckwheat
  • 15% DV in 1 cup of whole wheat pasta
  • 14% DV in 1 cup of bulgur
  • 12% DV in 1 cup of wild rice

See all grains high in magnesium.

Almonds6 Almonds
per 1oz Handful
per 100g
per 200 Calories
(18% DV)
(64% DV)
(22% DV)

More Nuts High in Magnesium

  • 25% DV in 1oz of Brazil nuts
  • 20% DV in 1oz of cashews
  • 17% DV in 1oz of pine nuts
  • 11% DV in 1oz of walnuts
  • 9% DV in 1oz of pecans

Nuts and seeds are high in protein which helps with magnesium absorption. See the list of all nuts and seeds high in magnesium.

Dark chocolate squares7 Dark Chocolate (85% Cocoa)
per 1oz Square
per 100g
per 200 Calories
(15% DV)
(54% DV)
(18% DV)

More Chocolate High in Magnesium

  • 23% DV in 1oz of baking chocolate
  • 12% DV in 3oz of 60-69% dark chocolate
  • 10% DV in 3oz of 40-59% dark chocolate
Half an avocado8 Avocados
per Avocado
per 100g
per 200 Calories
(14% DV)
(7% DV)
(9% DV)

See the list of high magnesium fruits.

Plain yogurt with raspberries9 Non-Fat Yogurt
per Cup
per 100g
per 200 Calories
(11% DV)
(5% DV)
(16% DV)

More Dairy Foods High in Magnesium

  • 13% DV in a 16oz glass of skim milk
  • 12% DV in a 16oz glass of whole milk
  • 4% DV in 1/2 cup of low-fat ricotta

See all dairy foods high in magnesium.

Bananas10 Bananas
per Cup Sliced
per 100g
per 200 Calories
(10% DV)
(6% DV)
(14% DV)

Bananas are also high in potassium.

See the list of high magnesium fruits.

See All 200 Foods High in Magnesium

Printable One Page Sheet

Click to Print
A printable one page sheet of the top 10 high magnesium foods. High magnesium foods include dark leafy greens, seeds, beans, fish, whole grains, nuts, dark chocolate, yogurt, avocados, and bananas.

Extended List of Magnesium Rich Foods

1 Rice Bran1 cup219% DV
2 Tofu1 cup35% DV
3 Wheat Germ1 oz22% DV
4 Alaskan King Crab1 leg20% DV
5 Peanut Butter2 tbsp14% DV
6 Molasses1 tbsp12% DV
7 Whole Milk1 cup6% DV
8 Whole Wheat Bread1 slice6% DV
9 Espresso1 fluid ounce6% DV
10 Seaweed (Dried Spirulina)1 tbsp3% DV
11 Coffee1 cup2% DV

Health Benefits of Magnesium

  • Regulation of Blood Pressure - Diets high in fruits and vegetables provide both magnesium and potassium which are consistently associated with reduced blood pressure. (3,4,5)
  • Reduced Risk of Type II Diabetes - Magnesium is involved in carbohydrate metabolism and the body's use of insulin. (6) Studies show that individuals with type II diabetes have low levels of magnesium in their blood. (7) Correcting this lack of magnesium may help increase sensitivity to insulin and prevent type II diabetes.(8)
  • Reduced Risk of Heart Attack and other Cardiovascular Diseases - Because magnesium is associated with regulation of blood pressure and lower risk of diabetes, it follows that it also reduces risk of cardiovascular disease. (9) Elevated levels of magnesium in the blood have been associated with reduced risk of heart attack and stroke. (10,11,12)
  • Reduced Risk of Osteoporosis - Magnesium plays a role in calcium metabolism and hormones which regulate calcium and may help to protect against osteoporosis. (7,13) Several studies support that increased magnesium intake increases bone health. (7)
  • Reduced Frequency of Migraine Headaches (*Controversial) - Studies show that individuals who have frequent migraine headaches have lower levels of magnesium than other individuals. (14) There is conflicting evidence as to whether increased intake of magnesium will reduce the frequency of migraines. (14,15,16,17)
  • Alleviation of Premenstrual Syndrome (PMS) - Studies suggest that consuming higher amounts of magnesium, perhaps in conjunction with vitamin B6, helps to alleviate bloating, insomnia, leg swelling, weight gain, breast tenderness, and other symptoms associated with PMS. (18)

High Risk Groups for a Magnesium Deficiency

  • Long distance athletes - People who exercise over long distances lose electrolytes via sweat and need to replenish their sodium, potassium, magnesium, and phosphorus levels.
  • Dehydration - People who consume excess alcohol, or suffer diarrhea, or are dehydrated for other reasons, need to replenish their sodium, potassium, magnesium, and phosphorus levels.
  • People with Gastrointestinal Disorders - Most magnesium is absorbed through the colon so people with gastrointestinal disorders like Crohn's disease are at high risk for a magnesium deficiency. (19,20)
  • People with Poor Functioning Kidneys - Under normal circumstances, the kidneys regulate magnesium levels in the blood, excreting less when stores are low. However, excessive loss of magnesium through urine can occur to people on certain medications, with poorly managed diabetes and in alcoholics. (21,22)
  • The Elderly - As we age the amount of magnesium we absorb decreases and the amount we excrete increases. (7)
  • People on a low protein diet (*Controversial) - Eating less than 30 grams of protein a day may adversely affect magnesium utilization. (23)
  • People taking Certain Medications
    • Proton Pump Inhibitors: Prescription PPIs include Nexium (esomeprazole magnesium), Dexilant (dexlansoprazole), Prilosec (omeprazole), Zegerid (omeprazole and sodium bicarbonate), Prevacid (lansoprazole), Protonix (pantoprazole sodium), AcipHex (rabeprazole sodium), Vimovo, Prilosec OTC (omeprazole), Zegerid OTC (omeprazole and sodium bicarbonate), and Prevacid 24HR (lansoprazole,24)
    • Diuretics: Lasix, Bumex, Edecrin, and hydrochlorothiazide (22)
    • Anti-neoplastic (Cancer) medication: Cisplatin (25)
    • Zinc Supplements (26)

Factors which Affect Magnesium Absorption

  • Fermentable carbohydrates like those found in grains, dairy, and fruit enhance the absorption of magnesium. (27)
  • Foods with protein enhance the absorption of magnesium and calcium. (23)
  • Phytates, found in vegetables, grains, seeds, and nuts may slightly hinder magnesium absorption, however, high magnesium content of all these foods counteracts the effect of phytates. (28)
  • Foods high in oxalates, such as spinach, leafy greens, nuts, tea, coffee and cacao also reduce magnesium absorption. Cooking reduces oxalic acid, so cooking spinach and other greens is better than eating them raw (in terms of magnesium absorption). (28)


  • Nuts, seeds, dark chocolate, and molasses are high calorie foods and should be eaten in moderate amounts by people with a high body mass index.
  • Dark chocolate, spinach, and almonds are high in oxalates which may inhibit some magnesium absorption. (28) These foods however, are still good sources of magnesium.
  • Brazil nuts are very high in selenium. Excess selenium can lead to diarrhea, bad breath, and even hair loss.

About the Data

Data for the curated food lists comes from the USDA Food Data Central Repository.

You can check our data against the USDA by clicking the (Source) link at the bottom of each food listing.

Note: When checking data please be sure the serving sizes are the same. In the rare case you find any difference, please contact us and we will fix it right away.

About Nutrient Targets

Setting targets can provide a guide to healthy eating.

Some of the most popular targets include:
  • Daily Value (%DV) - The %DV is a general guideline for everyone and accounts for absorption factors. It is the most common target in the U.S. and is the target on the nutrition labels of most products. It is set by the U.S. FDA.
  • Reference Dietary Intake (%RDI) - The Reference Dietary Intake (RDI) is a customized target accounting for age and gender. It is set by the U.S. Institute of Medicine. The RDI for amino acids is set by the U.N. World Health Organization. The daily value (%DV) builds on the reference dietary intake to create a number for everyone.
  • Adequate Intake (%AI) - Sets a target for Omega 3 and Omega 6 fats. The Adequate Intake is also set by the U.S. Institute of Medicine. It represents a number to ensure adequacy but lacks the same level of evidence as the Reference Dietary Intake. In short, the number is less accurate than the RDI.
  • See the Guide to Recommended Daily Intakes for more information.

    Want to set your own targets? Sign up for an account and set custom targets in the daily meal planner.

View more food groups with the nutrient ranking tool, or see ratios with the nutrient ratio tool.

MyFoodData provides free nutrition data tools and articles to help you organize and understand the foods you eat.

Create a free account to get nutrition facts on recipes and meals, track foods, and set custom targets.

Data Sources and References

  1. U.S. Agricultural Research Service Food Data Central
  2. Office Of Dietary Supplements Fact Sheet on Magnesium
  3. Appel LJ. Nonpharmacologic therapies that reduce blood pressure: A fresh perspective. Clin Cardiol 1999;22:1111-5.
  4. Simopoulos AP. The nutritional aspects of hypertension. Compr Ther 1999;25:95-100.
  5. Appel LJ, Moore TJ, Obarzanek E, Vollmer WM, Svetkey LP, Sacks FM, Bray GA, Vogt TM, Cutler JA, Windhauser MM, Lin PH, Karanja N. A clinical trial of the effects of dietary patterns on blood pressure. N Engl J Med 1997;336:1117-24.
  6. Saris NE, Mervaala E, Karppanen H, Khawaja JA, Lewenstam A. Magnesium: an update on physiological, clinical, and analytical aspects. Clinica Chimica Acta 2000;294:1-26.
  7. Institute of Medicine. Food and Nutrition Board. Dietary Reference Intakes: Calcium, Phosphorus, Magnesium, Vitamin D and Fluoride. National Academy Press. Washington, DC, 1999.
  8. Paolisso G, Sgambato S, Gambardella A, Pizza G, Tesauro P, Varricchio H, D'Onofrio F. Daily magnesium supplements improve glucose handling in elderly subjects. Am J Clin Nutr 1992;55:1161-7.
  9. Altura BM and Altura BT. Magnesium and cardiovascular biology: An important link between cardiovascular risk factors and atherogenesis. Cell Mol Biol Res 1995;41:347-59.
  10. Ford ES. Serum magnesium and ischaemic heart disease: Findings from a national sample of US adults. Intl J of Epidem 1999;28:645-51.
  11. Liao F, Folsom A, Brancati F. Is low magnesium concentration a risk factor for coronary heart disease? The Atherosclerosis Risk in Communities (ARIC) Study. Am Heart J 1998;136:480-90.
  12. Ascherio A, Rimm EB, Hernan MA, Giovannucci EL, Kawachi I, Stampfer MJ, Willett WC. Intake of potassium, magnesium, calcium, and fiber and risk of stroke among US men. Circulation 1998;98:1198-204.
  13. Elisaf M, Milionis H, Siamopoulos K.Hypomagnesemic hypokalemia and hypocalcemia: Clinical and laboratory characteristics. Mineral Electrolyte Metab 1997;23:105-12.
  14. Mauskop A, Altura BM. Role of magnesium in the pathogenesis and treatment of migraines. Clin Neurosci. 1998;5(1):24-27.
  15. Peikert A, Wilimzig C, Kohne-Volland R. Prophylaxis of migraine with oral magnesium: results from a prospective, multi-center, placebo-controlled and double-blind randomized study. Cephalalgia. 1996;16(4):257-263.
  16. Pfaffenrath V, Wessely P, Meyer C, et al. Magnesium in the prophylaxis of migraine--a double-blind placebo-controlled study. Cephalalgia. 1996;16(6):436-440.
  17. Wang F, Van Den Eeden SK, Ackerson LM, Salk SE, Reince RH, Elin RJ. Oral magnesium oxide prophylaxis of frequent migrainous headache in children: a randomized, double-blind, placebo-controlled trial. 2003;43(6):601-610.
  18. Bendich A. The potential for dietary supplements to reduce premenstrual syndrome (PMS) symptoms. J Am Coll Nutr. 2000;19(1):3-12.
  19. Rude RK. Magnesium deficiency: A cause of heterogeneous disease in humans. J Bone Miner Res 1998;13:749-58.
  20. Rude KR. Magnesium metabolism and deficiency. Endocrinol Metab Clin North Am 1993;22:377-95.
  21. Kelepouris E and Agus ZS. Hypomagnesemia: Renal magnesium handling. Semin Nephrol 1998;18:58-73.
  22. Ramsay LE, Yeo WW, Jackson PR. Metabolic effects of diuretics. Cardiology 1994;84 Suppl 2:48-56.
  23. R. A. McCance, E. M. Widdowson, and H. Lehmann. The effect of protein intake on the absorption of calcium and magnesium. Biochem J. 1942 September; 36(7-9): 686-691.
  24. FDA Drug Safety Communication: Low magnesium levels can be associated with long-term use of Proton Pump Inhibitor drugs (PPIs)
  25. Lajer H and Daugaard G. Cisplatin and hypomagnesemia. Ca Treat Rev 1999;25:47-58.
  26. Spencer H, Norris C, Williams D.Inhibitory effects of zinc on magnesium balance and magnesium absorption in man. J Am Coll Nutr. 1994 Oct;13(5):479-84.
  27. Charles Coudray, Christian Demigne, and Yves Rayssiguier. Effects of Dietary Fibers on Magnesium Absorption in Animals and Humans. J. Nutr. January 1, 2003 vol. 133 no. 1 1-4.
  28. Torsten Bohn, Lena Davidsson, Thomas Walczyk and Richard F. Hurrel Fractional magnesium absorption is significantly lower in human subjects from a meal served with an oxalate-rich vegetable, spinach, as compared with a meal served with kale, a vegetable with a low oxalate content. Laboratory for Human Nutrition, Institute of Food Science and Nutrition, Swiss Federal Institute of Technology, Zurich, Switzerland (Received 27 May 2003 - Revised 7 November 2003 - Accepted 28 November 2003