Dark chocolate is a legitimately good source of magnesium. A one-ounce serving of dark chocolate with 70% to 85% cocoa delivers about 64 mg of magnesium, which covers roughly 15% to 20% of what most adults need each day. It’s not the single best food source available, but it’s one of the more enjoyable ones.
How Much Magnesium Is in Dark Chocolate
The numbers depend heavily on cocoa percentage. Dark chocolate with 70% to 85% cocoa contains approximately 252 mg of magnesium per 100 grams. At 90% cocoa, that climbs to about 67% of the daily reference value in a single 100-gram bar. Of course, most people eat closer to one ounce (about 28 grams) at a time, which provides around 64 mg.
For context, the recommended daily intake for magnesium is 400 to 420 mg for adult men and 310 to 320 mg for adult women, based on NIH guidelines. So that one-ounce serving gets you roughly a sixth of the way there. Milk chocolate, by comparison, contains far less magnesium because the cocoa solids are diluted with milk and sugar. The rule is straightforward: higher cocoa percentage means more magnesium.
How It Compares to Other Magnesium-Rich Foods
Dark chocolate holds its own, but it’s outpaced by several other foods on a per-serving basis:
- Pumpkin seeds (roasted, hulled): 150 mg per ounce, more than double what dark chocolate provides
- Almonds (roasted): 80 mg per ounce
- Cooked spinach: 78 mg per half cup
- Dark chocolate (70–85% cocoa): 64 mg per ounce
So dark chocolate sits in a respectable fourth-place tier among common magnesium-rich foods. Where it has an edge is palatability. Most people will happily eat an ounce of dark chocolate daily. Eating a half cup of cooked spinach every day takes more commitment. As a practical matter, dark chocolate works best as one piece of a broader magnesium strategy rather than your primary source.
The Calorie Trade-Off
The catch with dark chocolate is caloric density. A single ounce packs 150 to 170 calories, with a moderate amount of saturated fat. To get 64 mg of magnesium from dark chocolate, you’re spending a meaningful chunk of your daily calorie budget. By comparison, a quarter cup of pumpkin seeds delivers more than twice the magnesium for a similar calorie load, along with protein and fiber.
This doesn’t make dark chocolate a bad choice. It means treating it as a supplement to your magnesium intake rather than a foundation. One ounce a day is a reasonable amount that contributes meaningful minerals without tipping the calorie scale.
Does Your Body Actually Absorb It
Cocoa naturally contains oxalates, compounds that can bind to minerals like magnesium in your digestive tract and reduce how much your body absorbs. This is a real effect, though the extent depends on several factors: your gut transit time, the balance of other minerals you’re eating at the same time, and the bacterial environment in your intestines.
Calcium and magnesium both bind to oxalates in the gut, which can reduce the absorption of those minerals. So the 64 mg listed on a nutrition label isn’t necessarily the full amount your body takes in. That said, this is true of many plant-based magnesium sources, including spinach, which is also high in oxalates. Dark chocolate isn’t uniquely disadvantaged here. You’ll absorb some of the magnesium, just not all of it.
Why Magnesium Matters
Magnesium plays a role in over 300 enzymatic processes. It’s essential for muscle contraction (including your heart), blood pressure regulation, insulin metabolism, and the synthesis of DNA and proteins. It also helps manage calcium levels inside your cells, which is critical for energy production and preventing cellular damage.
Despite its importance, many people fall short of the recommended intake. Surveys consistently show that a large portion of adults don’t reach the 310 to 420 mg daily target through diet alone. Adding magnesium-rich foods, dark chocolate included, can help close that gap without resorting to supplements.
Heavy Metals in Dark Chocolate
One concern worth knowing about: dark chocolate can contain trace amounts of lead and cadmium, which cocoa plants absorb from soil. A multi-year analysis of 72 dark chocolate products sold in the U.S. found that 43% exceeded California’s conservative safety thresholds for lead per serving, and 35% exceeded the threshold for cadmium. The median levels, however, fell below those same thresholds, meaning a smaller number of high-contamination products skewed the averages upward.
Interestingly, products labeled organic showed significantly higher concentrations of both cadmium and lead per gram. Nearly all products tested (97%) fell below the FDA’s separate, less conservative limits for lead. Arsenic levels were universally well within safe ranges.
For most adults eating an ounce or so a day, the risk is low. The concern is greater for children and pregnant women, where even small amounts of lead exposure carry more weight. If you eat dark chocolate regularly, varying the brands you buy can reduce your exposure to any single contamination source.
Getting the Most Magnesium From Chocolate
If magnesium is your goal, choose chocolate with at least 70% cocoa. The jump from 60% to 90% cocoa makes a meaningful difference in mineral content. Look for bars where cocoa or cacao is the first ingredient, not sugar. Single-origin bars and those listing “cacao mass” or “cocoa liquor” as the primary ingredient tend to have higher actual cocoa content.
Pair your dark chocolate with other magnesium-rich foods throughout the day. A handful of pumpkin seeds at lunch, some almonds as a snack, and a square of dark chocolate after dinner can collectively deliver well over 200 mg of magnesium without any single food dominating your diet. That approach also minimizes the calorie and heavy metal concerns that come with relying too heavily on chocolate alone.