Skip to content
Breastfeeding MomHealthy Babies. Confident Moms.

Breastfeeding basics

Does Breastfeeding Prevent Allergies? What the Trials Found on Eczema, Asthma and Food Allergy

By Breastfeeding Mom Editorial TeamUpdated 9 min read

Close-up of a baby's face and shoulder

If allergies run in your family, you may have heard that breastfeeding is the best way to keep them away. The real picture is more mixed. Breastfeeding seems to lower the chance of eczema in the first year or two, and possibly of wheezing and later asthma. For food allergy, the strongest evidence points somewhere else entirely.

None of this changes the other benefits of breastfeeding. And if your baby develops eczema or a food allergy, no single case can be traced back to how your baby was fed.

Does breastfeeding prevent allergies?

It may lower some allergy-related problems a little, but it does not prevent allergies in general. The best evidence shows a modest drop in early eczema and wheezing. It shows no clear effect on food allergy, hay fever or positive allergy tests.

The American Academy of Pediatrics (AAP) laid out its view in a 2019 clinical report by Greer, Sicherer and Burks. Its Committee on Nutrition and Section on Allergy and Immunology wrote it. The report found these points:

  • Exclusive breastfeeding for 3 to 4 months decreases eczema in the first 2 years of life.
  • Exclusive breastfeeding beyond 3 to 4 months gives no extra short- or long-term advantage for allergy prevention.
  • Any breastfeeding for 3 to 4 months or more protects against wheezing in the first 2 years.
  • Some evidence suggests longer breastfeeding protects against asthma after age 5.
  • No conclusions can be made about breastfeeding and food allergy.

The AAP also stated that the data still limit firm conclusions. So read every number below as a best estimate, not a promise.

The randomized trial: PROBIT in Belarus

Almost all research on breastfeeding is observational, because nobody can randomly assign babies to breast milk or formula. PROBIT came closest. Researchers led from McGill University in Montreal randomly assigned 31 Belarusian maternity hospitals and clinics to a breastfeeding support program or usual care. The first PROBIT report, from 2001, enrolled 17,046 mother and baby pairs.

The program worked on feeding. Exclusive breastfeeding at 3 months rose to 43.3%, against 6.4% at control sites. In the first year, atopic eczema affected 3.3% of babies at program sites and 6.3% at control sites (adjusted odds ratio 0.54).

Later follow-ups were less encouraging for most outcomes:

  • At age 6.5: a 2007 report in the BMJ followed 13,889 children. It found no reduction in allergic symptoms, asthma diagnoses or positive skin prick tests.
  • At age 16: a 2018 follow-up led from King’s College London examined 13,557 teens. Doctors found flexural eczema in 0.3% of the program group and 0.7% of controls (odds ratio 0.46). Questionnaire reports of asthma, wheezing and eczema did not differ in a statistically significant way, and lung function was the same.

Our calculation, from the trial’s own figures. A 3.3% versus 6.3% eczema rate is a 3-point absolute difference. That means about 30 fewer babies with eczema per 1,000. Put another way, about 33 babies would need the extra breastfeeding support for one fewer case in the first year. At 16, the gap had shrunk to about 4 per 1,000.

Keep in mind where this was done. The authors noted that atopic eczema and allergies were rare in this Belarusian setting, so the results may differ elsewhere.

What larger reviews of observational studies add

A 2015 meta-analysis from the University of Melbourne pooled 89 articles on breastfeeding and allergic disease. The team found these associations:

Condition What the review found Quality of evidence
Asthma, ages 5 to 18 Less asthma with more breastfeeding Some evidence; part may be recall bias
Eczema, up to age 2 Less eczema with exclusive breastfeeding for 3 to 4 months Weaker; mostly low-quality cross-sectional studies
Hay fever, up to age 5 Less allergic rhinitis Low quality, high heterogeneity
Food allergy No association Low quality, high heterogeneity

