Substitution guide

Allergy-Safe Substitutes: Cooking for Every Dietary Need

How to substitute for the top 9 food allergens — dairy, eggs, wheat, soy, peanuts, tree nuts, fish, shellfish, and sesame — without sacrificing quality.

3 min
Read

Grounded in established culinary references and food-science literature, current as of July 2026, per our methodology.

The Top 9 Food Allergens

The FDA recognizes nine major food allergens that account for approximately 90% of allergic reactions: milk (dairy), eggs, wheat, soy, peanuts, tree nuts, fish, shellfish, and sesame. Effective substitution for each requires understanding what the allergenic ingredient does in the recipe — not just what it tastes like.

Dairy-Free Substitutions

Dairy appears in recipes as milk (liquid), butter (fat), cream (rich liquid), cheese (flavor and texture), and yogurt (acid and moisture).

  • Milk: Oat milk is the closest all-purpose substitute — similar body and neutral flavor. Almond milk is thinner. Coconut milk (full-fat canned) replaces cream. Soy milk works well in baking but is itself an allergen
  • Butter: Vegan butter sticks (1:1). Coconut oil (solid, 1:1 for baking). Olive oil (3/4 cup per cup butter for cooking)
  • Cheese: Nutritional yeast provides umami and cheesy flavor for sauces. Cashew cream blended with lemon and nutritional yeast makes a convincing cheese sauce. Commercial vegan cheeses vary wildly in quality
  • Yogurt: Coconut yogurt or oat-based yogurt (1:1). Check labels — some contain milk proteins
  • Cream: Full-fat coconut cream whips and enriches like heavy cream. Cashew cream (soaked cashews blended smooth) works for sauces

Egg-Free Substitutions

Eggs serve as binders, leaveners, and emulsifiers. The right substitute depends on the egg's role.

  • Binding: Flax egg (1 tbsp ground flax + 3 tbsp water, rest 10 min), chia egg (same ratio, rest 15 min), mashed banana (1/4 cup), applesauce (1/4 cup)
  • Leavening: Aquafaba (3 tbsp chickpea liquid per egg — can be whipped to stiff peaks), 1 tsp baking powder + 1 tbsp vinegar
  • Emulsifying: Silken tofu (1/4 cup blended smooth), commercial egg replacer (Bob's Red Mill, JUST Egg)
  • Egg wash: Brush with oat milk or melted vegan butter for browning

Wheat-Free and Gluten-Free Substitutions

Wheat provides structure (gluten), absorption, and flavor in baked goods, pasta, and as a thickener.

  • Baking: 1:1 gluten-free flour blends (King Arthur, Bob's Red Mill) are the easiest swap. Add 1/4 tsp xanthan gum per cup if the blend does not include it. Almond flour and coconut flour require recipe-specific adjustments
  • Thickening: Cornstarch (1:1 for flour in sauces, use half as much), arrowroot, tapioca starch
  • Breading: Rice flour, cornmeal, crushed gluten-free crackers, or almond flour
  • Pasta: Rice noodles, chickpea pasta, or lentil pasta. Cook times differ — check package directions

Soy-Free Substitutions

Soy appears as soy sauce, tofu, soy milk, edamame, soy lecithin (in chocolate and baked goods), and soybean oil.

  • Soy sauce: Coconut aminos (1:1, slightly sweeter and lower sodium), tamari is usually wheat-free but still soy-based
  • Tofu: Chickpea tofu (available commercially or DIY with chickpea flour), mashed white beans, or firm avocado for cold dishes
  • Soy milk: Oat milk is the best all-purpose replacement. Almond, coconut, or hemp milk also work

Peanut and Tree Nut-Free Substitutions

Nut allergies are among the most severe. Cross-contamination is a major concern.

  • Peanut butter: Sunflower seed butter (SunButter) is the closest 1:1 substitute. Soy nut butter if soy is tolerated. Tahini works in savory contexts
  • Almond flour: Sunflower seed flour, oat flour, or pumpkin seed flour. Note: sunflower seed flour can turn green when combined with baking soda (harmless but surprising)
  • Almond milk: Oat milk or hemp milk
  • Chopped nuts (garnish/texture): Toasted pumpkin seeds, sunflower seeds, hemp hearts, or toasted coconut (if coconut is tolerated — it is technically a tree nut but most tree nut-allergic individuals can safely eat coconut)

Fish and Shellfish-Free Substitutions

Fish and shellfish allergies require avoiding all seafood-derived ingredients.

  • Fish sauce: Soy sauce with a small amount of seaweed adds umami depth. Mushroom sauce or liquid from rehydrated dried mushrooms provides similar savory complexity
  • Worcestershire sauce: Most brands contain anchovies. Use mushroom-based Worcestershire or coconut aminos
  • Omega-3 supplements: Algae-based omega-3 supplements provide DHA and EPA without fish oil

Sesame-Free Substitutions

Sesame became the ninth recognized major allergen in 2023. It appears in tahini, sesame oil, hummus, and many Asian and Middle Eastern dishes.

  • Tahini: Sunflower seed butter is the closest substitute for hummus and dressings
  • Sesame oil: Perilla oil or a blend of peanut oil (if tolerated) with a drop of toasted walnut oil for similar aromatic depth
  • Sesame seeds: Hemp hearts or poppy seeds for garnish and crunch

Cross-Contamination Safety

Substitution is only safe if cross-contamination is prevented. Use separate utensils, cutting boards, and cookware. Read every label — allergens hide in unexpected places (soy lecithin in chocolate, milk casein in "non-dairy" creamers, wheat in soy sauce). When cooking for someone with a severe allergy, treat the kitchen like a lab: clean, separate, and verify every ingredient.

Putting it into practice

Read the strategy here, then check the exact ratio on the ingredient page before you swap.

  • Match the substitute to the function you need to preserve, binding, leavening, moisture, fat, or flavour.
  • Shopping around a dietary need? Filter the whole database by diet. Browse by diet

Substitution ratios are guidelines grounded in culinary practice; results vary with recipe and technique.