Magnesium in food: foods, intake levels and testing

Where magnesium is found, how to distinguish total intake recommendations from the supplement upper limit, and what a blood test shows.

Key points

  • Magnesium comes from food: for example, 30 g of roasted shelled pumpkin seeds contains about 165 mg. Consider the actual portion along with the rest of your diet. [1] [2] [3] [4] [5] [6] See the evidence 1
  • The US recommended intake covers magnesium from food, beverages, supplements and medicines. For adults, the US upper level is 350 mg daily from supplements and medicines only; it is not a target dose. [7] [8] [9] See the evidence 1 2
  • A serum magnesium test helps with assessment but does not accurately show all the body’s stores. If you take certain stomach-acid-reducing medicines long term, discuss with a doctor whether measurement and monitoring are needed. [7] See the evidence 1 2

Practical guide

Check the conclusions and whether they apply to your situation.

Magnesium can be obtained from ordinary foods. To assess intake, compare portions and the total recommendation for age and condition.

How to assess intake

Why these conclusions

Food, intake levels and testing

Roasted shelled pumpkin seeds provide about 165 mg magnesium per 30 g, dry-roasted almonds about 84 mg per 30 g, and cooked black beans 63 mg per 90 g. The table also gives the state of the foods and other portions. [1] [2] [3] [4] [5] [6]

US intake recommendations vary by age and condition. For example, the RDA is 80 mg daily for children aged 1–3 years, 420 mg for men aged 51 and older, and 320 mg for women of the same age; this is total intake, not the supplement amount. [7]

At ages 19–30, the US RDA is 350 mg daily during pregnancy and 310 mg daily during breastfeeding, from all sources. Compare the sum from diet and supplements with the recommendation. [7]

In the US, the upper level for adults is 350 mg elemental magnesium daily from supplements and medicines. In the EU, for specified readily dissociating compounds, including oxide, the limit of 250 mg applies to supplements, water and fortified foods: the bases of these limits differ. [7] [9]

Serum magnesium is often measured, but it poorly reflects total body magnesium. NIH gives a usual range of 0.75–0.95 mmol/L; the result is assessed in light of the laboratory reference range and clinical data. [7]

Content in foods

NameStateContentUnitBasis, gExample portion, gContent per portionEnergy per portion, kcalEnergy per 100 g, kcalDescriptionNoteSources
Pumpkin and squash seeds, shelled, roasted without saltshelled, roasted without salt550mg10030165.0172.2574shelled, roasted without saltshelled, roasted without salt[1] [2]
Chia seeds, drieddried335mg10030100.5145.8486drieddried[1] [2]
Almonds, dry-roasted without saltdry-roasted without salt279mg1003083.7179.4598dry-roasted without saltdry-roasted without salt[1] [2]
Cashews, dry-roasted without saltdry-roasted without salt260mg1003078.0172.2574dry-roasted without saltdry-roasted without salt[1] [2]
Spinach, cooked, drained, without saltcooked, drained, without salt87mg1008573.9519.5523cooked, drained, without saltcooked, drained, without salt[3] [2]
Black beans, cooked without saltcooked without salt70mg1009063.0118.8132cooked without saltcooked without salt[4] [2]
Sunflower seeds, shelled, dry-roasted without saltshelled, dry-roasted without salt129mg1003038.7174.6582shelled, dry-roasted without saltshelled, dry-roasted without salt[1] [2]
Brown long-grain rice, cookedcooked39mg10014054.6172.2123cookedcooked[5] [2]
Potato, baked with skin, without saltbaked with skin, without salt28mg10011030.8102.393baked with skin, without saltbaked with skin, without salt[3] [2]
Oats, dry, unfortifieddry, unfortified138mg1004055.2151.6379dry, unfortifieddry, unfortified[6] [2]

Information from the source

