Healthy Years Report
Healthy Years Report is reader-supported. Some pages contain affiliate links, and we may earn a commission at no extra cost to you. Learn more.

Everyday nutrition

Magnesium-Rich Foods: How Much You Need and Where to Find It

The short answerAdults over 50 need 420 milligrams of magnesium a day for men and 320 milligrams for women. The richest foods are pumpkin seeds, chia seeds, almonds, spinach, cashews, peanuts, beans and whole grains. Many Americans eat less than the recommended amount, and in large studies higher intake from food went along with lower risk of stroke, heart failure and type 2 diabetes. Those studies show an association, not proof, and supplements carry their own limits.

Magnesium rarely makes headlines, but your body uses it all day. It is part of more than 300 enzyme systems that help with muscle and nerve function, blood sugar control and blood pressure. It also helps keep a normal heart rhythm and helps build bone.

Here is how much you need, which foods have it, and what the research says.

How much magnesium you need

The National Academies set the Recommended Dietary Allowance (RDA) by age and sex. Here are the numbers for adults, from the NIH Office of Dietary Supplements:

AgeMenWomen
19 to 30 years400 mg310 mg
31 to 50 years420 mg320 mg
51 years and older420 mg320 mg

Pregnancy and breastfeeding have slightly different numbers. The label Daily Value is 420 mg.

Only about 30 to 40 percent of the magnesium in food and drinks is absorbed. And the NIH says many people in the United States eat less than the recommended amount. The highest risk of low intake is among men aged 71 and older and teenagers.

Foods with the most magnesium

The NIH lists magnesium in common foods using USDA data. Here are the best sources, from the NIH table:

Food and servingMagnesium% Daily Value
Pumpkin seeds, roasted, 1 ounce156 mg37%
Chia seeds, 1 ounce111 mg26%
Almonds, dry roasted, 1 ounce80 mg19%
Spinach, boiled, 1/2 cup78 mg19%
Cashews, dry roasted, 1 ounce74 mg18%
Peanuts, oil roasted, 1/4 cup63 mg15%
Shredded wheat cereal, 2 large biscuits61 mg15%
Soy milk, plain or vanilla, 1 cup61 mg15%
Black beans, cooked, 1/2 cup60 mg14%
Edamame, shelled, cooked, 1/2 cup50 mg12%
Peanut butter, smooth, 2 tablespoons49 mg12%
Baked potato with skin, 3.5 ounces43 mg10%
Brown rice, cooked, 1/2 cup42 mg10%
Plain low-fat yogurt, 8 ounces42 mg10%
Banana, 1 medium32 mg8%
Salmon, farmed Atlantic, cooked, 3 ounces26 mg6%

Two patterns stand out. First, seeds and nuts pack the most magnesium in a small serving. Second, whole grains beat refined grains. Half a cup of cooked brown rice has 42 mg, while the same amount of white rice has 10 mg. A slice of whole wheat bread has 23 mg.

The NIH names the main sources as green leafy vegetables, legumes, nuts, seeds, whole grains and some beverages. Many of these are also good sources of protein and fiber. See our guides to plant protein after 50 and how much fiber you need per day.

What the research shows

The largest look at magnesium and health is a 2016 meta-analysis that combined 40 prospective studies with more than 1 million people, followed for 4 to 30 years. For every 100 mg more magnesium a day from food, the researchers found:

OutcomeChange in risk per 100 mg a day
Type 2 diabetes19% lower
Heart failure22% lower
Stroke7% lower
Death from any cause10% lower
Heart disease overallNo significant difference

What this does not prove. These were observational studies, which follow people over time and cannot show cause and effect. People who eat more magnesium usually eat more nuts, beans and whole grains and may differ in other ways too. The NIH also notes that trials of magnesium supplements have mostly been small. Supplements only marginally lowered blood pressure, and the American Diabetes Association says there is not enough evidence to recommend magnesium to improve blood sugar control in people with diabetes.

The takeaway is practical. The foods rich in magnesium are the same ones healthy eating patterns already recommend, so adding them is a low-risk move.

Who may fall short

The NIH says some groups are more likely to have low magnesium: older adults, people with gastrointestinal diseases, people with type 2 diabetes and people with alcohol dependence. Some medicines, including diuretics and proton pump inhibitors for heartburn, can also affect magnesium levels.

Real deficiency is uncommon in healthy people. Its early signs, such as loss of appetite, nausea, fatigue and weakness, are not specific, so they are not a reason to guess. If you think you may be low, ask your doctor.

What about supplements

