Get,

Free Doctor Tips

to manage your symptom

Get your,

FREE Doctor Tips Now!!

4 Cr+ families

benefitted

Enter your Phone Number

+91

|

Enter a valid mobile number

Send OTP

Verify your mobile number

OTP sent to 9988776655

CONGRATULATIONS!!!

You’ve successfully subscribed to receive

doctor-approved tips on Whatsapp


Get ready to feel your best.

Hi There,

Download the PharmEasy App now!!

AND AVAIL

AD FREE reading experience
Get 25% OFF on medicines
Banner Image

Register to Avail the Offer

Send OTP

By continuing, you agree with our Privacy Policy and Terms and Conditions

Success Banner Image
Verify your mobile number

OTP sent to 9988776655

Comments

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Leave your comment here

Your email address will not be published. Required fields are marked *

25% OFF on medicines

Collect your coupon before the offer ends!!!

COLLECT

Magnesium Rich Foods: Your Ultimate Guide to Essential Nutrition

By Dr. Malavika Athavale +2 more

Join Health Talk by PharmEasy on WhatsApp

Introduction

Your body needs many vital nutrients to carry out physiological functions. One of these is magnesium. This mineral is critical for your health. It helps with energy production, maintaining strong bones, and ensuring muscles and nerves function correctly. It’s also good for your heart1. However, not everyone gets enough magnesium just from their diet, which could lead to deficiency. We’ve prepared a guide to help you steer clear of this common issue.  

In this article, you’ll learn all about magnesium, its functions in the body, recommended daily requirements, best sources of magnesium-rich foods, and what affects its absorption in the body. You’ll also learn about the risks of having too much or too little magnesium. 

magnesium rich foods

Did you know? 

The Role of Magnesium in the Human Body

Magnesium is essential for many of our body’s processes. It also supports several functions, such as:  


  • Energy production.  
  • Maintaining strong bones.  
  • Muscle and nerve function.  
  • Maintaining heart health1.

1. Energy production

women energetic

Magnesium plays a major role in energy production. This process uses a molecule called adenosine triphosphate (ATP). ATP moves the energy needed for metabolism inside the cells1,2

  • Adenosine triphosphate (ATP) creation: ATP manages the energy requirements of cells. Magnesium binds with ATP to make magnesium-ATP structures that help carry out biochemical reactions. They also help let out energy as part of metabolism2

2. Bone Health

bone health

Magnesium also plays an important role in bone health. It aids the uptake of calcium, which in turn supports bone strength and shape. 

  • Calcium absorption: Having enough magnesium in the body boosts the use and uptake of calcium by bones. This can avoid the breaking down of bones. It also helps reduce the risk of osteoporosis. Besides that, magnesium aids in activating vitamin D, which is required for the proper absorption of calcium3.  

3. Muscle and nerve function

cramp

The body needs magnesium for muscles and nerves to work normally. 

  • Muscle relaxation and contraction: Magnesium is necessary for nerve and muscle function. Adequate magnesium intake helps muscle contractions by acting as a natural block to calcium, allowing the muscles to relax (after calcium stimulates them to contract). This helps avoid muscle cramps, spasms, and tension often caused by magnesium deficiency4

4. Heart Health

supports heart health

Magnesium benefits overall heart health. It helps keep heartbeats regular, avoid arrhythmias, and support healthy blood pressure levels. 

  • Maintaining regular heartbeat: The body needs the right level of magnesium to maintain electrical activity of the heart, which helps control a normal heartbeat. It also helps avoid issues like irregular heart patterns, flutters, or even more serious cases like atrial fibrillation5

Recommended Daily Intake of Magnesium

To ensure the best health, magnesium should be taken in required amounts based on factors like age and gender. You also have to consider other factors like medical issues, lifestyle factors, and medications that might affect how much magnesium is absorbed. 

Daily Values for Different Age Groups

