Magnesium in Dark Chocolate: How Much Is in a Square?

Dark chocolate carries a fair amount of magnesium, and much of it arrives with the cocoa. One analysis measured 252.2 mg of magnesium per 100 g of dark chocolate, so a 10 g square holds about 25 mg, around 7% of the 375 mg reference value used on EU and UK labels. In another study, cocoa products held three to four times more magnesium than finished chocolate.

Key Takeaways

  • An analysis of chocolates at 60 to 90% cocoa reported 252.2 mg of magnesium per 100 g of dark chocolate and, separately, put the magnesium in its 90% bar at 67.0% of the EU nutrient reference value; 252.2 mg is 67.3% of 375 mg, so the two figures differ slightly.1
  • At 252.2 mg per 100 g, a 10 g square holds about 25 mg of magnesium. A 10 g "cube" of dark chocolate is also the portion one trace-element study used in an estimate.1,2
  • Cocoa products held 4,152 to 5,432 mg of magnesium per kg in a market study of 18 samples, three to four times more than finished chocolate products.3
  • In a Polish analysis, mineral levels were tied to the type of chocolate, which varied in cocoa paste and added milk.4
  • In an older study of normal subjects, the share of magnesium absorbed with a meal fell from 65% to 11% as the amount added rose, and magnesium from almonds was as available as from a soluble salt.5
  • Cadmium and lead were correlated with cocoa percentage in a convenience sample of US products, and one trace-element study flagged children as the group that may exceed the daily lead limit while judging the risk for adults to be almost nil.2,6
  • In a Spanish survey of 2,009 people, mean magnesium intake was 222 mg a day, and cereals and grains were the main source.7

You break a square off a bar of 85% chocolate and wonder whether it counts for anything beyond the taste. If the answer you have heard is magnesium, the figures back it up, but they depend on how much cocoa is in the bar and how big your square is.

This article gives the measured figures per 100 g, turns them into a per-square number you can work out for your own bar, compares dark chocolate with milk chocolate and cocoa products, and covers what else arrives with each square, from caffeine to trace metals. Supplements come last, because a square of chocolate is food and should be judged as food.

Almonds in a white ceramic bowl

How much magnesium is in dark chocolate?

The clearest single figure comes from a study that analysed cocoa beans, chocolates at 60, 70, 80 and 90% cocoa, and a milk chocolate for their essential minerals. Its abstract reports 252.2 mg of magnesium per 100 g of dark chocolate and puts the magnesium in the 90% bar at 67.0% of the EU nutrient reference value.1 The two figures do not match exactly, because 252.2 mg is 67.3% of the 375 mg reference value (252.2 divided by 375). The abstract does not say why, so this article uses 252.2 mg per 100 g for its own sums.

Other analyses point the same way. A study of 12 dark chocolates bought in shops, with cocoa contents from 40% to 99%, concluded that the samples were an excellent source of magnesium, iron, manganese and copper.8 A Polish analysis of dark, milk and white bars and a 100% cocoa powder found that, among the macroelements, phosphorus was the most abundant, followed by magnesium.4

What the reference value means here

EU and UK food labelling rules (Regulation (EU) No 1169/2011, Annex XIII, as kept in UK law) give a nutrient reference value (NRV) of 375 mg a day for magnesium. For foods other than drinks, the same annex counts 15% of the NRV supplied by 100 g as a significant amount, which for magnesium is about 56 mg per 100 g (375 multiplied by 0.15 is 56.25). Dark chocolate at 252.2 mg per 100 g clears that line more than four times over. The catch is the portion: nobody eats chocolate 100 g at a time, so the figure that matters is the one per square.

How much magnesium is in a square of dark chocolate?

Squares are not a standard unit. Bars break into pieces of different sizes, so the answer starts with the weight of your piece. One study of trace elements in chocolate based an estimate on a 10 g cube of dark chocolate,2 and 10 g is a convenient size to work with. As a practical suggestion, divide the weight of the bar printed on the wrapper by the number of pieces it breaks into: a 100 g bar in 10 pieces gives 10 g a piece, and a 100 g bar in 20 pieces gives 5 g.

Using the figure of 252.2 mg per 100 g, the sums work out as follows.1 A 10 g square holds about 25 mg of magnesium (252.2 multiplied by 10, divided by 100, is 25.2), which is 6.7% of the 375 mg reference value (25.2 divided by 375). A 5 g piece holds about 13 mg. Reaching the 56 mg line takes about 22 g of that chocolate (56.25 divided by 2.522), a little over two 10 g squares.

The abstracts we used do not give a separate magnesium figure for each cocoa percentage, so take the per-square number as an estimate for dark chocolate in general, not for your particular bar.

Does a higher cocoa percentage mean more magnesium?

