Chocolate and Allergies

Is there such a thing as a chocolate allergy? Does chocolate cause headaches, or spots? Does it stop you sleeping?

Words by Spencer Hyman

Print / PDF

This is the time of year when generous Cocoa Runners fans crack open their craft chocolate and start sharing.

However, occasionally there will be a few people who politely demur and decline these generous offers. Often they’ll explain they’ve given up chocolate (and/or sugar) as a new years’ January resolution. But sometimes they explain that they have a chocolate allergy. Inevitably, we then receive incredulous questions asking whether there really is such a thing as being “allergic” to chocolate.

The short answer is yes – but it’s incredibly rare. There are proteins in cocoa that a very small number of people can have genuinely unpleasant allergic reactions to (see below).

Far more often than this (though still uncommon), a small number of people experience other unpleasant reactions to chocolate. These range from acid reflux and indigestion to disturbed sleep, and from spots, hot flushes and jitteriness through to headaches. Most of these are not, strictly speaking, allergies. They are better described as intolerances or physiological reactions.

Many of these reactions appear to be driven by other “stuff” added to chocolate, or by less-than-ideal processing and manufacturing shortcuts. However some reactions may be related to compounds naturally present in chocolate – including stimulants, minerals and specific bioactive molecules. Intriguingly, a few of these effects may in turn be influenced by individual genetics, which determine how efficiently our bodies break down chocolate’s main stimulant, theobromine (and yes – this is also why you DEFINITELY don’t want your dog, or pet monkey, to scoff dark craft chocolate).

I’m definitely NOT a doctor. If you have concerns, please do speak to a medical professional for proper advice. What follows is simply an attempt to outline and explore these reactions, broken down into four broad “chunks”. At the end, there is also a list for further reading and sources.

  • Allergy to a protein in cocoa / chocolate
  • Allergies and intolerances to “additives”, “preservatives” and other ingredients to chocolate, including milk proteins (sadly present in many supermarket “dark” bars), and also preservatives, emulsifiers, flavour enhancers, colourings and – of course – sugars
  • Reactions to the stimulants in chocolate, specifically theobromine and caffeine, including genetic factors that can complicate and amplify these effects
  • Responses to other chemicals within chocolate, including cocoa butter, polyphenols, minerals, acids, etc. which give rise to associations with indigestion, skin conditions, palpitations and few other esoteric conditions
  • Associations of chocolate with other conditions, including the controversial debate around chocolate and migraines (this is genuinely controversial; the aim here is simply to summarise current theories)

Finally, I’ve tried to end on a more positive note, with reminders of some of the many benefits of craft chocolate – including magnesium, polyphenols and, yes, a second stomach.

But to stress again: I am not a doctor. Please do NOT take this as medical advice.

That said, if in doubt, craft chocolate not only tastes better – it is also far better for farmers, the planet, and (for most people) ourselves. And a couple of squares of craft chocolate have all sorts of health, environmental and social benefits.

The (extremely rare) cocoa protein allergy

There is a genuinely documented – but extremely rare – allergy to cacao seed proteins. In these cases, the reaction is an IgE-mediated immune response, most commonly linked to a class of storage proteins known as 2S albumins, which are structurally similar to those found in peanuts, mustard and other nuts and seedoils.

This type of allergy typically manifests as itching of the mouth or throat, hives, swelling of the lips or tongue, wheezing, or difficulty breathing. It is not associated with delayed symptoms such as headaches, indigestion, acid reflux, acne, or sleep disturbance.

Clinically confirmed cocoa allergy appears to be very rare and is largely described in case reports rather than large population studies. This rarity helps explain why cocoa is not included on the EU/UK list of 14 mandatory food allergens. Diagnosis is usually made by an allergy specialist using a combination of clinical history and testing, and reactions tend to occur rapidly – within minutes rather than hours – after exposure to a small amount of high-cocoa chocolate or cocoa powder.

Note: to put this allergy into perspective, it’s only in the last 30 years that allergy science has been able to isolate and identify these specific mechanics and allergic reactions (see sources for more details), and IgE-mediated cocoa allergy is typically estimated well below 0.1% of the population. (note: this is based on limited case data, see sources below for more).

