Top Vegetables High in Magnesium for a Healthier Diet
Colorful leafy greens and legumes deliver nutrients for stronger bones and energy.

Vegetables High in Magnesium: Your Guide to This Essential Mineral
Magnesium is a crucial mineral your body needs for hundreds of important biological processes. From supporting muscle and nerve function to helping regulate blood pressure and building strong bones, magnesium-rich foods can make a real difference to your overall well-being.
This guide explores the vegetables highest in magnesium, why your body needs this nutrient, common signs of deficiency, and easy ways to add more magnesium power to your meals.
Why Magnesium Matters for Health
Magnesium is involved in over 300 enzymatic reactions within your body. It helps to:
- Maintain nerve and muscle function
- Support immune health
- Regulate blood sugar levels
- Promote normal blood pressure
- Build strong bones and DNA
Research links adequate magnesium intake to reduced risk of heart disease, improved mood, fewer migraines, and better metabolic health.
How Much Magnesium Do You Need?
Your magnesium needs depend on age and gender. According to most health organizations, the recommended daily intake for adults is:
- Women: 310–320 mg per day
- Men: 400–420 mg per day
Pregnant and breastfeeding women need slightly more. Most people can meet their magnesium needs through a balanced diet.
Top Magnesium-Rich Vegetables
Many vegetables offer impressive magnesium content, especially leafy greens and legumes. Here are some of the best vegetable sources to include in your meals:
Vegetable | Serving (cooked) | Magnesium (mg) |
---|---|---|
Spinach | 1 cup (180g) | 157–158 |
Swiss Chard | 1 cup | 150 |
Edamame (Green Soybeans) | 1 cup | 99 |
Okra | 1 cup | 57 |
Potatoes (with skin) | 1 medium | 48 |
Broccoli | 1 cup | 39 |
Artichoke | 1 medium | 50–60 |
Sweet Corn | 1 cup | 33 |
Pumpkin Seeds (pepitas) (not a vegetable but often included with salads) | 1 oz (28g) | 150–168 |
Leafy Greens: The Magnesium All-Stars
- Spinach: One of the highest magnesium vegetables, providing nearly 40% of your daily needs per cooked cup. Also high in iron, fiber, and antioxidants.
- Swiss Chard: In addition to magnesium, it’s rich in vitamins A, C, K, and potassium.
- Collard Greens, Turnip Greens, Mustard Greens: Each provides 30–45 mg per cooked cup and is also an excellent source of calcium, vitamin K, and folate.
Legumes: Protein with a Magnesium Boost
- Edamame and Soybeans: A versatile ingredient with strong magnesium content, as well as protein, iron, and fiber. Great for salads, bowls, or snacking.
- Black Beans, Kidney Beans, Chickpeas, Lentils, Peas: Each offers roughly 40–60 mg per half-cup serving cooked, while also providing protein and prebiotic fiber.
Other Magnesium-Rich Veggies
- Okra: Popular in stews and gumbos, this vegetable offers magnesium as well as antioxidants and dietary fiber.
- Potatoes (with skin): Leave the skin on for more fiber and minerals, including magnesium.
- Broccoli: Well-known for vitamin C and folate, broccoli also delivers a moderate magnesium boost.
- Sweet Corn, Artichoke, Squash: Each provides moderate magnesium and fits into many cuisines and cooking styles.
Why Is Magnesium Deficiency Common?
A surprising number of people fall short on daily magnesium. Reasons include:
- Poor dietary intake, especially in diets high in processed foods
- Loss of minerals during cooking (boiling can remove magnesium from vegetables; steaming or roasting helps preserve it)
- Chronic diseases or digestive issues that reduce absorption or increase loss
- Certain medications (such as diuretics, antibiotics, and some proton-pump inhibitors)
Signs of Magnesium Deficiency
- Muscle cramps, spasms, or twitches
- Fatigue or weakness
- Poor appetite or nausea
- Numbness or tingling
- Abnormal heart rhythms in severe cases
If you suspect a deficiency, talk with your healthcare provider. They can check your magnesium with a blood or urine test and advise on dietary changes or supplements.
Other Foods High in Magnesium
While this guide focuses on vegetables, some other food groups also offer impressive magnesium:
- Nuts and Seeds: Almonds, cashews, chia, pumpkin, and flax seeds are excellent sources.
- Whole Grains: Brown rice, quinoa, oats, wheat germ, and buckwheat.
- Legumes: Lentils, black beans, and chickpeas.
- Avocado: A fruit, but high in magnesium and healthy fats.
- Dark Chocolate: One of the richest sources per ounce.
Combining a variety of these with magnesium-rich vegetables makes it much easier to hit your daily targets.
Simple Tips to Get More Magnesium from Vegetables
- Create leafy green salads: Make daily salads with spinach, Swiss chard, or mixed greens.
- Add beans to stir-fries and soups: Black beans, edamame, or chickpeas pair well with most vegetable dishes.
- Roast or steam your vegetables: Steaming and roasting preserve magnesium better than boiling.
- Use vegetable toppings: Sprinkle pumpkin or chia seeds on top for extra crunch and nutrition.
- Keep the skin on: When using potatoes or sweet potatoes, leave the skin for added magnesium and fiber.
Magnesium-Rich Vegetable Meal Ideas
- Sautéed spinach with garlic as a side dish
- Stir-fried tofu and broccoli with edamame, served over quinoa
- Vegetable soup loaded with beans, kale, and potatoes
- Chopped Swiss chard added to an omelet or breakfast scramble
- Salad with mixed greens, black beans, avocado, and pumpkin seeds
- Grilled artichoke halves with lemon and olive oil
Frequently Asked Questions: Magnesium & Vegetables
Q: What is the best vegetable for magnesium?
A: Spinach stands out as one of the highest magnesium-rich vegetables, delivering around 157 mg per cup cooked. Other top choices include Swiss chard and legumes like edamame.
Q: Are cooked or raw vegetables better for magnesium?
A: Cooking methods affect magnesium content. Steaming or sautéing preserves more magnesium than boiling, which can leach minerals into water. When possible, lightly cook or eat vegetables raw to retain more nutrients.
Q: Can you get enough magnesium from vegetables alone?
A: While vegetables—especially leafy greens, beans, and peas—provide a strong magnesium foundation, getting enough often requires including other sources like nuts, seeds, and whole grains for a balanced intake.
Q: What are the signs I might need more magnesium?
A: Mild magnesium deficiency can cause muscle twitches, fatigue, and irritability. More severe deficiency may cause heart rhythm changes. If you have concerns, consult with a medical professional.
Q: Who is at risk for magnesium deficiency?
A: People with digestive disorders, type 2 diabetes, older adults, or those taking certain diuretics may be at higher risk and should pay extra attention to dietary sources of magnesium.
Bottom Line: Make Magnesium-Rich Vegetables a Staple
It’s simple and delicious to include magnesium-rich vegetables in your meals every day. These foods not only provide this essential mineral, but also supply fiber, antioxidants, vitamins, and phytonutrients that help your body thrive. Small, consistent changes—like swapping in leafy greens or adding beans to soups—can make a big difference in your health over time.
Be sure to talk with a healthcare provider before making significant changes to your diet or beginning supplements, especially if you have a chronic health condition.
References
- https://www.webmd.com/diet/magnesium-and-your-health
- https://www.healthline.com/nutrition/10-foods-high-in-magnesium
- https://www.healthdirect.gov.au/foods-high-in-magnesium
- https://health.clevelandclinic.org/foods-that-are-high-in-magnesium
- https://www.urmc.rochester.edu/childrens-hospital/nutrition/magnesium-foods
- https://www.nal.usda.gov/sites/default/files/page-files/magnesium.pdf
- https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
- https://www.medicalnewstoday.com/articles/318595
Read full bio of medha deb