Quick answer: seeds, nuts, beans, whole grains and leafy greens are the best food sources of magnesium. Pumpkin seeds lead the everyday list with 156 mg an ounce, more than a third of a woman’s daily needs. The 49 foods below are grouped by type and ranked within each group, using the NIH Office of Dietary Supplements and USDA FoodData Central.

How much magnesium you need
| Group | Men | Women |
|---|---|---|
| Teens 14 to 18 | 410 mg | 360 mg |
| Adults 19 to 30 | 400 mg | 310 mg |
| Adults 31 and over | 420 mg | 320 mg |
| Pregnancy (19 to 30 / 31 to 50) | 350 / 360 mg |
Figures without “about” come straight from the NIH Magnesium fact sheet. The rest are rounded from USDA data and vary by brand and preparation.
Nuts and seeds
| Food | Serving | Magnesium (mg) |
|---|---|---|
| Hemp seeds, hulled | 3 tablespoons | about 210 |
| Pumpkin seeds, roasted | 1 ounce | 156 |
| Chia seeds | 1 ounce | 111 |
| Brazil nuts | 1 ounce | about 105 |
| Sunflower seed kernels | 1 ounce | about 90 |
| Almonds, dry roasted | 1 ounce | 80 |
| Cashews, dry roasted | 1 ounce | 74 |
| Pine nuts | 1 ounce | about 70 |
| Peanuts, oil roasted | ¼ cup | 63 |
| Peanut butter | 2 tablespoons | 49 |
| Sesame seeds | 1 tablespoon | about 32 |
| Flaxseed, ground | 1 tablespoon | about 27 |
Beans, soy and lentils
| Food | Serving | Magnesium (mg) |
|---|---|---|
| Black beans, cooked | 1 cup | about 120 |
| White beans, cooked | 1 cup | about 115 |
| Edamame, cooked | 1 cup | about 100 |
| Navy beans, cooked | 1 cup | about 95 |
| Chickpeas, cooked | 1 cup | about 80 |
| Tofu, firm | ½ cup | about 75 |
| Lentils, cooked | 1 cup | about 70 |
| Soy milk | 1 cup | 61 |
| Kidney beans, canned | ½ cup | 35 |
Whole grains
| Food | Serving | Magnesium (mg) |
|---|---|---|
| Amaranth, cooked | 1 cup | about 160 |
| Quinoa, cooked | 1 cup | about 118 |
| Buckwheat groats, cooked | 1 cup | about 85 |
| Brown rice, cooked | 1 cup | about 84 |
| Shredded wheat cereal | 2 large biscuits | 61 |
| Oatmeal, instant | 1 packet | 36 |
| Whole wheat bread | 1 slice | 23 |
| White rice, cooked | ½ cup | 10 |
Vegetables
| Food | Serving | Magnesium (mg) |
|---|---|---|
| Spinach, boiled | 1 cup | about 155 |
| Swiss chard, boiled | 1 cup | about 150 |
| Acorn squash, baked | 1 cup | about 90 |
| Okra, boiled | 1 cup | about 58 |
| Potato, baked with skin | 3.5 ounces | 43 |
| Avocado, cubed | ½ cup | 22 |
| Broccoli, cooked | ½ cup | 12 |
| Carrot, raw | 1 medium | 7 |
Fish, meat and dairy
| Food | Serving | Magnesium (mg) |
|---|---|---|
| Mackerel, Atlantic, cooked | 3 ounces | about 80 |
| Yogurt, plain, low fat | 8 ounces | 42 |
| Salmon, Atlantic, farmed, cooked | 3 ounces | 26 |
| Milk | 1 cup | 24 to 27 |
| Halibut, cooked | 3 ounces | 24 |
| Chicken breast, roasted | 3 ounces | 22 |
| Beef, ground, 90% lean | 3 ounces | 20 |
Fruit and other foods
| Food | Serving | Magnesium (mg) |
|---|---|---|
| Dark chocolate, 70 to 85% | 1 ounce | about 65 |
| Blackstrap molasses | 1 tablespoon | about 50 |
| Banana | 1 medium | 32 |
| Raisins | ½ cup | 23 |
| Apple | 1 medium | 9 |
Getting enough magnesium
- Choose whole grains. Refining removes most of the magnesium, which is why brown rice has about four times as much as white rice.
- Add a handful of seeds or nuts. An ounce of pumpkin seeds or almonds covers a big share of the day.
- Eat beans often. A cup of black beans has about 120 mg.
- Food first. Magnesium from food is not linked to harm, but supplements above 350 mg a day can cause diarrhea and cramps.
Free guide: The Green Mineral Smoothie. One simple recipe that gives you about half your daily calcium, magnesium and potassium in a single glass, with the real numbers behind it. Get the free 7-page guide.
The bottom line
Many Americans fall short on magnesium. A diet with seeds, nuts, beans, whole grains and leafy greens every day is the simplest way to meet your needs.
Related reading
- Magnesium: how much you need and the best sources
- Should you take magnesium in the morning or at night?
- How long does magnesium stay in your body?
- Can you overdose on magnesium?
- Does coffee deplete magnesium?
Free · every two weeks
One surprising mineral fact, every two weeks
Like why bananas are slightly radioactive, or why your frying pan might be a supplement. Plain English, checked against NIH and USDA data. No hype.
Free. Unsubscribe any time. We never share your email. Privacy policy