Reactions to other ingredients and cross-contact

In practice, many people who believe they “can’t tolerate chocolate” are now thought to be reacting not to cocoa at all, but to other ingredients commonly found in chocolate – or to trace cross-contact during manufacturing.

Milk proteins are a major culprit. Casein and whey are present as ingredients or as cross-contamination in many supermarket dark chocolate bars (including products marketed as “plain” or “dark”, such as those containing buttermilk powder). Some reactions are due to lactose intolerance, which is not an allergy and causes gastrointestinal symptoms only. Others are due to true milk protein allergy, which is immune-mediated and can be serious. Milk is therefore rightly one of the 14 EU/UK allergens that must be clearly declared.

Benzoates, used as preservatives in some fillings and flavoured confectionery, can also cause problems.  Reactions include headaches, gut symptoms or asthma-like symptoms. They must always be listed on ingredient panels and, as far as we are aware, are never used in craft chocolate. Side note (and come to a masterclass to explore this more – see here) , the widespread use of sodium benzoate in ultra-processed foods may also contribute to why some people describe the same product – say, a crisp – as sweet-and-salty, while others perceive it as simply salty or even faintly sweet. As with PTC / supertasters, genetic variations may influence how we experience preservatives such as sodium benzoate.

Lecithins and emulsifiers are more controversial. They are ubiquitous in industrial chocolate, and soy lecithin was first patented for use in chocolate in the 1920s to improve machine flow rates. Opinions vary widely. Some people attribute all sorts of harm to them (along with other seed oils), while the scientific evidence remains mixed. Some craft chocolate makers do use lecithins – almost always sunflower rather than soy (see here for more details, and the arcane aspects of mouthfeel consistency at different grind levels).

Vegetable fats, palm oils, and man made emulsifiers such as PGPR (see here) fall into a similar category. Regulators consider them safe at permitted levels, but they are strongly associated with highly industrial chocolate, which also tends to be higher in sugar, colourings and flavour additives. And again, the current US concern over “seed oils” spills over into the use of these additives.

Food colourants and dyes are another contentious area. A number of colourings are known to provoke adverse reactions in susceptible individuals, particularly in children. These include the notorious Allura Red AC (E129 / Red 40), Carmoisine (E122), Tartrazine (E102 – and really problematic for anyone sensitive to aspirin) and Sunset Yellow FCF (E110). For more on this, again see the sources. But bottom line, artificial food colourings exist because they’re cheap, stable, and visually aggressive, not because they’re good for humans. If a food needs neon colours to look appealing, that’s already a worrying sign.

And finally, sugar. While “toxic” is a loaded word, excess sugar is arguably the most consistently harmful component of modern confectionery at a population level. Sugar is cheap, highly palatable, addictive, and an excellent preservative. And when sugar becomes the primary ingredient, it can contribute to anxiety, energy spikes, sleep disruption and skin issues. At the same time, a small amount of sugar enhances flavour, and a dark craft chocolate bar may contain a sugar load comparable to a piece of fruit – sometimes less, sometimes similar.

Stimulants in chocolate (aka, why chocolate may keep some people awake … and also why hot chocolate can help others fall asleep)

Chocolate contains two primary stimulants: theobromine and caffeine. Both are methylxanthines and are chemically very similar, differing by a single methyl group. Caffeine is 1,3,7-trimethylxanthine, while theobromine is 3,7-dimethylxanthine. That missing methyl group may sound trivial, but it substantially weakens theobromine’s effects on the central nervous system via a variety of mechanisms, and in particular adenosine (see below).

There is far more theobromine in chocolate than caffeine. A typical 50 g portion of dark chocolate (around 70–85%) contains roughly 200–450 mg of theobromine, but only 20–50 mg of caffeine. By contrast, a standard cup of brewed coffee contains around 80–120 mg of caffeine, with no theobromine at all.

Adenosine is a molecule that builds up in the brain as cells use energy. Its role is to slow neural activity, increase sleep pressure and dampen arousal. Functionally, it acts as the nervous system’s brake pedal.

