Magnesium

Foods High in Magnesium and Their Calming Effects

Michael Gonzales By Michael Gonzales Updated 9 min read

Quick answer

Pumpkin seeds, chia seeds, almonds, spinach, cashews and black beans are among the richest magnesium foods. Studies, mostly of supplements, suggest modest effects on feeling calm and on sleep, but the evidence is low quality.

Foods High in Magnesium and Their Calming Effects

Pumpkin seeds, chia seeds, almonds, spinach, cashews and black beans are among the foods richest in magnesium, a mineral the body uses in more than 300 enzyme systems, including those that control muscle and nerve function [1]. Research on magnesium and feeling calm, handling stress and sleeping well is real but limited. Most studies tested supplements rather than foods, were small, and found modest effects at best [3][7].

Key Takeaways

  • Pumpkin seeds (156 mg per ounce), chia seeds (111 mg per ounce), almonds (80 mg per ounce) and boiled spinach (78 mg per half cup) are among the best food sources.
  • Adults need 310 to 420 mg of magnesium a day, and the body typically absorbs about 30% to 40% of the magnesium in food and drinks.
  • Nearly half of Americans get less magnesium from food and beverages than they need.
  • Studies of magnesium for stress, calm and sleep are small and rated low quality; where benefits appeared, they were modest.
  • Keep magnesium from supplements at or below 350 mg a day unless your doctor advises otherwise. Magnesium from food does not count toward that limit.

Evidence grade: Emerging. The magnesium content of foods and daily needs are well established by NIH, but human trials on magnesium and stress, calm or sleep are small, short and rated low to very low quality, and almost all tested supplements rather than foods.

What Magnesium Does in the Body

An adult body holds about 25 grams of magnesium, with 50% to 60% in the bones and most of the rest in soft tissues [1]. Magnesium works as a helper for more than 300 enzyme systems. These control protein building, muscle and nerve function, blood sugar control and blood pressure regulation, and magnesium is also needed for energy production [1].

Because magnesium is involved in how nerves and muscles work, researchers have asked whether getting enough of it affects how relaxed or stressed people feel. That research is covered below. For other nutrition habits people use for a calmer routine, see our article on nutritional interventions for stress relief.

Foods Highest in Magnesium

Green leafy vegetables, legumes, nuts, seeds and whole grains are good sources. In general, foods that contain fiber also provide magnesium [1]. Refining grains in ways that remove the germ and bran lowers their magnesium content a lot [1].

Food Serving Magnesium (mg) % Daily Value
Pumpkin seeds, roasted 1 ounce 156 37%
Chia seeds 1 ounce 111 26%
Almonds, dry roasted 1 ounce 80 19%
Spinach, boiled 1/2 cup 78 19%
Cashews, dry roasted 1 ounce 74 18%
Peanuts, oil roasted 1/4 cup 63 15%
Soymilk, plain or vanilla 1 cup 61 15%
Black beans, cooked 1/2 cup 60 14%
Edamame, shelled, cooked 1/2 cup 50 12%
Peanut butter, smooth 2 tablespoons 49 12%
Potato, baked with skin 3.5 ounces 43 10%
Brown rice, cooked 1/2 cup 42 10%
Yogurt, plain, low fat 8 ounces 42 10%
Oatmeal, instant 1 packet 36 9%
Banana 1 medium 32 8%
Salmon, Atlantic, farmed, cooked 3 ounces 26 6%
Avocado, cubed 1/2 cup 22 5%
White rice, cooked 1/2 cup 10 2%

Values from the NIH Office of Dietary Supplements [1]. Tap, mineral and bottled waters can add magnesium too, but the amount varies widely by source and brand, from about 1 mg to more than 120 mg per liter [1].

Easy ways to eat more magnesium

  • Add a handful of spinach to salads, eggs, soups or pasta sauce.
  • Keep almonds, cashews or pumpkin seeds on hand as a snack, or sprinkle seeds on yogurt or oatmeal.
  • Stir chia seeds into a smoothie or overnight oats.
  • Swap white rice for brown rice: a half cup of brown rice has about four times the magnesium [1].
  • Build meals around beans, edamame or other legumes a few times a week.

How Well Your Body Absorbs Magnesium

About 30% to 40% of the magnesium you eat and drink is typically absorbed [1]. Healthy kidneys keep blood levels in a tight range, which is why low intake in healthy people rarely causes obvious symptoms [1].

