Foods to Avoid for Eczema: What the Evidence Says
Cow’s milk, eggs and peanuts may need to be avoided for eczema if a clinician confirms a food allergy, but they are not universal eczema triggers.
Eczema and food allergy can occur together, but they are different conditions. Most people with eczema do not need to remove foods simply because they have eczema. For related hydration information, see the best drinks for eczema.
Which 5 foods might you need to avoid for eczema?
The ai symptom analyzer can help you organize symptoms for a medical appointment; it cannot diagnose an allergy or tell you which foods are safe.
The five foods below are examples of common allergens, not a ranked list of proven eczema triggers. Avoidance is appropriate when an allergy is confirmed or while a clinician investigates a suspected reaction. Other foods, including tree nuts, fish, shellfish and sesame, can also cause allergies.
Evidence for elimination diets as an eczema treatment is limited. A systematic review and meta-analysis of randomized trials found that dietary elimination may slightly improve eczema severity on average, but the evidence was low certainty and the studies mostly involved young children. That finding does not establish that removing any particular food will help you.
1. Cow’s milk
Cow’s milk contains proteins that can cause an immune reaction in someone with a milk allergy. Such a reaction may include skin symptoms, but eczema alone does not establish that milk is responsible.
If a clinician confirms a cow’s milk allergy, ask which milk-containing foods to avoid and how to replace their nutritional contribution. Lactose-free milk is not a substitute for someone allergic to milk protein. For an infant, discuss any formula or feeding changes with a pediatric clinician rather than choosing a replacement independently.
Evidence: Cow’s milk avoidance can be necessary for a confirmed allergy. The broader elimination-diet evidence does not show that everyone with eczema benefits from avoiding it.
2. Eggs
Egg proteins can trigger an allergic reaction in susceptible people. A flare that happens after eating egg is worth discussing with a clinician, but timing alone cannot prove that egg caused it.
If an egg allergy is confirmed, follow the clinician’s advice about eggs and foods containing them. Some people with egg allergy can tolerate egg in certain baked foods, while others cannot; do not test this yourself unless your clinician advises that it is safe.
Evidence: Egg is a recognized food allergen, but the elimination-diet review does not support routinely removing it for eczema without an individual reason. Unnecessary avoidance can also make meals less varied and may create nutritional difficulties.
3. Peanuts
Peanut proteins can cause an allergic immune reaction, including a potentially severe reaction. Eczema does not mean that a person is allergic to peanuts, even though food allergy and eczema can coexist.
If peanut allergy is confirmed, follow an individualized avoidance and emergency plan. A peanut allergy does not automatically mean that every tree nut must also be avoided; ask an allergy specialist what is appropriate for you.
For a baby with eczema, ask a pediatric clinician about safe peanut introduction rather than deliberately delaying it or trying it at home when there is concern about an allergy. A clinician can assess whether testing or a supervised introduction is appropriate.
Evidence: Avoiding peanuts prevents exposure in someone with a confirmed peanut allergy. There is no good basis for removing peanuts from every eczema diet.
4. Wheat
Wheat contains proteins that can cause wheat allergy. That is different from assuming that gluten or wheat generally causes eczema; an itchy flare after a meal may have another explanation.
If wheat allergy is confirmed, ask a clinician or dietitian how to avoid wheat while maintaining a balanced diet. Check packaged-food labels and discuss cross-contact where relevant. Do not assume that a product labeled gluten-free is automatically appropriate for every food allergy without checking its ingredients.
Evidence: The available elimination-diet evidence does not establish wheat avoidance as a general eczema treatment. Testing and dietary decisions should be based on the person’s history, not a standard list.
5. Soy
Soy proteins can trigger an immune reaction in someone with a soy allergy. Soy is also present in some packaged foods, so a confirmed allergy may require attention to ingredients beyond obvious foods such as tofu.
If you suspect soy causes a reaction, record what was eaten and what happened, then discuss it with a clinician. If the allergy is confirmed, ask which ingredients and products you specifically need to avoid; the advice can depend on the individual and the product.
Evidence: Soy avoidance is appropriate for a confirmed soy allergy, but there is no evidence from the elimination-diet review that everyone with eczema should cut out soy. Restriction without a clear reason can unnecessarily limit food choices.
What other foods should you limit for eczema?
There is no standard eczema diet that requires everyone to limit sugar, additives, citrus, tomatoes or spicy foods. A food may seem connected to a flare when the timing is coincidental, or when another factor—such as skin irritation or infection—is involved.
If you notice a repeatable pattern, write down the food, the timing and the symptoms, along with any other changes around the flare. Bring that record to a clinician. A diary can help guide a conversation, but it cannot by itself distinguish an allergy from another cause.
Avoid starting a broad elimination diet, especially one that removes several major food groups. A clinician or registered dietitian can help assess whether a focused, supervised trial is appropriate and how to maintain adequate nutrition. Eczema guideline highlights emphasize making treatment decisions with the individual’s circumstances and preferences in mind.
Who should be careful, and when should you get medical help?
Seek emergency help immediately for trouble breathing, throat or tongue swelling, fainting, or other signs of a severe allergic reaction after food. Use prescribed epinephrine promptly if it is available, and call emergency services even if symptoms improve. Antihistamines are not a substitute for epinephrine in a severe reaction.
If a food has caused an immediate reaction, avoid that suspected food while seeking medical advice; do not deliberately eat it again to check. An allergy specialist can decide whether testing or a medically supervised food challenge is appropriate. A positive allergy test on its own does not always mean a food is causing symptoms, so results need to be interpreted alongside the clinical history.
Contact a clinician promptly if eczema becomes increasingly painful, develops pus, spreads rapidly, or is accompanied by fever. Painful clusters of blisters also need urgent assessment because skin infections can require timely treatment.
Children, pregnant people and anyone already eating a restricted diet should get professional advice before removing foods. For infants and growing children in particular, unnecessary restrictions can compromise nutrition and may affect tolerance to foods. Continue prescribed eczema treatment while discussing suspected triggers; do not stop medication without the prescribing clinician’s advice.
Try the free tool
Ai Symptom Analyzer →Frequently asked questions
Can an allergy test alone prove that a food causes eczema?
No. A clinician interprets test results alongside the reaction history and may recommend a supervised food challenge when appropriate.
Should I stop eczema medication while checking for food triggers?
No. Continue prescribed treatment unless the prescribing clinician advises a change.
Does a baby with eczema automatically need a special formula?
No. Discuss suspected milk allergy and any formula changes with a pediatric clinician before making a switch.
Sources
- Dietary Elimination for the Treatment of Atopic Dermatitis: A Systematic Review and Meta-Analysis. The journal of allergy and clinical immunology. In practice (2022). PubMed 35987995
- Atopic Dermatitis (Eczema) Guidelines 2023: Highlights. The journal of allergy and clinical immunology. In practice (2024). PubMed 39251015