When adenosine binds to its receptors, you feel heavier, slower and sleepier. Relief from adenosine signalling – rather than the addition of “energy” – is what makes stimulants feel stimulating. Caffeine counteracts this. Strictly speaking, it is an adenosine receptor antagonist: it does not add energy; it prevents adenosine from applying the brakes.

Caffeine crosses the blood–brain barrier efficiently, which is why its effects are relatively fast and often experienced as mental clarity and alertness. By lifting adenosine’s inhibitory influence, caffeine indirectly increases dopamine and noradrenaline signalling. In some people this is why coffee feels sharp, sometimes edgy and occasionally anxiety-provoking. If caffeine clears quickly, the system settles cleanly. If it clears slowly, the brakes stay off too long, and overstimulation or poor sleep can follow. The same can happen with the caffeine in chocolate.

At this point, genetics matters a great deal. Variants in enzymes such as CYP1A2 (which metabolise caffeine and theobromine in the liver) mean that some people clear these compounds quickly, while others do so very slowly. Differences in adenosine receptor genes (notably ADORA2A) also affect how strongly adenosine – and therefore caffeine – is felt. The result is that the same square of chocolate can feel relaxing to one person, mildly stimulating to another, and sleep-wrecking to a third.

Chocolate’s main stimulant, theobromine, also interacts with adenosine receptors – but much more weakly than caffeine – and it crosses the blood–brain barrier far less readily. Instead of ripping the brakes off, theobromine gently reduces adenosine signalling. It acts more diffusely across the body and also functions as a mild vasodilator, affecting blood vessels and smooth muscle. The result is a slower, softer, more bodily form of stimulation – often felt as warmth or calm rather than mental buzz – which helps explain why hot chocolate can be soothing or sleep-friendly to some people, despite containing a stimulant.

A series of similar chemistry reactions also explains why chocolate is dangerous for dogs (and other pets). Dogs metabolise theobromine extremely slowly; what humans clear in hours can persist in a dog’s system for days, allowing the compound to accumulate to toxic levels. The result is overstimulation of the heart and nervous system, leading to tremors, seizures or worse. For dogs, chocolate is strictly to be avoided. Note: the same is true for many other animals too, for example monkeys – especially marmosets and tamarins – are particularly at risk from chocolate although baboons might be ok).

Acid reflux (indigestion) and chocolate

These methylxanthines (theobromine and caffeine) also can for a small number of people contribute to indigestion and acid reflux. (Warning: graphic details to follow). Chocolate can promote reflux through several mechanisms. These stimulants can cause the lower oesophageal sphincter (the muscular valve that separates the stomach from the oesophagus) to relax, making it easier for stomach acid to move upwards. At the same time, chocolate – especially high-fat formulations – can slow gastric emptying, meaning food and acid remain in the stomach for longer, increasing pressure and the likelihood of reflux.

Note: Fat content matters here. Many industrial chocolates combine cocoa solids with added fats and high sugar, which further delay digestion and can exacerbate symptoms. Timing matters too: eating chocolate late in the evening, close to bedtime, increases the chance of reflux simply because gravity is no longer helping keep acid where it belongs.

Again, these reactions are mechanical and chemical, not immune-mediated. They are not an allergy. And for many people, reducing portion size, choosing higher-quality chocolate with fewer added fats, and avoiding chocolate late at night is enough to eliminate the problem entirely.

Skin reactions (including acne)

The idea that chocolate causes spots is one of nutrition’s hardiest folk beliefs. Like the chocolate–migraine story, it survives because it sometimes feels true (see below). But dermatologists today almost universally assert that there is no strong evidence that cocoa, on its own, causes acne. Early studies that “proved” chocolate caused spots used milk chocolate bars high in sugar and dairy, then blamed the cacao. When later studies isolated cocoa solids, the effect largely disappeared.

What does show up consistently is the role of insulin and IGF-1 (insulin-like growth factor-1). Diets high in refined carbohydrates raise insulin, which in turn increases IGF-1. That hormonal shift stimulates sebaceous glands to produce more oil and encourages abnormal skin-cell turnover – an ideal recipe for blocked pores and inflammatory acne. This is why milk chocolate performs badly in acne studies. It combines fast sugar with milk proteins, particularly whey, which are potent IGF-1 stimulators. Dark chocolate weakens that signal. Very high-cocoa chocolate often removes it almost entirely.