The links for asthma and eczema were stronger in low-income countries. The authors also flagged recall bias. Parents of children with asthma may remember feeding history differently, years later.

Which allergies are linked to breastfeeding, and which are not?

Here is our side-by-side read of the three main sources. We built the table from the trial and review results above.

Outcome PROBIT trial Lodge 2015 review AAP 2019 report Our read
Eczema, first 1 to 2 years Lower (3.3% vs 6.3%) Lower, weak evidence Lower with 3 to 4 months exclusive Fairly consistent, modest
Wheezing, first 2 years Not a reported outcome in the papers we read Not reported separately Lower with 3 to 4 months or more Probable
Asthma after age 5 No difference at 6.5 or 16 Lower, may be partly recall bias Some evidence of protection Uncertain
Food allergy Not studied as a main outcome No association No conclusions possible No proven effect
Hay fever, skin tests No difference at 6.5 Weak link up to age 5 Not addressed directly Unlikely to be large

The disagreement on asthma matters. The only randomized evidence found no difference, while observational studies found a link. That pattern often means confounding or recall bias explains part of the link.

Peanut and other allergens: what LEAP and EAT mean for breastfed babies

For food allergy, the timing of solid foods has much better evidence than breastfeeding. The landmark trial is LEAP, led from King’s College London and published in 2015. Researchers randomly assigned 640 babies with severe eczema, egg allergy or both to eat or avoid peanut until age 5. Babies were 4 to under 11 months old at the start.

Among the 530 babies with a negative skin test at the start, peanut allergy at age 5 affected 13.7% of the avoidance group and 1.9% of the eating group. By our calculation, that is about 12 fewer allergies per 100 high-risk babies. Roughly 8 to 9 babies needed to eat peanut early for one fewer allergy. A 2024 follow-up found the gap held at age 12 (15.4% vs 4.4%).

The EAT trial, from St George’s, University of London, and King’s College London, asked the question for breastfed babies directly. It enrolled 1,303 exclusively breastfed 3-month-olds from the general population. Half started six allergenic foods early while breastfeeding continued. In the main analysis, food allergy affected 7.1% of the standard group and 5.6% of the early group, a difference that was not statistically significant. Among families who stuck to the plan, the rates were 2.4% and 7.3%. Many families found the early plan hard to follow.

The practical upshot is that breastfeeding and early allergen introduction work together. The US peanut allergy addendum guidelines from the National Institute of Allergy and Infectious Diseases set out three plans by risk level. Babies with severe eczema, egg allergy or both are high risk, and the guidelines advise peanut-containing foods as early as 4 to 6 months. They say an allergy evaluation should be strongly considered first. Our guide to starting solids and baby-led weaning covers safe forms and amounts.

The “avoid peanuts while nursing” myth, traced

Many parents still hear that they should cut peanuts or dairy while breastfeeding to protect their baby. That advice did come from the AAP once. In 2000, an AAP policy on hypoallergenic formulas included feeding advice for high-risk babies. According to an American Family Physician summary, it said mothers should eliminate peanuts and tree nuts and consider eliminating eggs, cow’s milk and fish while nursing. It also advised delaying peanuts, nuts and fish until age 3.

Then the evidence caught up:

  1. 2008. The AAP’s replacement report said current evidence did not support a major role for maternal diet restriction during pregnancy or lactation.
  2. 2012. A Cochrane review from McGill University looked at two trials of avoidance diets in breastfeeding mothers (523 participants). They showed no statistically significant protection against eczema. The authors said avoidance during breastfeeding might lower eczema risk in high-risk families, but better trials are needed.
  3. 2015 to 2017. LEAP showed that avoiding peanut raised the risk of peanut allergy in high-risk babies, and US guidelines reversed course.
  4. 2019. The AAP stated that current evidence does not support maternal dietary restrictions during pregnancy or lactation.
  5. 2021. The European Academy of Allergy and Clinical Immunology suggested against avoiding food allergens during pregnancy or breastfeeding to prevent food allergy.

