Seeds, nuts, and leafy greens pack the most magnesium per serving of any common foods. Most adults need between 310 and 420 mg of magnesium daily, and the right combination of whole foods can get you there without supplements. Here’s a detailed look at where to find it.
Seeds and Nuts Lead the List
Pumpkin seeds are the single richest everyday source of magnesium. A one-ounce handful (about two tablespoons) delivers roughly 150 mg, which is more than a third of what most adults need in a day. Almonds and cashews follow closely, each providing around 75 to 80 mg per ounce. Brazil nuts, sunflower seeds, and flaxseeds all land in the 40 to 60 mg range for a similar portion.
Because these foods are calorie-dense, you don’t need much to make a real dent in your daily intake. Tossing pumpkin seeds on a salad or snacking on a small bag of almonds in the afternoon covers a meaningful percentage of your requirement with minimal effort.
Leafy Greens and Vegetables
Spinach is the standout here. A half-cup of cooked spinach contains roughly 78 mg of magnesium. Swiss chard and cooked beet greens offer similar amounts. The key is that cooking concentrates these greens, so you get more magnesium from a half-cup of cooked spinach than you would from a large bowl of raw leaves.
Other vegetables contribute smaller but still useful amounts. Cooked broccoli, okra, and potatoes with the skin on each add 25 to 40 mg per serving. These aren’t headline numbers on their own, but they add up across a full day of meals.
Legumes and Whole Grains
Black beans deliver about 60 mg of magnesium per half-cup (cooked), making them one of the best legume sources. Edamame comes in at 50 mg for the same portion, and lima beans provide around 40 mg. If beans are a regular part of your meals, you’re likely getting a steady magnesium boost without thinking about it.
Among grains, quinoa stands out at 60 mg per half-cup cooked. Shredded wheat cereal offers 56 mg per cup. Brown rice, oatmeal, and whole wheat bread each contribute moderate amounts in the 30 to 50 mg range per serving. Refined grains lose most of their magnesium during processing, so choosing whole grain versions makes a real difference.
Dark Chocolate
Dark chocolate with 70% or higher cocoa content contains roughly 65 mg of magnesium per ounce. That makes a small square after dinner a surprisingly effective source. Milk chocolate has far less, so the cocoa percentage matters. This is one of the more enjoyable ways to close a gap in your daily intake.
Meat, Fish, and Dairy
Animal-based foods generally contain less magnesium than plant sources, but they still contribute. Yellowtail fish provides about 55 mg per half fillet. Crab and oysters each deliver around 50 mg per three-ounce serving. A cup of dark-meat chicken has 35 mg, and a similar portion of cooked ham offers 34 mg. Beef ribeye sits at about 29 mg per four-ounce serving.
Dairy is modest but consistent. Swiss cheese contains 44 mg per cup (diced), cheddar about 36 mg for the same amount, and a six-ounce container of plain low-fat yogurt has 29 mg. Chocolate milk, interestingly, provides 35 mg per cup. None of these are magnesium powerhouses, but for people who eat animal products at every meal, the contributions accumulate.
How Much You Actually Need
Adult men need 400 to 420 mg of magnesium per day, depending on age. Adult women need 310 to 320 mg. During pregnancy, the target rises to 350 to 360 mg for most age groups. These numbers are the recommended dietary allowances set by the NIH.
To put that in perspective: a day that includes a handful of pumpkin seeds (150 mg), a half-cup of cooked spinach (78 mg), a half-cup of black beans (60 mg), a serving of quinoa (60 mg), and an ounce of dark chocolate (65 mg) would total over 400 mg. That’s a full day’s worth for most people, entirely from food.
Why Magnesium Matters in Your Body
Magnesium serves as a helper molecule for hundreds of enzymes. Its most fundamental job is in energy production: your cells store and use energy in a molecule called ATP, and that molecule functions almost exclusively as a complex bound with magnesium. Without adequate magnesium, your basic cellular energy machinery slows down.
It also controls the movement of calcium and potassium across cell membranes. This is what makes your nerves fire properly, your muscles contract and relax, and your heart maintain a regular rhythm. That connection to muscle function is why leg cramps are one of the more noticeable symptoms of low magnesium.
What Reduces Absorption
Not all of the magnesium in food makes it into your bloodstream. Phytates, compounds naturally present in whole grains, seeds, and legumes, can bind to magnesium and reduce how much your body absorbs. This is somewhat ironic since many high-magnesium foods also contain phytates. Soaking, sprouting, or fermenting grains and legumes before cooking breaks down some of these compounds and improves mineral absorption.
Magnesium also plays a role in how your body processes vitamin D. The enzymes in your liver and kidneys that activate vitamin D all require magnesium to function. If your magnesium levels are too low, your body can’t properly activate or use vitamin D, even if you’re getting plenty of it from sunlight or supplements.
A Note on Water
Tap water can contain magnesium, but the amount varies enormously by location. Most municipal water supplies have less than 20 mg per liter, with an average around 6 mg per liter. Some hard water sources reach up to 120 mg per liter. Certain European mineral waters are marketed for their mineral content and can contain meaningful amounts, but for most people, water is a minor contributor compared to food.

