Locations:
Search IconSearch

25 Magnesium-Rich Foods You Should Be Eating

A healthy diet can easily meet your body’s important demands for magnesium

White bowls full of pumpkin seeds, dark chocolate and various kinds of nuts

More than 300 essential processes within your body rely on magnesium. It’s a heavy-hitter list that includes heart rhythm, muscle contractions, blood pressure control, bone health and creating energy.

Advertisement

Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

So, are you doing enough to feed your body’s need for magnesium? Probably not judging by typical eating habits in the United States and around the world.

But fixing that situation isn’t as complicated as you might think. Tossing a few key foods into your grocery basket can easily take you from magnesiumdeficient to magnesium sufficient. So, let’s build a magnesium-rich shopping list with registered dietitian Anna Taylor, RD, LD.

Foods high in magnesium

Magnesium is a mineral naturally present in many foods. That’s a good thing, too, because you really need it in your diet. Experts recommend that you consume between 310 and 420 milligrams (mg) of magnesium per day (depending on age and sex).

But before you pull out a calculator and start poring over nutrition labels, Taylor has some advice.

“I rarely recommend people tally up magnesium or other vital nutrients,” she says. “It’s tedious, difficult and ungainly. Instead, make sure to include a variety of fiber-rich plant foods in your diet every day and you’ll get where you need to be.”

Here are Taylor’s top picks (arranged by food type) to keep your magnesium levels in the optimal range:

Nuts and seeds

Nuts and seeds may be small in size, but they pack a nutritional punch with gobs of protein, fiber, healthy fats and minerals such as magnesium, says Taylor. Here are five options with their stellar magnesium resumes:

Advertisement

  • Almonds (roasted): 1 ounce (oz) = 80 mg of magnesium.
  • Cashews (roasted): 1 oz = 72 mg of magnesium.
  • Flaxseed (whole): 1 tablespoon = 40 mg of magnesium.
  • Peanuts (dry roasted): 1 oz = 49 mg of magnesium.
  • Pumpkin seeds (hulled, roasted): 1 oz = 150 mg of magnesium.
  • Chia seeds: 1 oz = 111 mg of magnesium.

Legumes

Biologically speaking, a legume is a plant from the Fabaceae family. Nutritionally speaking, they’re a powerhouse on multiple levels — including magnesium content. Here are three to consider:

  • Black beans (boiled): 1/2 cup = 60 mg of magnesium.
  • Edamame (cooked, prepared): 1/2 cup = 50 mg of magnesium.
  • Lima beans (cooked): 1/2 cup = 40 mg of magnesium.

Fiber-rich whole grains

Magnesium content is yet another reason to add whole grains to your diet.

  • Quinoa (cooked): 1/2 cup = 60 mg of magnesium.
  • Shredded wheat (plain, unfrosted): 1 cup = 56 mg of magnesium.

Low-fat dairy products

Dairy products get a lot of attention for calcium content, but they also can be a good source of magnesium, notes Taylor. Consider it a two-for-one deal!

  • Milk (nonfat): 1 cup = 24 to 27 mg of magnesium.
  • Yogurt (plain, low fat): 8 oz = 42 mg of magnesium.

Greens

Dark and leafy greens qualify as a superfood, with magnesium content being just one of their many superpowers.

  • Spinach (cooked): 1/2 cup = 78 mg of magnesium.
  • Swiss chard (cooked): 1/2 cup = 75 mg of magnesium.
  • Collard greens: 1/2 cup = 25 mg of magnesium.

Fruit

It’s recommended that you eat two servings of fruit per day as part of a healthy diet. Consider these to check that box plus the one for magnesium:

  • Avocados: One whole avocado = 58 mg of magnesium.
  • Bananas: One medium banana = 32 mg of magnesium.
  • Papaya: One small papaya = 33 mg of magnesium.
  • Blackberries: 1 cup = 29 mg of magnesium.

Vegetables

