How to Get More Magnesium in Your Diet (Foods + Daily Targets)
Photo by Brooke Lark

How to Get More Magnesium in Your Diet (Foods + Daily Targets)

Magnesium is one of those nutrients most people know they should be eating more of, but aren't. If you're looking for how to get more magnesium in your diet, the good news is that you don't need a major overhaul. The foods that deliver the most magnesium are common, affordable, and easy to work into meals you're already eating.

Magnesium is an essential mineral your body uses in over 300 enzyme reactions. It keeps your muscles and nerves working, helps regulate blood sugar and blood pressure, supports bone strength, and powers the production of energy, DNA, and protein. Your body can't make it. Every milligram has to come from what you eat or drink.

Seeds, nuts, legumes, leafy greens, and whole grains are your best food sources. Many adults fall short of the daily target, especially older adults and teenagers. Getting magnesium from food beats supplements for two reasons: no risk of overdoing it, and the health evidence is stronger for dietary intake than for pills.

Why Does Magnesium Matter?

Your body holds about 25 grams of magnesium at any given time. Between 50 and 60 percent of that is stored in your bones, with the rest circulating in muscles, soft tissues, and blood.

The mineral works as a cofactor, meaning it activates enzyme reactions throughout the body. Without enough magnesium, those reactions slow down or stall entirely, affecting everything from how your heart beats to how efficiently your cells produce energy.

Research also links higher dietary magnesium to meaningful health outcomes. A 2016 dose-response meta-analysis of 40 prospective cohort studies and more than one million people found that each additional 100 mg per day of dietary magnesium was associated with a 7% lower risk of stroke, a 22% lower risk of heart failure, a 19% lower risk of type 2 diabetes, and a 10% lower risk of early death from all causes. No significant link was found for total cardiovascular disease or coronary heart disease specifically.

These are associations from observational data, not proof that magnesium prevents disease. But the pattern is consistent across large populations and worth taking seriously. One important detail: the association is tied to dietary magnesium. Supplements haven't shown the same strength in the outcome data.

How Much Magnesium Do You Need Per Day?

The Recommended Dietary Allowance (RDA) varies by age, sex, and life stage. Here are the main figures from the National Institutes of Health Office of Dietary Supplements:

  • Men 19–30: 400 mg/day

  • Men 31 and older: 420 mg/day

  • Women 19–30: 310 mg/day

  • Women 31 and older: 320 mg/day

  • Teen boys (14–18): 410 mg/day

  • Teen girls (14–18): 360 mg/day

  • Pregnant women: 350–360 mg/day (pregnant teens: 400 mg/day)

  • Breastfeeding women: 310–320 mg/day

These totals cover all sources combined: food, water, and any supplements you take.

Are You Getting Enough Magnesium?

Most people in the United States take in less than the recommended amount from food, according to the NIH Office of Dietary Supplements. Teenagers and men over 70 are the groups most likely to fall short.

There's an important nuance here. When you factor in supplements, total magnesium intake across the population generally does meet recommendations. So the gap is mostly a food gap, not necessarily a deficiency gap.

In the short term, low magnesium rarely causes obvious symptoms. Your kidneys are efficient at conserving it. A sustained shortfall, though, can eventually lead to loss of appetite, fatigue, nausea, and weakness. In more severe cases, you may get muscle cramps, numbness, irregular heartbeat, and personality changes.

Some groups face a higher risk of actually becoming deficient:

  • People with Crohn's disease, celiac disease, or other GI conditions that reduce absorption

  • People with type 2 diabetes, which increases urinary losses

  • People who drink heavily over a long period

  • Older adults, who absorb less and tend to eat less overall

Certain medications can also lower magnesium levels or reduce how much you absorb. If you fall into any of these categories, it's worth a conversation with your healthcare provider.

Why Getting Magnesium from Food Matters

Food magnesium and supplemental magnesium are not equivalent, either in safety or in evidence.

When magnesium comes from food and water, there's no upper limit for healthy people. Your kidneys handle any excess without issue. With supplements, the Tolerable Upper Intake Level is 350 mg per day for adults. Go above that and you're more likely to get digestive side effects like diarrhea and cramps. Not dangerous for people with healthy kidneys, but uncomfortable and avoidable if food can cover the gap.

The stronger health associations in the research are also tied to dietary magnesium. When you eat a magnesium-rich diet, you're likely also eating more fiber, potassium, and other nutrients. That whole-food pattern, not just one isolated mineral, is probably what's driving the outcomes. So building your intake through food is both safer and more effective than reaching for a supplement first.

