Food First: The Best Way to Get Magnesium

While magnesium supplements are widely available and effective, food remains the most natural and sustainable way to meet your daily needs. Whole foods also come packaged with fiber, antioxidants, and other nutrients that work synergistically with magnesium. Here's a practical guide to the best dietary sources.

Magnesium Content in Common Foods

Food Serving Size Magnesium (approx.)
Pumpkin seeds (roasted) 28g (1 oz) ~150 mg
Dark chocolate (70–85%) 28g (1 oz) ~64 mg
Almonds 28g (1 oz) ~80 mg
Spinach (cooked) ½ cup ~78 mg
Black beans (cooked) ½ cup ~60 mg
Avocado 1 medium ~58 mg
Brown rice (cooked) 1 cup ~84 mg
Edamame ½ cup ~50 mg
Banana 1 medium ~32 mg
Salmon (cooked) 85g (3 oz) ~26 mg

Note: Values are approximate and can vary by preparation method and food variety.

Category Breakdown: Where to Find Magnesium

Seeds and Nuts

Pumpkin seeds are among the richest sources of magnesium you'll find. A small handful can provide a significant portion of your daily requirement. Almonds, cashews, and Brazil nuts are also excellent options. Add them to smoothies, salads, or yogurt bowls for an easy magnesium boost.

Leafy Green Vegetables

Chlorophyll — the molecule that makes plants green — has magnesium at its core. That means dark leafy greens like spinach, Swiss chard, and kale are naturally good sources. Cooking them slightly increases the usable amount per serving by reducing volume.

Legumes

Black beans, chickpeas, lentils, and edamame are all solid plant-based sources of magnesium. They're also high in fiber and protein, making them nutritionally dense choices for any diet.

Whole Grains

Unlike refined grains (where the magnesium-rich bran and germ are stripped away), whole grains like brown rice, oats, quinoa, and whole wheat bread retain their magnesium content. Switching from white to whole grain versions of staple foods is one of the simplest upgrades you can make.

Dark Chocolate

Good news for chocolate lovers: high-quality dark chocolate (70% cacao or above) contains a meaningful amount of magnesium. It's not a supplement replacement, but it's a delicious dietary contribution.

Tips to Maximize Magnesium from Food

  • Soak and cook legumes properly — this reduces phytic acid, which can inhibit magnesium absorption.
  • Limit alcohol and excess caffeine — both can increase urinary excretion of magnesium.
  • Pair with vitamin D-rich foods — vitamin D and magnesium work together; adequate levels of both improve absorption and utilization.
  • Minimize processed food — heavily processed diets are typically low in magnesium due to refining processes.

Can You Meet Your Needs Through Diet Alone?

For many people eating a varied, whole-food diet, it's entirely possible to meet the daily recommended intake through food. However, factors like soil depletion, digestive issues, certain medications, and high stress levels can increase magnesium needs or reduce absorption — situations where supplementation may become beneficial.