Quick answer: The best magnesium rich foods are leafy greens like spinach and Swiss chard, pumpkin seeds, almonds, black beans, whole grains, avocados, bananas, and dark chocolate. Drinks can help too: coconut water and some mineral waters contain magnesium, and naturally hard tap water adds a little with every glass, while distilled and reverse osmosis water contribute almost none.

Why magnesium matters

Assortment of magnesium rich whole foods

Magnesium is a mineral that serves as a cofactor in more than 300 biochemical reactions in the human body. Those reactions cover energy production, protein synthesis, muscle and nerve function, blood glucose regulation, and blood pressure regulation. Magnesium also contributes to the structural development of bone and is involved in the synthesis of DNA and RNA.

What magnesium does in the body

  • Energy production: Magnesium helps convert food into usable energy by facilitating the breakdown of nutrients and their use by cells.
  • Muscle and nerve function: It helps muscles contract and relax, aids in transmitting nerve signals, and helps prevent excessive muscle cramping.
  • Heart health: Magnesium supports cardiovascular health by helping regulate heart rhythm and blood pressure and by maintaining healthy blood vessels.
  • Bone health: Around 60% of the body's magnesium is stored in bone, where it works alongside calcium to maintain bone density.
  • Blood sugar regulation: Magnesium influences insulin activity and contributes to insulin sensitivity, which matters for preventing or managing diabetes.
Whole foods that support energy production and muscle function

Signs of magnesium deficiency

A magnesium shortfall can show up as muscle cramps, fatigue, weakness, loss of appetite, abnormal heart rhythms, and mood disturbances such as anxiety and low mood. Severe deficiency is more serious, affecting heart health and bone density. If you suspect a deficiency, talk to your doctor rather than self-diagnosing; the symptoms overlap with many other conditions.

Vegetables high in magnesium

Leafy green vegetables high in magnesium

Leafy greens are the standouts: spinach, kale, Swiss chard, and collard greens deliver magnesium along with vitamins, minerals, and antioxidants. Here is the full list worth rotating through:

Vegetables Vegetables
Spinach Beet greens
Swiss chard Bok choy
Kale Mustard greens
Collard greens Cabbage
Turnip greens Asparagus
Broccoli Green peas
Brussels sprouts Summer squash
Artichokes Zucchini
Sweet potatoes Eggplant
Okra Green beans

Fruits high in magnesium

Fruits high in magnesium including bananas and avocado

Avocado, bananas, figs, and blackberries are the strongest picks, and they bring fiber and vitamins along with the magnesium:

Fruits Fruits
Avocado Papaya
Bananas Oranges
Figs Grapefruit
Raisins Apricots
Blackberries Pineapple
Kiwi Pomegranate
Prunes Watermelon
Dates Cantaloupe
Guava Honeydew melon

Other great sources of magnesium

Top food sources of magnesium
Category Foods
Nuts and seeds Pumpkin seeds, almonds, cashews, sunflower seeds, flaxseeds
Legumes Black beans, kidney beans, chickpeas, lentils, navy beans
Whole grains Brown rice, quinoa, oats, whole wheat bread, buckwheat
Fish Mackerel, salmon, halibut, tuna, sardines
Dairy and alternatives Greek yogurt, kefir, fortified almond milk, yogurt
Other proteins Tofu, tempeh, edamame, seitan, bone broth
Herbs and spices Coriander, dill, basil, sage, cumin
Treats Dark chocolate (70% cocoa or higher)

Drinks high in magnesium

Coconut water, a drink that naturally contains magnesium

A few drinks genuinely move the needle:

  • Coconut water: A refreshing source of magnesium, potassium, and electrolytes, useful after physical activity.
  • Fortified almond milk: Often carries added magnesium, making it a solid dairy-free option.
  • Herbal teas: Nettle, chamomile, and dandelion root teas contribute small amounts.
  • Mineral water: Some mineral waters naturally contain meaningful magnesium. Check the label; content varies widely by brand and source.
  • Bone broth: Contains minerals including calcium, magnesium, and phosphorus.

Does your water have magnesium in it?

It depends entirely on the water. Naturally hard tap water picks up dissolved calcium and magnesium from rock as it moves through the ground, so in hard water areas, plain tap water quietly contributes magnesium every day. Demineralized water is the opposite: distillation and reverse osmosis strip out dissolved minerals along with everything else, which is why purified bottled waters start from essentially zero and why they taste flat (we cover how that works in our breakdown of demineralized bottled water).

This is a case for filtering your water rather than distilling it. A solid carbon block filter is not reverse osmosis: it is designed to reduce contaminants like lead, chlorine, and PFAS while leaving the naturally occurring dissolved minerals, including magnesium and calcium, in your water.

How to get more magnesium into your diet

Balanced meal that helps meet daily magnesium needs

Aim for a balanced diet built around a variety of the foods above rather than reaching for a supplement first; whole foods deliver magnesium alongside the fiber, potassium, and other nutrients it works with. A handful of pumpkin seeds or almonds, greens with a couple of meals, beans or whole grains as a staple, and a square of dark chocolate covers a lot of ground without much effort.

The bottom line

Food does the heavy lifting for magnesium: leafy greens, nuts and seeds, legumes, whole grains, fruit, and dark chocolate. Water plays a supporting role, and the practical takeaway there is simple: filter, do not distill. Our Pure XP pitcher is independently tested to reduce lead, PFAS, chlorine, and over 99.9% of microplastics without stripping water down to nothing, and the Pure XP Dispenser does the same for bigger households. Browse all pitchers and replacement filters here.

Related reading

Sources

Brand names mentioned are trademarks of their respective owners. This article is for educational purposes and is not medical advice.

Latest Stories

This section doesn’t currently include any content. Add content to this section using the sidebar.
      
Cannot place order, conditions not met:
OK