Probably, but no abstract we used gives magnesium by cocoa percentage, so this is an inference. Factor analysis in the study above traced the mineral pattern in its samples to three sources: the cocoa beans themselves, reflecting the soil they grew in; the handling and processing that turn cocoa into chocolate; and the milk powder.1 The Polish analysis found that mineral levels were directly connected with the type of chocolate, which differed in its content of cocoa paste and added milk.4

The clearest contrast comes from a market study of 18 chocolate and cocoa samples. Its cocoa products held 4,152 to 5,432 mg of magnesium per kg, which the authors described as three to four times the concentration in finished chocolate products.3 As an inference, finished chocolate mixes cocoa with other ingredients, so each gram of bar holds less cocoa and less of the magnesium that comes with it.

Part of the mineral pattern comes from the soil the beans grew in,1 so two bars with the same cocoa percentage can differ, and any per-percentage number needs care.

How do milk chocolate and cocoa products compare?

In the market study, dark chocolate had 5.64 to 6.80 g of protein per 100 g against 3.02 to 5.40 g in milk chocolate, and less carbohydrate: 48.81 to 57.01 g per 100 g, against 64.71 to 78.34 g.3 None of the abstracts we used gives a single magnesium figure for milk or white chocolate, so the table says what the studies did report.

Cocoa products sit at the other end. At 4,152 to 5,432 mg per kg, which is 4.152 to 5.432 mg per g,3 a 5 g spoonful would supply about 21 to 27 mg of magnesium, close to a 10 g square of dark chocolate. That 5 g is an example weight, so check your own spoon on kitchen scales.

Product What the study reported Example portion Magnesium in that portion (our sum)
Dark chocolate 252.2 mg per 100 g for dark chocolate; its 90% bar at 67.0% of the NRV (the abstract gives both)1 One 10 g square About 25 mg (6.7% of the NRV)
Dark chocolate 252.2 mg per 100 g1 A 5 g piece About 13 mg
Cocoa products 4,152 to 5,432 mg per kg, three to four times finished chocolate3 A 5 g spoonful About 21 to 27 mg
Milk and white chocolate Mineral levels tied to the type of chocolate, its cocoa paste and its added milk4 One 10 g square No single figure in the abstracts we used
For reference EU and UK NRV for magnesium: 375 mg a day; 15% of it per 100 g counts as a significant amount in foods other than drinks 15% of the NRV (per 100 g) About 56 mg

Does your body absorb the magnesium in chocolate?

No study we found measured magnesium absorption from chocolate itself, so the best guide comes from related work. An older study measured net magnesium absorption in normal subjects after a standard meal supplemented with 0, 10, 20, 40 or 80 mEq of magnesium acetate. Absorption rose with each increment, but the share absorbed fell progressively, from 65% at the lowest intake to 11% at the highest. In the same study, magnesium from almonds, a food rich in the mineral, was just as bioavailable as magnesium from the soluble acetate.5 The abstract does not give the number of participants. A square supplies about 25 mg, about 2.1 mEq (at 12.15 mg of magnesium per mEq), far below the 10 to 80 mEq added in the study, so the study cannot say how well it would be absorbed.

Content and availability are different numbers. A laboratory digestion study of groats, rice, legumes and nuts found that nuts generally held the most of the macro-elements, with brazil nuts, cashews and hazelnuts standing out for magnesium, while the highest bioaccessible magnesium, meaning the amount released by a simulated digestion, came from shelled peas and green lentils.9 That was an in vitro model, a test-tube digestion and not a study in people, so read it as a reminder about availability and not as evidence about absorption in the body.

How does a square fit into a day's magnesium?

In the Spanish ANIBES survey, 2,009 people recorded three days of eating. Their mean reported magnesium intake was 222 mg a day, and cereals and grains were the main source of magnesium.7

Against a mean reported intake of 222 mg, one 10 g square of high-cocoa chocolate adds about 25 mg, which is 11% of that figure (25.2 divided by 222). Chocolate is unlikely to be the backbone of anyone's intake. In the Spanish survey, cereals and grains supplied the most magnesium,7 and in the laboratory study nuts and legumes stood out.9 For a closer look at nuts, our guide to nuts for energy: which ones and how much compares the common choices and sensible handfuls.

What else comes with a square of dark chocolate?

Caffeine

Dark chocolate contains some caffeine. A 2026 analysis of Russian dietary survey data assumed an average of 80 mg of caffeine per 100 g of dark chocolate, a figure taken from earlier literature, alongside 40 mg per 100 ml for coffee.10 Those are assumed averages and not measurements of your bar. On them, a 10 g square holds about 8 mg of caffeine (80 multiplied by 10, divided by 100), and a whole 100 g bar holds about as much as a 200 ml cup of coffee (40 multiplied by 2 is 80 mg).