To quote leading Dermatologist Whitney Bowe “The strongest dietary links to acne are dairy and high-glycaemic foods.”

There is a second, different category of “chocolate skin reactions” that gets wrongly lumped in with acne. Some people experience flushing, redness, itchiness, or small inflammatory bumps after eating chocolate. These are often histamine-mediated or vascular reactions, not acne. Poorly controlled fermentation can increase biogenic amines, including histamine – so craft chocolate is believed to be lower in histamines.

There is also another potential upside to Craft Chocolate. Craft Chocolate is higher in polyphenols (see here), and therefore may reduce oxidative stress / systemic inflammation and may support a healthier gut microbiome. So it’s plausible to suggest it may be protective over time, particularly when eaten in small amounts.

Chocolate and migraines – note: controversial, and please consult an expert on this!

Chocolate has a long-standing reputation as a migraine trigger. The current scientific consensus is confusing here: it suggests that for some people this reputation is justified, while for many others chocolate is better understood as an associative trigger, helping to push an already present susceptibility over the threshold into a migraine attack.

How chocolate may cause migraines: migraine experts suggest that, for a small subset of migraine-prone individuals, a number of biologically active compounds in chocolate may generate migraines.

Firstly: phenylethylamine (PEA), a naturally occurring trace amine found in cocoa, as well as in foods such as cheese, wine, and cured meats. PEA has mild stimulant properties: it promotes the release of dopamine and noradrenaline and can influence cerebral blood vessels. In most people this is irrelevant because PEA is rapidly broken down by the enzyme monoamine oxidase-B (MAO-B). However, some individuals appear to metabolise PEA more slowly. In a brain already primed for migraine – characterised by heightened sensory sensitivity and unstable vascular signalling – this additional stimulation is now understood as potentially “tipping” the system into a migraine.

Scientists also believe that theobromine, when combined with PEA – and especially when stacked with caffeine from coffee or tea – can add to the overall neurological load and contribute to migraine onset in susceptible individuals.

The literature also refers to “amine stacking” more broadly. Chocolate is often consumed alongside red wine, aged cheese, or fermented foods, all of which contain compounds such as tyramine or histamine that are already recognised migraine triggers for some people.

Chocolate as a “trigger” (or the straw that breaks the camel’s back)

Peter Goadsby, along with other migraine specialists, has also put forward a different explanation for some individuals who experience migraines after consuming chocolate. They note that chocolate cravings frequently occur during the prodrome phase of migraine, hours before the headache begins. In these cases, chocolate is blamed when it was in fact an early symptom of the migraine process already underway.

Now for the positive news! It’d be easy to end this summary pointing out that these are edge cases, and statistically insignificant. But this still misses the point. Craft chocolate isn’t merely “not harmful”. It is actively valuable with lots of benefits .. to cite just a few health related ones.

  • Polyphenols and phytonutrients: Craft Chocolate is one of the richest dietary sources of flavanols, including epicatechin, associated with improved endothelial function, better blood-flow regulation, anti-inflammatory signalling, improved gut health, etc. And the best way to assess phytonutrient availability is your sense of flavour – see here 
  • Magnesium and minerals: Dark chocolate is a meaningful source of magnesium, a mineral involved in muscle relaxation, nervous-system stability, and sleep regulation. Magnesium deficiency is common, particularly in stressed or physically active people. And in colder weather periods – see here 
  • Fibre, fermentation, and satiety: Craft dark chocolate contains cocoa fibre and fermentation products that support gut health and satiety – the opposite of the scoffing behaviour encouraged by sugary confectionery. See here
  • Savouring and sharing, pleasure with attention: Perhaps most importantly, chocolate rewards slow eating, savouring and social eating. A small amount, eaten attentively, delivers length, complexity, and satisfaction out of proportion to quantity. And it’s great to share!

Finally, once again I’m not a doctor or allergy specialist, and this is not designed to be any form of advice.

Thanks as ever for your support and attention

 

FURTHER READING

