Magnesium-rich foods: the best sources and how much Magnesium each has
By Vita · fact-checked against NIH ODS
Magnesium is an essential mineral your body cannot make, so you have to get it from food. It is found most abundantly in plant foods: seeds, nuts, legumes, whole grains, and dark leafy greens (magnesium sits at the center of the chlorophyll molecule, which is why greens are such reliable sources). The foods below are ranked by how much magnesium they deliver per typical serving, using amounts from the NIH Office of Dietary Supplements. For reference, the Daily Value (DV) used on nutrition labels is 420 mg, and the Recommended Dietary Allowance is about 400–420 mg per day for adult men and 310–320 mg per day for adult women. Building meals around even two or three of these foods makes hitting your daily target straightforward.
Most adults need about 420 mg of Magnesium a day, and the safe upper limit is 350 mg. Before stacking supplements, run your dose through the free Safety Checker.
Best food sources of magnesium
| Food | Magnesium per serving |
|---|---|
| Pumpkin seeds, roasted | 156 mg per 1 ounce |
| Chia seeds | 111 mg per 1 ounce |
| Almonds, dry roasted | 80 mg per 1 ounce |
| Spinach, boiled | 78 mg per ½ cup |
| Black beans, cooked | 60 mg per ½ cup |
| Peanut butter, smooth | 49 mg per 2 tablespoons |
| Brown rice, cooked | 42 mg per ½ cup |
Amounts from the NIH ODS Magnesium fact sheet. Serving sizes vary; treat these as typical, not exact.
Why magnesium matters
Magnesium is a workhorse mineral: it acts as a cofactor in more than 300 enzyme reactions, including those that build protein, produce cellular energy (it is required to make and use ATP), and copy DNA and RNA. It helps regulate muscle and nerve function by controlling the movement of calcium and potassium across cell membranes, which supports normal muscle contraction, steady nerve signaling, and a regular heartbeat. Magnesium also contributes to blood glucose control, healthy blood pressure, and the structural strength of bone, where about 50–60% of the body's magnesium is stored. Because it touches so many systems, chronically low intake is associated with problems like muscle cramps, fatigue, and, over the long term, higher risk of conditions such as type 2 diabetes and hypertension. Meeting your needs through whole foods also delivers fiber, potassium, and healthy fats alongside the magnesium.
Read the full Magnesium guide › — what it does, how much you need, and how much is too much.
Wondering if Magnesium is your gap?
The free 2-minute Vitaminico check reads your symptoms and names your most likely gap — food-first, no pills pushed.
Magnesium-rich foods FAQ
How much magnesium do I need each day?
The Recommended Dietary Allowance for adults is about 400–420 mg per day for men and 310–320 mg per day for women, increasing slightly with age and during pregnancy (around 350–360 mg). The Daily Value on food labels is 420 mg. A serving of pumpkin seeds plus a half-cup of cooked spinach and some beans can cover a large share of that.
Can I get enough magnesium from food alone?
Yes. A diet that regularly includes seeds, nuts, legumes, whole grains, and leafy greens makes it easy to meet your needs without supplements. That said, national surveys show many adults fall short of the RDA, usually because refined grains and low-vegetable diets provide little magnesium.
Is it possible to get too much magnesium?
Magnesium naturally present in food and water is not harmful for healthy people, because the kidneys clear any excess. The tolerable upper limit of 350 mg per day applies only to magnesium from supplements and medications (like some laxatives and antacids), where high doses can cause diarrhea, cramping, and nausea.
Why do whole grains have more magnesium than refined ones?
Most of a grain's magnesium is in the nutrient-dense germ and bran. Refining grains into white flour or white rice removes those parts, cutting the magnesium content substantially. Choosing whole grains like brown rice, oats, and whole-wheat bread preserves it.
Does anything affect how well I absorb magnesium?
Your body absorbs a larger fraction of magnesium when intake is low and a smaller fraction when it is high. Very high intakes of fiber or supplemental calcium and zinc can slightly reduce absorption, but for people eating a normal mixed diet this has little practical impact. Spreading magnesium-rich foods across meals is more effective than relying on one large dose.
Vitaminico for iPhone
Build your food-first plan in the app
- A free 2-minute chat with Vita reads your symptoms — no food-logging, no needles
- Your top 3 likely nutrient gaps across the vitamins and minerals that matter
- A food-first plan: what to eat, where to get it, and what to skip
- No signup wall — the full check works the moment you open the app
Free · iPhone · no email to start

Educational, not medical advice. Per-serving amounts are typical values from the NIH and vary with brand, preparation and portion. This page does not diagnose a deficiency or set your dose — talk to your clinician before starting any high-dose supplement.