This guide to foods high in magnesium doesn’t just list the sources—it breaks down exactly how each one transforms your energy, mood, focus, and sleep.

You feel tired, anxious, and your sleep is all over the place. Maybe your muscles cramp without warning, or your focus slips just when you need it most. What if the missing link isn’t another supplement or stricter routine—but a mineral your body depends on every single day. Magnesium isn’t optional. It’s essential. And if you’re not eating enough foods high in magnesium, your body is going to let you know.
Magnesium fuels over 300 biochemical reactions in your body. It regulates your nervous system, supports heart health, balances blood sugar, and keeps your muscles and bones functioning properly. Yet nearly 50% of adults in the U.S. aren’t getting enough. Let’s fix that—starting with your plate.
Foods High in Magnesium
1. Pumpkin Seeds (Magnesium: 150 mg per ounce)
These tiny powerhouses deliver about 37% of your daily magnesium needs in a single ounce.
What they do: Magnesium in pumpkin seeds regulates GABA (gamma-aminobutyric acid), a neurotransmitter that calms your nervous system. It’s like hitting a natural pause button when anxiety spikes.
If you often feel restless before bed, sprinkle roasted pumpkin seeds on your dinner salad. You’ll likely feel more grounded and sleep easier.
Magnesium modulates the HPA axis—the brain’s stress response system. When it’s deficient, the body reacts to stress more aggressively.
2. Spinach (Magnesium: 157 mg per cup, cooked)
Spinach is loaded with magnesium and also gives your body a dose of iron, folate, and vitamin K.
What it does: Magnesium from spinach helps convert food into cellular energy (ATP) and reduces muscle tension—both physically and mentally. It’s also crucial for maintaining stable blood sugar levels.
Add sautéed spinach to your eggs, soups, or pasta. It’s an easy way to ease fatigue without needing another cup of coffee.
3. Almonds (Magnesium: 80 mg per ounce)
A quick handful of almonds supports your heart, brain, and bones.
What they do: Magnesium supports the electrical activity of the heart and stabilizes blood pressure. It also aids in the release of serotonin, improving mood stability.
4. Avocados (Magnesium: 58 mg per fruit)
Avocados are rich in magnesium and also offer potassium, fiber, and anti-inflammatory fats.
What they do: Magnesium in avocados improves communication between neurons and helps reduce brain fog. It also reduces the likelihood of insulin resistance, protecting your energy levels throughout the day.
How to use it: Mash it on whole-grain toast or add slices to your smoothie. Especially effective before work or social situations where you need to stay sharp.
5. Dark Chocolate (Magnesium: 64 mg per ounce)
Yes, chocolate makes the list! But not the sugary kind—opt for 70% cacao or higher.
What it does: Magnesium in dark chocolate boosts brain plasticity, mood, and cognitive flexibility. It’s also a powerful antioxidant source, protecting the brain from oxidative stress.
A small square after dinner can genuinely help wind down anxiety and keep sugar cravings in check.
6. Black Beans (Magnesium: 120 mg per cup, cooked)
One of the best plant-based magnesium sources, black beans also offer protein and gut-loving fiber.
What they do: Magnesium from black beans supports digestion and neurotransmitter balance. It helps regulate blood sugar and makes sure your gut-brain axis functions smoothly.
Add to salads, tacos, or soups. Great for vegetarians struggling with energy crashes or irritability.
7. Bananas (Magnesium: 37 mg per medium banana)
Bananas are commonly associated with potassium, but they also contribute to your magnesium intake.
What they do: Magnesium in bananas supports muscle recovery and hydration. It’s particularly helpful if you’re prone to cramps or twitchy legs at night.
Add a banana with peanut butter to your post-workout snack. You’ll feel the difference in your recovery.
8. Cashews (Magnesium: 74 mg per ounce)
Cashews deliver solid amounts of magnesium, healthy fats, and zinc.
What they do: Magnesium in cashews regulates enzymes involved in mood and cognition. It enhances mental clarity and reduces emotional reactivity.
Keep a small jar in your bag. Instead of reaching for processed snacks, eat cashews during that 3 p.m. energy dip. It stabilizes blood sugar and curbs irritability.
9. Tofu (Magnesium: 53 mg per 3.5 ounces)
Tofu is a great magnesium source for plant-based diets, along with its protein and calcium content.
What it does: Magnesium in tofu supports muscle function and helps with PMS symptoms, especially bloating and irritability. It also plays a role in calming the nervous system.
Stir-fry tofu with vegetables in sesame oil, or add it to your favorite salad bowl for a satisfying magnesium-rich lunch.
10. Brown Rice (Magnesium: 84 mg per cup, cooked)
Brown rice contains more magnesium than white rice and helps support long-term energy and metabolic health.
What it does: Magnesium in brown rice improves insulin sensitivity and helps maintain balanced cortisol levels under stress.
Swap your white rice for brown during dinner. Over time, you’ll notice fewer sugar crashes and more sustained focus throughout the day.
11. Chia Seeds (Magnesium: 111 mg per ounce)
These tiny seeds are a nutrient bomb—loaded with magnesium, omega-3s, fiber, and antioxidants.
What they do: Magnesium in chia seeds boosts mental clarity and reduces systemic inflammation. It helps manage ADHD-like symptoms and supports restful sleep.
Mix into overnight oats or blend into smoothies. Especially helpful if you wake up tired or struggle to stay present.
How Magnesium Impacts Your Mental and Emotional Health?
Magnesium doesn’t just work on a physical level. It plays a huge role in regulating your emotions and cognition.
Dr. James Greenblatt, a leading integrative psychiatrist, explains: “Magnesium deficiency is often overlooked in mental health treatment, but its correction can rapidly improve symptoms of depression, anxiety, and insomnia.”
Research published in the journal PLOS ONE found that increasing dietary magnesium significantly improved depression symptoms in just two weeks—even without other treatment changes.
If you’ve ever felt emotionally drained, like your body’s stuck in a low-grade fight-or-flight mode—magnesium is often the missing piece.
How to Start Adding More Magnesium Into Your Day (Without Overthinking It)?
You don’t need a rigid meal plan to fix magnesium deficiency. You just need small, consistent changes. Here’s how to make it easy:
- Breakfast: Add chia seeds to oats or a smoothie.
- Snack: Keep roasted almonds or cashews handy.
- Lunch: Toss black beans or avocado into your salad.
- Dinner: Use spinach or tofu as a base for stir-fries.
- Dessert: Have a square of 70% dark chocolate.
These swaps aren’t complicated, but they compound. Within a week or two, you’ll likely feel calmer, sharper, and more energized—without chasing another supplement.
Your body doesn’t whisper when it’s magnesium-deficient—it screams. Mood swings, fatigue, anxiety, sugar cravings, poor sleep… they’re all connected. When you feed your body the foods high in magnesium it’s been craving, everything starts to feel a little more manageable. A little more like you.
So don’t wait for burnout. Let your next meal be your medicine. Because when you eat to support your nervous system, everything else—focus, calm, clarity—follows.