The Best Magnesium-Rich Foods

Seeds, nuts, legumes, leafy greens, and whole grains supply the most magnesium per serving. The numbers below come from the USDA FoodData Central, via the NIH ODS food table. The daily value (DV) used on food labels is set at 420 mg.

  • Pumpkin seeds, roasted, 1 oz: 156 mg (37% DV)

  • Chia seeds, 1 oz: 111 mg (26% DV)

  • Almonds, dry roasted, 1 oz: 80 mg (19% DV)

  • Spinach, boiled, ½ cup: 78 mg (19% DV)

  • Cashews, dry roasted, 1 oz: 74 mg (18% DV)

  • Peanuts, oil roasted, ¼ cup: 63 mg (15% DV)

  • Shredded wheat cereal, 2 biscuits: 61 mg (15% DV)

  • Soymilk, 1 cup: 61 mg (15% DV)

  • Black beans, cooked, ½ cup: 60 mg (14% DV)

  • Edamame, cooked, ½ cup: 50 mg (12% DV)

  • Peanut butter, 2 tbsp: 49 mg (12% DV)

  • Baked potato with skin, 3.5 oz: 43 mg (10% DV)

  • Brown rice, cooked, ½ cup: 42 mg (10% DV)

  • Plain low-fat yogurt, 8 oz: 42 mg (10% DV)

  • Instant oatmeal, 1 packet: 36 mg (9% DV)

  • Kidney beans, canned, ½ cup: 35 mg (8% DV)

  • Banana, 1 medium: 32 mg (8% DV)

  • Milk, 1 cup: 27 mg (6% DV)

  • Salmon, farmed, 3 oz: 26 mg (6% DV)

  • Halibut, 3 oz: 24 mg (6% DV)

  • Raisins, ½ cup: 23 mg (5% DV)

  • Whole-wheat bread, 1 slice: 23 mg (5% DV)

  • Avocado, ½ cup: 22 mg (5% DV)

  • Chicken breast, 3 oz: 22 mg (5% DV)

A food qualifies as a "high" source if it delivers 20% or more of the DV per serving. By that measure, pumpkin seeds and chia seeds are in a league of their own. One ounce of pumpkin seeds gives you more magnesium than a cup of milk and a banana combined.

Refined grains, most fruits, and most meats sit at the low end. A slice of white bread delivers a fraction of what whole-wheat does, and a bowl of refined cereal can't match rolled oats. The pattern is consistent: the less processed the grain, the more magnesium it retains.

Easy Ways to Add More Magnesium to Your Diet

Small, consistent swaps tend to work better than a big one-week push. Here are practical moves that actually add up:

  • Swap white rice for brown rice at dinner. Brown rice provides about 42 mg per half-cup, versus about 10 mg for the same amount of white rice.

  • Keep a small bag of roasted pumpkin seeds or almonds at your desk for snacking. A single ounce covers nearly a fifth of your daily target.

  • Stir a handful of spinach into scrambled eggs or blend it into a smoothie. Cooked spinach gives you nearly as much magnesium per half-cup as a full serving of almonds.

  • Build one or two meals a week around beans or lentils. Black beans, edamame, and kidney beans are all solid sources.

  • Choose oats or shredded wheat for breakfast instead of processed cereals.

  • Leave the skin on a baked potato. With the skin, it delivers about 43 mg.

Water is a less obvious source. Tap and mineral water contain varying amounts of magnesium, and depending on where you live or what brand you drink, water can contribute anywhere from less than 1 mg to over 120 mg per liter. It's not something most people need to track, but it does count toward your daily total.

What Lowers the Magnesium in Your Food?

Two things work against you: food processing and limited absorption. Refining grains strips away the germ and bran, which is exactly where most of the magnesium lives. White bread, white rice, and many processed cereals all start as magnesium-rich whole grains. The milling process removes that, along with fiber and other nutrients, leaving behind a much poorer source.

On the absorption side, your body only takes in about 30 to 40 percent of the magnesium you eat. The rest passes through. This is normal. Your kidneys compensate by holding onto magnesium more tightly when you're running low. The practical takeaway: when you're choosing between a whole-grain and a refined option, whole-grain is almost always better for magnesium.

Food vs. Supplements: When Does Food Not Cover It?