Magnesium requirement per day for different age groups is as follows: 


  • Kids: 
    • Age 1–3 years: 80 mg 
    • Age 4–8: 130 mg 
  • Teens: 
    • Age 9–13: 240 mg 
    • Age 14–18: boys – 410 mg, girls – 360 mg 
  • Adults:  
    • Age 19–30: Men – 400 mg, women – 310 mg 
    • Age 31 and above: men – 420 mg, women – 320 mg, pregnant women – 350–400 mg (based on age), breastfeeding women – 310–360 mg1 

Factors affecting magnesium requirements

Certain factors can influence a person’s requirement for magnesium. For instance, if you have a certain health problem, a habit, or you are taking a certain medication, you may have to adjust your magnesium intake.  

  • Medical conditions: Health problems such as diabetes, gut problems, issues with alcohol, or kidney disease may cause the body to get rid of too much magnesium. This increases the need for magnesium.  
  • Lifestyle factors: Specific lifestyle factors like workouts and stress can change your magnesium requirements. High levels of physical activity or stress can use up more magnesium, leading to more magnesium requirement6
  • Medications: Some medicines can lower magnesium levels in the body by interfering with its absorption or causing too much of it to leave the body. These include some antibiotics, diuretics, and some chemotherapy medicines7. Talk to your healthcare provider in such a case.  

Top Magnesium-Rich Foods

You may ensure enough magnesium intake by taking a balanced diet. Several foods are a great source of magnesium and provide an easy way to meet your daily requirements. The top foods rich in magnesium are as follows:    

1. Dark Chocolate

dark chocolate

Not only is dark chocolate tasty, but it is also a rich source of magnesium. One 28-gm serving (70-85% dark chocolate) has about 64 mg of magnesium8. That’s 15% of the daily value for an adult (DV). You should ensure the dark chocolate is of good quality before consuming. 

  • Nutritional values  

Dark chocolate also holds other vital nutrients, such as iron, copper, manganese, and prebiotic fibre, that help digestion and feed good gut bacteria9

  • Tips on choosing the right dark chocolate  

Pick dark chocolates that are at least 70% cocoa to get the most health benefits. Even higher percentages are better. But remember, don’t eat too much as it contains too many calories.  

2. Avocados

avocado

Avocados are a creamy, healthy fruit filled with heart-friendly fats, potassium, fibre, and essential vitamins. One medium avocado (200 gm) has about 58 mg of magnesium8. That’s 14% of the DV.  

  • Nutritional values  

This fruit is also a good source of monounsaturated fats, vitamin K, folate, and vitamin C.  

  • How to add avocados to your diet?  

You can add avocados to a range of dishes. Enjoy them in salads, spread them over whole-grain toast, blend them into smoothies, or serve as a yummy guacamole dip. Note, it is commonly known as butter fruit and needs to be eaten in moderation. 

3. Nuts

nuts

Nuts like almonds, cashews, and peanuts are very nutritious. They have a huge amount of vital nutrients like fibre, protein, monounsaturated fat, and magnesium. For instance, one ounce (28.35 grams) of almonds has around 76.5 mg of magnesium8. That equals 20% of the DV.  

  • Almonds, cashews, and peanuts  

These nuts may also provide various other potential health benefits, like improved sugar levels and cholesterol levels in the blood, lower inflammation, and improved heart health10.  

  • Consumption guidelines  

Even though nuts are considered healthy, watch how much you eat as they are high in calories. Moderation is key to getting the most out of their potential health benefits without consuming too many calories. 

4. Legumes

legumes

Legumes, including lentils, beans, chickpeas, peas, and soybeans, are a nutrient-rich family of plants. High in magnesium, they also provide large amounts of potassium, iron, and protein suitable for vegetarian diets.  

  • Black beans, soybeans, and edamame 

A cooked black bean serving (172 g) contains about 120 mg of magnesium8, which equals 29% of the DV. Similarly, soybean products with soy milk or edamame are packed with magnesium and other essential nutrients.  

  • Cooking tips  

