Is Spinach High in Magnesium? What the Numbers Show

Spinach is one of the richest vegetable sources of magnesium, packing roughly 79 mg per 100 grams when raw and around 87 mg per 100 grams when cooked. A single cup of cooked spinach can supply about a third of an adult’s daily magnesium needs. But what the nutrition label says and what your body actually absorbs are two different numbers, and the gap between them is where the story gets interesting.

What a Serving Actually Delivers

To put spinach’s magnesium content in perspective, adult women need about 310 to 320 mg of magnesium a day, while adult men need 400 to 420 mg. A cup of cooked spinach, roughly 180 grams, provides around 157 mg. That is a substantial contribution from a single vegetable, and it outperforms most other foods people eat regularly. By comparison, a medium banana has about 32 mg, a cup of cooked brown rice about 84 mg, and a cup of black beans about 120 mg. Among vegetables, spinach sits near the top of the list.

The reason cooked spinach looks better than raw on a per-cup basis is simple: spinach wilts dramatically. A cup of raw spinach weighs only about 30 grams, which means you are eating roughly 24 mg of magnesium. Cook that spinach down and you can fit far more plant material into the same cup. So while the concentration per 100 grams does not change dramatically with cooking, the practical amount you eat in one sitting tends to be much higher when the spinach is cooked.

The Oxalate Problem and What It Means for Absorption

Spinach is notorious for its high oxalate content. Oxalates are naturally occurring compounds found in many plants, and they can bind to minerals like calcium and magnesium in the gut, forming insoluble complexes that pass through you without being absorbed. This has led to a persistent concern: does the magnesium in spinach actually make it into your bloodstream, or does most of it leave bound to oxalates?

A human study directly compared magnesium absorption from a meal containing spinach versus a meal containing kale, which is low in oxalates. The results were clear: apparent magnesium absorption from the spinach meal was about 27%, compared with about 37% from the kale meal.1PubMed. Fractional magnesium absorption is significantly lower in human subjects from a meal served with an oxalate-rich vegetable, spinach, as compared with a meal served with kale, a vegetable with a low oxalate content That is a meaningful reduction, roughly a quarter less magnesium reaching the body when spinach is the source.

Interestingly, a study in rats told a different story. Researchers fed magnesium-deficient rats diets containing raw, boiled, or fried spinach and found that the rate of magnesium absorption stayed between about 80% and 90% across all preparations. The study concluded that spinach was “one of the most promising sources of magnesium” and that the oxalic acid remaining after cooking did not appear to harm magnesium availability.2PubMed. The bioavailability of magnesium in spinach and the effect of oxalic acid on magnesium utilization examined in diets of magnesium-deficient rats

Why the discrepancy? Rats and humans differ in gut physiology, transit time, and the way they handle oxalates. The rat study also used magnesium-deficient animals, which may have been primed to absorb magnesium more aggressively than well-nourished humans would. The human study is more directly applicable to your plate. So the realistic picture is that spinach delivers real magnesium, but perhaps a quarter to a third less than you would get from an equivalent amount of a low-oxalate green like kale or Swiss chard. Even at the lower absorption rate, though, a cup of cooked spinach still contributes a meaningful amount to your daily intake, simply because the starting number is so high.

How Your Gut Absorbs Magnesium

Most magnesium absorption happens in the small intestine, and it occurs through two routes. The dominant pathway is passive: magnesium ions flow between cells through the spaces that separate them, driven by concentration gradients. This paracellular pathway handles roughly 90% of magnesium uptake under normal conditions.3PubMed Central. Current opinion on the regulation of small intestinal magnesium absorption The remaining fraction moves through an active, regulated pathway that involves specialized channel proteins called TRPM6 and TRPM7, which sit on the surface of intestinal cells and pull magnesium across when the body needs more.4PubMed Central. Intestinal Absorption and Factors Influencing Bioavailability of Magnesium-An Update