Low intake is still common. A national survey from 2013 to 2016 found that 48% of Americans of all ages got less magnesium from food and beverages than they need, and men 71 and older and teenagers were the most likely to fall short [1]. Older adults, people with long-term digestive conditions or alcohol dependence, and people taking certain medicines are also more likely to run low [1][2].

In supplements, forms that dissolve well in liquid are absorbed more completely. Small studies found that magnesium aspartate, citrate, lactate and chloride were absorbed better than magnesium oxide and sulfate [1]. Very high doses of zinc from supplements (142 mg a day) can interfere with magnesium absorption [1].

Magnesium and Relaxation: What Research Shows

No published trial we found tested magnesium-rich foods on feelings of calm. The studies below used magnesium supplements, so they show what extra magnesium did in those groups, not what a handful of almonds will do.

Stress and feelings of calm

A 2017 systematic review in Nutrients looked at 18 studies of magnesium, alone or with a few other ingredients, on self-reported anxiety and stress. Every study enrolled people who were already prone to anxious feelings, such as mildly anxious adults or women with premenstrual symptoms. Four of eight studies in mildly anxious adults and four of seven in premenstrual samples reported benefits. The authors called the evidence suggestive but of poor quality, and no study used a validated measure of stress [3].

A 2017 trial in PLOS One gave 126 adults with mild-to-moderate depressive symptoms 248 mg of elemental magnesium a day, as magnesium chloride, for six weeks. Scores on depression and anxiety questionnaires improved compared with six weeks without the supplement [4]. The study was open-label with no placebo, so participants knew when they were taking magnesium, which can influence self-reported results. Magnesium is not a substitute for care from a health professional.

Sleep quality

In a 2012 trial, 46 older adults with sleep complaints took 500 mg of magnesium or a placebo daily for eight weeks. The magnesium group improved on a sleep-severity questionnaire, sleep efficiency and the time it took to fall asleep, and had higher blood melatonin and lower cortisol. Total sleep time did not differ significantly between groups [5].

A 2021 meta-analysis combined three trials in 151 older adults. People taking magnesium fell asleep about 17 minutes faster than those taking a placebo, while the 16-minute gain in total sleep time was not statistically significant. All three trials had a moderate to high risk of bias, and the evidence was rated low to very low quality [6].

A 2025 trial of 155 adults who reported poor sleep found that 250 mg of elemental magnesium a day, as magnesium bisglycinate, improved sleep-severity scores slightly more than placebo over four weeks. The effect was small, and people who ate less magnesium at the start seemed to benefit more [8].

A 2026 review of 12 randomized trials concluded that results were inconsistent across questionnaires, sleep-lab tests and wearable devices, that certainty was low to very low, and that the evidence does not support magnesium as a routine treatment for insomnia. It may modestly help some people on some measures [7]. To compare the forms used in these studies, read magnesium L-threonate vs glycinate.

What this means for your plate

The most reliable step is to meet your daily magnesium needs, mainly from food, because many people fall short. People with low intake may be the most likely to notice any difference [8]. Our guide to nutrition for enhanced sleep quality covers more food habits.

Where OPA Magnesium Glycinate Fits

If you want a supplement as well as food, OPA Magnesium Glycinate provides 275 mg of elemental magnesium (from 2,500 mg of magnesium glycinate) per three-capsule serving, which is 65% of the Daily Value. It is formulated to support relaxation and sleep quality as part of a nightly routine and comes in vegetarian hypromellose capsules, 90 per bottle for a 30-day supply.

For comparison, the trials above used 248 to 500 mg of magnesium a day, and the 2025 glycinate trial used 250 mg [4][5][8]. A full serving of 275 mg sits under the 350 mg daily upper limit for supplemental magnesium, but it leaves only about 75 mg of room for any other supplements, antacids or laxatives that contain magnesium. Add them all up before you combine products [1].

Safety and Interactions

Magnesium from food does not pose a risk for healthy people, because the kidneys remove the excess in urine [1]. Supplements are different. The Tolerable Upper Intake Level for magnesium from supplements and medicines is 350 mg a day for adults [1]. Going above it can cause diarrhea, nausea and stomach cramps. Magnesium carbonate, chloride, gluconate and oxide are the forms most often linked to diarrhea [1].