Increasing your magnesium intake is easy with legumes. Thanks to their flexibility in the kitchen, you can add them to soups, salads, or stews or serve them as enticing dips. This way, you can enhance the nutrient value of your meals.  

5. Tofu

Tofu is a perfect substitute for meat because of its high protein content. A 100-g serving of tofu has 40 mg of magnesium8. That makes up 8% of the DV.  

  • Nutritional values  

Apart from magnesium, tofu is rich in calcium, iron, manganese, and selenium.  

  • Variety of tofu dishes  

There are many tasty ways to add tofu to your diet. Try putting it into stir-fries, curries, salads, sandwiches, or even desserts. You will boost the magnesium content of your dish and enjoy the taste. 

6. Seeds

chia seeds

Seeds like pumpkin, chia, and flax are rich in nutrients and have high levels of magnesium. A 28-g serving of pumpkin seeds contains 168 mg of magnesium8. That’s 40% of the DV.  

  • Pumpkin seeds, chia seeds, and flaxseeds  

These seeds have other benefits for health. They are full of iron, monounsaturated fat, omega-3 fats, and antioxidants. Even more, they have lots of fibre for good digestion11.  

  • Incorporating seeds into your diet  

Adding seeds to your diet is simple. Sprinkle them over yogurt, oatmeal, salads, or smoothies. You can enjoy their crunchy texture and get magnesium as well. 

7. Whole Grains

whole grains

Whole grains such as wheat, oats, barley, quinoa, and brown rice are rich in many nutrients, including magnesium. A cooked buckwheat portion of 168 g gives you 86 mg of magnesium8. That’s 20% of the DV.  

  • Quinoa, whole wheat, and brown rice  

Apart from magnesium, whole grains also contain B vitamins, selenium, manganese, and fibre. They are believed to lower inflammation12, which helps reduce the risk factors for heart disease.  

  • How to cook and serve whole grains?  

Replace simple carbohydrates like white rice with complex carbohydrate sources like brown rice or quinoa. This way, you can help boost your magnesium intake and improve your diet. 

8. Certain fatty fish

fatty fish

Fatty fish, like salmon and mackerel, not only taste great but are also healthy. Many types of fish are high in magnesium and also contain omega-3 fatty acids, potassium, selenium, vitamin B, and valuable proteins. 

  • Salmon and tuna  

A cooked salmon serving of 100 g provides nearly 30 mg of magnesium8 or 8% of the DV. Eating fatty fish is also proposed to support heart health. That helps reduce the chance of chronic issues like heart disease.  

  • Fish consumption recommendations  

The American Heart Association advises eating fish, preferably fatty fish such as salmon and albacore tuna. Ideally, it is important to eat fish twice per week at least. Try different fish recipes to widen your options for magnesium-rich meals. 

9. Bananas

banana

We know bananas for their high level of potassium. But they are also rich in magnesium. One large banana has 37 mg of magnesium8. That adds up to 9% of the DV.  

  • Nutritional values  

This popular fruit also contains other key nutrients, like vitamin C, vitamin B6, manganese, and fibre.  

  • Different ways to eat bananas  

You can enjoy bananas on their own or you can add them to many dishes. You can blend them into smoothies, slice them onto cereal or yogurt, or use them as the main ingredient in baked goods like banana bread or pancakes. 

10. Leafy Greens

green leafy vegetables

Leafy greens are incredibly nutritious, and many types are filled with magnesium. Examples include spinach, kale, collard greens, turnip greens, and mustard greens. A cooked spinach serving of 180 g gives 142 mg of magnesium8. That’s a great 37% of the DV. 

  • Spinach, kale, and collard greens  

Besides magnesium, leafy greens offer many nutrients like iron and manganese and key vitamins like vitamins A, C, and K.  

  • Cooking and serving suggestions  

You can prepare leafy greens in many ways. Steam or sauté them as a yummy side dish, blend them into smoothies and sauces or, toss them into salads for an extra touch of magnesium.  

Magnesium in Beverages

