Struggling with restless nights and a lingering sense of gloom? Unlock the secret to better sleep and brighter moods with these seven powerhouse foods loaded with magnesium – a mineral your body craves for peak performance.
But here's where it gets controversial: Is magnesium the unsung hero of wellness, or are we overhyped about diet fixes for complex issues like depression and insomnia? Let's dive in and explore what experts say, and you can decide for yourself.
Seeking sweeter dreams or a lift in your spirits? Professionals reveal the top eats to naturally hit your magnesium goals.
December 6, 2025
Videos: Getty Images; Collage: Gabe Conte
Among all the minerals essential for our health, magnesium stands out with an impressively vast role in over 300 bodily functions. These include maintaining nerve health, controlling blood pressure, aiding protein creation, and bolstering the immune system. If you're into fitness, you're likely aware of how magnesium aids muscle repair – think soaking in an Epsom salt bath after a tough workout for that soothing recovery.
"Magnesium is classified as an essential nutrient because our bodies cannot produce it ourselves; we must source it from our surroundings to thrive and function optimally," explains Paul Kriegler, RD, a registered dietitian and head of products at Life Time. Despite its critical significance, a significant portion of people fall short. Data from the National Health and Nutrition Examination Survey indicates that nearly half of adults in the U.S. get insufficient magnesium. For context, the National Institutes of Health recommends aiming for 400 to 420 milligrams daily.
As with other nutrients, prioritizing dietary sources over pills is ideal, as whole foods deliver a bundle of complementary nutrients. Research hasn't consistently shown vitamins alone to enhance health as effectively as a balanced, nutrient-packed diet does.
It's worth emphasizing magnesium's extensive contributions once more. According to three dietitians we consulted, adequate intake plays a key role in warding off constant fatigue and mood swings. This is echoed in a 2020 Nutrients study and a 2024 Frontiers in Public Health investigation.
Although numerous elements affect sleep and emotional well-being, the experts unanimously agree that incorporating more magnesium-rich foods can guard against depression, anxiety, and sleep disturbances.
The link between magnesium and your emotional state
If you're battling depression or anxiety, increasing magnesium won't be a magic cure-all, and it shouldn't replace primary treatments. However, scientific backing suggests meeting daily needs can offer support. "Magnesium serves multiple purposes, including aiding emotional balance," notes Mckenzie Dryden, RD, a dietitian at HonorHealth Integrative Medicine.
Dryden elaborates that magnesium's primary influence on mood involves enhancing serotonin production, as supported by a 2024 Cureus article. "Serotonin acts as the 'feel-good' brain chemical that fends off anxiety and depression. Without sufficient magnesium, serotonin levels drop, potentially triggering those unwelcome lows," she adds.
Beyond serotonin, Dryden points out magnesium's effect on neurotransmitters like glutamate and GABA, vital for stress reduction and calmness. "A deficiency impedes the creation of these chemicals," she explains. Additionally, it reduces cortisol, the hormone tied to stress.
Serena Pratt, RD, describes how magnesium collaborates with GABA to dial down the body's stress responses, functioning as a calming agent for the nervous system. Kriegler reinforces this, noting magnesium promotes the 'rest-and-digest' mode over the 'fight-or-flight' state.
For those experiencing seasonal affective disorder in winter, you might wonder if magnesium-rich foods can shield you. The experts concur it's not the top remedy but can assist. Kriegler stresses vitamin D's primacy – a Frontiers in Nutrition study reveals one in four U.S. adults are deficient. Magnesium aids vitamin D absorption, providing that supportive edge.
And this is the part most people miss: Magnesium's role isn't just direct; it's about synergizing with other nutrients for holistic benefits.
Magnesium's role in fostering restful sleep
While magnesium isn't definitively proven to boost sleep quality, per a 2021 BMC Complementary Medicine and Therapies review, it can prepare the body for better rest, much like its mood-enhancing effects. (Relaxation makes drifting off easier than anxiety.) Pratt highlights how magnesium stimulates GABA, soothing the nervous system for bedtime.
Dryden adds that magnesium facilitates converting tryptophan into serotonin, which transforms into melatonin – the sleep hormone that cues nighttime and aligns the body's clock.
"Though magnesium doesn't generate melatonin directly, it's crucial for smooth conversion; shortages can disrupt efficiency," Dryden states.
Studies indicate magnesium improves sleep quality, shortening fall-asleep times and reducing awakenings. A 2021 Sleep study with about 4,000 participants found magnesium supplements correlated with superior sleep compared to non-supplements.
Seven nutrient-packed foods to boost your magnesium levels
As we noted, whole foods trump supplements by supplying extra nutrients. These magnesium sources also offer bonuses for sleep and mood.
- Pumpkin seeds
Pumpkin seeds rank high on Pratt and Dryden's lists for mood and sleep enhancement. They're the top magnesium source, packing 156 milligrams per serving (37% of daily needs). "They also provide tryptophan, an amino acid key for relaxation and slumber," Dryden says. Even without pumpkin carving, they're readily available and add crunch to salads, oats, or yogurt.
- Chia seeds
Chia seeds are another magnesium hero. "Just two tablespoons deliver a solid magnesium dose," Dryden notes. They're rich in omega-3s, which support brain health and fight inflammation – essential for dodging depression and anxiety.
- Leafy greens
Kriegler advocates leafy greens for their versatility and nutrient density, including fiber. Fiber is vital for digestion, and the gut-brain link means a healthy microbiome aids mood. A 2023 Nutritional Neuroscience piece links high-fiber diets to reduced depression risk, while a 2024 Brain and Behavior study associates them with improved sleep. With magnesium and fiber, leafy greens could be your dual-action boost.
- Whole grains
Foods like oats, whole wheat, and quinoa supply magnesium. Their adaptability appeals to Kriegler. Beyond magnesium, they contain tryptophan and GABA for relaxation and rest.
- Lentils and beans
Lentils, chickpeas, and black beans excel in magnesium, folate, fiber, and iron, per Pratt. As low-glycemic options, they stabilize blood sugar to curb anxiety. Folate aids serotonin, amplifying mental health support.
- Tart cherries
Tart cherries offer magnesium plus melatonin, Dryden explains. Though melatonin levels are modest compared to supplements (as a 2018 American Journal of Therapeutics study notes), they're ideal pre-bed snacks. Opt for tart varieties or juice.
- Dark chocolate
All experts agree dark chocolate provides magnesium. Choose 65% cocoa or higher for max benefits, advises Pratt. It instantly cheers many, and a 2022 Current Research In Food article reveals it triggers endorphins for happiness, plus serotonin for mood regulation.
While whole foods are superior, Kriegler cites studies on magnesium supplements' value. A 2022 Nutrients study of 889 people showed reduced inflammation from supplementation, and a Frontiers analysis of seven studies linked it to lower depression.
As winter dips moods and energy, ramping up magnesium is timely. With these versatile foods, it's effortless to prioritize.
Not a subscriber? Join GQ to access full GQ.com content.
Emily Laurence is a journalist, freelance writer, and certified health coach based in Raleigh, North Carolina. She focuses on health, lifestyle, and social justice topics. Emily edited and wrote for Well+Good for six years, tackling food trends and major issues like the opioid crisis... Read More
What do you think – is magnesium underrated in our diets today, or do you believe supplements hold the real power? Have you noticed mood or sleep improvements from these foods? Share your opinions or disagreements in the comments!