A doctor, a registered dietitian nutritionist, health coaches and trainersInsurance accepted for dietitian visitsWest Palm Beach, Florida and onlineJoin the waitlist
Tides & TonedJoin the waitlist
Nutrition · · 7 min read · By the Tides & Toned team

Foods high in magnesium and how much you need

The best magnesium rich foods, a simple day of eating, and what to know before you buy a supplement.

Foods high in magnesium and how much you need

Magnesium is one of those nutrients people hear about on social media, usually as a pill for sleep or stress. But before you buy a bottle, it helps to know what magnesium actually does and where to find it in food.

Magnesium is in a lot of everyday foods, especially nuts, seeds, beans, whole grains and leafy greens. This guide lists the best food sources, how much you need, and when a supplement might make sense.

Quick answer
  • Adult women need about 310 to 320 mg of magnesium a day, and adult men about 400 to 420 mg.
  • Top food sources are pumpkin seeds, chia seeds, almonds, cashews, spinach, beans, soy foods and whole grains.
  • Many Americans eat less magnesium than they should, mostly because they eat few of these foods.
  • Magnesium from food is safe. Supplements can cause diarrhea and are not safe for everyone, so ask your doctor first.

What magnesium does

Magnesium is a mineral that helps more than 300 enzyme systems in your body work, according to the NIH Office of Dietary Supplements. In plain words, it is a helper for a lot of jobs:

  • Muscles and nerves. It helps muscles relax after they contract and helps nerves send signals.
  • Energy. It is needed to turn food into energy.
  • Bones. A good share of your body's magnesium is stored in your bones.
  • Heart rhythm. It helps keep your heartbeat steady.
  • Blood sugar and blood pressure. It plays a role in how your body handles both.

How much magnesium you need

Here are the daily amounts from the NIH Office of Dietary Supplements for adults:

WhoMagnesium per day
Women 19 to 30310 mg
Women 31 and up320 mg
Men 19 to 30400 mg
Men 31 and up420 mg
Pregnancy350 to 360 mg
Breastfeeding310 to 320 mg

Surveys show many people in the US get less than they need from food, according to the NIH. The easy fix is not a pill. It is eating more of the plant foods below.

Magnesium rich foods

Here is how much magnesium is in common servings. Numbers are approximate and come from USDA FoodData Central.

FoodServingMagnesium (mg, approx.)
Pumpkin seeds, roasted1 oz156
Quinoa, cooked1 cup118
Chia seeds1 oz95
Spinach, cooked1/2 cup78
Almonds1 oz77
Cashews, dry roasted1 oz74
Soybeans, cooked1/2 cup74
Firm tofu1/2 cup73
Dark chocolate (70 to 85% cacao)1 oz65
Peanuts, dry roasted1/4 cup65
Oatmeal, cooked with water1 cup63
Black beans, cooked1/2 cup60
Peanut butter2 tbsp54
Edamame, cooked1/2 cup50
Potato, baked with skin1 medium48
Brown rice, cooked1/2 cup39
Plain low fat yogurt8 oz39
Banana1 medium32
Avocado1/2 fruit29
Salmon, cooked3 oz26

A pattern stands out. The best sources are seeds, nuts, beans, soy and whole grains. These are the same foods that bring fiber and healthy fats, so adding them helps on many fronts at once.

A note on refining: when grains are refined into white flour or white rice, much of the magnesium is lost. Whole grains keep more of it.

Bowls of beans, peas, lentils, seeds, nuts, grains and vegetables around a wooden board
Seeds, nuts, beans and whole grains bring magnesium

Easy ways to eat more magnesium

Step 1: Sprinkle seeds

One ounce of pumpkin seeds gives you about half of what many women need in a day. Add them to salads, oatmeal, yogurt or soup. Pumpkin seeds are also called pepitas in many stores.

Step 2: Snack on nuts

