Back to Nutrition
Nutrition

Foods High in Magnesium: Complete List with Daily Values

Discover the best foods high in magnesium — from pumpkin seeds to spinach. Includes exact mg per serving, % daily values, signs of deficiency, and how to boost intake daily.

Sep 07 20262 views
Foods High in Magnesium: Complete List with Daily Values
Share:

Nearly half of all American adults fail to meet their daily magnesium requirement from food making magnesium deficiency one of the most widespread nutritional shortfalls in the United States, according to data from the National Health and Nutrition Examination Survey (NHANES).

The consequences are wide-ranging. Magnesium is required for over 300 enzymatic reactions in the human body from energy production and protein synthesis to blood sugar regulation and nerve function. Low magnesium is associated with muscle cramps, poor sleep, high blood pressure, migraines, anxiety, and an increased risk of type 2 diabetes and cardiovascular disease.

This guide covers the 20 best foods high in magnesium with exact milligrams per serving, explains how much you need daily, and gives practical strategies for closing the gap through food rather than supplements.

Why Magnesium Is Critical for Your Health

Magnesium is the fourth most abundant mineral in the human body and the second most abundant intracellular mineral after potassium. It acts as a cofactor, a helper molecule for over 300 enzymes controlling processes that keep every cell functioning. Key roles include:

Energy production: Every molecule of ATP (adenosine triphosphate) — the energy currency your cells run on must be bound to magnesium to be biologically active. No magnesium, no usable cellular energy.

Muscle function: Magnesium acts as a natural calcium antagonist. Calcium triggers muscle contraction; magnesium enables relaxation. This is why low magnesium is the most common nutritional cause of muscle cramps, spasms, and twitches.

Blood sugar regulation: Magnesium is a required cofactor for the enzymes that process glucose and for insulin receptor signaling. Research consistently links low dietary magnesium to higher fasting blood glucose and insulin resistance. A 2017 meta-analysis in Nutrients found that magnesium supplementation improved insulin sensitivity and reduced fasting blood glucose in people with magnesium deficiency.

Blood pressure: Magnesium relaxes the smooth muscle of blood vessel walls a direct mechanism for lowering blood pressure. A large meta-analysis of 34 randomized controlled trials found that magnesium supplementation reduced systolic blood pressure by an average of 2–4 mmHg.

Sleep and the nervous system: Magnesium activates the parasympathetic nervous system (the "rest and digest" state) and regulates the GABA neurotransmitter system the primary inhibitory system that calms neural activity. Multiple clinical trials have found magnesium supplementation improves sleep quality, sleep duration, and sleep onset in people with inadequate magnesium intake.

Bone health: Approximately 60% of the body's total magnesium is stored in bones. Magnesium deficiency reduces bone mineral density independently of calcium and vitamin D making it a critical but often overlooked factor in osteoporosis prevention.

How Much Magnesium Do You Need Per Day?

The Recommended Dietary Allowances (RDA) from the National Institutes of Health are:

Group
Magnesium RDA
Men 19–30 years
400 mg/day
Men 31 years and older
420 mg/day
Women 19–30 years
310 mg/day
Women 31 years and older
320 mg/day
Pregnant women 19–30
350 mg/day
Pregnant women 31+
360 mg/day
Breastfeeding women
310–320 mg/day
Teens, males 14–18
410 mg/day
Teens, females 14–18
360 mg/day

The % Daily Value (DV) on US food labels is based on 420 mg per day the higher end of the adult range. All percentages in the tables below use this figure.

The Best Foods High in Magnesium Complete List

Seeds — Highest Magnesium Density of Any Food Group

Seeds are the most magnesium-dense food category available. A single ounce of pumpkin seeds delivers more magnesium than any other commonly eaten food.

Food
Serving
Magnesium (mg)
% Daily Value
Pumpkin seeds (pepitas), dried
1 oz (28g)
156 mg
37%
Chia seeds
1 oz (28g)
111 mg
26%
Flaxseeds
1 oz (28g)
110 mg
26%
Sesame seeds
1 oz (28g)
101 mg
24%

Source: USDA FoodData Central

Why pumpkin seeds win: One ounce of pumpkin seeds covers more than one-third of the daily magnesium requirement making them the most efficient single-food source available. They are also rich in zinc, iron, and healthy fats. A small handful as a daily snack or salad topping is one of the easiest ways to meaningfully close a magnesium gap. They are also one of the best plant-based sources of iron.

Dark Leafy Greens — High Volume, High Magnesium

Cooked leafy greens offer exceptional magnesium content because cooking collapses the volume — one cup of cooked spinach contains what would be many cups of raw spinach.

Food
Serving
Magnesium (mg)
% Daily Value
Spinach, boiled
1 cup (180g)
157 mg
37%
Swiss chard, boiled
1 cup (175g)
150 mg
36%
Kale, boiled
1 cup (130g)
37 mg
9%
Edamame, cooked
1 cup (155g)
99 mg
24%

