Magnesium is an essential mineral for good health, but most of us don’t get nearly as much as we need. One way to boost your magnesium levels is to make sure you’re getting lots in your diet, but which foods have the most magnesium? Read on to find out why we need magnesium, how much magnesium is in your favorite foods, and which foods you should be eating to maximize your magnesium intake.
Why do I need magnesium in my diet?
Magnesium is one of the 21 essential minerals your body needs for optimal health and function. It’s classed as an electrolyte, or an electrically charged mineral, that powers your body’s “electrical circuit”. That means it’s a key player in functions like:
- Heartbeat, rhythm, and function
- Blood pressure regulation
- Nerve impulses
- Muscle contraction
- Nerve-muscle communication
These are just a few of magnesium’s many jobs. In fact, it’s involved in over 300 chemical reactions in the body, also relating to things like:
- Bone development and structure
- Blood sugar control
- Protein synthesis (creation)
- DNA and RNA synthesis
- Energy production
- Immune function
- Antioxidant production
Magnesium also helps other minerals and electrolytes, like calcium, to perform their own essential functions.
Your body can’t produce its own magnesium, which is why you need to get plenty in your diet. The National Institute of Health recommends:
Age | Male | Female |
---|---|---|
Birth to 6 months | 30 mg* | 30 mg* |
7–12 months | 75 mg* | 75 mg* |
1–3 years | 80 mg | 80 mg |
4–8 years | 130 mg | 130 mg |
9–13 years | 240 mg | 240 mg |
14–18 years | 410 mg | 360 mg |
19–30 years | 400 mg | 310 mg |
31–50 years | 420 mg | 320 mg |
51+ years | 420 mg | 320 mg |
*Adequate Intake (AI)
Can I get enough magnesium from food?
Theoretically, your diet should provide all the magnesium you need and then some. There are various reasons why that might not happen though, with the most obvious being that you simply don’t eat enough magnesium-rich foods (more on those in a sec!).
There’s also the issue of food quality. Certain plant foods, like leafy green vegetables and grains, are among the best sources of dietary magnesium. Unfortunately, the magnesium content of plants has seriously declined in recent decades, partly due to poor soil quality and contamination. And then you have grains like wheat, which lose most of their magnesium content if they’re refined and bleached. By the time your food reaches your plate, then, the magnesium content can be massively depleted.
In some cases, your other dietary choices might affect how much magnesium you get from your food. For example, if you’re eating too much calcium, your body won’t absorb the magnesium from your food properly. If you’re not eating enough of certain nutrients like selenium and vitamin B6, you won’t be able to use magnesium effectively. And if you’re eating too much protein, you’ll lose too much magnesium in your urine.
For that reason, it’s really important to try to eat a well-balanced diet on the whole. That way, you can make sure that your body really is making the most of all the magnesium you’re getting from your food.
Can I consume too much magnesium from food?
In short, no. The threshold for magnesium toxicity is way, way higher than the recommended daily intake, so it would be really difficult to reach it by eating magnesium-rich food. We’re talking buckets of spinach! But even if you did try, your body is very efficient at filtering out any magnesium it doesn’t need through the urine. True hypermagnesemia (too much magnesium in the body) is rare and it’s usually the result of a medical condition, so fill your boots!
Which foods have the most magnesium?
In this section, we’ve created an at-a-glance master list of the magnesium content in your favorite foods and drinks. We’ve also highlighted the best foods to maximize the magnesium on your plate, along with some helpful tips and info.
The values given are taken directly from McCance and Widdowson’s Composition of Foods Integrated Dataset, the official nutrient reference guide used by Public Health England. Some of the values you’ll see in the article differ from other sources online, but in order to keep it consistent and accurate, we’ve gone with the official line. However, this is just a guide, so feel free to do your own research too!
Vegetables
Top magnesium-rich vegetables: leafy greens like spinach, kale, and Swiss chard.
Leafy green vegetables are packed with magnesium. Just a handful of baby spinach (30g) would give you nearly 40mg of magnesium, or about 13% NRV. Pop a handful or two in your smoothies and sauces to get even more in your diet.
Other great sources include kale, Swiss chard, and mustard greens. As a bonus, these leafy greens are bursting with other healthy nutrients, too. They’re excellent sources of vitamins A, C, and K, along with minerals like iron and manganese.
As you’ll notice, some vegetables have different magnesium levels depending on whether they’re cooked or raw. That’s because, in some vegetables (e.g spinach), cooking makes more of the magnesium content available, while in others (e.g. kale), magnesium is lost during the cooking process. Using these two leafy greens as an example, then, you could maximize your magnesium by using spinach in cooked dishes and kale in raw dishes.
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Baby spinach (cooked) | 31.36 | 112 |
Swiss chard (cooked) | 24.08 | 86 |
Swiss chard (raw) | 22.68 | 81 |
Baby spinach (raw) | 22.40 | 80 |
Kale (raw) | 13.16 | 47 |
Okra (cooked) | 11.76 | 42 |
Plantain (cooked) | 9.24 | 33 |
Peas (cooked) | 8.12 | 29 |
Baked potato with skin | 7.56 | 27 |
Artichoke | 7.56 | 27 |
Aubergine (roasted) | 7.56 | 27 |
Cabbage (cooked) | 6.72 | 24 |
Baked sweet potato with skin | 6.44 | 23 |
Parsnip | 6.44 | 23 |
Sweetcorn (cooked) | 6.16 | 22 |
Green olives | 6.16 | 22 |
Broccoli (steamed) | 5.88 | 21 |
Spring onions | 5.60 | 20 |
Brussels sprouts (cooked) | 4.76 | 17 |
Courgette (cooked) | 4.48 | 16 |
Pak choi (steamed) | 4.48 | 16 |
Asparagus (grilled) | 4.20 | 15 |
Shiitake mushrooms (cooked) | 3.92 | 14 |
Beansprouts (cooked) | 3.92 | 14 |
Kale (cooked) | 3.64 | 13 |
Cauliflower (cooked) | 3.36 | 12 |
White mushrooms (cooked) | 3.36 | 12 |
Tomatoes (cooked or raw) | 3.36 | 12 |
Peppers (cooked or raw) | 3.08 | 11 |
Yellow onion (cooked) | 3.08 | 11 |
Lettuce (raw) | 2.52 | 9 |
Carrots (raw) | 2.52 | 9 |
Carrots (cooked) | 1.68 | 6 |
Leeks (cooked) | 1.40 | 5 |
Fruits
Top sources of magnesium-rich fruit: bananas, avocados, and dried fruits.
Bananas are a great magnesium-boosting snack, with one large banana (130g) bringing 35mg of magnesium and nearly 12% NRV. They’re also rich in potassium, fiber, and vitamins B6 and C.
Meanwhile, your average avocado (150g) is packing even more magnesium at 40.5mg, or nearly 14% NRV. Like bananas, they’re high in potassium, fiber, and B vitamins. They’re also rich in vitamin K and heart-healthy monounsaturated fats. Banana avocado smoothie, anyone?
A word of warning: dried fruits also tend to have magnesium content, but keep in mind that they’re also really high in sugar and might be best enjoyed in moderation.
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Medjool dates | 15.12 | 54 |
Coconut | 11.48 | 41 |
Raisins | 8.96 | 32 |
Avocado | 7.56 | 27 |
Banana | 7.56 | 27 |
Dates | 6.72 | 24 |
Blackberries | 5.04 | 18 |
Figs | 4.76 | 17 |
Papaya | 4.76 | 17 |
Raspberries | 4.48 | 16 |
Kiwi fruit | 3.64 | 13 |
Strawberries | 3.36 | 12 |
Pineapple | 3.08 | 11 |
Apricot | 3.08 | 11 |
Mango | 2.52 | 9 |
Orange | 2.24 | 8 |
Watermelon | 2.24 | 8 |
Grapes | 1.96 | 7 |
Blueberries | 1.40 | 5 |
Apple | 1.12 | 4 |
Meat & Meat Alternatives
Top sources of meat and meat alternatives high in magnesium: tofu, tempeh, and other meat alternatives.
In this category, you’ll see that meat doesn’t even make the top four best magnesium sources! The top spots go to tempeh and tofu, two soy-based meat alternatives with a whopping 70 and 67mg of magnesium (23 and 22% NRV) per 100g serving respectively. These veggie staples are also great sources of plant protein and other minerals like calcium, iron, and selenium.
That’s great news for vegetarians and vegans, but what about meat eaters? If you’re a die-hard carnivore, don’t worry — you don’t have to give up meat! In fact, steak comes high up the list as far as magnesium content goes. Overall, chicken, turkey, pork, beef, and lamb are all decent magnesium sources, too. However, if you really want to give your magnesium levels a boost, try a few meat-free days a week and swap the occasional pork or beef sausage — the lowest on the list — for the much higher veggie sausage.
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Tempeh (cooked) | 19.60 | 70 |
Tofu (cooked) | 18.76 | 67 |
Veggie sausages | 15.12 | 54 |
Quorn | 10.36 | 37 |
Pork loin chops/steaks (grilled) | 9.24 | 33 |
Sirloin steak | 8.96 | 32 |
Fillet steak | 7.56 | 27 |
Turkey | 7.56 | 27 |
Chicken (roasted) | 7.28 | 26 |
Jackfruit (raw) | 7.00 | 25 |
Lamb | 7.00 | 25 |
Ham | 6.72 | 24 |
Beef | 6.44 | 23 |
Pork mince (stewed) | 5.88 | 21 |
Pork belly (roasted) | 5.60 | 20 |
Duck | 5.60 | 20 |
Bacon (grilled) | 5.60 | 20 |
Beef sausages | 5.32 | 19 |
Pork sausages | 4.20 | 15 |
Fish & Seafood
Top sources of fish high in magnesium: fatty fish.
Lots of fish and seafood are high in magnesium, but fatty fish like salom are particularly healthy.
Along with other fatty fish like pollock, mackerel, and halibut, salmon is also rich in omega-3 oils, potassium, selenium, and B vitamins. That’s why even though some seafood like shrimp is higher on the list, fatty fish are considered the healthier sources of magnesium.
Note that the magnesium content of fish varies widely. We’ve included the minimum magnesium content, but wild-caught (as opposed to farmed) fish tend to have more. Location can make a difference too, with the Pacific chinook salmon having almost three times the magnesium content of Atlantic salmon.
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Alaskan pollock (baked or steamed) | 14.00 | 50 |
Herring (grilled) | 11.76 | 42 |
Tinned sardines | 11.76 | 42 |
Fresh tuna (baked) | 11.48 | 41 |
Shrimp (boiled) | 10.92 | 39 |
Scallops (steamed) | 10.64 | 38 |
Mackerel (smoked or grilled) | 10.64 | 38 |
Prawns (cooked) | 10.08 | 36 |
Wild salmon (baked, grilled or steamed) | 9.80 | 35 |
Sea bass (baked) | 9.80 | 35 |
Cod (grilled) | 9.80 | 35 |
Haddock (grilled) | 9.24 | 33 |
Calamari (battered) | 9.24 | 33 |
Smoked salmon | 8.96 | 32 |
Trout (steamed) | 8.68 | 31 |
Halibut (grilled) | 8.12 | 29 |
Hake (grilled) | 7.84 | 28 |
Canned tuna | 7.56 | 27 |
Plaice (baked) | 7.56 | 27 |
Grains
Top sources of magnesium-rich grain: whole grains.
The top half of this list is dominated by brown and whole wheat grains, while the lower half is mostly white. That’s because the process of refining whole grains strips them of their fibrous coating, where most of the magnesium is found.
You can more than double your magnesium by simply swapping white pasta, bread, and rice for brown or wholegrain products. For baked goods and cooking, switch up your white flour for brown, wholemeal, or even better, rye flour, to up your magnesium even more. You can also switch those breakfast cornflakes for shredded wheat, bran cereal, muesli, or porridge oats, all of which have at least eight times the magnesium.
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Quinoa (dry) | 58.80 | 210 |
Bran cereal | 33.88 | 121 |
Brown basmati rice (dry) | 33.32 | 119 |
Brown wholegrain rice (dry) | 32.48 | 116 |
Porridge oats | 31.92 | 114 |
Brown chapati flour | 30.80 | 110 |
Wild rice (raw) | 30.24 | 108 |
Whole wheat pasta (dry) | 28.84 | 103 |
Swiss muesli | 25.76 | 92 |
Shredded Wheat | 24.08 | 86 |
Rye flour | 23.80 | 85 |
Wholemeal wheat flour | 23.24 | 83 |
Whole wheat bread | 22.96 | 82 |
Brown wheat flour | 20.16 | 72 |
Egg noodles (dry) | 13.72 | 49 |
White pasta (dry) | 13.16 | 47 |
Brown bread | 12.60 | 45 |
Coco Pops/Rice Krispies | 11.48 | 41 |
White long-grain rice (dry) | 7.00 | 25 |
White wheat flour | 7.00 | 25 |
White bread | 6.16 | 22 |
White pita bread | 6.16 | 22 |
White basmati rice (dry) | 5.88 | 21 |
Naan bread | 5.88 | 21 |
Crumpets | 4.76 | 17 |
Cornflakes | 3.08 | 11 |
Eggs & Dairy
Yoghurt is a decent source of magnesium, but soy yogurt gives you almost twice as much without sacrificing protein. And not that we need an excuse to load up on cheese, but you can add an extra-large sprinkle of high-magnesium parmesan to your (whole wheat!) pasta and enjoy those halloumi fries guilt-free!
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Parmesan cheese | 11.48 | 41 |
Plain yogurt | 11.20 | 40 |
Halloumi cheese | 11.20 | 40 |
Emmental cheese | 10.64 | 38 |
Gruyere cheese | 10.36 | 37 |
Edam cheese | 9.52 | 34 |
Cheddar cheese | 8.12 | 29 |
Mozzarella | 5.60 | 20 |
Feta cheese | 5.60 | 20 |
Greek yogurt | 4.48 | 16 |
Goat’s cheese | 3.92 | 14 |
Greek yoghurt | 3.64 | 13 |
Cottage cheese | 3.64 | 13 |
Egg | 3.36 | 12 |
Single cream | 2.24 | 8 |
Butter | 0.56 | 2 |
Legumes
Top sources of legumes high in magnesium: are soya beans and edamame beans.
Legumes are a super-nutritious plant food family that includes beans, lentils, and peas. The highest magnesium content is found in dried soya beans, which make a great snack either raw or roasted. Second is edamame beans, which are immature soya beans that come in the pod.
For the other legumes on the list, you’ll see that we’ve provided the magnesium content of the cooked dish. Unfortunately, a lot of magnesium is lost during cooking, but most legumes can’t be eaten raw. That said, the cooked versions still contain plenty of magnesium, not to mention other nutrients like potassium, iron, fiber, and vitamin K, so get stuck in!
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Soya beans (dried) | 70.00 | 250 |
Edamame beans (cooked) | 18.20 | 65 |
Soya beans (cooked) | 17.64 | 63 |
Chickpeas (cooked) | 12.32 | 44 |
Butter beans (cooked) | 12.04 | 43 |
Kidney beans (cooked) | 11.20 | 40 |
Black beans (cooked) | 11.20 | 40 |
Cannellini beans (cooked) | 9.24 | 33 |
Baked beans | 8.40 | 30 |
Green/brown lentils (cooked) | 7.00 | 25 |
Red lentils (cooked) | 5.04 | 18 |
Nuts & Seeds
Top sources of magnesium-rich nuts and seeds: Brazil nuts, sunflower seeds, sesame seeds, and flaxseeds.
Nuts and seeds are hands-down one of the best magnesium sources. For seeds, choose sesame, sunflower, chia, poppy, and flaxseed for the biggest boost. For nuts, reach for Brazils, cashews, or almonds (that includes nut butter, too!).
Considering their tiny size, nuts, and seeds are giant powerhouses of nutritious goodness. As well as magnesium, they’re rich in iron, selenium, omega-3 fatty acids, fiber, protein, antioxidants, and more.
Nuts are high in fat so they’re best snacked on in moderation, but you can go wild with seeds! A few handfuls as a snack, sprinkled on your porridge, mixed in with a salad, blended into smoothies… it all adds up to a great magnesium boost.
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Brazil nuts | 114.80 | 410 |
Flaxseeds | 109.76 | 392 |
Sunflower seeds | 109.20 | 390 |
Sesame seeds | 103.60 | 370 |
Chia seeds | 93.80 | 335 |
Poppy seeds | 92.40 | 330 |
Pumpkin seeds | 75.60 | 270 |
Cashews | 75.60 | 270 |
Almonds | 75.60 | 270 |
Pine nuts | 75.60 | 270 |
Peanuts | 58.80 | 210 |
Hazelnuts | 44.80 | 160 |
Walnuts | 44.80 | 160 |
Pecan nuts | 36.40 | 130 |
Pistachio nuts | 36.40 | 130 |
Snacks
Top sources of magnesium-rich snacks: dark chocolate.
If you have a sweet tooth, you’ll be thrilled to see chocolate at the top of this list! Dark chocolate is by far the best magnesium source compared to milk and white, so you’ll get the most benefit from swapping to chocolate with at least 60% cocoa content (the higher the better!). And as if you needed another reason to enjoy it, dark chocolate is also loaded with iron, copper, manganese, flavonols, and antioxidants.
If you’re more of a savory fan, rye crisp bread is an excellent way to satisfy the crunch craving while getting more magnesium. Top them with hummus or peanut butter and sprinkle on some seeds for an even bigger boost.
Vegetable | Magnesium per 1 oz (28g) | Magnesium per 3.5 oz (100g) |
Dark chocolate (70-85% cocoa) | 63.84 | 228 |
Dark chocolate (60-69%) cocoa) | 63.28 | 226 |
Rye crispbread | 24.92 | 89 |
Milk chocolate | 17.64 | 63 |
Hummus | 17.36 | 62 |
Guacamole | 5.32 | 19 |
White chocolate | 3.36 | 12 |
Drinks
Magnesium from drinks — also counts towards your daily total. We’ve put together a separate article on drinks high in magnesium.
What if you don’t get enough magnesium from food?
As you can see, you have tons of options for magnesium-rich foods. But what if you still find it hard to eat enough of them? Or do you have a health condition that makes it hard to use the magnesium you’re getting?
Hypomagnesemia, or magnesium deficiency, is actually a lot more common than many people realize. It’s estimated that up to 50% of the population is not getting enough magnesium in their diets – this doesn’t necessarily imply that all of these individuals are magnesium deficient.
A frank deficiency is diagnosed when magnesium levels fall outside the lower end of the normal range. However, we now know that the ill effects of magnesium deficiency start long before that point when the person is technically still within the “healthy” range. This is called a subclinical deficiency, and a substantial number of people are thought to be living with it — with no idea they have it.
Subclinical deficiency can:
- Increase your risk of heart problems and stroke
- Increase your risk of developing type 2 diabetes
- Cause anxiety and mood problems
- Increase your depression risk by up to 22%
- Contribute to migraines
- Worsen symptoms of premenstrual syndrome (PMS
- Increase your risk of Alzheimer’s and ADHD
How can I tell if I’m deficient?
Because subclinical deficiency is usually silent, it’s hard to know for sure if you’re too low on magnesium. We recommend you read our articles on how to test for magnesium deficiency at home and you can also look out for these telltale signs and symptoms of magnesium deficiency:
- Fatigue
- Weakness
- Muscle cramps, stiffness, or spasms
- Eye twitches
- Headaches or migraines
- Nausea
- Numbness or tingling
- Irregular heartbeat or palpitations (a “fluttering” sensation in your chest)
- Anxiety, depression, or low mood
- Stress
What do I do if I think I’m deficient?
To start, track your eating habits for a week or two. Are you getting not just enough magnesium, but also the right amounts of other nutrients like calcium and protein?
If not, refer back to our list of magnesium-rich foods and do your best to squeeze as much into your regular diet as possible. Try to get a good variety across different food groups, as this will ensure you get the other essential vitamins and minerals you need, too. Wherever possible, go for organic products as these tend to be less affected by things like soil contamination and demineralization.
When should I take a magnesium supplement?
If you think you’re low on magnesium, a supplement could also help. There are two main reasons you might benefit.
- You can’t get enough magnesium through your diet because:
- You have certain difficulties with food (e.g. allergies, restrictions, eating disorders).
- You don’t have access to quality food.
- You’re simply finding it hard to change your diet.
- You get enough magnesium in your diet, but you have a health condition or take medication that interferes with your ability to absorb or use magnesium. Examples of health conditions include diabetes, coeliac disease, ulcerative colitis, or alcoholism. Medications include diuretics, antibiotics, immunosuppressants, and asthma medications.
In both cases, magnesium supplements can top up your dietary magnesium intake and help you to meet your daily needs. Even better, they’re usually formulated with other healthy ingredients like amino acids, each with its own additional benefits. Learn more about the different types of magnesium and their individual benefits.