A small handful of almonds or cashews is an easy afternoon snack. Our handful of nuts a day post explains the research.

Step 3: Add beans or soy

Black beans in tacos, edamame as a snack, tofu in a stir fry. Try our Mexican quinoa black bean bowl, which pairs two good sources at once.

Step 4: Go green

Cooked spinach is one of the best vegetable sources because it shrinks down so much. Our garlic sautéed spinach takes about five minutes.

Step 5: Swap in whole grains

Oatmeal for breakfast, quinoa or brown rice at dinner, whole wheat bread for sandwiches.

Step 6: Enjoy a little dark chocolate

A square or two of dark chocolate with a high cacao percent has some magnesium. It is still a treat, so keep it small.

A day of magnesium from food

Here is a simple day that goes past 400 mg from food alone, based on the table above.

MealWhat to eatMagnesium (approx.)
Breakfast1 cup oatmeal with 1 tbsp chia seeds and a bananaabout 135 mg
Snack1 oz almondsabout 77 mg
LunchSalad with 1/2 cup black beans and 1 oz pumpkin seedsabout 230 mg
DinnerSalmon with 1/2 cup brown rice and 1/2 cup cooked spinachabout 145 mg

That adds up to roughly 580 mg, which is more than enough for most adults. You could drop the snack and still be well covered. Magnesium from food does not cause problems for healthy kidneys, because your kidneys get rid of the extra.

About magnesium supplements

Magnesium supplements are popular, especially for sleep. Here is what to know before you try one.

  • Food is the best first step. The foods above bring fiber, protein and other nutrients too.
  • There is an upper limit for supplements. The NIH sets it at 350 mg a day from supplements and medicines for adults. This limit does not apply to magnesium in food.
  • Too much can cause diarrhea. Some forms, like magnesium oxide, carbonate, chloride and gluconate, are more likely to cause it, per the NIH.
  • Kidney disease. If your kidneys do not work well, magnesium can build up to dangerous levels. Do not take supplements unless your doctor says so.
  • Medicine interactions. Magnesium can interfere with some antibiotics and with bone medicines called bisphosphonates. Some medicines, like long term acid reducers called proton pump inhibitors, can lower your magnesium. Ask your pharmacist.

For sleep specifically, the research on magnesium pills is limited and mixed. Good sleep habits are still the first step.

A bowl of oatmeal topped with banana, nut butter and dark chocolate pieces
Oats, peanut butter and dark chocolate all add magnesium

What the research says about health

Magnesium gets linked to many health claims. Here is a fair summary of what the evidence shows so far.

  • Blood pressure. A pooled analysis of controlled trials found that magnesium supplements lowered blood pressure by a small amount on average (Zhang et al 2016). The effect was modest, so it is not a replacement for blood pressure medicine or other proven steps like less sodium and more activity.
  • Type 2 diabetes. People who eat more magnesium tend to have a lower risk of type 2 diabetes in long term studies, according to the NIH. Those studies show a link, not proof, and magnesium rich foods also bring fiber, which helps too.
  • Bones. Magnesium is part of bone, and low intake is linked to lower bone density in some studies. Calcium, vitamin D and exercise still matter most.
  • Sleep, anxiety and migraines. Research is limited or mixed. Some people with migraines use magnesium under a doctor's care.

The safest takeaway: eat magnesium rich foods most days, and talk with your doctor before using pills to treat a health problem.

Common mistakes

  • Jumping to pills first. Most people can raise their intake with a few food swaps.
  • Eating mostly refined grains. White bread and white rice have much less magnesium than whole grains.
  • Forgetting about seeds. They are small, cheap and one of the richest sources.
  • Taking high dose supplements without asking. Especially with kidney problems or if you take other medicines.
  • Expecting a cure for cramps or sleep. Magnesium is not a magic fix. If you have frequent cramps or poor sleep, talk with your doctor.

FAQ

What food is highest in magnesium?

