Magnesium does not have one iconic food in the way calcium has milk or potassium has bananas. That is actually a good clue to how people get it: from a broad mix of seeds, nuts, beans, whole grains and vegetables.
Pumpkin and chia seeds are among the most concentrated sources, but the daily total is often built by foods that show up repeatedly across meals.
The servings that make the comparison useful
| Food | Serving | Magnesium, approx. |
|---|---|---|
| Roasted pumpkin seeds | 1 oz | 156 mg |
| Chia seeds | 1 oz | 111 mg |
| Roasted almonds | 1 oz | 80 mg |
| Cooked spinach | ½ cup | 78 mg |
| Roasted cashews | 1 oz | 74 mg |
| Cooked black beans | ½ cup | 60 mg |
| Cooked edamame | ½ cup | 50 mg |
An ounce of pumpkin seeds provides about twice as much magnesium as the same amount of almonds. That difference is large enough to matter if magnesium concentration is the specific goal.
Serving-based comparisons also keep dry foods from dominating simply because they contain little water. One hundred grams of seeds is a large amount, while 100 grams of cooked vegetables can fit naturally into a meal. Realistic portions show what is easy to repeat.
Seeds lead because they are mineral-dense and low in water
Pumpkin and chia seeds contain little water, so their per-100-gram mineral numbers look very high. But 100 grams would be more than three standard servings. Looking at 1 ounce keeps the comparison grounded in what people actually eat.
Their concentration means small amounts can meaningfully raise magnesium in oatmeal, yogurt, salads, or baked foods. You do not need a large bowl of seeds to benefit from the mineral content.
Seeds also bring fat, protein, and fiber with the mineral. Adding half an ounce to an ounce changes the nutrient density of a meal without requiring another large-volume side dish.
Nuts provide less than the leading seeds but are easy to use regularly
An ounce of almonds provides about 80 mg and an ounce of cashews about 74 mg. Both also contribute unsaturated fat, protein and fiber.
A six-milligram gap is trivial in an ordinary diet. Variety matters more than declaring a winner from such a small difference.
Nuts also work well because they are easy to repeat. A small handful as a snack or part of a meal can add magnesium several times per week without requiring the diet to revolve around one food.
If nuts are already part of your meals for other reasons, that magnesium counts. There is no need to add a second serving just to chase the mineral when beans, grains and vegetables can contribute elsewhere in the day.
Cooked greens can match a handful of nuts
Half a cup of cooked spinach provides about 78 mg, almost the same as an ounce of almonds. Cooking collapses the leaves, so half a cup cooked represents much more spinach than half a cup raw.
That volume change explains why raw and cooked vegetable tables can look inconsistent. Cooking does not create magnesium; it simply packs more leaf into the measured serving.
A generous cooked-green side can therefore compete with much drier foods on a per-serving basis. This is one reason mineral rankings should not be read only from the 100-gram column.
Beans and whole grains help accumulate magnesium throughout the day
Half a cup of black beans provides about 60 mg, while half a cup of cooked brown rice contributes roughly 40 mg. Neither tops a ranking, but these foods are often eaten in larger portions and can appear regularly.
A meal combining beans, a whole grain, and a small amount of seeds can bring several magnesium sources together. That is usually more realistic than trying to meet an entire daily target with one exceptionally concentrated food.
This approach also creates variety: oatmeal with seeds at breakfast, beans at lunch and greens at dinner can contribute from different meals without repeating the same ingredient.
Water can contribute too
Magnesium in tap and bottled water varies widely by source. Some water adds very little; mineral-rich water can add a meaningful amount. There is no universal value per glass.
If bottled mineral water lists magnesium on the label, that amount can contribute to the dietary total, but it should not be generalized to all drinking water.
The variability is why two otherwise similar diets can receive different small contributions from water. Treat it as a bonus source rather than a replacement for magnesium-rich foods.
The practical rule
If you want a concentrated source, pumpkin and chia seeds stand out. For a sustainable pattern, combine seeds or nuts with beans, whole grains and leafy greens. Magnesium is a nutrient that is often built through accumulation rather than one perfect food.
The useful lesson from the ranking is not to memorize one winner. It is to identify several foods you already like and let their contributions add up across the week.
Sources
- USDA FoodData Central — Food nutrient composition.
- NIH Office of Dietary Supplements — Magnesium — Food sources and amounts per serving.