How to Prevent Food Allergies in Babies

The most effective way to prevent food allergies is to introduce common allergenic foods early in infancy, starting between 4 and 6 months of age. This approach reverses decades of older advice that told parents to delay these foods. The science is now clear: early, consistent exposure to allergens like peanut, egg, and dairy builds tolerance rather than triggering allergies.

Why Early Introduction Works

Your immune system learns to tolerate foods through the gut. When a baby eats small amounts of an allergenic protein, the digestive system flags it as safe, and the body stops reacting to it. This process is called oral tolerance, and it works best during a specific window in early infancy.

The problem comes when a baby’s skin is exposed to food proteins before they’ve eaten those foods. Research has shown that allergens landing on inflamed or broken skin (common in babies with eczema) trigger a completely different immune response. Instead of tolerance, the body produces allergy-driving antibodies. When that baby later eats the food for the first time, their immune system is already primed to overreact. This is why babies with severe eczema are at the highest risk for food allergies, and why getting allergens into their diet early is so important.

Which Babies Are High-Risk

All babies benefit from early allergen introduction, but those with severe eczema or an existing egg allergy are at significantly higher risk for developing peanut allergy. For these infants, the U.S. Dietary Guidelines recommend introducing peanut-containing foods as early as 4 months. The Society for Pediatric Dermatology recommends that babies with severe eczema get peanut allergy testing before their first taste of peanut products. If they test negative, introduction should start at 4 to 6 months.

Babies with mild to moderate eczema can start peanut and other high-risk foods around 6 months without prior testing. Babies with no eczema or family history of allergies can also begin allergens around 6 months, when they’re developmentally ready for solids.

The Key Allergens to Introduce

The major food allergens to prioritize are peanut, egg, cow’s milk products, wheat, tree nuts, soy, fish, and shellfish. There’s no evidence that delaying any of these beyond 4 to 6 months offers protection. The American Academy of Pediatrics has confirmed that waiting to introduce wheat and other gluten-containing grains does not prevent food allergy or celiac disease.

You don’t need to introduce them all at once. Start with one new allergen at a time, wait a couple of days to watch for reactions, then move on to the next. The goal is to have your baby eating a variety of allergenic foods regularly within the first year of life.

How to Prepare Allergenic Foods Safely

The biggest safety concern with allergen introduction is choking, not the allergy itself. Whole nuts, chunks of hard food, and thick globs of nut butter are all choking hazards. Here’s how to prepare common allergens safely:

  • Peanut: Mix a quarter teaspoon of smooth peanut butter, peanut powder, or finely ground peanut into a vegetable puree or other food your baby already eats. Never give whole peanuts or peanut pieces.
  • Egg: Serve well-cooked egg (scrambled or hard-boiled and mashed). Start with a small amount mixed into puree.
  • Tree nuts: Use smooth nut butters, nut powders, or finely ground almond meal mixed into purees. No whole or chopped nuts.
  • Wheat: Offer soft bread, toast strips, or wheat-based cereal appropriate for your baby’s stage.
  • Dairy: Plain yogurt or soft cheese work well. Cow’s milk as a drink isn’t recommended before 12 months, but dairy in food form is fine earlier.
  • Fish: Soft, well-cooked, flaked fish with bones carefully removed.

Always supervise your baby while eating and make sure they’re seated upright. Start with smooth, pureed textures and work toward soft finger foods as your baby develops. By 12 months, aim for soft, roughly mashed versions of family meals.

How Much and How Often

Introduction alone isn’t enough. Consistency matters. For peanut specifically, the recommended maintenance dose is about 6 to 7 grams of peanut protein per week, spread across three or more feedings. That’s roughly 2 teaspoons of peanut butter three times a week. The key is regular, ongoing exposure. Introducing a food once and then not offering it again for weeks doesn’t build lasting tolerance.

The same principle applies to other allergens. Once your baby tolerates a food, keep it in regular rotation. You don’t need to measure exact grams for every allergen, but aim to include each one in your baby’s diet at least a few times per week.

What a Reaction Looks Like

Immediate allergic reactions typically appear within minutes to an hour after eating. Signs to watch for include hives or a rash, vomiting, face swelling, itching or swelling of the lips and tongue, and wheezing or difficulty breathing. A combination of dizziness and low energy can signal a more serious reaction.

Some reactions are delayed, showing up hours or even weeks later. These tend to involve digestive symptoms like vomiting, diarrhea, or blood in the stool, along with skin redness and itching. Delayed reactions are harder to connect to a specific food, which is one reason it helps to introduce new allergens one at a time with a few days between each.

When you introduce a new allergen, offer a small amount first and wait. If your baby shows no signs of a reaction after a couple of hours, you can gradually increase the portion over the following days.

Pregnancy and Breastfeeding Diets Don’t Need Restrictions

For years, some parents were told to avoid peanuts, eggs, or dairy during pregnancy and breastfeeding to protect their baby from allergies. This advice has been thoroughly studied and found to be ineffective. A systematic review by the USDA’s Dietary Guidelines Advisory Committee found no evidence that restricting cow’s milk, eggs, peanuts, wheat, or soy during pregnancy reduces the risk of food allergy in children. The same was true for restricting these foods while breastfeeding.

Cutting dairy during pregnancy doesn’t reduce eczema risk in the child. Cutting eggs doesn’t reduce eczema or allergic rhinitis. Eating fish during pregnancy does not increase the child’s allergy risk. In short, there is no reason to restrict your diet during pregnancy or breastfeeding for the purpose of allergy prevention. Eating a varied diet that includes common allergens is perfectly fine and may even support your baby’s developing immune tolerance.

Protecting Your Baby’s Skin

Because allergens can enter through broken or inflamed skin and prime the immune system for an allergic response, keeping your baby’s skin healthy plays a real role in allergy prevention. Babies with eczema have a compromised skin barrier, which allows food proteins from the environment (dust containing peanut particles, for example) to penetrate the skin and trigger sensitization.

Managing eczema early and aggressively with moisturizers and appropriate treatment helps maintain that skin barrier. This is especially important for babies who are around common food allergens in the household. The combination of treating eczema and introducing allergenic foods by mouth creates the best conditions for tolerance: the gut learns the food is safe before the skin can signal danger.