Pumpkin seeds are one of the richest foods, with about 156 mg per ounce of roasted seeds, per the NIH. Chia seeds, almonds, cashews, spinach and quinoa are also high.

Who is more likely to run low?

The NIH lists people with stomach and bowel diseases like Crohn's or celiac disease, people with type 2 diabetes, people with alcohol use disorder and older adults.

Can a blood test show low magnesium?

A blood test can find very low levels, but most magnesium is inside your cells and bones, so a normal result does not always mean your intake is ideal.

Is magnesium in water?

Some tap and mineral waters have magnesium, but the amount varies a lot by source.

Do kids need magnesium?

Yes, in smaller amounts. Nuts, seeds, beans, whole grains and greens are great for kids too. Whole nuts are a choking risk for young children, so use nut butters for little ones.

Want the full plan? Get Plant based made simple.

Sources: NIH Office of Dietary Supplements, Magnesium fact sheet for health professionals. USDA FoodData Central. Zhang et al 2016, Hypertension.

Liked this post?

Get new posts by email.

Pick a short weekly email, or one calm digest a month.

Free. Unsubscribe any time.
You might also like
Vitamin C foods: the best sources and how to keep the vitamin in
Nutrition · Jul 14, 2026 · 7 min read

Vitamin C foods: the best sources and how to keep the vitamin in

The top vitamin C foods, how much you need, how to cook without losing it, and what it can and cannot do for a cold.

How to wash fruits and vegetables the right way
Nutrition · Nov 9, 2026 · 5 min read

How to wash fruits and vegetables the right way

Running water is all you need for most produce. Here is how to wash each kind, what about bagged salad and when soap or vinegar is a bad idea.

Five a day: how many fruits and vegetables you really need
Nutrition · Nov 9, 2026 · 5 min read

Five a day: how many fruits and vegetables you really need

A big study found the sweet spot for fruits and vegetables. Here is what counts as a serving and easy ways to hit five a day without trying hard.

Zinc rich foods and how much zinc you need
Nutrition · Oct 21, 2026 · 7 min read

Zinc rich foods and how much zinc you need

The best food sources of zinc, tips for plant based eaters, and the honest story on zinc for colds.

The complete guide to protein foods
Nutrition · Oct 13, 2026 · 7 min read

The complete guide to protein foods

A simple list of protein foods, how much is in each serving, and easy ways to get enough at every meal.

A beginner guide to the Mediterranean way of eating
Nutrition · Sep 15, 2026 · 7 min read

A beginner guide to the Mediterranean way of eating

What to eat, how often, and six small steps to start eating the Mediterranean way this week.

Potassium: the mineral most of us do not get enough of
Nutrition · Sep 5, 2026 · 4 min read

Potassium: the mineral most of us do not get enough of

It helps balance salt, and bananas are not even the top source.

How to read a supplement label without getting fooled
Nutrition · Aug 26, 2026 · 5 min read

How to read a supplement label without getting fooled

The FDA does not check supplements before they hit the shelf. Here is what to look for on the bottle.

Omega 3 foods: a simple guide to fish, seeds and nuts
Nutrition · Jul 28, 2026 · 7 min read

Omega 3 foods: a simple guide to fish, seeds and nuts

The best omega 3 foods from the sea and from plants, how much is in each, and how to eat fish twice a week without stress.

How to eat more vegetables, even if you do not love them
Nutrition · Jun 9, 2026 · 7 min read

How to eat more vegetables, even if you do not love them

How many vegetables you need, what counts as a cup, and ten easy ways to eat more without changing your whole diet.

Frozen or fresh produce: which is better for you
Nutrition · Jun 2, 2026 · 5 min read

Frozen or fresh produce: which is better for you

The frozen aisle has a bad reputation it does not deserve.

Waitlist

We are not taking new clients right now.

Our schedule is full. Join the waitlist and we will email you as soon as new client spots, programs and member accounts open.

Join the waitlist