Blog

Magnesium-Rich Foods: Food List, Supplement Forms and What the Evidence Says

Short answer: The richest magnesium foods are pumpkin seeds (156 mg per ounce), chia seeds (111 mg), almonds (80 mg), boiled spinach (78 mg per half cup) and cashews (74 mg). The NIH RDA for women is 310 to 320 mg a day for adults, from food and any supplements. Deficiency from low intake is uncommon in healthy people. Evidence for magnesium in PCOS and sleep is limited.

Take this with you

PCOS Peach scans any meal or barcode and tells you how it sits with PCOS — plus recipes, meal plans, workouts and full cycle & symptom tracking.

Download on theApp Store

What are the best magnesium-rich foods?

Seeds, nuts, beans and leafy greens lead the list. Roasted pumpkin seeds top the NIH Office of Dietary Supplements (ODS) table at 156 mg per ounce, followed by chia seeds, almonds, boiled spinach and cashews. MedlinePlus adds that most dietary magnesium comes from dark green leafy vegetables, and that legumes, seeds, soy products and whole grains are also good sources.

The tables below reproduce the ODS "selected food sources of magnesium" list, with milligrams per serving and the percent of the Daily Value (DV). The FDA DV for magnesium is 420 mg. Foods are grouped, and listed in ODS order within each group.

Seeds, nuts, beans and legumes

FoodServingMagnesium (mg)% Daily Value
Pumpkin seeds, roasted1 oz15637%
Chia seeds1 oz11126%
Almonds, dry roasted1 oz8019%
Cashews, dry roasted1 oz7418%
Peanuts, oil roasted1/4 cup6315%
Black beans, cooked1/2 cup6014%
Edamame, shelled, cooked1/2 cup5012%
Peanut butter, smooth2 tbsp4912%
Kidney beans, canned1/2 cup358%

Grains, soy and dairy

FoodServingMagnesium (mg)% Daily Value
Shredded wheat cereal2 large biscuits6115%
Soymilk, plain or vanilla1 cup6115%
Brown rice, cooked1/2 cup4210%
Yogurt, plain, low fat8 oz4210%
Fortified breakfast cereal (10% DV)1 serving4210%
Oatmeal, instant1 packet369%
Milk1 cup276%
Whole-wheat bread1 slice235%
White rice, cooked1/2 cup102%

Vegetables and fruit

FoodServingMagnesium (mg)% Daily Value
Spinach, boiled1/2 cup7819%
Potato, baked with skin3.5 oz4310%
Banana1 medium328%
Raisins1/2 cup235%
Avocado, cubed1/2 cup225%
Broccoli, chopped, cooked1/2 cup123%
Apple1 medium92%
Carrot, raw1 medium72%

Fish and meat

FoodServingMagnesium (mg)% Daily Value
Salmon, Atlantic farmed, cooked3 oz266%
Halibut, cooked3 oz246%
Chicken breast, roasted3 oz225%
Ground beef, 90% lean3 oz205%

A few patterns stand out. Refining removes magnesium: brown rice provides 42 mg per half cup against 10 mg for white rice. A small handful of seeds or nuts contributes more than most vegetables per serving. And everyday foods like beans, potatoes and yogurt add up across a day even when none of them looks impressive alone. ODS also notes that tap, mineral and bottled water can contribute, with content varying widely, from about 1 to over 120 mg per liter.

These are food amounts, not targets, and serving sizes differ from item to item. Many of these foods are also high in fiber, so our high fiber foods list overlaps with this one.

What does magnesium do in the body?

MedlinePlus says magnesium is needed for more than 300 biochemical reactions in the body. It helps maintain normal nerve and muscle function, supports the immune system, keeps the heartbeat steady and helps bones stay strong. It also helps adjust blood glucose levels and aids in making energy and protein. Research continues on its role in conditions such as high blood pressure, heart disease and diabetes.

ODS reports that diets higher in magnesium are associated with a significantly lower risk of type 2 diabetes, possibly because of magnesium's role in glucose metabolism. That is an association from observational data, not proof that eating more magnesium prevents diabetes.

How much magnesium do women need?

The NIH Recommended Dietary Allowance (RDA) is the total daily intake considered adequate for nearly all healthy people. It includes magnesium from food, water and any supplements.

GroupRDA for magnesium
Girls 14 to 18360 mg (pregnancy 400 mg; lactation 360 mg)
Women 19 to 30310 mg (pregnancy 350 mg; lactation 310 mg)
Women 31 to 50320 mg (pregnancy 360 mg; lactation 320 mg)
Women 51 and older320 mg

ODS estimates that only about 30 to 40% of dietary magnesium is absorbed. If you compare the RDA with the food tables, a day that includes a handful of seeds or nuts, some beans, a whole grain and a leafy green gets you into the range without anything exotic. Needs are individual, so a clinician or dietitian can tell you whether your own situation calls for anything different.

Who tends to fall short on magnesium?

