IN THIS ARTICLE
istock

Magnesium is an important micronutrient that the body uses for many processes. [1] Office of Dietary Supplements - magnesium. Magnesium helps regulate muscle and nerve function and keeps healthy blood sugar and blood pressure levels. You may not get enough magnesium, especially if you don’t have a well-rounded diet.

Read this article for 20 magnesium-rich foods that you can incorporate into your diet to help get more magnesium day to day.

Why Magnesium Matters

Getting enough magnesium is important for overall health. This is because magnesium plays several vital roles on a cellular level and helps with nerve transmission, muscle function, energy production, and bone health.

The recommended daily amount (RDA) for magnesium varies based on age and gender. [1] Office of Dietary Supplements - magnesium. The RDAs are:

  • 400-420 milligrams per day for men over 18 years of age
  • 310-320 milligrams per day for women over 18 years of age

If you do not get enough magnesium, there may be signs of deficiency. [1] Office of Dietary Supplements - magnesium. Some of these signs can include:

  • Low appetite
  • Nausea or vomiting
  • Feeling weak
  • Having numbness or tingling in the extremities
  • Muscle cramping
  • Seizures
  • Changes to heart rhythm

Magnesium levels can also get depleted in the body if you are chronically stressed, if you do not get enough in your food, and/or if you eat a diet that is too processed. The good news is that magnesium-rich foods are quite diverse, so intake should not be a problem for people who follow more restrictive diets, such as those who are gluten-free and/or vegan.

This is why it can be helpful to know what food has magnesium and the best magnesium-rich foods.

20 Magnesium-Rich Foods to Add to Your Diet

If you are wondering what magnesium-rich foods are, look no further! Here are 20 foods with magnesium:

1. Oatmeal

istock

2. Pumpkin Seeds

3. Tempeh

istock

4. Mackerel

5. Chia Seeds

6. Peanut Butter

7. Salmon

istock

8. Whole Grains

9. Almonds

10. Spinach

11. Swiss Chard

istock

12. Cashews

13. Avocado

14. Dark Chocolate

15. Black Beans

16. Edamame Beans

17. Figs

18. Yogurt

19. Tofu

20. Bananas

Tips to Boost Magnesium Intake Naturally

If you are looking to boost the magnesium levels in your body, try eating magnesium-rich foods or foods that contain magnesium with other balanced foods containing vitamin D and B6. [18] Powell J. Magnesium - the nutrition source. The Nutrition Source. Published November 7, 2024.

This helps the body, as magnesium helps to convert vitamin D into its active form, making it more bioavailable to the bone. In addition, magnesium is needed to activate certain enzymes that produce and break down vitamin D.

Another tip to help boost magnesium is to avoid substances like alcohol, which can deplete magnesium levels. Alcohol abuse can deplete magnesium. Drinking too much soda can also deplete magnesium due to the phosphate content in soda. Limiting soda consumption for this reason is also wise.

A third tip to boost magnesium content is to eat more whole, minimally processed high magnesium foods like the list shown above. These are rich sources of magnesium that are easily absorbed by the body.

Lastly, eating a magnesium-rich snack before bed can also help boost levels and promote rest. Choose something balanced, like a banana with almond butter. It is essential to consume a balanced meal of fats and protein before bed to prevent spikes in blood sugar levels. This will further help to promote rest and relaxation, rather than spiking sugar levels.

Summary and FAQs

Overall, magnesium is an important nutrient that supports the body in several ways. Increasing your magnesium intake by focusing on magnesium-rich foods is a great first step to getting in more magnesium. If you need help with adding in more magnesium-rich foods or have other health conditions to consider, it can be helpful to meet with a qualified healthcare provider, like a dietitian, for more personalized guidance and tips.

What is the best source of magnesium?

The best source of magnesium from foods is in oatmeal and pumpkin seeds. If you want to try a magnesium-rich breakfast, try eating oatmeal mixed with walnuts, pumpkin seeds, and a drizzle of almond butter.

Should I take a magnesium supplement?

If you are considering a magnesium supplement, consult your healthcare provider for personalized guidance. There are several types of magnesium supplements with different forms of magnesium in them.

Magnesium supplements can be helpful for some people if the appropriate type is taken.

Can magnesium help with sleep or anxiety?

Magnesium may be able to help some people improve sleep and/or reduce anxiety. [19] Clinic, C. (2025, April 22). Magnesium for anxiety: Does it help? Cleveland Clinic. If you are deficient in magnesium, sleep can suffer, and levels of anxiety can increase, so optimizing your levels of magnesium for sleep and for stress may aid in improving sleep and reducing anxiety.

Consult a healthcare provider for personalized guidance.

Want to feel more energized and relaxed? Subscribe for weekly nutrition tips and magnesium-rich recipes!

Was this article helpful?

×

How helpful was it?

This article was informative.

This article was informative.

This article changed my life.

This article changed my life.

How can we improve?

This article does not contain information I am looking for.

This article contains incorrect information.

How helpful was it?

Thank you for your feedback!

Your feedback is valuable to us.

Sorry for the inconvenience!!! Please try again later.

GonutriGo's articles are written after analyzing the research works of expert authors and institutions. Our references consist of resources established by authorities in their respective fields. You can learn more about the authenticity of the information we present in our editorial policy.
  1. Office of Dietary Supplements - magnesium. ;

    https://ods.od.nih.gov/factsheets/Magnesium-Consumer/
  2. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=20038-1
  3. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=12014-2
  4. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=16114-1
  5. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/Encyclopedia/content?contenttypeid=76&contentid=15048-4
  6. Clinic C. 25 Magnesium-Rich foods you should be eating. Cleveland Clinic. Published April 22, 2025;

    https://health.clevelandclinic.org/foods-that-are-high-in-magnesium
  7. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=16397-2
  8. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=15209-2
  9. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=20037-1
  10. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=12061-5
  11. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=11458-1
  12. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=09037-2
  13. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=16015-1
  14. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=09094-2
  15. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=01117-1
  16. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=16426-1
  17. Content - Health Encyclopedia - University of Rochester Medical Center.;

    https://www.urmc.rochester.edu/encyclopedia/content?contenttypeid=76&contentid=09040-5
  18. Powell J. Magnesium - the nutrition source. The Nutrition Source. Published November 7, 2024. ;

    https://nutritionsource.hsph.harvard.edu/magnesium/
  19. Clinic, C. (2025, April 22). Magnesium for anxiety: Does it help? Cleveland Clinic.;

    https://health.clevelandclinic.org/magnesium-for-anxiety