Why is dark chocolate rich in magnesium?

Quick summary

Cocoa makes dark chocolate a tasty source of magnesium — around 84 mg per 30 g of chocolate at 70% or more — provided you stick to a small, regular portion. It is a pleasant supplementary intake, not a health food to eat without limit.

Key facts

Dark chocolate A food whose magnesium content depends on the cocoa percentage (aim for ≥ 70%).
Cocoa A bean naturally dense in minerals — magnesium, iron, zinc — and in flavanols.
Content Around 84 mg of magnesium per 30 g, i.e. ≈ 200-230 mg per 100 g depending on the cocoa.
Reference portion 20 to 30 g a day is enough for a supplementary intake without excess calories.

Key points

  • It is the cocoa that supplies the magnesium: dark chocolate ≥ 70% contains far more than milk chocolate.
  • A 30 g portion provides ≈ 84 mg of magnesium, an appreciable fraction of the daily requirement.
  • EFSA recognises magnesium’s contribution to muscle, nerve, psychological and energy functions.
  • Chocolate remains calorie-dense and sugary: a small regular portion is better than large amounts.
Squares of high-cocoa dark chocolate and cocoa beans, natural sources of magnesium
The magnesium in dark chocolate comes from the cocoa: the higher its percentage, the higher the chocolate’s content.

High-cocoa dark chocolate is one of the few treats to feature among the good dietary sources of magnesium, the mineral that acts as a cofactor in more than 300 enzymatic reactions. Its concentration comes from the cocoa itself, naturally rich in minerals. This article is part of our overview of the foods richest in magnesium: it sets out the real content of dark chocolate, what this intake genuinely provides and how to enjoy it without an excess of calories.

Why is dark chocolate rich in magnesium?

It all comes from the cocoa. The cocoa bean is naturally dense in minerals — magnesium, iron, zinc — and so it is the cocoa percentage that determines how rich the chocolate is. Dark chocolate at 70% cocoa or more supplies appreciably more magnesium than milk chocolate, diluted with sugar and milk fat.

A worthwhile content, to be put in portion perspective

High-cocoa dark chocolate provides in the region of 80 to 90 mg of magnesium per 30 g, and around 200 to 230 mg per 100 g depending on the cocoa percentage[5]. It is a real contribution, but one that must be read at the scale of a sensible portion: people rarely eat 100 g of chocolate at once, and it remains a calorie-dense food.

A food also rich in flavanols

Beyond magnesium, cocoa is a source of flavanols, polyphenolic compounds studied for their antioxidant and vascular effects. These compounds explain part of the attention paid to dark chocolate in nutrition, without making it a “health food” to eat without limit.

≈ 84 mg of magnesium per 30 g of high-cocoa dark chocolate. A treat-sized portion thus supplies an appreciable fraction of the daily requirement — to be worked into a varied diet rather than multiplied. Source: USDA FoodData Central composition tables

What does the magnesium in dark chocolate provide to the body?

The solidly established benefits of magnesium are those EFSA authorises as claims: a contribution to normal muscle function, to normal nerve function, to normal psychological function, to normal energy-yielding metabolism and to the reduction of tiredness and fatigue[3]. These effects relate to normal physiological functioning, not to treating a disorder.

Energy, muscle and nervous system

Magnesium binds to ATP to form the Mg-ATP complex, the only usable form of the cell’s energy molecule, and regulates the calcium and potassium ion flows that drive muscle contraction[2]. It also contributes to modulating the nervous system, the basis of the EFSA claim on normal psychological function.

Stress and mood: a necessary nuance

Chocolate is sometimes credited with an “anti-stress” effect via serotonin. Magnesium status is part of the picture, and a systematic review finds signals in favour of an effect on subjective anxiety, while stressing the heterogeneity of the studies[6]. Dark chocolate is not an anxiolytic: the gustatory pleasure and the magnesium intake are no substitute for proper care.

Key takeaway

