EXPLORE A NUTRIENT
Magnesium
Discover how amounts vary across foods, on a shared basis for comparison.
Understand this nutrient ↓What is it?
The element Mg is reported in mg; its amount does not identify a particular compound. [1] [2]

An identity reference, not the appearance of the food.
Description, source and attribution
Element Mg, atomic number 12. The graphic does not assign an oxidation state or compound to the food measurement.
Original Bitameans element graphic; symbol and atomic number from PubChem. Source · Reuse terms
Source check:
A COMMON BASIS
Foods, per 100 g
205 foods with data 1 not reported, excluded from ranking
- Fava beans
Broadbeans (fava beans), mature seeds, cooked, boiled, without salt, exactly as identified by USDA.
43 mg - Ginger
Raw ginger root.
43 mg - Lima beans
Large mature lima beans, boiled without salt.
43 mg - Northern lobster
Crustaceans, lobster, northern, cooked, moist heat, exactly as identified by USDA.
43 mg - Artichoke
Artichokes, (globe or french), cooked, boiled, drained, without salt, exactly as identified by USDA.
42 mg - Atlantic cod
Atlantic cod, cooked with dry heat.
42 mg - Atlantic herring
Fish, herring, Atlantic, cooked, dry heat, exactly as identified by USDA.
41 mg - Brown rice
Cooked, long-grain. The USDA source description does not state added salt.
39 mg - Green peas
Green peas, boiled, drained, without salt.
39 mg - Canned sardines
Atlantic sardines canned in oil, drained solids with bone.
39 mg - Hearts of palm
Hearts of palm, canned, exactly as identified by USDA.
38 mg - Squid
Mollusks, squid, mixed species, cooked, fried, exactly as identified by USDA.
38 mg
All results are sorted before pagination. Bars compare amounts within this search; they do not indicate health benefits. Not reported does not mean zero.
UNDERSTAND THE DATA
The nutrient, in context
How to read this ranking
This page compares Magnesium (Magnesium, Mg), in mg per 100 g of food.
Chemical forms and measurement methods remain separate. “Not reported” means a value is unavailable, not that the food contains zero. A food’s rank does not determine your individual needs or diagnose a deficiency.
This NIH fact sheet concerns this nutrient. Its recommended amounts describe daily intake for the stated population, not a 100 g food portion. Keep food and supplement exposure separate as the source specifies.
NIH · OFFICE OF DIETARY SUPPLEMENTS
Magnesium: Fact Sheet for Consumers
Original text published by NIH, including intake tables by age and sex, cautions, and the population context the source states. Bitameans has not performed an independent medical review or adapted these recommendations to your personal circumstances.
What is magnesium and what does it do?
Magnesium is a nutrient that the body needs to stay healthy. Magnesium is important for many processes in the body, including regulating muscle and nerve function, blood sugar levels, and blood pressure and making protein, bone, and DNA.
How much magnesium do I need?
The amount of magnesium you need depends on your age and sex. Average daily recommended amounts are listed below in milligrams (mg).
| Life Stage | Recommended Amount |
|---|---|
| Birth to 6 months | 30 mg |
| Infants 7–12 months |
Identity and structure sources
- PubChem Periodic Table of Elements · Accessed 2026-09-13
- USDA FoodData Central: Foundation Foods Documentation · Accessed 2026-09-13