“Eat your veggies” has long been good advice. These three will help you meet your magnesium goals:

  • Green peas: 1/2 cup = 31 mg of magnesium.
  • Sweet corn: 1/2 cup = 27 mg of magnesium.
  • Potatoes: One medium potato with skin = 48 mg of magnesium.

Chocolate

Dark chocolate is a decadent treat that can treat your body right when it comes to magnesium.

  • Dark chocolate (70%-85% cocoa): 1 oz = 64 milligrams of magnesium.

Water

Tap, mineral and bottled waters can be magnesium sources — but it’s difficult to know how much magnesium they contain because it depends on the water source. “It can be anywhere from 1 mg per liter to 120 mg per liter,” notes Taylor.

So, if you drink the recommended 2 liters of water per day, that could be up to 240 mg of magnesium.

Advertisement

What about a magnesium supplement?

Magnesium supplements can be helpful if a doctor determines you have a magnesium deficiency. But if you have no major health problems, try to get magnesium from what’s on your plate.

“’Food first’ is my mantra,” states Taylor. “If you take a dietary supplement for magnesium and take too much, you may experience uncomfortable side effects such as cramping, diarrhea and nausea.”

Tips to get enough magnesium in your diet

To get the recommended amount of magnesium your body requires, Taylor recommends eating:

  • Five servings of fruits and vegetables per day.
  • At least three servings of whole grains per day.
  • One ounce or 1/4 cup of nuts or seeds per day.
  • One serving (about 1/2 cup cooked) of legumes most days of the week.

Meals featuring the magnesium-rich foods noted above are just plain good for you, too. The benefits of these foods often go far beyond just magnesium. Consider them a foundation for a healthy diet.

“You’re not just getting magnesium from these foods,” says Taylor. “You’re also getting so many fantastic nutrients, such as vitamins, other minerals and phytonutrients that can benefit your body in so many different ways.”

Advertisement

Learn more about our editorial process.

Health Library
Magnesium Rich Food

Related Articles

Person prepping different foods in kitchen
March 20, 2024/Nutrition
What Vitamins You Should Take Is a Personalized Decision

There are several vitamins and mineral supplements that many people can benefit from — but it’s important to consult with a healthcare provider before you start one

variety of food groups containing manganese and magnesium
November 30, 2023/Nutrition
Manganese vs. Magnesium: Two Important Minerals With Key Differences

They’re both essential minerals but do different jobs in your body

magnesium pills out of container spelling out MG
November 28, 2023/Mental Health
Magnesium for Anxiety: Does It Help?

This supplement may help with regulating cortisol levels, which may help with stress

glass of cherry juice with cherries on table
November 8, 2023/Nutrition
Sleepy Girl Mocktail: What’s in It and Does It Really Make You Sleep Better?

This social media sleep hack with tart cherry juice and magnesium could be worth a try

Tamarind pods displayed on brown plate on a wooden table, with one pod torn open showing fruit inside.
May 9, 2023/Nutrition
Why Tamarind Just Might Be Your New Favorite Fruit

With a sweet, tangy flavor, tamarind is super versatile and high in antioxidants

Person with heart flutter with foods rich in magnesium in the background.
December 6, 2022/Heart Health
Why Magnesium May Help Your Heart Palpitations

Too little magnesium can make your heartbeat go off beat

Magnesium rich foods including bananas, nuts, avocados and chocolate
October 25, 2022/Diet, Food & Fitness
Signs You May Have a Magnesium Deficiency

Early warning signs include fatigue and stiffness

Circular orange pills spilling out of a tipped-over bottle
June 29, 2021/Nutrition
Does Magnesium Help You Sleep?

The scoop on magnesium sleep aids

Trending Topics

Sliced beets.
5 Health Benefits of Beets

This ruby-red root is chock-full of vitamins, fiber and more

man with painful joints in hand
6 Myths About Joint Pain and Arthritis

Getting the facts straight about osteoarthritis

variety of food allergens such as eggs, milk, wheat, shellfish and nuts
Warning Label: The Big 9 of Food Allergens

More than 90% of allergic reactions can be linked to these foods

Ad