Magnesium is found in a wide range of everyday foods, with the richest sources being nuts, seeds, leafy greens, legumes, and whole grains. Most adults need between 310 and 420 mg of magnesium per day, and hitting that target is straightforward once you know which foods pack the most per serving.
Best Food Sources of Magnesium
Seeds and nuts sit at the top of the list. Pumpkin seeds are one of the single richest sources available, delivering roughly 150 mg of magnesium in just a one-ounce serving. Almonds, cashews, and peanuts each provide around 60 to 80 mg per ounce. Even peanut butter counts: two tablespoons supply about 50 mg.
Dark leafy greens are another reliable category. A half-cup of cooked spinach contains around 78 mg, and Swiss chard is similarly rich. The deep green color is a useful visual shortcut here, since magnesium is a central atom in chlorophyll, the pigment that makes plants green. The darker the leaf, the more magnesium it generally holds.
Legumes round out the top tier. Black beans, kidney beans, and edamame (soybeans) each offer roughly 50 to 60 mg per half-cup cooked serving. They’re also high in fiber and protein, making them an efficient way to cover multiple nutritional bases in one meal.
Whole Grains, Dairy, and Other Sources
Whole grains lose a significant portion of their magnesium during refining. Brown rice, for example, has nearly twice the magnesium of white rice, and whole wheat bread outperforms its white counterpart by a similar margin. Oatmeal, quinoa, and fortified breakfast cereals also contribute meaningful amounts, typically 30 to 60 mg per serving.
Dairy products like yogurt and milk provide moderate amounts, usually around 30 to 40 mg per serving. Dark chocolate is a surprisingly good source: a one-ounce square of 70% or higher dark chocolate contains about 65 mg. Avocados, bananas, and certain fish (particularly salmon and halibut) fill in the gaps, each delivering 25 to 40 mg per typical portion.
How Much You Actually Need
The recommended daily intake depends on age and sex. Adult men need 400 mg per day from ages 19 to 30, rising to 420 mg after 30. Adult women need 310 mg from 19 to 30, and 320 mg after 30. Pregnant individuals need slightly more, between 350 and 400 mg depending on age.
To put those numbers in perspective, a day that includes a handful of pumpkin seeds, a cup of cooked spinach, a serving of black beans, and some brown rice would land you well above 320 mg without any supplements. Most people who eat a varied diet with whole foods can meet their needs through food alone.
What Blocks Magnesium Absorption
Some of the best magnesium sources also contain compounds that partially block its absorption. Phytic acid, found in whole grains, seeds, legumes, and some nuts, binds to magnesium in the gut and prevents a portion of it from being absorbed. This only happens when phytic acid and magnesium are eaten in the same meal, so spreading your magnesium-rich foods across the day can help.
Oxalates, concentrated in spinach, beets, Swiss chard, and tea, behave similarly, though they’re more commonly discussed in the context of calcium absorption. Soaking, sprouting, or fermenting grains and legumes before cooking reduces their phytic acid content and improves mineral availability. This doesn’t mean you should avoid these foods. They still deliver substantial net magnesium. But it’s worth knowing that the number on a nutrition label represents what’s in the food, not necessarily what your body takes in.
Magnesium in Supplements
When food alone isn’t enough, supplements come in several forms with different absorption profiles. Organic forms (meaning the magnesium is bound to a carbon-containing molecule) are generally better absorbed than inorganic forms. Magnesium citrate, glycinate, and malate fall into the organic category. Magnesium oxide is inorganic, cheaper, and less well absorbed, though it contains more elemental magnesium per pill.
Absorption is also dose-dependent: your body absorbs a higher percentage from smaller doses. Taking 200 mg twice a day, for instance, yields more usable magnesium than taking 400 mg at once. The form you choose also affects where magnesium ends up in the body, as tissue distribution varies by formulation. For most healthy adults without a prior deficit, any form of supplement can maintain normal levels. But for people who are older, managing a chronic illness, or already low, the form and dosing strategy matter more.
Signs You’re Not Getting Enough
Mild magnesium deficiency shows up as muscle cramps, spasms, or twitching, often in the legs or feet. Numbness or tingling in the hands and feet, persistent fatigue, and general weakness are also common early signs. Normal blood magnesium levels fall between 1.46 and 2.68 mg/dL, though blood tests can be misleading because less than 1% of your body’s magnesium is in the bloodstream. Most of it is stored in bones and soft tissue.
Certain groups face higher risk of deficiency: people with digestive conditions that impair absorption, those who take certain medications long-term (particularly acid-reducing drugs), heavy alcohol drinkers, and older adults whose absorption efficiency naturally declines. If you notice persistent cramping, unexplained fatigue, or numbness that doesn’t resolve, a blood test is a reasonable starting point, but dietary changes often help even before lab results come back.

