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
| Name | State | Content | Unit | Basis, g | Example portion, g | Content per portion | Energy per portion, kcal | Energy per 100 g, kcal | Description | Note | Sources |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Pumpkin and squash seeds, shelled, roasted without salt | shelled, roasted without salt | 550 | mg | 100 | 30 | 165.0 | 172.2 | 574 | shelled, roasted without salt | shelled, roasted without salt | [1] [2] |
| Chia seeds, dried | dried | 335 | mg | 100 | 30 | 100.5 | 145.8 | 486 | dried | dried | [1] [2] |
| Almonds, dry-roasted without salt | dry-roasted without salt | 279 | mg | 100 | 30 | 83.7 | 179.4 | 598 | dry-roasted without salt | dry-roasted without salt | [1] [2] |
| Cashews, dry-roasted without salt | dry-roasted without salt | 260 | mg | 100 | 30 | 78.0 | 172.2 | 574 | dry-roasted without salt | dry-roasted without salt | [1] [2] |
| Spinach, cooked, drained, without salt | cooked, drained, without salt | 87 | mg | 100 | 85 | 73.95 | 19.55 | 23 | cooked, drained, without salt | cooked, drained, without salt | [3] [2] |
| Black beans, cooked without salt | cooked without salt | 70 | mg | 100 | 90 | 63.0 | 118.8 | 132 | cooked without salt | cooked without salt | [4] [2] |
| Sunflower seeds, shelled, dry-roasted without salt | shelled, dry-roasted without salt | 129 | mg | 100 | 30 | 38.7 | 174.6 | 582 | shelled, dry-roasted without salt | shelled, dry-roasted without salt | [1] [2] |
| Brown long-grain rice, cooked | cooked | 39 | mg | 100 | 140 | 54.6 | 172.2 | 123 | cooked | cooked | [5] [2] |
| Potato, baked with skin, without salt | baked with skin, without salt | 28 | mg | 100 | 110 | 30.8 | 102.3 | 93 | baked with skin, without salt | baked with skin, without salt | [3] [2] |
| Oats, dry, unfortified | dry, unfortified | 138 | mg | 100 | 40 | 55.2 | 151.6 | 379 | dry, unfortified | dry, unfortified | [6] [2] |
Information from the source
| Region | Organisation | Type | Age | Sex or condition | mg/day | Basis | Source section | Sources |
|---|---|---|---|---|---|---|---|---|
| US | FNB/NASEM via NIH ODS | AI | 0–6 months | males | 30 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | AI | 0–6 months | females | 30 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | AI | 7–12 months | males | 75 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | AI | 7–12 months | females | 75 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 1–3 years | males | 80 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 1–3 years | females | 80 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 4–8 years | males | 130 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 4–8 years | females | 130 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 9–13 years | males | 240 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 9–13 years | females | 240 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 14–18 years | males | 410 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 14–18 years | females | 360 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 14–18 years | pregnancy | 400 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 14–18 years | breastfeeding | 360 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 19–30 years | males | 400 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 19–30 years | females | 310 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 19–30 years | pregnancy | 350 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 19–30 years | breastfeeding | 310 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 31–50 years | males | 420 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 31–50 years | females | 320 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 31–50 years | pregnancy | 360 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 31–50 years | breastfeeding | 320 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 51+ years | males | 420 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| US | FNB/NASEM via NIH ODS | RDA | 51+ years | females | 320 | Total intake from food, beverages, supplements and medicines | Table 1 | [7] |
| EU | EFSA NDA Panel 2015 | AI | 7–11 months | males | 80 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 7–11 months | females | 80 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 1–3 years | males | 170 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 1–3 years | females | 170 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 3–10 years | males | 230 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 3–10 years | females | 230 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 10–18 years | males | 300 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 10–18 years | females | 250 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 18+ years | males | 350 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
| EU | EFSA NDA Panel 2015 | AI | 18+ years | females | 300 | Total intake from food; for pregnancy and breastfeeding the value is the same as for women aged 18 and over | Abstract/Table 5 final published opinion | [8] |
Information from the source
| Region | Organisation | Age | mg/day | Basis | Status | Source section | Sources |
|---|---|---|---|---|---|---|---|
| US | FNB/NASEM via NIH ODS | 0–12 months | — | Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excluded | not established | Table 3 | [7] [9] |
| US | FNB/NASEM via NIH ODS | 1–3 years | 65 | Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excluded | UL | Table 3 | [7] [9] |
| US | FNB/NASEM via NIH ODS | 4–8 years | 110 | Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excluded | UL | Table 3 | [7] [9] |
| US | FNB/NASEM via NIH ODS | 9–18 years | 350 | Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excluded | UL | Table 3 | [7] [9] |
| US | FNB/NASEM via NIH ODS | 19+ years | 350 | Only elemental magnesium from supplements and medicines; naturally occurring magnesium in food and beverages is excluded | UL | Table 3 | [7] [9] |
| EU | SCF 2001, repeated in EFSA 2025 summary | 1–3 years | — | Not established for this age group | not defined | Table 1 magnesium row | [7] [9] |
| EU | SCF 2001, repeated in EFSA 2025 summary | 4+ years, including pregnancy and lactation | 250 | Readily dissociating salts and compounds, including magnesium oxide, from supplements, water and fortified foods; naturally occurring magnesium in food and beverages is excluded | UL | Table 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.
| Parameter | Data |
|---|---|
| Result | 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. |
| Participants | General information; special groups are specified separately |
| Form | Not applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form. |
| Dose | Not applicable: the fact does not specify an amount or dose. |
| Dose basis | Not applicable: the fact does not specify an amount or dose. |
| Comparator | Not applicable: descriptive fact, without a comparative study. |
| Duration | Not applicable: descriptive fact; intervention duration is not assessed. |
| Confidence | A numerical effectiveness rating does not apply to this reference entry. |
| Evidence base | Named publications: 1 |
| Sources | [7] |
The FDA advises professionals to consider measuring magnesium before prolonged treatment with proton pump inhibitors and monitoring periodically during treatment.
| Parameter | Data |
|---|---|
| Result | The FDA advises professionals to consider measuring magnesium before prolonged treatment with proton pump inhibitors and monitoring periodically during treatment. |
| Participants | People starting or receiving long-term PPI treatment |
| Form | Not applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form. |
| Dose | Not applicable: the fact does not specify an amount or dose. |
| Dose basis | Not applicable: the fact does not specify an amount or dose. |
| Comparator | Not applicable: descriptive fact, without a comparative study. |
| Duration | long-term PPI treatment |
| Confidence | A numerical effectiveness rating does not apply to this reference entry. |
| Evidence base | Named 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.
| Parameter | Data |
|---|---|
| Result | 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. |
| Participants | General information; special groups are specified separately |
| Form | Not applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form. |
| Dose | serum Mg, mmol/L; not a supplement dose |
| Dose basis | serum Mg, mmol/L; not a supplement dose |
| Comparator | Not applicable: descriptive fact, without a comparative study. |
| Duration | Not applicable: descriptive fact; intervention duration is not assessed. |
| Confidence | A numerical effectiveness rating does not apply to this reference entry. |
| Evidence base | Named 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.
| Parameter | Data |
|---|---|
| Result | 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. |
| Participants | The specified risk groups |
| Form | Not applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form. |
| Dose | Not applicable: the fact does not specify an amount or dose. |
| Dose basis | Not applicable: the fact does not specify an amount or dose. |
| Comparator | Not applicable: descriptive fact, without a comparative study. |
| Duration | Not applicable: descriptive fact; intervention duration is not assessed. |
| Confidence | A numerical effectiveness rating does not apply to this reference entry. |
| Evidence base | Named 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.
| Parameter | Data |
|---|---|
| Result | 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. |
| Participants | General information; special groups are specified separately |
| Form | Not applicable: the statement concerns magnesium or the category as a whole; the source does not specify a particular form. |
| Dose | For adults, the UL is 350 mg/day from supplements and medicines; it is not a target dose or a universal guarantee of safety. |
| Dose basis | For adults, the UL is 350 mg/day from supplements and medicines; it is not a target dose or a universal guarantee of safety. |
| Comparator | Not applicable: descriptive fact, without a comparative study. |
| Duration | Not applicable: descriptive fact; intervention duration is not assessed. |
| Confidence | A numerical effectiveness rating does not apply to this reference entry. |
| Evidence base | Named 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
- 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
- Reference Amounts Customarily Consumed: List of Products for Each Product Category: Guidance for Industry. https://www.fda.gov/media/102587/download
- 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
- 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
- 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
- USDA National Nutrient Database for Standard Reference, Release 28 — Breakfast Cereals. https://www.ars.usda.gov/ARSUserFiles/80400535/Data/SR/SR28/reports/sr28fg08.pdf
- Magnesium - Health Professional Fact Sheet. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
- Scientific Opinion on Dietary Reference Values for magnesium. https://doi.org/10.2903/j.efsa.2015.4186
- 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