21 Magnesium-Rich Foods for Better Health, Energy, and Wellness

Discover top magnesium-rich foods and why you need more of this essential mineral for energy, muscle, and heart health.

By Medha deb
Created on

Magnesium is a vital mineral that supports your muscles, nerves, bones, blood sugar, and heart. However, despite its importance, many people struggle to meet their daily magnesium needs from diet alone. This article explores the top foods highest in magnesium, answers common questions, and offers smart tips to weave more magnesium into your daily meals.

Why Magnesium Matters

Magnesium is involved in hundreds of chemical reactions in your body—from supporting muscle contraction and nerve transmission, to maintaining healthy bones and keeping your heart rhythm steady. It also plays a crucial role in blood pressure regulation, blood sugar control, and energy production.

To ensure you’re getting the most out of your magnesium intake, you might want to consider the available options for supplementation. Our comprehensive guide on the best magnesium supplements provides insights into effective types, their benefits, and recommendations from experts. Understanding how supplements fit into your health routine could make a significant difference in your wellbeing.
  • Muscle & nerve function: Magnesium helps muscles contract and nerves send messages.
  • Bone health: Around 60% of your body’s magnesium is stored in bones and contributes to their strength.
  • Energy creation: Magnesium is essential to convert food into energy.
  • Heart health: Regular intake can reduce blood pressure and support healthy heart rhythms.

Most adults need about 310–420 mg of magnesium per day, depending on age and sex, according to USDA guidelines.

Signs You May Need More Magnesium

With modern diets often low in whole foods and high in processed ingredients, magnesium deficiency is surprisingly common. Signs of low magnesium may include:

  • Muscle cramps or spasms
  • Fatigue, weakness, or low energy
  • Poor sleep or insomnia
  • Headaches or migraines
  • Irregular heartbeat
For those seeking to enhance their magnesium intake effectively, exploring recommended supplements can also be valuable. Check out our expert-backed list of the 9 best magnesium supplements, packed with vital information on how to choose the right one for your health needs. It’s always beneficial to have informed options at your fingertips.

If you experience these, talk to your healthcare provider. A simple blood test can check your magnesium levels, but the best prevention is a magnesium-rich diet.

The Best 21 Foods High in Magnesium

The following foods are among the best dietary sources of magnesium, along with other essential nutrients and health-promoting properties. Try integrating a variety into your routine for balanced nutrition.

1. Pumpkin Seeds

Pumpkin seeds (also called pepitas) are a powerful source of magnesium—just a 30-gram handful contains approximately 159 mg of magnesium, over 35% of your recommended daily intake. They are also rich in protein, iron, and healthy fats.

Incorporating magnesium-rich foods can help ensure better sleep quality. For more insights, explore our detailed article on the 13 best foods to eat for better sleep, featuring expert advice on nutrition that promotes restful nights and enhanced relaxation. Knowing what to eat can directly improve your sleep patterns!

2. Chia Seeds

Chia seeds provide 114 mg of magnesium in 30 grams. They’re high in dietary fiber, plant-based omega-3s, and antioxidants, making them a nutrition powerhouse for smoothies, yogurt, and baking.

3. Almonds

Almonds deliver about 80 mg of magnesium in a 30-gram serving (about 23 nuts). They’re also a good source of protein and healthy monounsaturated fats.

4. Cashews

Cashews contain 75 mg of magnesium per 30-gram serving. As with almonds, cashews nourish your body with copper, manganese, and heart-healthy fats.

5. Spinach

This leafy green provides 57 mg of magnesium per half-cup cooked. Spinach is also one of the best natural sources of vitamin K and iron.

For those looking for calcium-rich options, many magnesium-containing foods can also help. Discover the 20 best vegan sources of calcium that complement your diet beautifully and ensure you receive a balanced nutrient intake. This dual benefit promotes overall health and well-being.

6. Black Beans

Half a cup of cooked black beans supplies around 60 mg of magnesium, plus dietary fiber, protein, and powerful phytonutrients.

7. Edamame

Edamame, or young soybeans, provide 50 mg of magnesium per 100 grams, along with plant protein and vitamin K. Add to salads, stir-fries, or snack on them steamed and lightly salted.

8. Peanut Butter & Peanuts

Peanuts provide 48 mg per 30g; peanut butter is also a decent source, provided it’s unsweetened. Peanuts also contain folate and vitamin E.

9. Brown Rice

Brown rice offers 72 mg per cooked half-cup (about 100 grams). Choose brown rice over white for not just more magnesium, but also extra fiber, B vitamins, and micronutrients.

It's fascinating how certain foods not only enrich your diet with magnesium but also serve other vital functions. Check out our helpful list of 7 foods that can help prevent migraines. Knowing how your nutrition impacts conditions like migraines is key to maintaining your health.

10. Whole Wheat Bread

Whole wheat bread (one slice) typically gives 25 mg of magnesium, while processed white bread contains much less.

11. Avocados

Half an avocado contains about 30 mg of magnesium. Avocados are rich in heart-healthy monounsaturated fats, potassium, and dietary fiber.

12. Fatty Fish (Salmon & Mackerel)

Fatty fish like salmon, mackerel, and halibut pack about 30 mg of magnesium per 100 grams (cooked). They’re also loaded with high-quality protein and omega-3s, supporting heart and brain health.

13. Bananas

One large banana provides about 37 mg of magnesium—plus potassium and vitamin C. Green bananas are higher in resistant starch, while ripe bananas are quick energy snacks.