Some drinks can also give your body magnesium.  

  • Soy milk: One cup of soy milk gives you about 51 mg of magnesium8. Soy milk is a good choice for people who can’t eat dairy or are vegan. 
  • Tap or mineral water: The amount of magnesium in tap or mineral water can vary a lot. Some bottled water can have a good amount of magnesium, while others do not3
  • Juices: Some fruit juices, like orange juice, can have a bit of magnesium. One cup of orange juice with pulp can give you around 25 mg of magnesium8
  • Tea: Certain types of tea, such as oolong, green, and black tea, can have magnesium in different amounts13.  
  • Cocoa powder: It is high in magnesium9. Choose high-quality, sugar-free cocoa powders when you prepare hot cocoa or add to recipes. This way you maintain a healthy level of magnesium without added sugars.  

Magnesium Absorption and Interactions

Many factors can affect how well your body takes up magnesium. Knowing these may help you make the most of your magnesium intake. It also helps avoid magnesium deficiency.  

1. Phytic Acids

You can find phytic acid in seeds, nuts, beans, legumes, and grains. It can bind to magnesium in the gut, lowering its absorption14. To avoid these effects of phytic acid, you can soak, sprout, ferment, and cook plant foods.  

2. Interactions with Other Minerals

Some minerals can disrupt the absorption of magnesium or they might compete for availability in the body. Minerals that disrupt magnesium absorption include:  

  • Calcium: An imbalance between magnesium and calcium can affect the absorption and functions of magnesium. Aim for balanced use of both minerals15
  • Zinc: Taking zinc supplements at the same time as magnesium supplements might lower the absorption of the latter16. Separate their use to avoid issues.  
  • Iron: Taking lots of iron can lower magnesium absorption. 

Manage your intake of substances that hinder magnesium absorption wisely and talk to your healthcare provider for guidance if needed.  

3. Factors Affecting Magnesium Absorption

Other diet factors can affect how much magnesium the body can absorb. These include: 

  • Fibre: While fibre is key for gut health, high fibre intake may disrupt magnesium absorption17
  • Protein: The right amount of protein intake may improve magnesium absorption, while low intake of proteins can hinder it18. Make sure you get an adequately balanced protein in your diet.  
  • Healthy fat: Eating healthy fats may foster magnesium uptake in the body, as it helps the uptake of fat-soluble vitamins and minerals.  

Magnesium Supplements vs. Whole Foods

While you can use magnesium supplements for magnesium deficiency, eating whole foods rich in magnesium has many other potential benefits. 

Pros and Cons of Supplements

  • Supplements may help increase magnesium levels quickly for people with a deficiency.  
  • You can overdose on magnesium supplements. Misuse of supplements may cause diarrhoea, nausea, stomach cramping, and other serious issues.  

Pros and Cons of Whole Foods

  • Whole foods give not only magnesium but also a range of other key nutrients.  
  • It’s much less likely to overdose on magnesium from food sources compared to supplements3

Magnesium-Forward Meal Ideas

Adding more foods rich in magnesium into your diet can be as easy as trying new recipes or changing up old ones. Here are some meal ideas to raise your magnesium consumption.  

1. Healthy Breakfasts

  • Smoothie recipes: Blend magnesium-rich greens like spinach or kale with nuts, seeds, and fruits for a thick, healthy breakfast smoothie. 
  • Oatmeal with toppings rich in magnesium: Serve a comforting oatmeal bowl and top it with nuts, seeds, or sliced banana for an added boost of magnesium. 

2. Lunch and Dinner Recipes

  • Spinach salads: Make a yummy spinach salad filled with ingredients rich in magnesium, like avocados, almonds, and chickpeas.  
  • Tofu stir-fries: Increase your magnesium intake with a colourful tofu stir-fry with added vegetables, tofu, and whole grains like brown rice or quinoa for a filling meal.  