Carbohydrate

Even dark chocolate is about half carbohydrate by weight. The market study found 48.81 to 57.01 g of carbohydrate per 100 g of dark chocolate,3 so a 10 g square carries about 4.9 to 5.7 g. Chocolate is better counted as a snack that happens to carry magnesium.

Cadmium and lead

Cocoa beans can pick up cadmium and lead from the environment. In a convenience sample of cocoa powder, dark chocolate, milk chocolate and cocoa nib products bought in the US, cadmium ranged from 0.004 to 3.15 mg per kg and lead from below the detection limit to 0.38 mg per kg. Both were significantly correlated with cocoa percentage, with the strength of the link varying by product type and origin, and cadmium was higher in products reported as coming from Latin America than from Africa.6

The studies differ in how much weight they give this. One trace-element study estimated that a 10 g cube of dark chocolate may contain as much as 20% of the daily lead oral limit and flagged children, who are big consumers of chocolate, as the group that may be at risk of exceeding it. For adults, the authors judged that there is almost no risk of exceeding the daily limits for trace metals, because adults absorb these metals poorly.2 In a study of bean-to-bar chocolates from Brazil and Ecuador, the exposure assessment for children reached up to 93% of the provisional tolerable monthly intake for cadmium, and the authors called for monitoring.11 In the market study, several samples approached or marginally exceeded regulatory limits for cadmium (0.80 mg per kg, European Commission) and lead (0.10 mg per kg, Codex Alimentarius), yet estimated daily exposure at 5 to 30 g of chocolate a day stayed below 15% of the provisional tolerable weekly intakes for every metal measured.3 As a practical suggestion, keep chocolate to a few squares a day and vary the brands and origins you buy.

What is a simple way to count chocolate in your magnesium day?

These steps are practical suggestions built on the figures above, and they take a minute.

  1. Find the weight of your square: divide the bar weight on the wrapper by the number of pieces.
  2. For dark chocolate, count about 2.5 mg of magnesium per gram as an estimate, from the figure of 252.2 mg per 100 g.1
  3. Keep the habit to a few squares, because cadmium and lead were correlated with cocoa percentage in a US sample and children were flagged for lead.2,6
  4. Build the rest of your magnesium from cereals, grains, nuts and legumes, which were the main or highest sources in the studies above.7,9

Where do supplements fit?

Chocolate is food, and food comes first. A square of high-cocoa chocolate adds a useful amount of magnesium for its size, and meals built on cereals and grains supply more over a day, as the Spanish survey showed.7 A supplement does not replace either.

The authorised EU claims for magnesium apply to a nutrient supplied at 15% or more of the NRV per serving. The wording is set: magnesium contributes to a reduction of tiredness and fatigue, magnesium contributes to normal energy-yielding metabolism, and magnesium contributes to normal muscle function. These claims belong to magnesium as a nutrient, never to a product as a whole.

For transparency, Longevity One is a daily powder that provides, per scoop, magnesium 150 mg (as malate). It contains no caffeine source, and it does not replace meals that bring magnesium. It is independently tested by Eurofins and NZVT certified. Mixed as one scoop in 250 to 500 ml of water, it belongs in the background of a diet built on grains, nuts and legumes, with a square of dark chocolate if you enjoy one.

Q&A: Magnesium in Dark Chocolate

How much magnesium is in 100 g of dark chocolate?

One analysis reported 252.2 mg of magnesium per 100 g of dark chocolate, and separately put the magnesium in its 90% cocoa bar at 67.0% of the EU nutrient reference value (252.2 mg is 67.3% of 375 mg, so the two figures differ slightly).1 Bars vary with cocoa content and origin, so read this as a figure for dark chocolate in general.

How much magnesium is in one square of dark chocolate?

At 252.2 mg per 100 g, a 10 g square holds about 25 mg and a 5 g piece about 13 mg.1 Check the size of your square by dividing the bar weight by the number of pieces.

Does 90% chocolate have more magnesium than 70%?

Probably, but no abstract we used says so directly. Cocoa products held three to four times more magnesium than finished chocolate in one market study, which points the same way.3 The abstracts give no separate figure for each percentage.

Is there magnesium in milk chocolate?

Some, but milk chocolate contains added milk, and mineral levels in chocolate were tied to its type, its cocoa paste and its added milk.4 No abstract we used gives a magnesium figure for milk chocolate.

Is the magnesium in dark chocolate absorbed?

No study we found measured absorption from chocolate itself. In normal subjects, magnesium from almonds was as available as magnesium from a soluble salt, and the share absorbed fell as the amount in a meal rose.5 A square holds far less than the amounts tested, so the study cannot say how well its magnesium is absorbed.

How much caffeine is in a square of dark chocolate?