It is hard to get too much magnesium from food in healthy people. Supplements and some medicines are different. The NIH says high doses can cause diarrhea, nausea and abdominal cramping, and very high doses can be dangerous. The Tolerable Upper Intake Level for supplemental magnesium is 350 mg a day for adults. This limit applies to supplements and medicines, not to the magnesium in food.

Magnesium can also interact with some medicines, including certain osteoporosis drugs (oral bisphosphonates) and antibiotics (tetracyclines and quinolones). The NIH notes that forms of magnesium that dissolve well, such as citrate, tend to be better absorbed than magnesium oxide.

If you are considering a supplement, or if you have kidney disease or take medicines regularly, talk to your doctor or pharmacist first. For most people, the first step is food.

A sample day with magnesium-rich foods

This is one way to reach about 350 mg, using the NIH serving sizes above. The total is my arithmetic, and it is an illustration and not a prescription.

MealFoodMagnesium
Breakfast1 packet instant oatmeal, 1 ounce almonds116 mg
Lunch1/2 cup black beans with 1/2 cup brown rice102 mg
Snack1 banana32 mg
Dinner3 ounces salmon with 1/2 cup boiled spinach104 mg
Total354 mg

That is above the 320 mg women need. Men can add 1 ounce of pumpkin seeds (156 mg), which brings the day to 510 mg. Add them to a salad or a bowl of yogurt.

Five simple swaps to get more

  1. Switch to whole grains. Brown rice, whole wheat bread and shredded wheat have several times more magnesium than their refined versions.
  2. Keep a seed and nut jar. A small handful of pumpkin seeds, almonds or cashews is the fastest way to add magnesium.
  3. Add beans to a meal you already eat. Black beans in a salad or soup add 60 mg for a half cup.
  4. Stir chia into yogurt or oatmeal. One ounce has 111 mg.
  5. Add a leafy green. Spinach cooked into eggs, soups or pasta gives you 78 mg per half cup.

On a label, magnesium is not always shown, but when it is, check the percent Daily Value. Our guide to reading a Nutrition Facts label explains the 5 and 20 percent rule.

The takeaways

  • Adults over 50 need 420 mg a day (men) and 320 mg (women).
  • Pumpkin seeds, chia, almonds, spinach, cashews, beans and whole grains are the richest foods.
  • In a large analysis, more dietary magnesium was linked to lower risk of stroke, heart failure and type 2 diabetes. It shows an association, not cause.
  • Whole grains have far more magnesium than refined grains.
  • Supplements have an upper limit of 350 mg and can interact with medicines, so ask your doctor first.

Magnesium questions people ask

How much magnesium do you need per day?
The Recommended Dietary Allowance for adults over 50 is 420 milligrams a day for men and 320 milligrams for women, according to the NIH Office of Dietary Supplements. Younger adults need slightly less, and pregnancy changes the numbers.
What foods are highest in magnesium?
Pumpkin seeds have the most per serving, with 156 milligrams in one ounce, followed by chia seeds (111 mg), almonds (80 mg), boiled spinach (78 mg per half cup) and cashews (74 mg). Beans, whole grains, peanuts and soy milk are also good sources.
Is it better to get magnesium from food or supplements?
The NIH says nutritional needs should be met mainly through food. Healthy people rarely get too much magnesium from food, while supplements can cause diarrhea, nausea and cramping at high doses, and the upper limit for supplemental magnesium is 350 milligrams a day for adults.
What are the signs of low magnesium?
Early signs of magnesium deficiency include loss of appetite, nausea, vomiting, fatigue and weakness. These symptoms are not specific to magnesium, and deficiency is uncommon in healthy people, so ask your doctor before assuming you are low.
Does magnesium lower the risk of heart disease or diabetes?
A 2016 meta-analysis of 40 studies with more than 1 million people found that each additional 100 milligrams a day of dietary magnesium was linked to a 19 percent lower risk of type 2 diabetes, a 22 percent lower risk of heart failure and a 7 percent lower risk of stroke, but not to a lower risk of heart disease overall. These were observational studies, so they show an association and not cause and effect.

Sources

  1. National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Recommended intakes, food sources (data from USDA FoodData Central), health and safety.
  2. Fang X, Wang K, Han D, et al. 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 Med. 2016;14(1):210.
About the author

Sarah Mitchell writes Healthy Years Report and is not a doctor or a dietitian. Every number in this guide links to the organization or study that produced it. How this site works.

This guide is for general education. It is not medical advice and is not intended to diagnose, treat, cure or prevent any disease. Talk to your doctor or a registered dietitian before changing your diet, especially if you take medication or manage a health condition.