Dark chocolate is a pleasant source of magnesium, but it is above all the diet as a whole — leafy greens, legumes, nuts, whole grains — that covers your needs.

How to enjoy dark chocolate in moderation?

Benefiting from the magnesium in chocolate means managing the calories and sugar that come with it. A few simple guidelines are enough.

Choosing and portioning well

  • The cocoa percentage: aim for at least 70% to maximise magnesium and limit added sugar.
  • The portion: around 20 to 30 g a day is enough to make it a pleasant supplementary intake, without a calorie overload.
  • The timing: eating chocolate after a meal rather than on its own helps smooth the blood sugar response.

Working it in simply

A few shavings of dark chocolate in plain yoghurt, a portion alongside nuts, or its use in home baking (which lets you control added sugar) are all ways to make it a measured pleasure.

Caution

Dark chocolate remains calorie-dense and sugary: eating large amounts of it “for its magnesium” would be counterproductive. A small regular portion is better than a whole bar, and it is best to vary your dietary sources of magnesium.

Frequently asked questions

Is dark chocolate really a good source of magnesium?

Yes, dark chocolate rich in cocoa is a good dietary source of magnesium. A 100 g portion of dark chocolate can supply in the region of 200 to 230 mg depending on the cocoa percentage, and around 80 to 90 mg for 30 g. The cocoa is responsible for this: the higher its proportion, the higher the magnesium content. That said, it remains a calorie-dense food, to be eaten in a sensible portion rather than piled up for its magnesium.

How much dark chocolate should you eat to benefit from its magnesium?

A portion of around 20 to 30 g per day is enough to make dark chocolate a pleasant supplementary source of magnesium, without a calorie overload. Beyond that, the nutritional benefit does not offset the intake of calories and sugar. Chocolate should not become the main source of magnesium: it complements a diet rich in leafy greens, legumes, nuts and whole grains.

What cocoa percentage should you choose to maximise magnesium?

Favour dark chocolate containing at least 70% cocoa. As magnesium comes from the cocoa, a high percentage ensures a better content while limiting added sugar. Milk chocolate or low-cocoa chocolate, richer in sugar and milk fat, supply markedly less magnesium.

Does dark chocolate really help reduce stress?

The “anti-stress” effect of chocolate is often overstated. Magnesium contributes to normal psychological function according to EFSA, and a systematic review finds signals in favour of an effect on subjective anxiety, but with heterogeneous studies. Dark chocolate is not an anxiolytic: the pleasure it provides and its magnesium intake are no substitute for appropriate management of stress or anxiety.

Which other foods are rich in magnesium besides dark chocolate?

Many foods are good sources: nuts (almonds, Brazil nuts), pumpkin and sunflower seeds, legumes such as chickpeas, spinach and whole grains. Bananas and avocados also contribute. Varying these sources is the most reliable way to cover a requirement of around 300 to 400 mg per day in adults.

Sources & references

5 sources
  1. de Baaij JHF, Hoenderop JGJ, Bindels RJM — Magnesium in man: implications for health and disease — Physiological Reviews, 2015 (review, DOI 10.1152/physrev.00012.2014)
  2. EFSA NDA Panel — Scientific Opinion on Dietary Reference Values for magnesium — EFSA Journal, 2015 (official opinion; authorised health claims, DOI 10.2903/j.efsa.2015.4186)
  3. Gröber U, Schmidt J, Kisters K — Magnesium in Prevention and Therapy — Nutrients, 2015 (review, DOI 10.3390/nu7095388)
  4. USDA FoodData Central — Nutritional composition of foods (chocolate, cocoa) — U.S. Department of Agriculture, public database (accessed 2026)
  5. Boyle NB, Lawton C, Dye L — The Effects of Magnesium Supplementation on Subjective Anxiety and Stress: A Systematic Review — Nutrients, 2017 (systematic review, DOI 10.3390/nu9050429)

Article published on , last updated on .