Cooked spinach and Swiss chard are among the highest magnesium foods per serving — delivering the same percentage as pumpkin seeds in a larger, more filling portion. Both are also rich in vitamin K, iron, and folate, making them nutritional powerhouses beyond magnesium alone. See their full iron content in our iron foods guide.

Nuts — Practical Daily Magnesium Sources

Nuts are practical, portable, and provide magnesium alongside heart-healthy fats, protein, and fiber.

Food
Serving
Magnesium (mg)
% Daily Value
Brazil nuts
1 oz (28g)
107 mg
25%
Cashews, dry roasted
1 oz (28g)
74 mg
18%
Almonds, dry roasted
1 oz (28g)
77 mg
18%
Peanuts, dry roasted
1 oz (28g)
50 mg
12%
Walnuts
1 oz (28g)
44 mg
10%

Brazil nuts stand out for their remarkable selenium content alongside magnesium — one to two Brazil nuts per day provides the entire RDA for selenium, a trace mineral important for thyroid function and antioxidant defense.

Cashews offer the best magnesium-to-calorie ratio among commonly eaten nuts. They also provide zinc and copper in meaningful amounts, making them a versatile nutritional choice. Cashews and almonds are also good protein sources.

Legumes — High Magnesium with Bonus Fiber and Protein

Legumes are the most affordable source of meaningful magnesium in the American diet, and they deliver it alongside substantial protein, iron, and prebiotic fiber.

Food
Serving
Magnesium (mg)
% Daily Value
Black beans, boiled
1 cup (172g)
120 mg
29%
Kidney beans, boiled
1 cup (177g)
74 mg
18%
Chickpeas, boiled
1 cup (164g)
79 mg
19%
Lentils, boiled
1 cup (198g)
71 mg
17%
Lima beans, boiled
1 cup (188g)
81 mg
19%

Black beans offer the highest magnesium among legumes and are widely used in American cooking in burritos, soups, salads, and grain bowls. A single cup covers nearly 30% of the daily magnesium requirement while also delivering 15g of protein, 15g of fiber, and significant iron content. Black beans are also an excellent gut prebiotic food

Whole Grains — Consistent Everyday Contributors

Whole grains contribute steady amounts of magnesium across multiple meals each day. Refined grains (white bread, white rice, white pasta) lose up to 80% of their magnesium during milling — one of the primary reasons so many Americans fall short.

Food
Serving
Magnesium (mg)
% Daily Value
Quinoa, cooked
1 cup (185g)
118 mg
28%
Buckwheat, cooked
1 cup (168g)
86 mg
20%
Brown rice, cooked
1 cup (202g)
84 mg
20%
Oats, cooked
1 cup (234g)
61 mg
15%
Whole wheat bread
2 slices (56g)
46 mg
11%

Quinoa is particularly notable it provides more magnesium per cup than brown rice while also being a complete protein. It is also gluten-free, making it an excellent choice for people with gluten sensitivity. Replacing white rice with quinoa or brown rice is one of the simplest dietary upgrades for magnesium intake.

Fish — Overlooked Magnesium Source

Fatty fish delivers meaningful magnesium alongside omega-3 fatty acids and protein — a combination with significant anti-inflammatory and cardiovascular benefits. See the full anti-inflammatory benefits of fatty fish.

Food
Serving
Magnesium (mg)
% Daily Value
Halibut, cooked
3 oz (85g)
91 mg
22%
Mackerel, cooked
3 oz (85g)
82 mg
20%
Salmon, cooked
3 oz (85g)
26 mg
6%

Halibut and mackerel are significantly higher in magnesium than salmon — a fact that surprises most people. Mackerel in particular is underutilized in American kitchens despite being one of the most nutrient-dense and affordable fish available.

Other Notable Sources

Food
Serving
Magnesium (mg)
% Daily Value
Dark chocolate (70%+)
1 oz (28g)
64 mg
15%
Avocado, medium
1 medium (150g)
44 mg
10%
Banana, medium
1 medium (118g)
32 mg
8%
Potato, baked with skin
1 large (299g)
81 mg
19%
Tofu, firm
½ cup (126g)
37 mg
9%

What Depletes Magnesium — Know the Risks

Getting enough magnesium from food is only part of the equation. Several common factors increase magnesium losses or impair absorption:

High sugar intake — processing glucose requires magnesium as a cofactor. A diet high in refined sugar and refined carbohydrates continuously draws on magnesium stores.

Excess alcohol — alcohol significantly increases urinary magnesium excretion. Heavy drinkers are at high risk of magnesium deficiency regardless of dietary intake.

Chronic stress — cortisol (the primary stress hormone) increases magnesium excretion through urine. This is one mechanism by which chronic stress worsens sleep quality, blood pressure, and muscle tension — all of which magnesium normally helps regulate.

Certain medications — diuretics (water pills), proton pump inhibitors (PPIs like omeprazole), and some antibiotics reduce magnesium absorption or increase excretion. If you take any of these regularly, discuss magnesium status with your healthcare provider.

Type 2 diabetes — elevated blood glucose increases renal magnesium excretion, creating a vicious cycle: low magnesium worsens insulin resistance, which worsens blood sugar, which further depletes magnesium.

