Food

Which Food Has Magnesium in It? Top Sources and Tips

By Hayride Live · Updated · 5 min read

Leafy greens, nuts, seeds, whole grains, and legumes are the primary foods that contain magnesium. Many people assume that only supplements provide high doses, but a varied diet of plant-based whole foods typically covers daily needs.

Plant-Based Sources Provide the Most Magnesium

Chlorophyll, the pigment that makes plants green, contains magnesium at its center, making dark leafy greens some of the most reliable sources. Spinach and Swiss chard are particularly dense in this mineral. To get the most out of these greens, eat them raw in salads or lightly steamed, as overcooking can cause some minerals to leach into the cooking water.

Seeds and nuts offer a concentrated amount of magnesium per ounce. Pumpkin seeds (pepitas) are among the highest sources available, followed closely by chia seeds and flaxseeds. Almonds and cashews also provide significant amounts. Because these are calorie-dense, a small handful of about 1 ounce (28 g) is usually enough to contribute a meaningful portion of the daily requirement without adding excessive calories to the meal.

Whole grains retain the bran and germ, which is where the magnesium is stored. Brown rice, quinoa, and oats are better choices than refined white flour or white rice, which have the magnesium-rich outer layers removed during processing. Switching from white bread to whole-grain or sprouted-grain bread is a simple way to increase intake across every meal.

Legumes, including black beans, edamame, lentils, and chickpeas, are versatile staples that provide magnesium along with protein and fiber. For those using canned beans, rinsing them under cold water for 30 seconds removes excess sodium, which can otherwise interfere with how the body absorbs certain minerals.

Food Group Top Examples Best Preparation
Seeds & Nuts Pumpkin seeds, Almonds Raw or dry-roasted
Leafy Greens Spinach, Swiss chard Fresh or lightly steamed
Whole Grains Quinoa, Brown rice Boiled or steamed
Legumes Black beans, Lentils Boiled or rinsed canned

Absorption Factors Affect Magnesium Levels

The presence of other nutrients can either help or hinder how much magnesium your body actually absorbs from the food you eat. Vitamin D helps the body absorb magnesium more efficiently, so eating magnesium-rich foods alongside sources of Vitamin D, such as fatty fish or fortified cereals, can be beneficial.

Conversely, certain substances can bind to magnesium in the digestive tract, preventing it from entering the bloodstream. Phytates, found in some raw grains and legumes, can reduce absorption. Soaking beans and grains before cooking helps break down these phytates, making the magnesium more bioavailable. Similarly, excessive intake of phosphorus, often found in highly processed sodas and fast foods, can compete with magnesium for absorption.

Calcium and magnesium often work together, but in very high doses, they can compete for the same transport carriers in the gut. This is rarely an issue with whole foods, as nature typically balances these minerals in the right ratios. However, if you are taking high-dose calcium supplements, it is a good idea to eat your magnesium-rich meals at a different time of day than when you take the supplement.

Specific Food Examples and Daily Integration

Integrating these foods into a daily routine does not require a complete diet overhaul. A simple breakfast of oatmeal topped with a tablespoon of chia seeds and a handful of sliced almonds provides a strong start. For lunch, a spinach salad with chickpeas and a lemon-tahini dressing combines three different magnesium sources in one bowl.

Dark chocolate is another source that people enjoy. Cocoa powder and dark chocolate with at least 70% cocoa contain magnesium, though they also contain sugar and fats. A small square of about 1 ounce (28 g) can serve as a treat that also contributes to mineral intake. Avoid milk chocolate, as the higher sugar and milk content dilute the concentration of cocoa.

Avocados are an excellent addition to a magnesium-focused diet. One medium avocado provides a significant amount of the mineral along with healthy fats that help the body absorb other fat-soluble vitamins. Slicing avocado onto whole-grain toast or adding it to a smoothie is an easy way to add magnesium to a meal without changing the flavor profile significantly.

Sample Magnesium-Rich Day

To visualize how these foods fit together, consider a day of eating focused on these sources. Start with 1 cup (160 g) of cooked oatmeal mixed with 1 tablespoon (15 ml) of flaxseeds. For a mid-morning snack, eat 1 ounce (28 g) of raw almonds. Lunch could be a bowl of quinoa (1 cup cooked) mixed with black beans (1/2 cup) and sautéed kale.

For an afternoon pick-me-up, a piece of dark chocolate or a handful of pumpkin seeds works well. Dinner might consist of a piece of grilled salmon served with a side of steamed broccoli and brown rice. This combination ensures that you are getting magnesium from seeds, nuts, grains, legumes, and greens throughout the day.

Cooking Methods That Preserve Mineral Content

How you prepare your food determines how much magnesium actually makes it into your system. Boiling vegetables in large amounts of water and then discarding the water can lead to mineral loss. Instead, use steaming or sautéing with a small amount of olive oil. If you do boil vegetables, consider using the leftover cooking water for a soup or sauce to reclaim the nutrients.

For grains and legumes, using a pressure cooker or slow cooker is efficient, but the most important step for magnesium bioavailability is the pre-soak. Soak dried beans for 8 to 12 hours in water, then drain and rinse them before cooking. This process neutralizes phytic acid, which is a known inhibitor of mineral absorption.

When choosing nuts, opt for raw or dry-roasted versions. Some oil-roasted nuts are processed with additives or excessive salts that can interfere with the balance of minerals in your diet. Store raw nuts and seeds in the refrigerator or freezer to prevent the natural oils from going rancid, which ensures they stay palatable for several months.

Magnesium and Dietary Balance

Maintaining a balance between magnesium and other minerals is key to overall wellness. While focusing on magnesium, do not ignore the need for potassium and calcium, as these three minerals work in tandem to regulate muscle and nerve function. Most foods that are high in magnesium, like spinach and bananas, are also naturally high in potassium.

If you have a condition that affects kidney function, it is important to be cautious with high-magnesium foods. The kidneys are responsible for filtering excess magnesium out of the body. If they are not functioning properly, magnesium can build up to unsafe levels in the blood. In such cases, always consult a healthcare provider to determine a safe daily limit for mineral intake.

For those who struggle with the taste of leafy greens, blending them into a smoothie is a practical solution. A mixture of frozen mango, a handful of fresh spinach, a tablespoon of almond butter, and a splash of soy or almond milk masks the taste of the greens while providing a concentrated dose of magnesium. This is especially helpful for children or picky eaters who avoid vegetables.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.