For most healthy adults eating a varied diet, food can get you there. The practical goal is to build meals around the high-magnesium categories: seeds, nuts, legumes, leafy greens, and whole grains.

Some situations make food alone harder. A condition that reduces absorption, like Crohn's or celiac disease, can limit how much magnesium your body actually keeps, regardless of how well you eat. Certain medications increase urinary losses. Older adults sometimes find it difficult to eat enough across the board.

If you do turn to supplements, a few things are worth knowing. The Tolerable Upper Intake Level for supplemental magnesium is 350 mg per day for adults. Labels show elemental magnesium, which is the amount your body can actually use, not the total weight of the compound. Forms like magnesium citrate, lactate, aspartate, and chloride are better absorbed than magnesium oxide or sulfate. And if you have kidney disease, speak with a doctor before supplementing. Your kidneys control how much magnesium you retain, and that system can break down when they're not working properly.

If you're curious about specific magnesium supplement forms and how they compare, our article on magnesium glycinate for sleep covers the supplement side in detail.

Frequently Asked Questions

What food has the most magnesium?

Pumpkin seeds top the list at 156 mg per ounce, which is 37% of the daily value. Chia seeds (111 mg per ounce) and almonds (80 mg per ounce) are close behind. One ounce of pumpkin seeds gives you more magnesium than a cup of milk and a banana combined.

Can you get enough magnesium without supplements?

Yes, most healthy adults can meet their needs through food. The key is consistently eating seeds, nuts, legumes, leafy greens, and whole grains. Many people fall short not because those foods are hard to find, but because refined grains and processed foods crowd them out.

What are the signs you're not getting enough magnesium?

In the short term, low magnesium often has no obvious symptoms because your kidneys compensate. If the shortfall continues, you might notice fatigue, weak muscles, nausea, or loss of appetite. More advanced deficiency can cause muscle cramps, numbness, tingling, and irregular heartbeat. If you suspect you're deficient, a blood test can help, though it only reflects the small fraction of magnesium in your blood rather than what's stored in your bones and muscles.

Does cooking method matter for magnesium?

The figures in the food table above are already measured on cooked servings, so they reflect what you actually get on the plate. Boiled spinach, for example, still delivers about 78 mg per half-cup. You don't need to change how you cook these foods to benefit from them.

Is it possible to get too much magnesium from food?

No. For healthy people, there is no established upper limit for magnesium from food and water. Your kidneys filter and excrete any excess efficiently. The 350 mg upper limit applies only to supplemental magnesium. That's why food-first is the safer and simpler starting point for most people.

In Summary

Getting more magnesium in your diet is less complicated than it sounds. The foods that deliver it most reliably are seeds, nuts, legumes, leafy greens, and whole grains. They're common, affordable, and easy to add to meals you're already making.

The daily target sits between 310 and 420 mg depending on your age and sex. Most people miss that mark from food alone, especially teenagers and older adults. For the majority of healthy adults, eating more of the right foods is a more effective and safer approach than defaulting to supplements.

A practical next step: look at your typical breakfast and lunch. Swap one refined grain for a whole grain, and add one serving from the seeds, nuts, or legumes column. Do that consistently and you'll close most of the gap.

References

National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Accessed June 2026. View Source

National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Consumers. Accessed June 2026. View Source

Fang X, Wang K, Han D, et al. (2016). Dietary magnesium intake and the risk of cardiovascular disease, type 2 diabetes, and all-cause mortality: a dose–response meta-analysis of prospective cohort studies. BMC Medicine, 14, 210. View Source

U.S. Department of Agriculture. FoodData Central. Accessed June 2026. View Source

This article is for general informational purposes only and is not a substitute for professional medical advice. People with kidney disease, gastrointestinal conditions, diabetes, or those taking prescription medications should speak with a qualified healthcare provider before making significant changes to their diet or starting any supplement.

Written by Exabiier Bars Founder of TheHealthSlate

Exabiier Bars is a U.S. Navy veteran and the founder of TheHealthSlate, a health and wellness site built to make supplement, nutrition, fitness, and wellbeing topics easier to understand. After seeing how often health claims online were vague, exaggerated, or poorly supported, he wanted to create a website that puts evidence first, explains what the research actually says, and helps readers separate useful information from hype.

Medical Disclaimer: This article is for informational purposes only and is not intended as medical advice. Always consult with a qualified healthcare provider before starting any supplement regimen. The studies referenced are for educational purposes and individual results may vary.