Fact checkedExpert's opinion

Expert's opinion

The article is a subjective view on this topic written by writers specializing in medical writing.
It may reflect on a personal journey surrounding struggles with an illness or medical condition, involve product comparisons, diet considerations, or other health-related opinions.

Although the view is entirely that of the writer, it is based on academic experiences and scientific research they have conducted; it is fact-checked by a team of degreed medical experts, and validated by sources attached to the article.

The numbers in parenthesis (1,2,3) will take you to clickable links to related scientific papers.

Foods High In Magnesium: 10 Magnesium-Rich Foods For Health 2024

Teresa Mboci

Updated on - Written by
Medically reviewed by Melissa Mitri, MS, RD

foods high in magnesium
Magnesium is such an important mineral, magnesium deficiency has been linked to a wide range of health problems. Photo: Thanh Pham

Magnesium is needed for over 300 essential processes in the body.  It is needed for heart health, muscle contractions, blood pressure regulation, bone health, and energy production. It also aids in the maintenance of normal calcium, potassium, and zinc levels.

Because magnesium is such an important mineral, magnesium deficiency has been linked to a wide range of health problems. Unfortunately, magnesium insufficiency[1] persists at alarming rates in the United States. According to research, nearly half of Americans do not get enough magnesium from their diets. While magnesium deficiency is common, most people do not need a magnesium supplement. This is because magnesium is rich in the food supply. Continue reading to find out more about the health benefits of magnesium and learn the top 10 magnesium-rich foods for leg cramps and other health conditions.

The List Of Magnesium-Rich Foods

A nutritious diet can easily meet your body’s vital magnesium requirements. Here is a list of 10 magnesium-rich foods:

  • Leafy greens.
  • Dark chocolate.
  • Fatty fish.
  • Whole grains.
  • Legumes.
  • Cultured yogurt.
  • Bananas.
  • Nuts.
  • Pumpkin seeds.
  • Avocados.

10 Foods High In Magnesium You Should Try

Do you want to know what food has the most magnesium? From dark chocolate to avocados, these tasty selections pack a nutritional punch. See the list of 10 magnesium-rich foods for a healthy immune system: 

Leafy Greens

foods high in magnesium
Leafy greens can assist your body in obtaining magnesium. Photo: Olivier Tabary/Shutterstock

Eating a lot of dark leafy greens is one way to get your daily dose of magnesium. This is probably why most of us were encouraged to eat our greens as children. 

According to newer studies, consuming a diet high in dark green vegetables is one of the easiest methods to improve magnesium consumption while also delivering various other health benefits. To get your magnesium fix, stock up on raw or cooked dark leafy greens like collard greens, baby spinach, Swiss chard, and kale.

Dark Chocolate

foods high in magnesium
Dark chocolate is a delicious source of magnesium. Photo: BestPix/Shutterstock

Dark chocolate[2] has been a popular treat since the Mayans used it to flavor beverages from 2000 B.C. We continue to value chocolate, and there are more reasons than ever to enjoy this wonderful candy. In addition to being tasty, dark chocolate is also a rich magnesium food source.

According to the United States Department of Agriculture, one ounce of dark chocolate contains 64.6 milligrams of magnesium. Flavanols, healthy plant compounds[3] found in dark chocolate, help lower bad cholesterol, thus preventing it from building up in your arteries.

Fatty Fish

foods high in magnesium
Magnesium is a vital mineral found in fatty fish. Photo: 13Smile/Shutterstock

Fish, especially fatty fish, is an excellent source of several essential nutrients, including magnesium. Fatty fish such as salmon, tuna, mackerel, and halibut, are some of the highest in magnesium. 

According to the USDA, a three-ounce serving of cooked farmed Atlantic salmon offers 24.6 milligrams of magnesium which can help meet your recommended dietary allowance[4] of 310 -420 mg per day.

Whole Grains

foods high in magnesium
Whole, unprocessed grains are good sources of magnesium. Photo: New Africa/Shutterstock

