Skip to main content

Install RediHealth

Add RediHealth to your device for quick access.

  1. Click the install button in the address bar or open the browser menu.
  2. Select install RediHealth and confirm to open it in its own window.

3 min read, 4 min audio

Avoiding foods in pregnancy or breastfeeding: does it prevent a baby's eczema?

Parents sometimes avoid milk, eggs, nuts or other foods hoping to prevent eczema in their baby. Routine exclusion of common food allergens during pregnancy or breastfeeding is not recommended solely for that purpose. Evidence does not establish a reliable preventive benefit, and unnecessary restriction can make adequate nutrition harder. This differs from avoiding a food because of your own diagnosed allergy or following an individual plan for a baby with a confirmed problem.

Key takeaway: Parents sometimes avoid milk, eggs, nuts or other foods hoping to prevent eczema in their baby. Routine exclusion of common food allergens during pregnancy or breastfeeding is not recommended solely for that purpose. Evidence does not establish a reliable preventive benefit, and unnecessary restriction can make adequate nutrition harder. This differs from avoiding a food because of your own diagnosed allergy or following an individual plan for a baby with a confirmed problem.

Editorial draft: independent clinical and language review is pending. This information cannot diagnose symptoms or replace individual medical advice.

On this page

Separate eczema, food allergy and prevention

Eczema is an inflammatory skin condition with several influences, including skin-barrier function and inherited susceptibility. Food allergy can coexist, especially in some children with more severe eczema, but eczema is not automatically proof of a food allergy. Preventing eczema before it appears is also a different question from investigating symptoms in a child who already has it. Family history can guide a discussion about risk without showing that removing a particular food from the parent's diet will prevent the condition.

Understand what the evidence supports and what remains uncertain

Studies of maternal food avoidance have not established that routine restriction in pregnancy prevents a child's eczema. Evidence during breastfeeding is also insufficient to justify broad exclusion for prevention. A small or uncertain study finding should not become a promise that a restrictive diet will protect an individual baby. Current allergy guidance also advises against maternal allergen avoidance simply to prevent food allergy. These conclusions do not mean that everyone must eat every food; they mean there is no good basis for prescribing avoidant diets to all parents for this goal.

Protect nutrition while respecting real allergies and preferences

Aim for a varied diet that meets pregnancy or breastfeeding needs, following the separate food-safety advice for that life stage. A food unsafe because of infection risk is a different issue from an ordinary allergen. If you have a diagnosed allergy, continue your own clinical avoidance plan rather than deliberately exposing yourself to protect the baby. Vegetarian, vegan or otherwise restricted diets can be discussed with a qualified professional to identify suitable replacements. Do not remove several major food groups without advice about protein, calcium and other relevant nutrients.

If the baby develops eczema, seek assessment rather than blame

Discuss skin care, prescribed treatment, severity and any reproducible food-related symptoms with the child's clinician. Not every flare has a dietary cause, and a positive allergy test alone does not establish that a food explains the skin problem. If an elimination diet is clinically indicated, ask which food, for what reason, how nutrition will be protected and how the result will be reviewed. Do not make a broad, indefinite restriction or attempt a home reintroduction after a serious suspected allergic reaction. Breathing difficulty, swelling of the mouth or throat or collapse requires emergency help.

Treat complementary feeding as a separate, supported decision

Avoiding foods in a parent's diet and introducing foods to a baby are not the same intervention. Ask about age-appropriate complementary feeding, safe textures and allergen introduction, particularly if the baby has severe eczema or a diagnosed food allergy. Do not copy a timing or feeding challenge from an online story. Breastfeeding can have benefits, but no feeding choice guarantees that eczema will not occur. Seek practical feeding support without guilt, and ask for a coordinated plan if both skin problems and feeding concerns are affecting daily life.

Practical examples

These hypothetical situations illustrate decisions and questions. They do not predict a diagnosis or treatment result.

Hypothetical example: a family history of eczema

A pregnant person with eczema in the family considers removing milk and eggs despite tolerating both. They ask their maternity professional about prevention evidence and nutrition. They keep a suitable diet rather than assuming restriction is necessary or that future eczema would be their fault.

Hypothetical example: eczema and suspected food symptoms

A breastfeeding parent notices the baby has eczema and describes a possible symptom pattern to the clinician. Together they consider skin treatment and whether allergy assessment is indicated. They do not remove many foods indefinitely or stop feeding without a supported plan.

Questions to ask your healthcare team

  • Are we discussing prevention, my own allergy or a possible allergy in my baby?
  • Is any dietary exclusion actually indicated, and how would nutrition and review be arranged?
  • What skin and feeding advice fits my baby's age, eczema severity and allergy history?

Questions about your health?

Talk to a volunteer doctor in a voice call. It is free and confidential.

Talk to a doctor

Don't need a doctor?

A pharmacist can advise you for free, without an appointment.

Nearest pharmacy

This guide does not replace a doctor. This page gives you health information. It does not give you a diagnosis or treatment. For that, see a doctor. In an emergency, call 112.