Skip to the steps

TechniqueBaking Science & Innovation

How to Bake Nut-Free

You will be able to bake for someone with a peanut or tree nut allergy by reading labels for hidden nuts, preventing cross-contact, and swapping nuts for seeds and plain alternatives.

  • Intermediate
  • 8 min read
  • Extra time for cleaning and label reading hands-on
A plate of soft sunflower seed butter cookies with a crisscross pattern on top

Quick answer

Ask exactly which nuts to avoid. Read every label, every time, for nuts by name, hidden forms such as marzipan, praline and nut extracts, and "may contain" warnings, and treat a warning as a yes. Clean pans, tools and surfaces thoroughly, or keep a separate set. Swap nuts for sunflower, pumpkin or hemp seeds, nut butters for seed butter, and pure almond extract for imitation extract.

What it is and when to use it

Peanuts and tree nuts, such as walnuts, almonds, Brazil nuts and pecans, are among the most potent food allergens, and even trace amounts, such as peanut dust left on a work surface, can trigger a reaction. That is why nut-free baking is about more than leaving the nuts out of a recipe. Professional Baking calls complete avoidance the only safe measure, and says the surest way to guarantee a product is nut-free is to make it in a separate prep area with equipment reserved for nut-free baking.

Peanuts are legumes, like peas and beans, not true nuts, so the allergies are somewhat different. Some people avoid only peanuts, some avoid all tree nuts, and others can eat some tree nuts but not others, so always ask exactly what to avoid. Coconut is a gray area: one hospital's tree nut list includes it, while Canada's labeling rules don't treat coconut or nutmeg as tree nuts, though some people react to them. Ask the person or their doctor before using either.

The good news is that nuts are not critical in most baked goods. Seeds such as sunflower, pumpkin and hemp give a similar crunch, seed butters and tahini replace nut butters, a plain meringue disk can stand in for japonaise, and plain short dough can replace linzer dough. The careful part is the shopping and cleaning: hidden nut ingredients, precautionary "may contain" labels that are voluntary and not regulated by the FDA, and residue on shared tools.

Use it when

  • Bake sales, classrooms and parties with nut-free rules
  • Baking for a family member with a nut allergy
  • Cookies, muffins and granola that usually include nuts
  • Gifts and packaged baked goods

Do not use it when

  • Recipes built on nuts, such as macarons, frangipane and praline, unless a nut-free version is designed for them
  • Bulk-bin ingredients, which may have touched nuts

Other ways to do it

  • Seeds instead of nuts: Sunflower, pumpkin or hemp seeds add crunch to cookies, muffins and granola.
  • Plain versions of nut pastries: Plain short dough for linzer dough, a plain meringue disk for japonaise.

What you need

Equipment

  • Separate or freshly washed pans and tools: Nut residue on shared equipment can cause a reaction.
  • Clean cutting board and knife: Washed, not just wiped, before cutting nut-free bakes.
  • Dedicated storage containers: Keep nut-free goods from touching nut products.
  • Labels and a marker: Mark nut-free goods and list their ingredients.

Ingredients and preparation

  • Sunflower, pumpkin or hemp seeds: Replace chopped nuts for crunch; check their labels too.
  • Sunflower seed butter or tahini: Replace peanut or nut butter; skip tahini for sesame allergies.
  • Imitation almond extract: Safe, unlike pure almond extract, which can contain tree nuts.
  • Oat or other nut-free flour: In place of almond flour or nut meal.
  • Seeds, chocolate or dried fruit: Mix-ins checked for may-contain warnings.

Label nuts clearly

  • If you sell or give away labeled baked goods, Minnesota's cottage food guide says the ingredient list must name peanuts with the common name "peanut."
  • Tree nuts must be named too, with the common name "tree nut" on the ingredient list.
  • The FDA treats almond, Brazil nut, cashew, hazelnut, macadamia, pecan, pine nut, pistachio and walnut as major food allergens.

Source: University of Minnesota Extension: Labeling cottage food items

Step by step

7 steps, extra time for cleaning and label reading hands-on

  1. Ask exactly what to avoid

    Find out whether the person avoids peanuts, all tree nuts or only some, whether coconut is allowed, and whether products with "may contain" labels are acceptable.

    Why
    Nut allergies differ, and the person's healthcare provider decides what is safe for them.
    It is right when
    You have a clear list of what to leave out.
    If it is not
    If you can't get a clear answer, avoid peanuts, all tree nuts and may-contain products.
  2. Read every label, every time

    Check every ingredient's label for nuts by name and for hidden forms: marzipan, almond paste, praline, nougat, gianduja, nut milks, nut oils, natural nut extracts, artificial nuts and mandelonas. Treat "may contain" as "contains."

    Why
    Nuts turn up in unexpected products, and recipes and factories change.
    It is right when
    Every label is free of nuts and nut warnings.
    If it is not
    If a label is unclear, leave that product out.
  3. Clean or separate equipment

    Wash every pan, bowl, tool and surface thoroughly before you start, or use a set kept only for nut-free baking. Cut and plate with a clean knife and plate, washed, not just wiped.

    Why
    Traces of nuts left on equipment or surfaces can be enough to cause a reaction.
    It is right when
    Everything you'll use has been washed since it last touched nuts.
    If it is not
    If you aren't sure a tool is clean, wash it again or use another.
  4. Swap nuts for seeds

    Replace chopped nuts with the same amount of sunflower, pumpkin or hemp seeds in cookies, muffins, breads and granola.

    Why
    Seeds give a similar crunch and a slightly nutty flavor without the nut allergens.
    It is right when
    The seeds' labels show no nut warnings.
    If it is not
    If seeds carry a may-contain warning, use chocolate chips or dried fruit instead.
  5. Replace nut butters and pastes

    Use sunflower seed butter or tahini in place of peanut butter or nut butter. For nut-based pastry, use plain short dough instead of linzer dough and a plain meringue disk instead of japonaise.

    Why
    Seed butters work like nut butters in spreads and fillings, and plain versions keep the texture without nuts.
    It is right when
    The dough or filling looks and spreads like the nut version.
    If it is not
    Skip tahini if the person is also allergic to sesame.
  6. Use imitation extracts

    Flavor with imitation or artificially flavored almond extract instead of pure almond extract, and check other natural extracts.

    Why
    Some natural extracts, including pure almond and natural wintergreen extract, can contain tree nuts.
    It is right when
    The extract label says imitation or artificial flavor.
    If it is not
    If unsure, use vanilla instead.
  7. Store and label separately

    Cool, wrap and store nut-free goods away from anything with nuts, and label them with their ingredients.

    Why
    Wrapped foods stored together can still cross-contact, and labels tell others what is inside.
    It is right when
    Nut-free goods are wrapped, labeled and stored apart.
    If it is not
    If they touched a nut product, don't serve them as nut-free.