RegionOrganisationTypeAgeSex or conditionmg/dayBasisSource sectionSources
USFNB/NASEM via NIH ODSAI0–6 monthsmales30Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSAI0–6 monthsfemales30Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSAI7–12 monthsmales75Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSAI7–12 monthsfemales75Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA1–3 yearsmales80Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA1–3 yearsfemales80Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA4–8 yearsmales130Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA4–8 yearsfemales130Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA9–13 yearsmales240Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA9–13 yearsfemales240Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA14–18 yearsmales410Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA14–18 yearsfemales360Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA14–18 yearspregnancy400Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA14–18 yearsbreastfeeding360Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA19–30 yearsmales400Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA19–30 yearsfemales310Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA19–30 yearspregnancy350Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA19–30 yearsbreastfeeding310Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA31–50 yearsmales420Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA31–50 yearsfemales320Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA31–50 yearspregnancy360Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA31–50 yearsbreastfeeding320Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA51+ yearsmales420Total intake from food, beverages, supplements and medicinesTable 1[7]
USFNB/NASEM via NIH ODSRDA51+ yearsfemales320Total intake from food, beverages, supplements and medicinesTable 1[7]
EUEFSA NDA Panel 2015AI7–11 monthsmales80Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI7–11 monthsfemales80Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI1–3 yearsmales170Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI1–3 yearsfemales170Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI3–10 yearsmales230Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI3–10 yearsfemales230Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI10–18 yearsmales300Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI10–18 yearsfemales250Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI18+ yearsmales350Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]
EUEFSA NDA Panel 2015AI18+ yearsfemales300Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and overAbstract/Table 5 final published opinion[8]

Information from the source

RegionOrganisationAgemg/dayBasisStatusSource sectionSources
USFNB/NASEM via NIH ODS0–12 months—Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excludednot establishedTable 3[7] [9]
USFNB/NASEM via NIH ODS1–3 years65Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excludedULTable 3[7] [9]
USFNB/NASEM via NIH ODS4–8 years110Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excludedULTable 3[7] [9]
USFNB/NASEM via NIH ODS9–18 years350Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excludedULTable 3[7] [9]
USFNB/NASEM via NIH ODS19+ years350Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excludedULTable 3[7] [9]
EUSCF 2001, repeated in EFSA 2025 summary1–3 years—Not established for this age groupnot definedTable 1 magnesium row[7] [9]
EUSCF 2001, repeated in EFSA 2025 summary4+ years, including pregnancy and lactation250Readily dissociating salts and compounds, including magnesium oxide, from supplements, water and fortified foods; naturally occurring magnesium in food and beverages is excludedULTable 1 magnesium row and footnote (g)[7] [9]

Serum magnesium is often measured when assessing status, but correlates poorly with total magnesium in the body and tissues; a comprehensive assessment may include tests and clinical examination.

ParameterData
ResultSerum magnesium is often measured when assessing status, but correlates poorly with total magnesium in the body and tissues; a comprehensive assessment may include tests and clinical examination.
ParticipantsGeneral information; special groups are specified separately
FormNot applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form.
DoseNot applicable: the fact does not specify an amount or dose.
Dose basisNot applicable: the fact does not specify an amount or dose.
ComparatorNot applicable: descriptive fact, without a comparative study.
DurationNot applicable: descriptive fact; intervention duration is not assessed.
ConfidenceA numerical effectiveness rating does not apply to this reference entry.
Evidence baseNamed publications: 1
Sources[7]

The FDA advises professionals to consider measuring magnesium before prolonged treatment with proton pump inhibitors and monitoring periodically during treatment.

ParameterData
ResultThe FDA advises professionals to consider measuring magnesium before prolonged treatment with proton pump inhibitors and monitoring periodically during treatment.
ParticipantsPeople starting or receiving long-term PPI treatment
FormNot applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form.
DoseNot applicable: the fact does not specify an amount or dose.
Dose basisNot applicable: the fact does not specify an amount or dose.
ComparatorNot applicable: descriptive fact, without a comparative study.
Durationlong-term PPI treatment
ConfidenceA numerical effectiveness rating does not apply to this reference entry.
Evidence baseNamed publications: 1
Sources[7]

NIH gives a usual serum magnesium range of 0.75–0.95 mmol/L and defines hypomagnesemia as below 0.75 mmol/L; interpretation of an individual result considers laboratory and clinical data.

ParameterData
ResultNIH gives a usual serum magnesium range of 0.75–0.95 mmol/L and defines hypomagnesemia as below 0.75 mmol/L; interpretation of an individual result considers laboratory and clinical data.
ParticipantsGeneral information; special groups are specified separately
FormNot applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form.
Doseserum Mg, mmol/L; not a supplement dose
Dose basisserum Mg, mmol/L; not a supplement dose
ComparatorNot applicable: descriptive fact, without a comparative study.
DurationNot applicable: descriptive fact; intervention duration is not assessed.
ConfidenceA numerical effectiveness rating does not apply to this reference entry.
Evidence baseNamed publications: 1
Sources[7]

