Updated September 25, 2023Magnesium is one of the essential minerals you should eat for a healthy lifestyle. Not consuming enough magnesium can interfere with your heart rhythm, blood sugar, muscles, and joint cartilage. It’s best to get magnesium from your diet rather than supplements by eating magnesium-rich foods.What is Magnesium?Magnesium is one of the many vitamins and minerals needed for a healthy body. Magnesium helps your body regulate muscle and nerve functions, blood sugar levels, and blood pressure. Lee Holmes, certified health, nutrition, and wellness coach says, “ Magnesium is critical for the production of ATP and required for the functioning of the Krebs cycle, glycolysis and for key enzymes in gluconeogenesis.”How much magnesium you need varies by age and gender:Newborns to 6-month-olds need 30 mg of magnesiumInfants 7 months to a year old need 75 mg magnesiumChildren ages 1 to 3 need 80 mg magnesiumChildren ages 4 to 8 need 130 mg magnesiumChildren ages 9 to 13 need 240 mg magnesiumTeenage boys ages 14 and older need 410 mg magnesiumTeenage girls ages 14 and older need 360 mg magnesiumMen need 400 to 420 mg magnesiumWomen need 310 to 320 mg magnesiumPregnant women need 350 to 360 mg magnesiumGood sources of magnesium include green and leafy vegetables, dark chocolate, avocado, bananas, tofu, whole grains, legumes, nuts, and seeds.Signs of Magnesium DeficiencyMagnesium deficiency due to low food intake is relatively uncommon because your kidneys control how much magnesium your body expels. However, a poor diet or a chronic medical condition can cause low magnesium levels.Early signs of a magnesium deficiency include:Reduced appetiteNausea and vomitingFatigue and weaknessIf time passes and the deficiency goes untreated, other symptoms may include:NumbnessTingling sensations in the extremitiesAbnormal heart rhythmsMuscle cramps and contractionsSeizuresChanges in personalityCoronary spasmsIf you notice signs of a magnesium deficiency, talk to your doctor. They can order a blood test and determine possible causes and solutions. Risk factors for a magnesium deficiency include type 2 diabetes, cardiovascular disease, or gastrointestinal issues such as Crohn’s disease and celiac disease.It’s also possible to have too much magnesium in your body, but this is a rarer condition. Too much magnesium can cause abdominal cramping, nausea, and diarrhea. In a few cases of extremely high magnesium intake, symptoms include irregular heart rhythms and cardiac arrest.Magnesium-Rich Foods to Add to Your DietNow that you understand the importance of consuming magnesium, you may be wondering what some of the best foods you can add to your diet are. There’s a wide variety of foods you can eat to reach your daily recommended intake.1. AvocadoAvocados provide more than just a good helping of magnesium. Just one-third of a medium-sized Hass avocado contains almost 20 different nutrients, such as vitamins K and E, unsaturated fats, and dietary fiber.An avocado also has more potassium than a banana. Potassium is another essential nutrient required for cell function.An avocado a day may also significantly reduce harmful LDL cholesterol levels, as a 2015 study found. Eating half of an avocado at lunch can also make you feel “full,” which can help curb any over-snacking.2. Dark ChocolateIf you’re a chocolate lover, you can indulge your craving and still stay healthy. Dark chocolate is not only rich in magnesium but also iron, copper, zinc, phosphorus, antioxidants, and flavanols.Flavanols are a distinct sub-group of flavonoids found predominantly in tea, apples, grapes, and cocoa shown to improve heart health. Higher percentages of cacao/cocoa mean greater amounts of flavanols. Flavanols can:Lower your blood pressureIncrease insulin sensitivity (which can reduce your risk of diabetes)Promote healthy gut bacteriaEven protect your skin from UV lightConsuming dark chocolate can even improve your exercising capabilities.If you want to eat healthily, try a chocolate that is 70 percent cacao or higher. Be warned that the higher this percentage, the more bitter the chocolate tastes. It’s smart to look for dark chocolate with a low sugar count, few additives, and no preservatives.3. Soy MilkA cup of soy milk contains 61 mg of magnesium and 7 grams of protein. Soy products are rich in other nutrients such as B vitamins, potassium, and fiber. Some varieties of soy milk are fortified with calcium or vitamins A and D.A 2019 study suggests that eating 25 grams of soy protein a day can lower harmful cholesterol levels by a small but significant percentage. That’s about three and a half cups of soy milk.Are you not fond of soy milk? You can consider other soybean products: tofu, edamame, and tempeh.4. Peanut ButterJust two tablespoons of peanut butter can provide 50 mg of magnesium. It’s also a good source of other vitamins and minerals, such as potassium. Spread it on some whole-grain toast, and you can start your day off right, or have it for lunch as part of a traditional PB and J sandwich.Numerous studies suggest that people who regularly eat peanut butter or other nuts have a lower risk of heart disease or type 2 diabetes. When you’re choosing peanut butter, try to pick one that is all-natural and with few to none added fats or sugar. You may also want to try an unsalted variety to limit your sodium intake.5. Dark Leafy GreensIf you need to add some magnesium to your diet, try a simple salad with leafy greens such as spinach and kale. You can also cook these leafy greens as a side—a cup of cooked spinach has 157 mg of magnesium.Still, if you can stomach raw spinach, you might be better off eating it uncooked. A 2019 study suggests that chopping up fresh spinach is the best way to take advantage of spinach’s supply of lutein. Spinach loses some of its lutein if it’s boiled, fried, or steamed, and chopping it releases more lutein than if you were to eat it whole.Lutein is an antioxidant that may maintain eye health and lower the odds of macular degeneration. Macular degeneration is an eye disease where your central vision goes blurry, making activities like reading and driving more difficult. You are more likely to have macular degeneration if you’re over 60.A rule of thumb is that the darker the greens, the more nutrients they have. Aside from healthy amounts of magnesium, leafy greens can also contain vitamins C and K, fiber, and potassium. Kale is rich in vitamin B6, which assists more than 100 enzymes with tasks such as supporting immune system functions and breaking down fats, proteins, and carbohydrates.Finally, eating leafy greens may help slow cognitive decline, keeping you sharp as you approach old age.6. Roasted Pumpkin SeedsAn ounce of roasted pumpkin seeds offers 156 mg of magnesium. Pumpkin seeds still in their shells also have 5.2 grams of fiber in a serving, while pumpkin seeds without their shells only feature 1.8 grams.When you’re shopping for pumpkin seeds, try the unsalted variety. Store-bought pumpkin seeds can contain large amounts of salt.To improve taste, you might want to pair pumpkin seeds with fruit or cheese. In some cases, combining snacks ensures you get a broader range of nutrients; just be mindful that combining carbs, fats, protein can sometimes be difficult to digest for some people.Try to be mindful as you eat. Treat your snack like a small meal and give it your full focus instead of eating while you’re doing another task.7. AlmondsWhat if you don’t like pumpkin seeds? Dry roasted almonds are another snack alternative, featuring 80 mg of magnesium in one ounce. Plus, almonds are rich in vitamin E, calcium, fiber, and healthy monounsaturated fats.Eating almonds may lower your risk of heart disease and reduce your cholesterol levels. Almonds also promote helpful gut bacteria and keep blood vessels healthy while reducing inflammation and insulin resistance.Almonds are on our list of the best foods for a restful sleep. They’re high in melatonin, a hormone that keeps your sleep-wake cycle on track.A 2019 study suggests that eating almonds may help alleviate insomnia.8. Black BeansLegumes encompass lentils, beans, and peas, all of which are contain various nutrients, including protein, carbohydrates, B vitamins, iron, copper, zinc, and fiber. Plus, it usually costs very little to stock up on them.Black beans are one of the best choices if you want more magnesium in your diet. A cup of boiled black beans has 120 mg magnesium.If black beans aren’t to your taste, you can try lentils or chickpeas. A cup of boiled chickpeas has 79 mg of magnesium, while a cup of lentils has 71 mg.Black beans and other legumes are excellent substitutes for red meat, which is perfect for anyone who’s looking to cut back. They’re low in unsaturated fats and contain no saturated fats or cholesterol. This is why legumes are a key staple of vegetarian diets.9. Brown RiceA cup of cooked brown rice contains 80 mg of magnesium. You may decrease your risk of diabetes if you eat brown rice instead of white rice.Plus, brown rice goes well with other magnesium-heavy foods. Mix the rice with a legume, a vegetable, and perhaps a lean meat for a solid meal.10. BananasBananas contain high amounts of potassium and a decent amount of magnesium. A cup of banana, which is about equal to one large banana, contains 41 mg of magnesium.Bananas are also an excellent post-workout snack, according to a 2012 study. The study compared cyclists who ate bananas while racing to cyclists who drank sports drinks. Bananas offered more benefits and a healthier selection of sugars.What About Magnesium Supplements?We advise caution when it comes to over-the-counter magnesium supplements. Most people just need a few daily servings of magnesium-rich foods to meet their daily requirements. While it’s difficult for people to ingest too much magnesium in their meals, a supplement may provide too much magnesium.When you have too much magnesium in your body, you may experience nausea, stomach cramps, and diarrhea. Supplements can also interact with certain medications, such as:Antibiotics. If you take an antibiotic and a magnesium supplement close together, your body may not absorb it.Diuretics can affect how much magnesium is expelled.Prescription drugs for acid reflux or stomach ulcers can lower magnesium levels over time.However, magnesium supplements may help prevent migraine headaches. There is also some limited evidence that magnesium can reduce insomnia in the elderly, with more research needed.You should speak with a doctor to better decide if dietary supplements are the right solution for you. [faq_cooper]Did We Help?Following a balanced diet is the best way to ensure you’re getting all the nutrients you need for a healthy body and an energetic lifestyle. Magnesium is just one of many essential vitamins and minerals. Magnesium-rich diets keep your heart rate steady, balance your blood sugar levels, and help your body produce crucial cells.This article is for informational purposes and should not replace advice from your doctor or other medical professional.