What to Eat for Magnesium and How Much You Need

The best foods for magnesium are seeds, nuts, legumes, and whole grains. Most adults need between 310 and 420 mg of magnesium per day, and a diet built around fiber-rich plant foods can get you there without supplements. The trick is knowing which foods pack the biggest punch per serving and how to prepare them so your body actually absorbs what’s on your plate.

How Much Magnesium You Need

The recommended daily amount depends on your age and sex. Adult men need 400 mg per day from ages 19 to 30, rising to 420 mg from age 31 onward. Adult women need 310 mg from ages 19 to 30 and 320 mg from 31 onward. During pregnancy, the target is 350 to 360 mg for adults, slightly higher for teens at 400 mg.

The FDA uses 420 mg as the Daily Value on nutrition labels, so when a package says it provides “20% DV” of magnesium, that means about 84 mg per serving.

The Highest-Magnesium Foods

Seeds dominate the top of the list. A single ounce of roasted, hulled pumpkin seeds delivers 150 mg of magnesium, roughly a third of most people’s daily target. Chia seeds come in second at 111 mg per ounce. These two foods alone make it remarkably easy to close the gap if the rest of your diet is even moderately varied.

Nuts are the next tier. Roasted almonds provide 80 mg per ounce (about 23 almonds), and roasted cashews offer 72 mg. Dry-roasted peanuts contribute 49 mg per ounce, and a tablespoon of whole flaxseed adds 40 mg. Tossing a handful of any of these into a morning bowl of oatmeal or yogurt can cover 15 to 25% of your daily needs before lunch.

Legumes are reliable but more modest per serving. Half a cup of boiled black beans has 60 mg, edamame has 50 mg, and lima beans have 40 mg. Among grains, cooked quinoa stands out at 60 mg per half cup, and plain shredded wheat cereal provides 56 mg per cup.

Fruits and vegetables tend to contribute smaller amounts that add up across a day. A medium potato with the skin delivers 48 mg. A small papaya has 33 mg, half a cup of green peas has 31 mg, and a cup of blackberries has 29 mg.

Where Meat and Fish Fit In

Animal proteins contain magnesium, but considerably less than plant sources. A 3-ounce serving of cooked wild salmon provides about 30 mg. A similar portion of beef ranges from roughly 19 to 29 mg depending on the cut, with leaner cuts like ribeye and top round sitting toward the higher end. Chicken breast is particularly low, with a standard deli-sliced serving providing only about 4 mg.

If your diet is primarily meat-based, you’ll want to pair those proteins with high-magnesium sides like quinoa, black beans, or a baked potato to reach your daily target. Meat alone won’t get you there.

What Blocks Magnesium Absorption

Some of the best magnesium sources also contain compounds that partially block mineral 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 the phytic acid and the mineral are eaten together in the same meal.

Oxalates work in a similar way. Spinach, Swiss chard, beets, almonds, and potatoes all contain oxalates that can bind to minerals in your digestive tract. This doesn’t mean you should avoid these foods. They still deliver meaningful amounts of magnesium despite some losses. 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.

A few practical steps reduce the impact. Soaking beans and grains before cooking breaks down some phytic acid. Spreading your magnesium intake across multiple meals rather than loading it into one sitting also helps, because your gut absorbs a higher percentage from smaller amounts at a time.

How Cooking Affects Magnesium Content

Magnesium is water-soluble, which means it leaches into cooking water. Boiling vegetables can reduce their magnesium content by up to 60 to 70%. That’s a significant loss, especially for greens like spinach that you might be eating specifically for their mineral content.

Steaming, roasting, or sautéing retains far more. If you do boil vegetables, using the cooking liquid in a soup or sauce recaptures much of the lost magnesium. This is one reason why stews and grain bowls tend to be more nutrient-dense than a plate of boiled-and-drained vegetables.

A Realistic Day of Eating for Magnesium

You don’t need to track milligrams obsessively. As one Cleveland Clinic dietitian puts it, tallying individual nutrients is “tedious, difficult and ungainly.” The better approach is building meals around fiber-rich plant foods, which are almost universally high in magnesium.

That said, a rough sketch helps illustrate how easy it is to hit the target. Consider a day that includes oatmeal with a tablespoon of chia seeds and a handful of almonds at breakfast (roughly 150 to 170 mg), a lunch with half a cup of black beans over quinoa (about 120 mg), a snack of an ounce of pumpkin seeds (150 mg), and a dinner featuring salmon with a baked potato (about 78 mg). That’s well over 400 mg without trying especially hard, and it accounts for a variety of tastes and textures rather than relying on any single “superfood.”

The pattern that emerges is simple: seeds and nuts are your heavy hitters, legumes and whole grains form a solid base, and fruits, vegetables, and animal proteins fill in around the edges. If those categories show up regularly on your plate, your magnesium intake will take care of itself.