3. Nutrient-dense Snacks

  • Banana and nut butter: Pair a banana with almond or peanut butter for a yummy, magnesium-rich snack.  
  • Roasted seeds and nuts: Take care of your hunger with a homemade mix of roasted pumpkin seeds, cashews, and almonds. That’s a snack filled with magnesium for when you are on the move.  

Risks of Too Much Magnesium

Even though magnesium is vital for health, too much of it can cause unwanted side effects or worse. 

Side Effects

  • High levels of magnesium may cause diarrhoea, stomach cramps, and nausea.  
  • Very high levels of magnesium can lead to irregular heartbeats, difficulty breathing, vomiting, and low blood pressure3

Interference with Medications

Magnesium might interfere with the effect of certain medicines, such as tetracyclines, oral bisphosphonates, or quinolone antibiotics3. Some medicines like proton pump inhibitors and diuretics may interfere with magnesium levels. Talk to your healthcare provider to avoid unwanted effects or unwelcome interactions of magnesium with other medicines.  

Precautions and Symptoms of Overdose

Always take precautions when you increase your magnesium intake. If you feel weakness in your muscles, have trouble breathing, or have an irregular heartbeat, get medical help at once. These might be signs of a magnesium overdose, which needs immediate management. 

Conclusion

Magnesium is essential for keeping overall health and looking after various body functions. It’s a key mineral in energy production, maintaining healthy bones, helping muscles and nerves function correctly, and taking care of heart health. By including foods rich in magnesium in your daily diet, you may ensure your body gets the amount it requires to stay healthy.  

Also, making healthy lifestyle choices and considering factors that affect how your body takes in magnesium may help you avoid magnesium deficiency. Consult a healthcare professional before starting magnesium supplements.  

Frequently Asked Questions (FAQs)

Which foods are highest in magnesium?  

Dark chocolate, avocados, nuts, and seeds are some foods that are high in magnesium.  

How can I raise my magnesium levels quickly?  

To increase magnesium levels fast, eat a range of foods rich in magnesium, such as leafy greens, nuts, seeds, legumes, whole grains, and some fatty fish. Also, avoid things that decrease the absorption of magnesium in the body.  

What are symptoms of magnesium deficiency?  

Common signs of magnesium deficiency include feeling tired, muscle cramps or weakness, and irregular heartbeat.  

Do you need to take magnesium supplements along with a magnesium-rich diet?  

Magnesium supplements might be needed for people at risk of magnesium deficiency, for example, individuals who take certain medicines. However, it’s essential to consult a doctor before starting magnesium supplements to understand the right dose for you.  