One observational hint points the other way. A 2018 Canadian cohort analysis from Humber River Hospital in Toronto and the University of Manitoba tested peanut sensitization at age 7. One group of children had the lowest rate (1.7%). Their mothers ate peanuts while breastfeeding and also gave peanut before 12 months. That was a secondary analysis, so it shows an association only. It still gives no support to avoidance.

The exception is a baby who already reacts to something in your milk. That is a different situation, covered in our guide to cow’s milk protein allergy in breastfed babies. For your own diet, our list of foods to avoid while breastfeeding explains what actually matters.

Formula in the first days, and the hydrolyzed formula claim

Two formula questions come up often. The first is about early top-ups. In the ABC trial from Jikei University in Tokyo, 312 newborns at risk for allergy were analyzed. Babies given cow’s milk formula from day one had more cow’s milk sensitization at age 2 (32.2%) than babies who avoided it for at least 3 days (16.8%). Immediate-type food allergy was 13.2% versus 2.6%. It was one hospital, and the comparison group kept getting formula for 5 months. The European guideline now suggests avoiding regular cow’s milk formula as a top-up for breastfed babies in the first week.

The second is about hydrolyzed formula. A 2016 review from Imperial College London pooled 37 trials with more than 19,000 participants. It found no consistent evidence that partially or extensively hydrolyzed formula lowers allergy risk. The AAP reached the same conclusion in 2019. If you need formula, see our guide to formula for breastfed babies.

What the evidence does not show

  • It does not show that breastfeeding causes less asthma. The randomized trial found no asthma difference, and the observational link may partly reflect recall bias and family differences.
  • It does not show who will benefit. All of these figures are group averages. Family history, eczema and genes also shape a single baby’s risk.
  • It does not show that longer is better for allergy. The AAP found no extra allergy benefit from exclusive breastfeeding beyond 3 to 4 months.
  • It does not separate nursing from pumped milk. None of the studies we read compared the two.
  • It does not settle food allergy. A large, long randomized trial focused on food allergy would be needed to change that conclusion.

A practical plan for allergy-prone families

  1. Breastfeed if it works for you. Any amount counts, and the AAP’s findings on eczema and wheezing center on the first 3 to 4 months.
  2. Keep eating a normal, varied diet. Don’t cut peanuts, dairy or eggs to prevent allergy unless a doctor diagnoses a reaction in your baby.
  3. Ask about formula top-ups early. If your baby needs extra milk in the first days, ask whether expressed milk or donor milk is an option.
  4. Plan allergen introduction. Around 4 to 6 months, ask your pediatrician about peanut and egg, especially if your baby has eczema.
  5. Treat eczema early. Ask your pediatrician about skin care for any rash that doesn’t settle.

For more on the basics of feeding, see our breastfeeding basics hub.

When to call your pediatrician

Call your pediatrician if your baby has:

  • Eczema that is severe, spreading or not improving with skin care
  • Blood or mucus in the stool, or ongoing vomiting after feeds
  • Hives, swelling or vomiting after a new food
  • Wheezing or noisy breathing, or a cough that keeps coming back

Call 911 for signs of a severe allergic reaction, such as trouble breathing, a swollen tongue or throat, or a raised rash that spreads quickly.

Frequently asked questions

Can my baby be allergic to my breast milk?

Babies are not allergic to breast milk itself. Rarely, a baby reacts to food proteins from your diet that pass into your milk, most often cow's milk protein. Signs include blood or mucus in the stool or eczema, so see your pediatrician before you cut foods.

Do probiotics while breastfeeding prevent eczema or food allergy?

The evidence is too uncertain to say. The 2021 European Academy of Allergy and Clinical Immunology guideline looked at this for food allergy. It made no recommendation for or against probiotics, prebiotics, fish oil or vitamin supplements in pregnancy, breastfeeding or infancy.