Magnesium is only one of the numerous minerals present in whole grains. The USDA recommends making whole-grain pasta, brown rice, and bread the foundation of your diet because they contain more magnesium than refined versions.[5] Choose whole grains over refined, processed grains whenever possible for a rich magnesium diet.

Legumes

foods high in magnesium
Legumes contain both protein and magnesium. Photo: Luis Echeverri Urrea/Shutterstock

Legumes are a nutrient-dense plant family that includes lentils, beans, chickpeas, peas, and soybeans. They’re a nutritional powerhouse on multiple levels, including magnesium concentration. Cooked black beans, for example, have 120 milligrams of magnesium per cup, which can help you meet your daily magnesium requirements.

Low-Fat Yogurt

foods high in magnesium
Plain yogurt is a healthy magnesium source from childhood. Photo: mama_mia/Shutterstock

Plain yogurt[6] is high in protein and contains 41.6 milligrams of magnesium per cup along with various beneficial probiotics. Getting a daily dose of yogurt can help you meet your magnesium requirements and support a healthy gut at the same time.

Bananas

foods high in magnesium
Magnesium and other minerals are abundant in bananas. Photo: Nick Alias/Shutterstock

Bananas are well-known for their potassium content, but potassium isn’t the only mineral they contain. According to the USDA, a medium-sized banana contains 34 milligrams[7] of magnesium, a healthy dose of vitamin C, and a fair amount of dietary fiber. 

Bananas provide numerous benefits, including low cost, portability, and compatibility with other magnesium-rich foods such as bread, fortified cereals, and nut butter.

Nuts

foods high in magnesium
The protein in nuts promotes mineral magnesium absorption. Photo: Jiri Hera/Shutterstock

Nuts are renowned for being fantastic snacks due to their high protein, fiber, and healthy fat quantities. Furthermore, studies have revealed that certain nuts, such as cashews, peanuts, almonds, and Brazil nuts, are high in magnesium. According to the USDA, one ounce of dry-roasted almonds contains 76.5 milligrams of magnesium.

Pumpkin Seeds

foods high in magnesium
Pumpkin seeds have a high magnesium content. Photo: JeniFoto/Shutterstock

Seeds, particularly pumpkin seeds,[8] offer a variety of nutrients, including magnesium. Just 1 cup of pumpkin seeds provides 764 mg of magnesium. You’ll also get a lot of fiber if you eat the shells.

Avocados

foods high in magnesium
Avocados are special foods high in magnesium and potassium. Photo: Nina Firsova/Shutterstock

Avocados are nutritious fruits high in magnesium, and they also contain a variety of other health-promoting minerals. The average avocado weighs 170 grams and contains 29 mg of magnesium per 100 grams.

Avocados, like almonds, are a concentrated source of calories because of their high healthy fat content. This is important to keep in mind If weight loss is your aim, then you’ll want to keep your portion size in check.

Why Do You Need Magnesium?

The human body cannot function without magnesium. Magnesium is a micronutrient that is essential for health and is required by many organs and tissues in the body. It is required for things like blood pressure and blood sugar control, increasing muscle and bone mineral density, and DNA replication and repair. 

A lack of magnesium can also lead to low calcium and potassium levels. Health professionals have linked magnesium deficiency to various health issues; therefore, consuming the necessary quantity of high-magnesium foods each day is critical.

Magnesium Side Effects & Safe Dosage 

Magnesium overload from food is highly unlikely because the human body excretes excess magnesium through urine. However, there are certain instances where your doctor may suggest that you take a magnesium supplement:

  • Indigestion.
  • Magnesium deficiency.
  • Constipation.
  • Pre-eclampsia (high blood pressure during pregnancy).
  • Cerebral palsy complications in pregnancy.
  • Irregular heartbeat.

Always consult with your doctor regarding the proper magnesium dose, as too much dietary magnesium intake may cause adverse health consequences such as nausea, cramps, and diarrhea. In addition, very high-dose magnesium supplementation has been linked to abnormal heart rhythms, unconsciousness, confusion, sluggish breathing, lower blood pressure, and even death. 

