What Causes Peanut Allergy: Skin, Genes, and Gut Bacteria

Peanut allergy develops when the immune system mistakenly identifies certain peanut proteins as dangerous and mounts an aggressive defense against them. About 2.9% of U.S. adults and a similar share of children live with this allergy, and the causes involve a surprisingly complex interplay of genetics, skin barrier problems, gut bacteria, timing of first exposure, and even how peanuts are cooked.

How the Immune System Gets It Wrong

Peanuts contain at least nine proteins capable of triggering an immune reaction, but a few do the heaviest lifting. Two proteins in particular are the most potent at causing the hallmark reactions of food allergy: triggering the release of histamine from mast cells in the gut and driving full-body anaphylaxis when they enter the bloodstream. Other peanut proteins can sensitize the immune system (priming it to react) but are less effective at causing severe symptoms on their own.

During sensitization, peanut proteins activate immune cells in a way that skews the response toward allergy rather than tolerance. Peanut proteins stimulate certain receptors on immune cells, causing those cells to produce signals that push nearby T-cells (a type of white blood cell that coordinates immune responses) toward an allergic profile. These T-cells then ramp up production of inflammatory molecules and help generate IgE antibodies, the same antibodies involved in hay fever and other allergic conditions. Once those IgE antibodies exist, any future encounter with peanut protein can trigger a rapid, sometimes dangerous reaction.

The Skin as an Unexpected Entry Point

For years, scientists assumed peanut allergy started in the gut. The current understanding is nearly the opposite: eating peanut early in life tends to build tolerance, while exposure through broken or inflamed skin tends to cause allergy. This concept, known as the dual allergen exposure hypothesis, has reshaped how researchers and pediatricians think about prevention.

Peanut protein is measurable in household dust across the U.S., with median concentrations around 25 to 40 micrograms per gram of dust. Infants typically ingest 50 to 100 milligrams of indoor dust daily, and the levels of peanut allergen in that dust directly correlate with rates of peanut sensitization in high-risk children. For a baby with healthy, intact skin, these trace amounts are unlikely to cause problems. But for a baby with eczema, where the skin barrier is cracked and inflamed, peanut particles landing on the skin can slip through and encounter immune cells that are already primed to overreact.

This is why eczema severity is one of the strongest predictors of peanut allergy. In studies of infants with eczema, every 5-point increase on a standard eczema severity scale raised the odds of peanut allergy by about 19%. Having another food allergy on top of eczema nearly quadrupled the risk.

Genetics and the Skin Barrier

Peanut allergy runs in families, and the genetic component is substantial. Studies of identical twins show a 64% concordance rate, meaning if one twin has peanut allergy, there’s a 64% chance the other does too. For fraternal twins and non-twin siblings, that rate drops to just 7%. The gap points to a strong genetic influence beyond shared household environment.

One of the clearest genetic links involves a gene called filaggrin, which produces a protein essential for building a strong skin barrier. People who carry loss-of-function mutations in this gene have skin that loses moisture more easily and lets allergens penetrate more readily. These mutations are a significant risk factor for peanut allergy, and they also increase the risk of eczema, connecting the genetic and skin-barrier pathways. Several specific filaggrin mutations have been identified in European and North American populations, though the gene is just one piece of the puzzle.

Gut Bacteria Play a Protective Role

The community of microbes living in an infant’s gut appears to influence whether the immune system learns to tolerate peanut or to fight it. Lower gut microbiome diversity in infancy is significantly associated with later development of peanut allergy. Specific bacterial patterns matter too: infants who stayed free of peanut allergy through childhood had higher levels of certain Clostridium species early in life, while infants who developed the allergy had higher levels of Streptococcus species instead.

The protective bacteria seem to work partly by producing short-chain fatty acids like butyrate, which help maintain the gut lining and calm immune responses. In children who went on to develop peanut allergy, butyrate levels decreased over time. Bifidobacterium, another beneficial gut bacterium, followed a similar pattern: children without peanut allergy had higher levels of it at mid-childhood than children with the allergy. These findings suggest that anything disrupting early gut colonization, including cesarean delivery, early antibiotic use, or a low-fiber diet, could indirectly raise allergy risk by starving these helpful microbes.

Why Timing of First Exposure Matters

The landmark LEAP trial tested what happens when high-risk infants are introduced to peanut between 4 and 10 months of age rather than avoiding it. The result was striking: early introduction reduced peanut allergy by 81% compared to avoidance. This finding upended decades of advice that told parents to keep peanut away from young children.

The mechanism ties back to the dual exposure idea. When an infant eats peanut protein, it encounters the gut immune system in a context that promotes tolerance. The gut is designed to distinguish harmless food proteins from genuine threats, and early oral exposure appears to train the immune system before skin-based sensitization can take hold. Critically, inducing oral tolerance before skin exposure can prevent allergy even in animals with impaired skin barriers. The window matters: the longer parents wait, the more time there is for trace peanut in household dust to sensitize a baby through eczema-damaged skin first.

How Cooking Methods Change Allergenicity

One reason peanut allergy is far more common in Western countries than in parts of East and Southeast Asia may come down to the kitchen. In the West, peanuts are almost always dry-roasted. In many Asian cuisines, they’re boiled or fried at lower temperatures.

Roasting fundamentally changes peanut proteins at the molecular level. High dry heat triggers a chemical reaction between sugars and amino acids (the Maillard reaction, the same process that browns bread and sears meat) that modifies the protein structure and makes key allergens significantly more resistant to digestion. In studies, the main peanut allergens in roasted peanuts survived stomach-like conditions far longer than the same proteins from raw or boiled peanuts. One allergen remained completely intact after two minutes of simulated digestion, and another persisted after a full hour.

Boiling has the opposite effect. It unfolds proteins in a way that makes them easier to break down in the gut, and it leaches soluble allergens into the cooking water (which is discarded). The structural changes are measurable: roasting rearranges the internal architecture of key proteins to expose more reactive surfaces, while boiling collapses them into forms less recognizable to IgE antibodies. This doesn’t mean boiled peanuts are safe for someone with an established allergy, but it may help explain population-level differences in how common peanut allergy is across cultures.

Risk Factors That Add Up

No single factor causes peanut allergy on its own. The condition emerges from a pile-up of risk factors, some genetic and some environmental. The clearest ones include:

  • Eczema, especially severe eczema in infancy. The worse the skin barrier disruption, the higher the risk. Each month of age at first peanut introduction also raises the odds by about 30% in infants with eczema, reinforcing the case for early introduction.
  • Family history of allergic disease. Having a parent or sibling with any allergy (not just peanut) increases risk, though eczema severity and age at introduction appear to matter more than family history alone.
  • Other food allergies. Children already sensitized to egg or milk face roughly 2.5 to 4 times the odds of also developing peanut allergy.
  • Race and ethnicity. In U.S. studies, Black and Asian infants with eczema had substantially higher odds of peanut allergy compared to white infants with similar eczema severity, suggesting additional genetic or environmental factors that aren’t yet fully understood.
  • Household peanut exposure without oral consumption. Living in a home where peanut is eaten by other family members exposes an infant through dust, increasing the chance of skin sensitization, particularly if the baby isn’t also eating peanut.

Roughly 800,000 U.S. adults appear to have developed their peanut allergy after age 18, a reminder that while the condition most often begins in childhood, it can emerge at any stage of life. Adult-onset cases are less well understood but may involve shifts in immune regulation, new environmental exposures, or changes in gut health.