This dual system has a practical implication. When you eat a magnesium-rich meal, the passive route does most of the work because there is plenty of magnesium flowing through. But when intake is low or your body’s stores are depleted, the active channel route can ramp up to capture more of whatever magnesium passes through. Mutations in the gene for TRPM6 cause a rare inherited condition marked by dangerously low magnesium levels, which underscores how important these channels are for maintaining balance.5PubMed. TRPM6 and TRPM7–Gatekeepers of human magnesium metabolism

What this means for spinach specifically is that your body is not entirely passive in how it handles the magnesium you eat. If you are already replete, you absorb a lower fraction and excrete the rest. If you have been running low, you absorb a higher fraction. This built-in regulation helps explain why magnesium toxicity from food sources is essentially unheard of. Your gut simply stops taking in what it does not need.

What Cooking and Freezing Do to the Numbers

How you prepare spinach matters more than most people realize. Boiling spinach in water leaches water-soluble minerals, including magnesium, into the cooking liquid. If you drain that water, some of the magnesium goes down the sink. A study examining frozen leafy vegetables found that once they were thawed and prepared for consumption, they contained significantly less potassium, magnesium, and phosphorus compared to the raw vegetables.6Journal of Food Composition and Analysis. Retention of mineral constituents in frozen leafy vegetables prepared for consumption

Steaming and sautéing tend to preserve more minerals because the spinach is not sitting in a bath of water that carries nutrients away. If you do boil spinach, using the cooking liquid in a soup or sauce recaptures most of the lost minerals. This is one of those cases where grandma’s advice to “drink the broth” turns out to be nutritionally sound.

Frozen spinach is not inherently worse than fresh in terms of starting nutrient content, since it is typically flash-frozen soon after harvest. The losses come later, during thawing and the cooking step that follows. If you squeeze out a lot of liquid from thawed frozen spinach before eating it, you are squeezing out dissolved magnesium along with the water.

Growing Conditions and Nutrient Variability

The magnesium content of spinach is not a fixed number. It varies depending on the soil, the fertilizer, the variety of spinach, and the growing conditions. A study on spinach grown under different nutrient management systems found that the combination of chemical fertilizers and organic manures produced significantly different mineral profiles. The treatment that combined chemical fertilizer with vermicompost yielded the highest magnesium content, while other approaches produced lower levels.7Journal of Trace Elements and Minerals. Bioaccumulation of minerals and trace elements in spinach (Spinacia oleracea L.) grown under different nutrient management and their implications for human health

This variability sits within a broader concern. Over the past several decades, researchers have documented a general decline in the mineral density of many fruits and vegetables. The causes are debated, but likely involve the selection of crop varieties bred for yield and appearance rather than nutrient content, along with changes in soil management.8PubMed Central. An Alarming Decline in the Nutritional Quality of Foods: The Biggest Challenge for Future Generations’ Health This does not mean spinach is no longer a good source of magnesium, but it does mean the 79 mg per 100 grams you see in a database is an average. The actual spinach on your plate could be higher or lower depending on where and how it was grown.

For most people, this variability is not worth worrying about in practical terms. Eating spinach regularly will still deliver more magnesium than skipping it. But if you are trying to use food alone to correct a documented deficiency, keep in mind that the composition of any particular batch of spinach is somewhat of a moving target.

How Spinach Compares to Other Magnesium-Rich Foods

Spinach earns its reputation as a magnesium powerhouse among vegetables, but it is worth knowing that some other food categories outperform it on a per-serving basis. Pumpkin seeds are among the most concentrated food sources of magnesium, with about 150 mg in a single ounce. Almonds and cashews deliver roughly 75 to 80 mg per ounce. Dark chocolate with a high cocoa content provides around 65 mg per ounce. These foods also lack the oxalate burden that reduces spinach’s effective yield.