The Bottom Line

It is clear that magnesium is an essential mineral for many aspects of health, including sustaining strong muscles, nerve function, bones, and brain function. Fortunately, the broad variety of healthful foods available today can help you meet your magnesium dietary needs.

To ensure you consume your daily dose of magnesium and many other critical nutrients, eat a well-balanced diet that contains some of the foods listed above. A doctor may recommend magnesium supplements if your dietary intake falls short of recommended magnesium levels. 

The best preventative measure to avoid a magnesium deficiency is to maintain a healthy routine of frequent exercise, adequate rest, and a balanced, nutritious diet containing magnesium-rich foods and consider supplementation if dietary measures are insufficient. 


+ 8 sources

Health Canal avoids using tertiary references. We have strict sourcing guidelines and rely on peer-reviewed studies, academic researches from medical associations and institutions. To ensure the accuracy of articles in Health Canal, you can read more about the editorial process here

  1. DiNicolantonio, J.J., O’Keefe, J.H. and William Julius Wilson (2018). Subclinical magnesium deficiency: a principal driver of cardiovascular disease and a public health crisis. Open heart, [online] 5(1), pp.e000668–e000668. doi:https://doi.org/10.1136/openhrt-2017-000668.
  2. Cinquanta, L., Cinzia Di Cesare, Manoni, R., Piano, A., Roberti, P. and Salvatori, G. (2016). Mineral essential elements for nutrition in different chocolate products. International Journal of Food Sciences and Nutrition, [online] 67(7), pp.773–778. doi:https://doi.org/10.1080/09637486.2016.1199664.
  3. Samanta, S., Sarkar, T., Chakraborty, R., Maksim Rebezov, Mohammad Ali Shariati, Muthu Thiruvengadam and Kannan R.R. Rengasamy (2022). Dark chocolate: An overview of its biological activity, processing, and fortification approaches. Current research in food science, [online] 5, pp.1916–1943. doi:https://doi.org/10.1016/j.crfs.2022.10.017.
  4. Nih.gov. (2021). Office of Dietary Supplements – Magnesium. [online] Available at: https://ods.od.nih.gov/factsheets/Magnesium-Consumer/
  5. Julie Miller Jones, Guzmán, C. and Braun, H.A. (2020). Perspective: Whole and Refined Grains and Health—Evidence Supporting ‘Make Half Your Grains Whole’. Advances in Nutrition, [online] 11(3), pp.492–506. doi:https://doi.org/10.1093/advances/nmz114.
  6. Naglaa El-Abbadi, Maria Carlota Dao and Simin Nikbin Meydani (2014). Yogurt: role in healthy and active aging,,,. The American Journal of Clinical Nutrition, [online] 99(5), pp.1263S1270S. doi:https://doi.org/10.3945/ajcn.113.073957.
  7. Usda.gov. (2023). FoodData Central. [online] Available at: https://fdc.nal.usda.gov/fdc-app.html#/food-details/1102653/nutrients
  8. Martinec, N., Balbino, S., Jasminka Dobša, Vesna Šimunić-Mežnarić and Saša Legen (2019). Macro‐ and microelements in pumpkin seed oils: Effect of processing, crop season, and country of origin. Food Science and Nutrition, [online] 7(5), pp.1634–1644. doi:https://doi.org/10.1002/fsn3.995.
Teresa Mboci

Medically reviewed by:

Melissa Mitri

A dedicated pediatric nurse with a passion for nutrition and wellness, Teresa has made it her mission to empower families with the tools and knowledge they need to promote optimal health and well-being in their children. With over 8 years of experience in the healthcare field and a background in nutrition, Teresa brings a unique perspective to the challenges facing families today. In her role as a pediatric nurse, Teresa has seen firsthand the impact that diet and lifestyle can have on a child's health, and in her writing, she shares her expertise and insights with a broader audience. Whether through her books, articles, or speaking engagements, Teresa is committed to helping families navigate the complexities of pediatric health and wellness with confidence and compassion.