What good looks like

Check these before you move on

  • No ingredient contains nuts or carries a nut warning
  • All equipment was washed or kept only for nut-free baking
  • Seeds or plain alternatives give the texture nuts would have
  • The finished goods are wrapped, labeled and stored apart

Fix mistakes

What you see, why it happened, what to do

What you seeLikely causeHow to checkFix it nowNext time
A hidden nut ingredient slipped inA label listed marzipan, praline, nougat or a nut extract, or wasn't read.Reread every label you used.Don't serve the batch as nut-free; bake again.Read every label every time, even for familiar products.
Cross-contact from shared toolsA pan, board or knife that held nuts was only wiped.Think back to what each tool last touched.Don't serve the batch as nut-free.Wash everything thoroughly or keep a nut-free set.
Seeds carried a may-contain warningThey were packed on equipment shared with nuts.Read the precautionary statement on the bag.Swap in chocolate chips or dried fruit.Buy seeds packed in a nut-free facility, never from bulk bins.
Almond flavor came from pure extractPure almond extract can contain tree nuts.Read the extract label.Bake again with imitation almond extract.Keep imitation almond extract for nut-free baking.
Nut-free goods touched nut productsThey were stored or packed in the same container.Look at how they were stored.Don't serve them as nut-free.Wrap, label and store nut-free goods apart.

The science, in plain English

A food allergy is the immune system mistakenly treating a food protein as harmful. With nuts, the reaction is to proteins in the nut itself, which is why even a trace, such as dust on a work surface or a smear on a knife, can trigger symptoms that progress quickly from mild to severe. A sudden, severe reaction is called anaphylaxis. Peanuts are legumes and tree nuts are the seeds of trees, so their proteins and allergies differ, though some people react to both. Seeds such as sunflower and pumpkin come from other plants entirely, which is why they make good stand-ins, as long as they weren't processed alongside nuts.

Go deeper

Labels help, but they have limits. U.S. law requires packaged foods to state clearly when they contain tree nuts and to name the specific nut, such as almonds. Precautionary statements such as "may contain tree nuts" or "made on shared equipment" are voluntary and not regulated by the FDA, so a product without one isn't guaranteed free of cross-contact. Some foods aren't covered by the labeling law at all. Cross-contact also happens at home, through shared pans, cutting boards, hands, storage containers and bulk bins, which is why washing, separating and labeling matter as much as the recipe.

Variations

What changes with the ingredient, the tool, the weather and the bake

Seed granola
Use pumpkin, sunflower and hemp seeds in place of nuts in granola and bars.
Sunflower butter cookies
Make peanut butter-style cookies with sunflower seed butter.
Plain linzer cookies
Use plain short dough instead of linzer dough and fill with jam.
Meringue layer cake
Replace japonaise layers with plain meringue disks.
Seed-topped breads
Top breads, rolls and quick breads with sunflower seeds or rolled oats instead of nuts.

Practice

One drill, then a real bake

Audit your pantry

Pick one recipe you bake often and pull out every ingredient. Read each label for nuts by name, hidden nut ingredients and may-contain warnings. Note which items need a nut-free replacement and what you would use.

Your ticks stay on this device.

Bake along: recipes that use this skill

Check yourself

Answer in your head, then open the answer

1. Is it enough to leave the nuts out of a recipe?

No; traces from labels, equipment and surfaces can still cause a reaction.

2. How should you treat a "may contain nuts" label?

As if it says the product contains nuts.

3. What can replace chopped nuts for crunch?

Sunflower, pumpkin or hemp seeds.

4. Why use imitation almond extract?

Pure almond extract can contain tree nuts.

Sources

Updated November 26, 2026

Written from the sources listed. VanillaGoods wrote this lesson in its own words from the references below. If something here does not match what happens in your kitchen, tell us and we will correct it.

  1. University of Rochester Medical Center: Tree Nut Allergy Diet
  2. Auguste Escoffier School of Culinary Arts: How to Adapt Recipes for Dietary Restrictions
  3. Professional Baking (Gisslen), Auguste Escoffier School of Culinary Arts: Chapter 26: Baking for Special Diets
  4. University of Rochester Medical Center: Peanut-Free Diet
  5. BCcampus (BC Cook Articulation Committee), Understanding Ingredients for the Canadian Baker: Nuts and Nut-like Ingredients
  6. University of Minnesota Extension: Labeling cottage food items

This lesson is free to read and print. Videos are embedded from YouTube with the official player and belong to their creators. All baking techniques · Video courses · Dessert Encyclopedia