The best food sources of magnesium are seeds, nuts, leafy greens, and legumes. Pumpkin seeds top the list at 159 mg per ounce, making it possible to hit nearly half your daily target in a single handful. Most adults need between 310 and 420 mg of magnesium per day, and getting enough from food alone is realistic if you know where to look.
Seeds and Nuts
Seeds are the most concentrated food source of magnesium, ounce for ounce. Pumpkin seeds (also called pepitas) deliver 159 mg per 30-gram serving, which is roughly a small handful. Chia seeds come in second at 114 mg per ounce. You can stir either into yogurt, oatmeal, or smoothies without much effort.
Among nuts, almonds provide 80 mg per ounce and cashews provide 75 mg. Peanuts, while lower at 48 mg per ounce, are cheap and easy to eat in larger quantities. A trail mix combining pumpkin seeds, almonds, and peanuts can realistically deliver 200+ mg of magnesium in a couple of handfuls.
Leafy Greens
Cooked greens are a far better source of magnesium than raw ones, simply because cooking compresses the leaves into a denser serving. A half cup of cooked spinach provides about 78 mg of magnesium, while a full cup of raw spinach has only 24 mg. Cooked Swiss chard is similarly rich at 75 mg per half cup. If you’re tossing a handful of baby spinach on a sandwich, that’s a nice addition, but sautéing or steaming a larger batch makes a real dent in your daily intake.
Beans and Legumes
Black beans deliver roughly 60 mg of magnesium per half cup when boiled, or about 84 to 91 mg per full cup depending on whether they’re canned or cooked from dry. Edamame provides around 50 mg per half cup cooked. These are practical sources because they also supply protein and fiber, making them easy to build a meal around. A burrito bowl with black beans, rice, and a handful of pepitas can account for a significant share of your daily magnesium.
Whole Grains, Fruits, and Other Sources
Quinoa, brown rice, and oats all contain meaningful amounts of magnesium because the mineral is concentrated in the bran and germ of whole grains. Refined grains lose most of their magnesium during processing, so white rice and white bread are poor substitutes.
Among fruits, avocados and bananas are the most commonly cited sources. Neither is as concentrated as seeds or greens, but they contribute to your overall intake when you’re eating them regularly. A medium avocado contains roughly 58 mg of magnesium, and a medium banana has about 32 mg.
Why Phytates Matter
Many magnesium-rich foods, particularly whole grains, beans, nuts, and seeds, also contain phytic acid. This compound binds to magnesium and other minerals in your digestive tract, forming complexes your body can’t absorb. Humans lack the enzyme needed to break down phytic acid efficiently, so some of the magnesium listed on a nutrition label never actually makes it into your bloodstream.
The practical fix is simple: soaking, sprouting, or fermenting these foods reduces their phytic acid content. Soaking dried beans overnight before cooking, choosing sprouted grain bread, or eating fermented soy products like tempeh instead of plain soybeans all improve how much magnesium your body actually absorbs. Cooking in general helps, and pairing plant-based magnesium sources with foods that produce organic acids during digestion (fermented foods, for instance) can further counteract phytic acid’s effects.
How Much You Need
The recommended daily intake varies by age and sex. Adult men aged 19 to 30 need 400 mg per day, rising to 420 mg after age 31. Women in the same age ranges need 310 mg and 320 mg, respectively. During pregnancy, the target increases to 350 to 360 mg depending on age.
To put those numbers in context: a day that includes a handful of pumpkin seeds (159 mg), a half cup of cooked spinach (78 mg), a cup of black beans (91 mg), and an ounce of almonds (80 mg) totals about 408 mg. That covers the full daily requirement for most adults without any supplements.
Signs You’re Not Getting Enough
Early magnesium deficiency shows up as fatigue, weakness, loss of appetite, and nausea. These symptoms are vague enough that most people attribute them to stress or poor sleep. As a deficiency worsens, muscle spasms and tremors can develop. Severe, untreated deficiency can cause abnormal heart rhythms.
Over the long term, chronically low magnesium intake raises the risk of high blood pressure, heart disease, type 2 diabetes, osteoporosis, and migraine headaches. Low magnesium also drags down your calcium and potassium levels, since the three minerals are interdependent. People at higher risk for deficiency include those with digestive conditions that impair absorption, heavy alcohol use, and older adults whose absorption naturally declines with age.
Mineral Water as a Source
Some bottled mineral waters contain enough magnesium to be a meaningful dietary source, though the range is enormous. Most common brands deliver under 25 mg per liter, which is negligible. A few European mineral waters are much higher: Badoit, for example, contains 85 mg of magnesium per liter. If you drink mineral water regularly, checking the label is worth the five seconds it takes. It won’t replace food sources, but a liter of a high-magnesium brand throughout the day adds a modest 20 to 25% of your daily target.