A survey analysis assumed an average of 80 mg of caffeine per 100 g of dark chocolate, taken from earlier literature.10 It is an assumed average and not a measurement. On that average, a 10 g square holds about 8 mg. Your bar may differ.

Does dark chocolate contain cadmium or lead?

It can. In US products, cadmium and lead were correlated with cocoa percentage.6 One trace-element study flagged children as the group that may exceed the daily lead limit, and another put child exposure at up to 93% of the provisional tolerable monthly intake for cadmium.2,11 In a market study, some samples approached or marginally exceeded limits for cadmium and lead, but estimated daily exposure at 5 to 30 g of chocolate stayed below 15% of the provisional tolerable weekly intakes.3 Keeping to a few squares and varying brands is a sensible practical step.

Frequently Asked Questions

Can I take a magnesium supplement with my medication?

The label advises consulting your doctor if you use medication. Ask your GP or pharmacist and bring the label of every product you take.

What does Longevity One taste like?

It comes in two flavours, Mango Pineapple and Pear. Taste is personal, so pick the one that sounds better to you and mix one scoop in 250 to 500 ml of water.

Is dark chocolate a good way to get magnesium?

It adds a useful amount for its size, about 25 mg in a 10 g square on the figure of 252.2 mg per 100 g,1 but most of your intake will still come from meals. In a Spanish survey, cereals and grains were the main source of magnesium.7

Why does the magnesium figure differ between chocolate bars?

Partly because the minerals come with the cocoa. One analysis traced its mineral pattern to the cocoa beans and the soil they grew in, to processing, and to milk powder in milk chocolate.1 Another found mineral levels tied to the type of chocolate.4

References

  1. Cinquanta L, Di Cesare C, Manoni R, Piano A, Roberti P, Salvatori G. Mineral essential elements for nutrition in different chocolate products. Int J Food Sci Nutr. 2016;67(7):773-8. View on PubMed ↗
  2. Yanus RL, Sela H, Borojovich EJ, Zakon Y, Saphier M, Nikolski A, et al. Trace elements in cocoa solids and chocolate: an ICPMS study. Talanta. 2014;119:1-4. View on PubMed ↗
  3. Hamza SR, Alhaidary SMH, Jabbar HS. Assessment of some nutritional parameters and trace metal contents in chocolate and cocoa samples sold in the Kurdistan Region-Iraq. J AOAC Int. 2026;109(6):937-950. View on PubMed ↗
  4. Karaś K, Zioła-Frankowska A, Bartoszewicz M, Krzyśko G, Frankowski M. Investigation of chocolate types on the content of selected metals and non-metals determined by ICP-OES analytical technique. Food Addit Contam Part A Chem Anal Control Expo Risk Assess. 2021;38(2):293-303. View on PubMed ↗
  5. Fine KD, Santa Ana CA, Porter JL, Fordtran JS. Intestinal absorption of magnesium from food and supplements. J Clin Invest. 1991;88(2):396-402. View on PubMed ↗
  6. Abt E, Fong Sam J, Gray P, Robin LP. Cadmium and lead in cocoa powder and chocolate products in the US Market. Food Addit Contam Part B Surveill. 2018;11(2):92-102. View on PubMed ↗
  7. Olza J, Aranceta-Bartrina J, González-Gross M, Ortega RM, Serra-Majem L, Varela-Moreiras G, et al. Reported Dietary Intake, Disparity between the Reported Consumption and the Level Needed for Adequacy and Food Sources of Calcium, Phosphorus, Magnesium and Vitamin D in the Spanish Population: Findings from the ANIBES Study. Nutrients. 2017;9(2). View on PubMed ↗
  8. Jaćimović S, Popović-Djordjević J, Sarić B, Krstić A, Mickovski-Stefanović V, Pantelić NĐ. Antioxidant Activity and Multi-Elemental Analysis of Dark Chocolate. Foods. 2022;11(10). View on PubMed ↗
  9. Suliburska J, Krejpcio Z. Evaluation of the content and bioaccessibility of iron, zinc, calcium and magnesium from groats, rice, leguminous grains and nuts. J Food Sci Technol. 2014;51(3):589-94. View on PubMed ↗
  10. Keshabyants EE, Smirnova EA, Khomich LM, Eller KI. [Traditional dietary sources of caffeine in Russia: quantitative assessment and socio-demographic determinants]. Vopr Pitan. 2026;95(2):38-48. View on PubMed ↗
  11. Burgon VH, Silva MLN, Milani RF, Morgano MA. Trace elements in bean-to-bar chocolates from Brazil and Ecuador. J Trace Elem Med Biol. 2024;84:127431. View on PubMed ↗

Disclaimer: Food supplements should not be used as a substitute for a varied, balanced diet and a healthy lifestyle. If you use medication, consult your doctor.