Gut absorption issues — Crohn's disease, celiac disease, and other conditions that cause chronic diarrhea impair mineral absorption throughout the gut. Improving gut health through diet can support mineral absorption.

Age — magnesium absorption decreases with age while renal excretion tends to increase. Adults 65 and older are at significantly higher risk of insufficiency.

Signs You May Not Be Getting Enough Magnesium

Magnesium deficiency (hypomagnesemia) rarely causes dramatic early symptoms it develops gradually and is often dismissed as general fatigue or stress. Watch for:

  • Muscle cramps, twitches, or spasms — especially in the legs at night (a very common early sign)
  • Persistent fatigue despite adequate sleep
  • Difficulty sleeping or staying asleep
  • Frequent headaches or migraines
  • Heart palpitations or irregular heartbeat
  • High blood pressure that is difficult to control
  • Anxiety, irritability, or low mood
  • Constipation and sluggish digestion
  • Numbness or tingling in extremities
  • Loss of appetite and nausea (in more significant deficiency)

If you regularly experience several of these symptoms, discuss magnesium testing with your doctor. A serum magnesium blood test is standard, though it does not reflect total body magnesium stores — a normal serum level does not rule out intracellular depletion.

Practical Ways to Add More Magnesium Daily

The most reliable strategy is stacking small magnesium contributions across multiple meals rather than relying on one large serving:

Breakfast: Swap refined cereal for oatmeal (+61mg). Add a tablespoon of pumpkin seeds on top (+52mg per tbsp). Stir in chia seeds (+111mg per oz).

Lunch: Choose a black bean or lentil-based soup or salad (+70–120mg). Use whole grain bread instead of white (+30mg extra per two slices).

Dinner: Replace white rice with quinoa or brown rice (+30–50mg extra per cup). Include a serving of cooked spinach or Swiss chard (+150–157mg).

Snacks: A small handful of cashews or almonds (+74–77mg). One ounce of dark chocolate (70%+) (+64mg). A banana (+32mg).

Following this approach, it is possible to reach the daily RDA from whole foods without supplements for most adults.

Frequently Asked Questions

Which food has the most magnesium?

Among whole foods, pumpkin seeds (pepitas) and cooked spinach both provide approximately 156–157mg per serving — around 37% of the daily value. Pumpkin seeds win on volume efficiency (one ounce delivers 37% DV), while cooked spinach provides the same amount in a larger, more filling portion alongside iron, potassium, and vitamin K.

Should I take a magnesium supplement?

Ideally, magnesium should come from food first — whole food sources provide magnesium alongside fiber, antioxidants, and other minerals that work synergistically. However, for people who consistently fall short through diet alone (particularly older adults, people with diabetes, or those on diuretics), supplementation may be appropriate. Common forms include magnesium glycinate (best absorbed, least likely to cause digestive upset) and magnesium citrate. Always consult a healthcare provider before starting supplements, as excessive magnesium from supplements can cause diarrhea, nausea, and in rare cases with very high doses, more serious effects.

Does cooking affect magnesium in vegetables?

Yes, boiling leaches some magnesium into the cooking water — research suggests losses of 30–40% with boiling. Steaming or sautéing preserves more magnesium than boiling. However, as the tables above show, cooked spinach and Swiss chard still provide very high magnesium levels even after cooking-related losses because the raw volume condenses so significantly.

Can you get too much magnesium from food?

Excess magnesium from food sources is extremely rare in healthy people — the kidneys efficiently excrete surplus dietary magnesium. The tolerable upper intake level (UL) set by the NIH applies specifically to supplemental magnesium (350mg/day from supplements for adults), not food. Excessive supplemental magnesium can cause diarrhea, nausea, and abdominal cramps.

Why does magnesium help with sleep?

Magnesium regulates the GABA (gamma-aminobutyric acid) neurotransmitter system — the brain's primary inhibitory system that produces calm and promotes sleep. It also regulates melatonin production and activates the parasympathetic nervous system. When magnesium levels are insufficient, the nervous system has difficulty quieting down for sleep. Multiple placebo-controlled trials have shown that magnesium supplementation improves sleep onset, sleep duration, and sleep quality in adults with low dietary magnesium intake.

The Bottom Line

Magnesium is essential, widely deficient, and almost completely controllable through food choice. The highest-impact foods are pumpkin seeds, cooked spinach and Swiss chard, black beans, quinoa, and nuts all of which are affordable, widely available, and easy to incorporate daily.

The most important single dietary shift: replace refined grains with whole grains consistently. White rice → brown rice or quinoa. White bread → whole grain. This one change alone restores a substantial portion of the magnesium that food processing removes.

For a complete nutritional foundation, also explore the best anti-inflammatory foods → link to to round out your micronutrient intake.

Was this page helpful?

Be the first to like this page

Fact Checked By

ThePeopleHealth.comVerified Source

This article has been fact-checked and verified by the editorial team at ThePeopleHealth.com to ensure accuracy and reliability of health information.