What Causes Peanut Allergy in Babies and How to Prevent It

Peanut allergy in babies develops when the immune system mistakenly identifies peanut proteins as dangerous and mounts a defensive response against them. About 2.2% of children in the United States have a peanut allergy, and the process that triggers it usually begins well before a child ever eats a peanut. The causes involve a combination of how peanut proteins first enter the body, the baby’s skin health, genetic predisposition, and the broader microbial environment the baby grows up in.

How Babies Become Sensitized to Peanut

The leading explanation for how peanut allergy develops is called the dual allergen exposure hypothesis, and it flips older advice on its head. For decades, parents were told to avoid giving peanut products to young children. We now know that eating peanut protein early in life trains the immune system to tolerate it, while exposure through damaged skin does the opposite.

When a baby eats peanut, the proteins pass through the gut, where the immune environment is naturally geared toward tolerance. Immune cells in the intestines process the peanut protein and essentially teach the body that it’s harmless. But when peanut proteins land on broken or inflamed skin (from eczema, for instance), a completely different immune pathway activates. The body treats the protein like a threat, producing antibodies designed to fight it off. Once those antibodies exist, the next time the baby encounters peanut, whether by eating it or touching it, the immune system can react aggressively.

This means a baby can become allergic to peanuts without ever having eaten one. Peanut dust on household surfaces, in bedding, or in the air can reach inflamed skin and quietly prime the immune system for an allergic response.

Why Eczema Is the Biggest Risk Factor

Eczema, particularly moderate to severe eczema, is the single strongest predictor of peanut allergy in infants. In a study of 195 infants with moderate to severe eczema, 18% were diagnosed with peanut allergy. The more severe the eczema, the higher the risk climbed: among babies older than 8 months with severe eczema, half had peanut allergy. Each 5-point increase on a clinical eczema severity scale raised the odds of peanut allergy by about 19%.

The connection is direct. Eczema damages the skin barrier, creating openings where peanut proteins can penetrate and contact immune cells beneath the surface. Those immune cells then activate the allergy pathway, producing the type of antibodies (IgE) responsible for allergic reactions. Interestingly, family history of peanut allergy alone, without eczema, barely moved the needle. Only 1% of infants who had a family history of peanut allergy but no eczema developed the allergy themselves.

Age also matters. Each additional month of age increased the odds of peanut allergy among babies with eczema, likely because more time with an impaired skin barrier means more opportunity for sensitization through the skin before the gut has a chance to build tolerance through eating.

Genetics and Family History

Peanut allergy runs in families, though not in a simple, predictable way. If one child in a family has a peanut allergy, siblings face roughly 7 times the risk of also developing it compared to children with no allergic sibling. Younger siblings carry an even higher risk, at nearly 12 times the baseline rate.

Part of this hereditary pattern involves epigenetics, the way genes are switched on or off without changes to the DNA sequence itself. Research in animal models has shown that offspring of peanut-allergic mothers are born with specific chemical modifications on the gene that controls a key allergy-promoting immune signal. These modifications make the gene more active from birth, essentially priming the immune system toward allergic responses before the baby is ever exposed to peanut. This inherited bias was present in newborns who had never encountered peanut themselves, suggesting the predisposition can be passed from parent to child during pregnancy.

The Role of Modern Hygiene

The sharp rise in peanut allergy over the past few decades points to environmental causes layered on top of genetics. One well-supported explanation is that children in industrialized countries grow up in environments that are too microbiologically “clean” for optimal immune development.

A baby’s immune system relies on early exposure to diverse bacteria, both in the gut and on the skin, to calibrate properly. Microbial colonization in the first weeks of life activates specific immune cells that suppress overreactive allergic responses. Without enough microbial diversity, the immune system is more likely to treat harmless proteins like peanut as threats. Studies in germ-free mice (raised without any bacteria) show they are especially prone to developing allergic responses, a tendency that reverses when normal bacterial communities are restored.

Modern factors that reduce microbial exposure, including antibiotic use, smaller family sizes, urban living, cesarean delivery, and highly sanitized environments, all correlate with higher rates of allergic disease. This doesn’t mean hygiene is bad. It means the immune system evolved to expect a certain microbial education that many babies in Western countries no longer receive. Changes in the composition of gut, skin, and nasal bacteria have all been linked to eczema, asthma, and food allergy.

Early Introduction Prevents Allergy

The strongest evidence for prevention comes from the LEAP trial, which enrolled 640 infants between 4 and 11 months old who were at high risk for peanut allergy. Half were fed peanut protein regularly; half avoided it entirely. By age 5, the group that ate peanut had 81% fewer cases of peanut allergy. A follow-up study tracked these children into adolescence and found that protection held: at age 12 and older, 15.4% of the avoidance group had peanut allergy compared to just 4.4% of the early introduction group, a 71% reduction.

These results changed pediatric guidelines worldwide. The key is getting peanut protein into the gut early, before the skin has a chance to sensitize the immune system through an alternate route. For high-risk babies (those with severe eczema or egg allergy), guidelines recommend allergy testing first, then introducing peanut protein as early as 4 to 6 months. For lower-risk babies, parents can introduce age-appropriate peanut foods when they start solids.

Safe Ways to Introduce Peanut

Whole peanuts and chunky peanut butter are choking hazards for babies. Safe options include peanut puff snacks (like Bamba) softened with water for babies under 7 months, smooth peanut butter thinned with warm water or breast milk into a runny consistency, or peanut powder mixed into purees. The goal is about 2 grams of peanut protein per serving, given roughly three times per week.

For babies with severe eczema or existing egg allergy, the introduction process may begin with a supervised feeding at a doctor’s office or after allergy testing at home. Babies with mild or no eczema and no egg allergy can generally start peanut foods at home alongside other solid foods.

What a Reaction Looks Like

An allergic reaction to peanut typically appears within minutes of exposure. In babies, the most common signs are skin-related: hives, redness, or swelling, especially around the face. You may also notice itching or tingling around the mouth, vomiting, diarrhea, or stomach cramps. Some babies develop a runny nose or wheezing.

Severe reactions (anaphylaxis) are less common on first exposure but can include throat swelling, difficulty breathing, rapid pulse, and sudden limpness or loss of consciousness. These require immediate emergency treatment. Most first reactions in babies are mild to moderate, but any reaction should be evaluated by an allergist to confirm the diagnosis and plan next steps.