Medically reviewed by:

Melissa Mitri

Journal of Physical Education and Sport

Trusted Source

Go to source

SciELO - Scientific Electronic Library Online

Trusted Source

Go to source

African Journals Online

Non-profit Platform for African Journals

Trusted Source
Go to source

Journal of The American Board of Family Medicine

American Board of Family Medicine

Trusted Source
Go to source

Informit

RMIT University Library

Trusted Source
Go to source

European Food Safety Authority

Science, Safe food, Sustainability

Trusted Source
Go to source

OrthoInfo

American Academy of Orthopaedic Surgeons

Trusted Source
Go to source

American Academy of Family Physicians

Strengthen family physicians and the communities they care for

Trusted Source
Go to source

Agricultural Research Service

U.S. Department of Agriculture

Trusted Source
Go to source

The American Journal of Medicine

Official Journal of The Alliance for Academic Internal Medicine

Trusted Source
Go to source

National Institute on Alcohol Abuse and Alcoholism

Database From National Institute Of Health

Trusted Source
Go to source

Lippincott Journals

Subsidiaries of Wolters Kluwer Health, Inc.

Trusted Source
Go to source

National Institute on Aging

Database From National Institute Of Health

Trusted Source
Go to source

Translational Research

The Journal of Laboratory and Clinical Medicine

Trusted Source
Go to source

Cell

An All-science Publisher

Trusted Source
Go to source

Journal of Translational Medicine

BioMed Central

Part of Springer Nature
Go to source

Federal Trade Commission

Protecting America's Consumers

Trusted Source
Go to source

National Human Genome Research Institute

Database From National Institute Of Health

Trusted Source
Go to source

Food Production, Processing and Nutrition

BioMed Central

Part of Springer Nature
Go to source

BMC Gastroenterology

BioMed Central

Part of Springer Nature
Go to source

ACS Publications

A Division of The American Chemical Society

Trusted Source
Go to source

Annual Reviews

Independent, Non-profit Academic Publishing Company

Trusted Source
Go to source

PubChem

National Center for Biotechnology Information

National Library of Medicine
Go to source

PLOS Journals

Nonprofit Publisher of Open-access Journals

Trusted Source
Go to source

Thieme E-books & E-Journals

Peer-reviewed & Open Access Journal

Trusted Source
Go to source

European Journal of Agriculture and Food Sciences

Peer-reviewed International Journal Publishes

Trusted Source
Go to source

Royal Society of Chemistry Publishing Home

Chemical Science Journals, Books and Database

Trusted Source
Go to source

Frontiers

Publisher of Peer-reviewed Articles in Open Acess Journals

Trusted Source
Go to source

De Gruyter

German Scholarly Publishing House

Trusted Source
Go to source

Hindawi

Open Access Research Journals & Papers

Trusted Source
Go to source

Oilseeds and Fats, Crops and Lipids

EDP Sciences

Trusted Source
Go to source

Cambridge Core

Cambridge University Press

Trusted Source
Go to source

FoodData Central

U.S. Department Of Agriculture

Trusted Source
Go to source

Journal of the American Heart Association

Peer-reviewed Open Access Scientific Journal

Trusted Source
Go to source

National Center for Complementary and Integrative Health

Database From National Institute Of Health

U.S Department of Health and Human Services
Go to source

The Americans with Disabilities Act

U.S. Department of Justice Civil Rights Division

Trusted Source
Go to source

Journal of the Academy of Nutrition and Dietetics

Organization of Food and Nutrition Professionals

tr
Go to source

Sage Journals

Database From Sage Publications

Trusted Source
Go to source

National Institute of Drug Abuse

Database From National Institute Of Health

U.S Department of Health and Human Services
Go to source

The ClinMed International Library

A Repository and an Open Access Publisher for Medical Research

Trusted Source
Go to source

The Royal Society Publishing