Related blog posts
https://cocoarunners.com/blog/polyphenols-in-chocolate/
https://cocoarunners.com/blog/magnesium-in-chocolate/
https://cocoarunners.com/blog/big-food-vs-craft-chocolate-the-fight-against-ultra-processed-foods/
https://cocoarunners.com/chocopedia/heavy-metal-chocolate/

Cocoa allergy and intolerance
Lopes JP, Kattan J, Doppelt A, Nowak‑Węgrzyn A, Bunyavanich S. Not so sweet: true chocolate and cocoa allergy. J Allergy Clin Immunol Pract. 2019;7(8):2868–2871.​
Pastorello EA, Farioli L, Pravettoni V, et al. Identification of cocoa allergens by immunoblotting. Clin Exp Allergy. 2001;31(5):707–710.​
Kochhar S, Gartenmann K, Guilloteau M, McCarthy J. Isolation and characterization of a 2S cocoa seed albumin storage polypeptide and the corresponding cDNA. J Agric Food Chem. 2001;49(9):4470–4477.​
Sicherer SH, Sampson HA. Food allergy. J Allergy Clin Immunol. 2006;117(2 Suppl Mini‑Primer):S470–S475.​
Artificial food colours
UK Food Standards Agency. Food additives: colours and hyperactivity (Southampton Six). London: FSA; web topic, updated 2010–.​
European Food Safety Authority (EFSA). Scientific opinion on the re‑evaluation of mixtures of food additives associated with the ‘Southampton study’. EFSA J. 2008;660:1–54.​
California Office of Environmental Health Hazard Assessment (OEHHA). Health Effects Assessment: Potential Neurobehavioral Effects of Synthetic Food Dyes in Children. Sacramento, CA; 2021.​
Stevens LJ, Kuczek T, Burgess JR, Stochelski MA, Arnold LE, Galland L. Mechanisms of behavioral, atopic, and other reactions to artificial food colors in children. Nutr Rev. 2014;72(11):731–742.​
Chocolate, migraines, and amines
Nowaczewska M, Wiciński M, Kaźmierczak W, Kaźmierczak H. To eat or not to eat: a review of the relationship between chocolate and migraines. Nutrients. 2020;12(3):608.​
Marcus DA, Scharff L, Turk D, Gourley LM. A double‑blind provocative study of chocolate as a trigger of headache. Cephalalgia. 1997;17(8):855–862.​
Millichap JG, Yee MM. The diet factor in pediatric and adolescent migraine. Pediatr Neurol. 2003;28(1):9–15.​
American Migraine Foundation. The science behind migraine triggers. Princeton, NJ: AMF; 2023 (web resource).​
Stimulants, adenosine, reflux
Martínez‑Pinilla E, Oñatibia‑Astibia A, Franco R. The relevance of theobromine for the beneficial effects of cocoa consumption. Front Pharmacol. 2015;6:30.​
Franco R, Oñatibia‑Astibia A, Martínez‑Pinilla E. Health benefits of methylxanthines in cacao and chocolate. Nutrients. 2013;5(10):4159–4173.​
Reddy P, Lau K, Kampman KM. Pharmacology of caffeine and its effects on the human body. J Addict Med. 2014;8(1):1–6.​
Wikipedia contributors. Chocolate. In: Wikipedia, The Free Encyclopedia. Last updated 2025 (health effects and reflux section).​
Polyphenols, cardiovascular and systemic effects
Katz DL, Doughty K, Ali A. Cocoa and chocolate in human health and disease. Antioxid Redox Signal. 2011;15(10):2779–2811.​
Hooper L, Kay C, Abdelhamid A, et al. Effects of chocolate, cocoa, and flavan‑3‑ols on cardiovascular health: a systematic review and meta‑analysis of randomized trials. Am J Clin Nutr. 2012;95(3):740–751.​
Schröder H, et al. (–)-Epicatechin mediates beneficial effects of flavanol‑rich cocoa on vascular function in humans. Open Biochem J. 2008;2:86–90.​
Magrone T, Jirillo E. Cocoa and dark chocolate polyphenols: from biology to clinical applications. Front Immunol. 2019;10:65.​