Among greens, Swiss chard is comparable to spinach in magnesium content, though it also contains oxalates. Kale has less total magnesium per serving but, as the human absorption study showed, delivers a higher percentage of what it contains.1PubMed. Fractional magnesium absorption is significantly lower in human subjects from a meal served with an oxalate-rich vegetable, spinach, as compared with a meal served with kale, a vegetable with a low oxalate content So the “best” green for magnesium depends on whether you are optimizing for total content or for absorption efficiency. In practice, eating a mix of greens, nuts, seeds, and whole grains over the course of a week is far more effective than trying to optimize any single food.

Tap water can also be a surprisingly meaningful source, depending on where you live. Hard water in some regions contains enough dissolved magnesium to contribute noticeably to daily intake, while soft water contributes almost none. It is not a factor most people think about, but it can make the difference between meeting your daily target and falling slightly short.

Who Should Be Paying Attention to Magnesium Intake

Surveys consistently find that a large portion of the population consumes less magnesium than the recommended amount. The shortfall is not dramatic for most people, but chronic marginal deficiency has been linked to a range of health concerns including poor sleep, muscle cramps, elevated blood pressure, and insulin resistance. Magnesium plays a role in hundreds of enzymatic reactions throughout the body, so running low affects many systems at once, often in subtle ways that are easy to attribute to something else.

Older adults tend to absorb magnesium less efficiently and are more likely to take medications that increase magnesium excretion. People with gastrointestinal conditions that affect the small intestine may absorb less from food regardless of how much they eat. Heavy alcohol use depletes magnesium stores. And diets high in processed food tend to be naturally low in magnesium because refining strips it from grains and other ingredients.

For these groups, spinach and other magnesium-rich whole foods are particularly valuable. A supplement can help bridge the gap, but food sources come packaged with fiber, potassium, folate, and other nutrients that a magnesium pill does not provide.

Green Leafy Vegetables and Metabolic Health

Beyond the magnesium content itself, there is a broader health story around green leafy vegetables that is worth knowing. A review of the evidence found that increased consumption of green leafy vegetables was associated with a reduced risk of developing type 2 diabetes, an association that did not hold for fruit, other vegetables, or fruit and vegetables combined.9PubMed. Increased consumption of green leafy vegetables, but not fruit, vegetables or fruit and vegetables combined, is associated with reduced incidence of type 2 diabetes Magnesium is one plausible contributor to this effect, since magnesium deficiency is known to worsen insulin sensitivity. But greens also deliver folate, nitrates, vitamin K, and a range of polyphenols, so isolating any single nutrient as the cause of the benefit is difficult.

The practical takeaway is that the magnesium in spinach is one piece of a larger package. The mineral content alone is a strong argument for eating spinach, but the metabolic benefits of the whole food likely exceed what any single nutrient could explain. This is one reason why nutrition researchers tend to be skeptical of supplement-centric approaches and keep circling back to whole-food recommendations.

The Myth That Spinach’s Iron Was a Decimal-Point Error

You may have heard the story that spinach’s reputation as a nutritional powerhouse stems from a 19th-century clerical error in which a scientist misplaced a decimal point, making spinach appear ten times richer in iron than it actually is. This story is itself largely a myth. The real history is murkier, and the decimal-point tale has been traced to a misattribution that spread through popular science writing. Spinach does contain a reasonable amount of iron, and its magnesium content was never part of this confusion. But the myth’s persistence illustrates how sticky nutritional folklore can be, and it is worth separating spinach’s genuine magnesium credentials from the broader cloud of exaggeration and correction that surrounds this vegetable.

Spinach really is high in magnesium by any reasonable standard. The raw numbers are strong. The absorption rate is lower than it would be from a low-oxalate food, but not so low that the advantage disappears. Cooking method matters, growing conditions introduce variability, and no single food should be your only strategy for meeting any nutrient target. But if you eat spinach regularly, cooked rather than raw for practical portion sizes, it is doing real work for your magnesium intake.