References

  1. Magnesium in diet [Internet]. Medlineplus. Jan 2025 [cited 2026 Jan 14]. Available from: https://medlineplus.gov/ency/article/002423.htm 
  2. Dunn J, Grider MH. Physiology, Adenosine Triphosphate. [Updated 2023 Feb 13]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK553175/ 
  3. Magnesium [Internet]. Nih.gov. [cited 2026 Jan 14]. Available from: https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/ 
  4. Souza ACR, Vasconcelos AR, Dias DD, Komoni G, Name JJ. The Integral Role of Magnesium in Muscle Integrity and Aging: A Comprehensive Review. Nutrients. 2023 Dec 16;15(24):5127. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC10745813/ 
  5. Siddiqui RW, Nishat SMH, Alzaabi AA, Alzaabi FM, Al Tarawneh DJ, Al Tarawneh YJ, Khan A, Khan MAM, Siddiqui TW, Siddiqui SW. The Connection Between Magnesium and Heart Health: Understanding Its Impact on Cardiovascular Wellness. Cureus. 2024 Oct 24;16(10):e72302. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC11585403/ 
  6. Pickering G, Mazur A, Trousselard M, Bienkowski P, Yaltsewa N, Amessou M, Noah L, Pouteau E. Magnesium Status and Stress: The Vicious Circle Concept Revisited. Nutrients. 2020 Nov 28;12(12):3672. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC7761127/ 
  7. Swaminathan R. Magnesium metabolism and its disorders. Clin Biochem Rev. 2003 May;24(2):47-66. PMID: 18568054; PMCID: PMC1855626. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC1855626/ 
  8. Food search [Internet]. Usda.gov. [cited 2026 Jan 15]. Available from: https://fdc.nal.usda.gov/food-search  
  9. Samanta S, Sarkar T, Chakraborty R, Rebezov M, Shariati MA, Thiruvengadam M, Rengasamy KRR. Dark chocolate: An overview of its biological activity, processing, and fortification approaches. Curr Res Food Sci. 2022 Oct 15;5:1916-1943. https://pmc.ncbi.nlm.nih.gov/articles/PMC9589144/ 
  10. Glenn AJ, Aune D, Freisling H, Mohammadifard N, Kendall CWC, Salas-Salvadó J, Jenkins DJA, Hu FB, Sievenpiper JL. Nuts and Cardiovascular Disease Outcomes: A Review of the Evidence and Future Directions. Nutrients. 2023 Feb 11;15(4):911. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC9964942/ 
  11. Eating a high-fiber diet [Internet]. Veteranshealthlibrary.va.gov. [cited 2026 Jan 14]. Available from: https://veteranshealthlibrary.va.gov/encyclopedia/3,83063 
  12. Xu Y, Wan Q, Feng J, Du L, Li K, Zhou Y. Whole grain diet reduces systemic inflammation: A meta-analysis of 9 randomized trials. Medicine (Baltimore). 2018 Oct;97(43):e12995. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC6221555/ 
  13. Klepacka J, Tońska E, Rafałowski R, Czarnowska-Kujawska M, Opara B. Tea as a Source of Biologically Active Compounds in the Human Diet. Molecules. 2021 Mar 9;26(5):1487. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC7967157/ 
  14. Gupta RK, Gangoliya SS, Singh NK. Reduction of phytic acid and enhancement of bioavailable micronutrients in food grains. J Food Sci Technol. 2015 Feb;52(2):676-84. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC4325021/ 
  15. Fouhy LE, Mangano KM, Zhang X, Hughes BD, Tucker KL, Noel SE. Association between a Calcium-to-Magnesium Ratio and Osteoporosis among Puerto Rican Adults. J Nutr. 2023 Sep;153(9):2642-2650. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC10550845/ 
  16. Spencer H, Norris C, Williams D. Inhibitory effects of zinc on magnesium balance and magnesium absorption in man. J Am Coll Nutr. 1994 Oct;13(5):479-84. Available from: https://pubmed.ncbi.nlm.nih.gov/7836627/ 
  17. Vormann J. Magnesium: Nutrition and Homoeostasis. AIMS Public Health. 2016 May 23;3(2):329-340. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC5690358/ 
  18. Institute of Medicine (US) Standing Committee on the Scientific Evaluation of Dietary Reference Intakes. Dietary Reference Intakes for Calcium, Phosphorus, Magnesium, Vitamin D, and Fluoride. Washington (DC): National Academies Press (US); 1997. 6, Magnesium. Available from: https://www.ncbi.nlm.nih.gov/books/NBK109816/ 

Disclaimer: The information provided here is for educational/awareness purposes only and is not intended to be a substitute for medical treatment by a healthcare professional and should not be relied upon to diagnose or treat any medical condition. The reader should consult a registered medical practitioner to determine the appropriateness of the information and before consuming any medication. PharmEasy does not provide any guarantee or warranty (express or implied) regarding the accuracy, adequacy, completeness, legality, reliability or usefulness of the information; and disclaims any liability arising thereof. 

Links and product recommendations in the information provided here are advertisements of third-party products available on the website. PharmEasy does not make any representation on the accuracy or suitability of such products/services. Advertisements do not influence the editorial decisions or content. The information in this blog is subject to change without notice. The authors and administrators reserve the right to modify, add, or remove content without notification. It is your responsibility to review this disclaimer regularly for any changes. 

Advertisement

Comments

Leave your comment...