Best foods for Magnesium
Updated: Sep 9
Here are some of the best foods that are rich in magnesium:
Dark leafy greens: I know, I know, but spinach, kale, Swiss chard, and collard greens are excellent sources of magnesium. They can be enjoyed in salads, stir-fries, or added to smoothies.
Nuts and seeds: Almonds, cashews, peanuts, pumpkin seeds, and sunflower seeds are all high in magnesium. They can be eaten as a snack or added to yogurt or baked goods.
Whole grains: Whole grains like brown rice, quinoa, oats, and whole wheat bread are good sources of magnesium. They can be incorporated into meals as a side dish, in salads, or as a base for grain bowls.
Legumes: Beans, lentils, and chickpeas are rich in fiber and protein, and they carry a good amount of magnesium too. They can be used in soups, stews, salads, or made into spreads like hummus.
Fish: Some types of fish, such as salmon, mackerel, and halibut, are good sources of magnesium. They can be grilled, baked, or pan-seared for a nutritious meal.
Avocado: Avocado is a nutrient-dense fruit that contains magnesium. It can be sliced and added to salads, sandwiches, or enjoyed as guacamole.
Bananas: Bananas are known for potassium, but they carry a fair amount of magnesium as well. They can be eaten as a snack, added to smoothies, or used in baking.
Dark chocolate: YES! Dark chocolate with a high cocoa content is a delicious source of magnesium. Enjoy a small piece as a treat or use it in baking and desserts.
How much magnesium are we actually talking about?
To put some real numbers on this: an ounce of pumpkin seeds has around 156 mg of magnesium, an ounce of almonds has about 80 mg, and a half-cup of boiled spinach comes in around 78 mg. Adult men need roughly 400–420 mg a day, and adult women need about 310–320 mg. So a handful of pumpkin seeds and a solid serving of leafy greens can get a person a meaningful chunk of the way there in a single day.
Why food alone doesn't always cut it
Here's the part most articles on this topic skip: even with a good diet, only about 30–40% of the magnesium you eat actually gets absorbed. And a handful of things common in my patients push that number even lower. Gut conditions like Crohn's or celiac disease, long-term use of acid-reducing medications like PPIs (more on why that matters in our GERD & reflux medication FAQ), diuretics, poorly controlled blood sugar, and regular alcohol use all interfere with how much magnesium the body holds onto. Soil quality and how food is processed matter too, which is part of why the same "cup of spinach" doesn't deliver the same magnesium load it might have a few decades ago.
None of that means food doesn't matter. It's still the foundation. But if someone is eating reasonably well and still dealing with muscle cramps, poor sleep, or tension headaches, food alone may not be closing the gap, and that's worth a conversation rather than just adding more spinach to the rotation.
What is the best type of magnesium?
That depends on what you're trying to fix. Constipation, sleep, muscle cramps, and migraines don't all point to the same form. I get into the differences between citrate, glycinate, malate, and the rest in this post on magnesium types, so I won't repeat it all here.
Remember that the magnesium content may vary depending on factors such as soil quality and processing methods. A varied, balanced diet is still the best way to cover the full range of nutrients your body needs, magnesium included. And if you've been dealing with symptoms that sound like low magnesium and diet changes aren't moving the needle, that's a good reason to come in and actually check your levels rather than guess.
For actual meals built around these foods, see Magnesium-Rich Meals Worth Adding to Your Rotation.




Comments