Very large doses, usually more than 5,000 mg a day from laxatives or antacids, have caused magnesium toxicity [1]. If you have kidney problems, are pregnant or breastfeeding, talk to your healthcare provider before taking any magnesium supplement. See magnesium L-threonate side effects for more on tolerability.

The NIH Office of Dietary Supplements lists these medicine interactions [1]:

  • Bisphosphonates such as alendronate: take magnesium supplements at least 2 hours before or after them.
  • Tetracycline and quinolone antibiotics such as doxycycline or ciprofloxacin: take the antibiotic at least 2 hours before or 4 to 6 hours after magnesium.
  • Diuretics: loop and thiazide diuretics can increase magnesium loss, while potassium-sparing diuretics reduce it.
  • Proton pump inhibitors: long-term use, typically more than a year, can lower magnesium levels.

If you take any of these, ask your doctor or pharmacist how to time magnesium.

Frequently Asked Questions

What are the best food sources of magnesium?

Pumpkin seeds, chia seeds, almonds, boiled spinach, cashews, peanuts, soymilk and black beans are among the richest common sources, each providing about 14% to 37% of the Daily Value per serving [1].

How much magnesium do I need each day?

Adult men need 400 to 420 mg a day and adult women need 310 to 320 mg, with somewhat more during pregnancy [1][2]. Food should supply most of it.

Can magnesium-rich foods help me feel calmer?

Possibly, but it has not been tested directly. Supplement studies in people prone to anxious feelings found some benefits, but the evidence is poor quality [3]. Meeting your daily needs through food is a sensible first step.

Can magnesium-rich foods improve sleep quality?

Small supplement trials found modest improvements, such as falling asleep about 17 minutes faster in older adults, but the evidence is low quality and a 2026 review found results inconsistent [6][7]. No trial has tested magnesium foods on sleep.

Can you get too much magnesium from food?

Not if your kidneys are healthy, because they remove the extra [1]. The 350 mg daily upper limit applies only to supplements and medicines. Too much supplemental magnesium can cause diarrhea, nausea and cramping.

How can I add more magnesium-rich foods to my diet?

Snack on nuts or seeds, add spinach to meals, choose brown rice and other whole grains over refined grains, and eat beans or edamame a few times a week [1].

Sources

  1. NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals.
  2. NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Consumers.
  3. Boyle NB, Lawton C, Dye L. The effects of magnesium supplementation on subjective anxiety and stress: a systematic review. Nutrients. 2017.
  4. Tarleton EK, Littenberg B, MacLean CD, et al. Role of magnesium supplementation in the treatment of depression: a randomized clinical trial. PLoS One. 2017.
  5. Abbasi B, Kimiagar M, Sadeghniiat K, et al. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. J Res Med Sci. 2012.
  6. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther. 2021.
  7. Lopresti AL, Smith SJ, Drummond PD. Magnesium supplementation for sleep in adults: a systematic review of randomized controlled trials. J Diet Suppl. 2026.
  8. Schuster J, Cycelskij I, Lopresti A, Hahn A. Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized, placebo-controlled trial. Nat Sci Sleep. 2025.

Disclosure: OPA Nutrition sells supplements, including products mentioned in this article. This content is for education only and is not medical advice. Statements about dietary supplements have not been evaluated by the Food and Drug Administration. These products are not intended to diagnose, treat, cure, or prevent any disease. Talk to your healthcare provider before using any supplement, especially if you take medication or have a medical condition.

Written and reviewed by Michael Gonzales, Founder, OPA Nutrition · Last reviewed: · How OPA researches and writes

Michael Gonzales

Written by

Michael Gonzales

Health & fitness consultant

Michael has a diverse set of skills and passions, with a full-time career as an airline pilot and a dedicated focus on health and fitness consulting. He understands the importance of balancing a busy lifestyle with maintaining a healthy mind and body, and is committed to helping others achieve the same success. Michael's expertise in health and fitness is not just limited to physical training, but also extends to nutrition, stress management, and overall wellbeing. He takes a holistic approach to health and fitness, helping clients to achieve their goals in a sustainable and fulfilling way. With a strong desire to inspire and motivate others, Michael is always ready to share his time and knowledge with those who seek his guidance. Whether in the air or on the ground, Michael is dedicated to helping others live their best lives.

This article is for general education and isn't medical advice. Talk with your healthcare provider before starting a new supplement, especially if you take medication, are pregnant or are nursing.

Recent Posts