The risk of deficiency is higher with certain intestinal diseases, type 2 diabetes, alcohol dependence and older age; impaired kidney function increases the risk of magnesium toxicity.

ParameterData
ResultThe risk of deficiency is higher with certain intestinal diseases, type 2 diabetes, alcohol dependence and older age; impaired kidney function increases the risk of magnesium toxicity.
ParticipantsThe specified risk groups
FormNot applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form.
DoseNot applicable: the fact does not specify an amount or dose.
Dose basisNot applicable: the fact does not specify an amount or dose.
ComparatorNot applicable: descriptive fact, without a comparative study.
DurationNot applicable: descriptive fact; intervention duration is not assessed.
ConfidenceA numerical effectiveness rating does not apply to this reference entry.
Evidence baseNamed publications: 1
Sources[7]

RDA recommendations refer to magnesium from all food, beverages, supplements and medicines, whereas the UL counts magnesium from supplements and medicines but not magnesium naturally present in food and beverages.

ParameterData
ResultRDA recommendations refer to magnesium from all food, beverages, supplements and medicines, whereas the UL counts magnesium from supplements and medicines but not magnesium naturally present in food and beverages.
ParticipantsGeneral information; special groups are specified separately
FormNot applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form.
DoseFor adults, the UL is 350 mg/day from supplements and medicines; it is not a target dose or a universal guarantee of safety.
Dose basisFor adults, the UL is 350 mg/day from supplements and medicines; it is not a target dose or a universal guarantee of safety.
ComparatorNot applicable: descriptive fact, without a comparative study.
DurationNot applicable: descriptive fact; intervention duration is not assessed.
ConfidenceA numerical effectiveness rating does not apply to this reference entry.
Evidence baseNamed publications: 1
Sources[7]

More details

Who should particularly discuss assessment

The risk of deficiency is higher with certain intestinal diseases, type 2 diabetes, alcohol dependence and older age. Impaired kidney function increases the risk of magnesium toxicity. [7]

For long-term proton pump inhibitor treatment, the FDA suggests that professionals consider magnesium testing before treatment and periodically during it. Discuss the need for testing and the result with a doctor in light of your circumstances. [7]

Sources

  1. USDA National Nutrient Database for Standard Reference, Release 28 — Nut and Seed Products. https://www.ars.usda.gov/ARSUserFiles/80400535/Data/SR/SR28/reports/sr28fg12.pdf
  2. Reference Amounts Customarily Consumed: List of Products for Each Product Category: Guidance for Industry. https://www.fda.gov/media/102587/download
  3. USDA National Nutrient Database for Standard Reference, Release 28 — Vegetables and Vegetable Products. https://www.ars.usda.gov/ARSUserFiles/80400535/Data/SR/SR28/reports/sr28fg11.pdf
  4. USDA National Nutrient Database for Standard Reference, Release 28 — Legumes and Legume Products. https://www.ars.usda.gov/ARSUserFiles/80400535/Data/SR/SR28/reports/sr28fg16.pdf
  5. USDA National Nutrient Database for Standard Reference, Release 28 — Cereal Grains and Pasta. https://www.ars.usda.gov/ARSUserFiles/80400535/Data/SR/SR28/reports/sr28fg20.pdf
  6. USDA National Nutrient Database for Standard Reference, Release 28 — Breakfast Cereals. https://www.ars.usda.gov/ARSUserFiles/80400535/Data/SR/SR28/reports/sr28fg08.pdf
  7. Magnesium - Health Professional Fact Sheet. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
  8. Scientific Opinion on Dietary Reference Values for magnesium. https://doi.org/10.2903/j.efsa.2015.4186
  9. Overview on Tolerable Upper Intake Levels as derived by the Scientific Committee on Food (SCF) and the EFSA Panel on Dietetic Products, Nutrition and Allergies (NDA). https://www.efsa.europa.eu/sites/default/files/assets/UL_Summary_tables.pdf

Methodology: Subpages evidence-led supplement pipeline v1

Ingredient overview: Magnesium