Does breastfeeding protect against hay fever?

Not clearly. A 2015 review found only weak, low-quality evidence for less allergic rhinitis up to age 5. The Belarus trial found no reduction in allergic symptoms or positive skin prick tests at age 6.5.

Does giving some formula cancel out the benefit?

Not as far as the evidence shows. The AAP found that any breastfeeding for 3 to 4 months or more was linked to less wheezing in the first 2 years. One Japanese trial in at-risk newborns found less cow's milk sensitization when routine cow's milk formula was avoided in the first days. Ask about this if allergies run in your family.

My breastfed baby has eczema. Should we wait to give peanut?

No, but talk to your pediatrician first. US guidelines call babies with severe eczema or egg allergy high risk and advise peanut-containing foods as early as 4 to 6 months. They say an allergy evaluation should be strongly considered first.

Sources

  1. Kramer MS et al. Promotion of Breastfeeding Intervention Trial (PROBIT): a randomized trial in the Republic of Belarus. JAMA, 2001https://pubmed.ncbi.nlm.nih.gov/11242425/
  2. Kramer MS et al. Effect of prolonged and exclusive breast feeding on risk of allergy and asthma: cluster randomised trial. BMJ, 2007https://pmc.ncbi.nlm.nih.gov/articles/PMC2034727/
  3. Flohr C et al. Effect of an intervention to promote breastfeeding on asthma, lung function, and atopic eczema at age 16 years: follow-up of the PROBIT randomized trial. JAMA Pediatrics, 2018https://pmc.ncbi.nlm.nih.gov/articles/PMC6583261/
  4. Lodge CJ et al. Breastfeeding and asthma and allergies: a systematic review and meta-analysis. Acta Paediatrica, 2015https://pubmed.ncbi.nlm.nih.gov/26192405/
  5. Greer FR, Sicherer SH, Burks AW; AAP Committee on Nutrition and Section on Allergy and Immunology. The effects of early nutritional interventions on the development of atopic disease in infants and children. Pediatrics, 2019https://pubmed.ncbi.nlm.nih.gov/30886111/
  6. Du Toit G et al. Randomized trial of peanut consumption in infants at risk for peanut allergy (LEAP). New England Journal of Medicine, 2015https://pubmed.ncbi.nlm.nih.gov/25705822/
  7. Perkin MR et al. Randomized trial of introduction of allergenic foods in breast-fed infants (EAT). New England Journal of Medicine, 2016https://pubmed.ncbi.nlm.nih.gov/26943128/
  8. Togias A et al. Addendum guidelines for the prevention of peanut allergy in the United States (NIAID expert panel). Journal of Allergy and Clinical Immunology, 2017https://pmc.ncbi.nlm.nih.gov/articles/PMC5226648/
  9. Halken S et al. EAACI guideline: preventing the development of food allergy in infants and young children (2020 update). Pediatric Allergy and Immunology, 2021https://pubmed.ncbi.nlm.nih.gov/33710678/
  10. Kramer MS, Kakuma R. Maternal dietary antigen avoidance during pregnancy or lactation, or both, for preventing or treating atopic disease in the child. Cochrane Database of Systematic Reviews, 2012https://pubmed.ncbi.nlm.nih.gov/22972039/
  11. American Family Physician: AAP releases statement on hypoallergenic infant formulas (2001 summary of the AAP 2000 policy)https://www.aafp.org/afp/2001/0215/p793
  12. Boyle RJ et al. Hydrolysed formula and risk of allergic or autoimmune disease: systematic review and meta-analysis. BMJ, 2016https://pmc.ncbi.nlm.nih.gov/articles/PMC4783517/

This guide is general information, not medical advice. For your own situation, talk to your doctor, midwife, pharmacist or an IBCLC lactation consultant. Read our medical disclaimer and find breastfeeding support near you.

Related articles