ODS and MedlinePlus both say that true deficiency from low intake is uncommon in healthy people, because the kidneys limit how much magnesium is lost in urine. Groups more likely to have inadequate magnesium status include people with gastrointestinal diseases such as Crohn's disease or celiac disease, people with type 2 diabetes, people with alcohol dependence, and older adults. ODS adds that some medications increase magnesium losses, so ask your pharmacist if you take regular medicines.

Early signs of low magnesium include loss of appetite, nausea, vomiting, fatigue and weakness, and later signs can include numbness, muscle cramps and abnormal heart rhythms. These symptoms are common and non-specific, and have many other causes, so they are not a reason to self-diagnose or to start a supplement. A clinician can look into the cause.

Magnesium glycinate, citrate and oxide: how do supplement forms differ?

Supplements are sold as different magnesium compounds, most often glycinate (bisglycinate), citrate and oxide. This section describes what research shows about the forms, not what to take.

Two cautions matter most. People with kidney disease should not supplement without a clinician, because reduced kidney function limits how well the body clears extra magnesium. And since some medicines affect magnesium levels, and magnesium-containing laxatives and antacids count toward your intake, tell your clinician or pharmacist about everything you take. The risk of too much magnesium from food is low in healthy people. If you want to read about supplements in general, see our guide to supplements for PCOS.

Magnesium and PCOS

Magnesium comes up in PCOS because of insulin resistance, which is common in the condition. In a 2019 cohort study of 87 women with PCOS and 50 without, women with PCOS reported lower magnesium intake (median 238.9 mg per day vs. 273.9 mg), and within the PCOS group, magnesium intake was inversely correlated with insulin resistance, C-reactive protein and testosterone. It was an association in a small group, so it does not show that magnesium changes those measures.

When researchers tested magnesium as a supplement, the results were not encouraging. A 2025 systematic review and meta-analysis of six randomized trials found no significant effects of magnesium supplementation on cardiometabolic risk factors or hormones in PCOS, and called for more rigorous trials.

The practical reading is that eating magnesium-rich whole foods is sound, but magnesium is not a PCOS treatment. We cover this in more depth in magnesium for PCOS, and our insulin resistance diet guide shows how these foods fit into a day. Weight loss is not the right goal for everyone with PCOS, including people with lean PCOS or a history of disordered eating, and any goals are best set with a clinician or dietitian.

Does magnesium help you sleep?

Magnesium is widely promoted for sleep, but the evidence is modest. A 2021 meta-analysis of three small trials in 151 older adults with insomnia found that people took about 17 minutes less to fall asleep with magnesium than with placebo, but the trials were at moderate to high risk of bias and the evidence quality was low to very low. A 2025 randomized trial of 155 adults with poor sleep found that magnesium bisglycinate modestly improved insomnia severity compared with placebo, with a small effect size. It was funded and run with a contract research organization connected to the supplement industry, which is worth knowing.

A 2026 systematic review of 12 randomized trials concluded that current evidence does not support oral magnesium as a routine treatment for insomnia. It may give modest benefits on some self-reported outcomes for some adults, but findings were inconsistent and certainty was low to very low. If sleep is a problem, our sleep and PCOS guide covers causes worth discussing with a clinician.

When to see a clinician

See a doctor if you have muscle weakness, frequent cramps, numbness or tingling, or a persistent loss of appetite or nausea. Those can come from many causes, and a clinician can decide whether magnesium status needs checking. Seek care straight away for an irregular or racing heartbeat, fainting or seizures.

Frequently asked questions

What foods are highest in magnesium?

Per NIH ODS data: roasted pumpkin seeds (156 mg per ounce), chia seeds (111 mg per ounce), dry-roasted almonds (80 mg per ounce), boiled spinach (78 mg per half cup) and cashews (74 mg per ounce). Black beans, edamame, peanut butter, soymilk and brown rice are also good sources.

How much magnesium do women need a day?

The NIH RDA is 310 mg for women 19 to 30 and 320 mg for women 31 and older, 350 to 360 mg in pregnancy depending on age. This is total intake from food, water and supplements. The FDA Daily Value used on labels is 420 mg.

Is magnesium glycinate better than citrate or oxide?

Research suggests organic forms such as citrate and glycinate are absorbed better than oxide, and one 2003 study found citrate raised blood magnesium most. No form suits everyone, and people with kidney disease or on medicines should check with a clinician first.

Can low magnesium cause cramps or poor sleep?

Muscle cramps and fatigue can be signs of low magnesium, but they have many other causes, and deficiency from low intake is uncommon in healthy people. Evidence for magnesium supplements improving sleep is low to very low certainty. Persistent symptoms deserve a medical assessment.

Does magnesium help PCOS?

Women with PCOS in one 2019 study reported eating less magnesium, and intake correlated with lower insulin resistance, but that is an association. A 2025 meta-analysis of six trials found no significant effect of magnesium supplements on cardiometabolic or hormonal measures in PCOS. Magnesium-rich foods are fine; it is not a treatment.

Sources

Educational only — not medical advice. A clinician can help you work out what applies to you.