United Kingdom's National Academy of Sciences

Trusted Source
Go to source

APA PsycNet

Database From American Psychological Association

Trusted Source
Go to source

The Pharma Innovation Journal

Peer-reviewed And Refereed Journal

Trusted Source
Go to source

Asian Journal of Pharmaceutical Research and Development

Peer-reviewed Bimonthly Journal

Trusted Source
Go to source

British Pharmacological Society

Journals - Wiley Online Library

Trusted Source
Go to source

American Psychological Association

Scientific and Professional Organization of Psychologists

Trusted Source
Go to source

AAP Publications

Database From American Academy of Pediatrics

Trusted Source
Go to source

Karger Publishers

Academic Publisher of Scientific and Medical Journals and Books

Trusted Source
Go to source

Cambridge University Press & Assessment

Database From Cambridge University

Trusted Source
Go to source

National Institute of Mental Health

Database From National Institute Of Health

U.S. Department of Health and Human Services
Go to source

MDPI

Publisher of Open Access Journals

Trusted Source
Go to source

Bulletin of the National Research Centre

Part of Springer Nature

Trusted Source
Go to source

The New England Journal of Medicine

Massachusetts Medical Society

Trusted Source
Go to source

Economic Research Service

U.S. DEPARTMENT OF AGRICULTURE

Trusted Source
Go to source

MedlinePlus

Database From National Library of Medicine

U.S Department of Health and Human Services
Go to source

National Institute of Health

An agency of the U.S. Department of Health and Human Services

Trusted Source
Go to source

Trusted Source

Database From National Institute Of Health

U.S Department of Health and Human Services
Go to source

The BMJ

Weekly Peer-reviewed Medical Trade Journal

The British Medical Association
Go to source

The British Psychological Society

The British Psychological Society is a charity registered in England

Database From Wiley Online Library
Go to source

National Heart, Lung, and Blood Institute

Database From National Institute Of Health

U.S Department of Health and Human Services
Go to source

PubMed

Database From National Institute Of Health

U.S National Library of Medicine
Go to source

DailyMed

Database From National Institute Of Health

U.S National Library of Medicine
Go to source

Google Scholar

Go to source

Science.gov: USA.gov for Science

Government Science Portal

Go to source

ResearchGate

Social Network Service For Scientists

Find and share research
Go to source

American Heart Association

To be a rentless force for a world of longer, healthier lives

Go to source

BioMed Central

Research in progress

Go to source

JAMA Network

Home of JAMA and the Specialty Journals of the American Medical Association

Go to source

Springer Link

Database From Springer Nature Switzerland AG

Springer - International Publisher Science, Technology, Medicine
Go to source

ODS

Database from Office of Dietary Supplements

National Institutes of Health
Go to source

Federal Trade Commission

Bureaus of Consumer Protection, Competition and Economics
Go to source

Trusted Source

Database From U.S. Department of Health & Human Services

Governmental Authority
Go to source

Oxford Academic Journals

Oxford University Press

Trusted Source
Go to source

Taylor & Francis Online

Peer-reviewed Journals

Academic Publishing Division of Informa PLC
Go to source

WHO

Database from World Health Organization

Go to source

Journal of Neurology

Peer-reviewed Medical Journal

American Academy of Neurology Journal
Go to source

ScienceDirect

Bibliographic Database of Scientific and Medical Publications

Dutch publisher Elsevier
Go to source

Wiley Online Library

American Multinational Publishing Company

Trusted Source
Go to source

Centers for Disease Control and Prevention

U.S. National Public Health Agency

U.S Department of Health and Human Services
Go to source

Trusted Source

Database from U.S. National Library of Medicine

U.S. Federal Government
Go to source

U.S. Food & Drug Administration

Federal Agency

U.S Department of Health and Human Services
Go to source

PubMed Central

Database From National Institute Of Health

U.S National Library of Medicine
Go to source
Feedback

Help us rate this article

Thank you for your feedback

Keep in touch to see our improvement