Don’t overlook the health benefits of pairing magnesium-rich foods with ones high in other vital minerals. Take a look at our insightful piece on top foods high in zinc and why you need them to bolster your overall nutrient intake. Understanding food synergies can enhance your dietary effectiveness.

14. Dark Chocolate

A 28-gram (1 ounce) serving of dark chocolate (at least 70% cocoa) delivers roughly 65 mg of magnesium. In addition to magnesium, dark chocolate is rich in antioxidants and may support heart health—just enjoy in moderation.

15. Tofu

This plant-based protein staple supplies 30–35 mg per 100 grams. Tofu is also rich in iron and calcium, making it a great option for vegetarians and vegans.

16. Trail Mix (Nuts & Seeds)

A mix of nuts and seeds (especially if it contains pumpkin seeds, almonds, and dark chocolate chips) can provide over 200 mg per cup, making trail mix a potent magnesium snack.

17. Legumes (Beans, Lentils)

Lentils, white beans, kidney beans, and chickpeas all offer 50–70 mg per half-cup dried (cooked). They’re indispensable for vegetarians and those seeking to boost magnesium and fiber jointly.

18. Quinoa

This whole grain delivers around 60 mg of magnesium per cup (cooked), plus protein, fiber, and a naturally gluten-free profile.

19. Greek Yogurt

Greek yogurt provides 20–25 mg of magnesium per 170-gram (6-oz) serving, plus protein, calcium, and gut-healthy probiotics.

20. Potatoes (with Skin)

A medium baked potato with skin contains about 48 mg of magnesium. Potatoes also add potassium, vitamin C, and fiber to your plate.

21. Dried Figs

Half a cup of dried figs contains 50 mg of magnesium, as well as iron, calcium, and plenty of dietary fiber.

Quick Reference Table: Top Magnesium-Rich Foods

FoodServing SizeMagnesium (mg)% Daily Value (approx.)
Pumpkin seeds30 g15938%
Chia seeds30 g11427%
Almonds30 g8019%
Cashews30 g7518%
Spinach (cooked)1/2 cup5714%
Black beans (cooked)1/2 cup6014%
Banana (large)1379%
Dark chocolate (70%+)28 g6515%
Salmon (cooked)100 g307%
Brown rice (cooked)1/2 cup7217%
Avocado15814%
Trail mix1 cup23556%

How to Eat More Magnesium

  • Top salads and yogurt with pumpkin or chia seeds.
  • Snack on raw almonds or trail mix, or add nut butters to oatmeal or toast.
  • Swap white rice or bread for whole grain versions.
  • Add leafy greens to smoothies, omelets, and soups.
  • Include beans or lentils in soups, salads, and main dishes.
  • Enjoy salmon, mackerel, or baked potatoes as regular dinner staples.
  • Choose dark chocolate (70% cocoa or higher) for a magnesium-rich dessert.

Magnesium Supplements: Do You Need Them?

Most people can meet their magnesium needs through food. However, certain groups—including older adults, people with gastrointestinal conditions, people taking some medications (like diuretics), and those with type 2 diabetes—may benefit from supervised supplementation.

Magnesium supplements are available as magnesium oxide, citrate, glycinate, and others. Always speak with a healthcare provider before starting supplements, as excessive magnesium can cause diarrhea, nausea, and other health issues.

Frequently Asked Questions (FAQs)

Q: What is magnesium and why is it important?

A: Magnesium is a mineral crucial for muscle function, nerve signaling, healthy bones, and maintaining normal blood pressure and heart rhythm.

Q: How can I tell if I need more magnesium?

A: Common signs include muscle cramps, fatigue, sleep disturbances, headaches, or irregular heartbeat. A blood test can confirm deficiency.

Q: Are animal foods good sources of magnesium?

A: While some seafood and meats contain magnesium (e.g., salmon and chicken), plant-based foods like seeds, nuts, legumes, and greens are typically much richer sources per serving.

Q: Can you get too much magnesium from food?

A: It’s unlikely to get too much magnesium from food alone, but excessive intake from supplements can lead to digestive upset and more serious side effects in rare cases.

Q: How do I boost magnesium on a special diet (e.g., vegan, gluten-free)?

A: Many magnesium-rich foods are plant-based and gluten-free, including nuts, seeds, beans, quinoa, potatoes, and dark leafy greens.

Simple Tips for a Magnesium-Boosted Diet

  • Make a habit of sprinkling seeds and nuts on salads, cereals, and yogurt.
  • Choose unprocessed whole grains over refined versions.
  • Experiment with bean-based recipes and leafy green sides.
  • Snack mindfully on trail mix, nut butters, or fruit with nuts.
  • Include dark chocolate in moderation as a dessert or snack.
  • Remember hydration: some mineral waters also add magnesium.

When to Talk to Your Healthcare Provider

If you regularly experience symptoms of deficiency or have conditions that might affect your magnesium absorption (digestive disorders, frequent alcohol consumption), consult your provider. Diet is the best and safest source of magnesium for most individuals, but your provider can help guide supplement use if medically necessary.

Summary

Magnesium is an essential mineral supporting multiple aspects of health. By including magnesium-rich foods such as seeds, nuts, legumes, greens, fish, and whole grains in your daily diet, you’ll promote better energy, muscle function, sleep, heart health, and more. The variety and flavor options are vast, making it easier than ever to enjoy the benefits of adequate magnesium daily.

Medha Deb is an editor with a master's degree in Applied Linguistics from the University of Hyderabad. She believes that her qualification has helped her develop a deep understanding of language and its application in various contexts.

Read full bio of medha deb