March 17, 2023

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.


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 magnesium deficient 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 pouring 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:

  • 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.


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.


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.


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.


“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.


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.


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.


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.”

Related Articles

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

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

holy basil leaves, known as tulsi, on wooden spoon
November 30, 2023
The Benefits of Holy Basil (Tulsi)

This herb offers different potential benefits from the basil you find in pesto

cool tropical smoothie with straw
November 30, 2023
Recipe: Cool Tropical Smoothie

A zesty thirst-quencher that’s dairy-free and vegan

salmon and broccoli over rice
November 29, 2023
6 Foods To Eat for Healthy Joints

Fish, cruciferous veggies, turmeric, yogurt, ginger and green tea all reduce inflammation

skillet of ground turkey stroganoff
November 28, 2023
Recipe: Healthy Turkey Stroganoff

A hearty dish that’s easy to put together

Top view of a bowl of chili topped with sour cream and jalapeños with tortilla chips for dipping.
November 24, 2023
Recipe Adventure: How To Build a Better Bowl of Chili

From meat to beans, we’ve got some ideas to help you create the perfect-for-you chili recipe

Spearmint tea in a glass see through cup with spearmint leaves scattered on the saucer and background.
November 22, 2023
3 Health Benefits of Spearmint Tea

This subtly minty beverage can help balance hormones and loosen stiff joints

Overhead closeup of cauliflower pseudo mashed potatoes in a bowl on a wooden table.
November 21, 2023
Recipe: Cauliflower Mashed Pseudo Potatoes

A creamy mashed cauliflower that’s sure to please

Trending Topics

group of hands holding different beverages
November 14, 2023
10 Myths About Drinking Alcohol You Should Stop Repeating

Coffee won’t cure a hangover and you definitely shouldn’t mix your cocktail with an energy drink

Person applies moisturizer as part of their skin care routine after a shower.
November 10, 2023
Korean Skin Care Routines: What You Need To Know

Focus on the philosophy — replenishing and respecting your skin — not necessarily the steps

glass of cherry juice with cherries on table
November 8, 2023
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