Nut-free swaps.

What can I use instead of nuts? Swaps for peanuts and tree nuts in pesto, baking and lunchboxes, including what works for nut-free schools.

Written for everyday family cooking, not medical advice. For a diagnosed allergy, follow your allergist and read every label every time.

Watch for

Peanuts are legumes, not tree nuts, but most nut-free schools ban both. Look for "may contain" and "made in a facility" statements: these are voluntary in the US and not consistent, so call the company if unsure. Pine nuts count as tree nuts.

Pesto and sauces

Instead of Pine nuts in pesto

Sunflower seeds or pumpkin seeds (pepitas)

1:1, toasted

Best for
Basil pesto, kale pesto, pasta salads
What changes
Pumpkin seeds make a slightly greener, earthier pesto. Sunflower seeds are milder.
Check
Choose seeds packed in a nut-free facility. Store-bought pesto often contains cashews or other nuts.

Instead of Nuts in pesto

Leave them out and add more cheese

Skip the nuts, add 2 tbsp extra Parmesan per ¼ cup nuts

Best for
Quick basil pesto
What changes
Thinner and a little less rich.
Check
Parmesan is dairy; use nutritional yeast if dairy is also out.

Baking

Instead of Chopped nuts in cookies, muffins and granola

Sunflower or pumpkin seeds, toasted oats, chocolate chips or dried fruit

1:1 by volume

Best for
Cookies, muffins, banana bread, granola, trail mix
What changes
Similar crunch with seeds or oats; chips and fruit make it sweeter.
Check
Check that chocolate chips and dried fruit are made without nuts. Many share lines with nuts.

Instead of Almond flour

Sunflower seed flour, or oat flour

1:1

Best for
Cookies, muffins, crumb toppings
What changes
Sunflower flour can turn green inside when it meets baking soda. It is harmless; add a little lemon juice or cut the baking soda to reduce it.
Check
Use certified gluten-free oat flour if gluten is also a concern.

Instead of Almond extract

Vanilla extract

2 to 3 times the amount of almond extract, to taste

Best for
Cakes, cookies, frostings
What changes
Vanilla instead of almond flavor.
Check
Pure almond extract may be made from bitter almonds or fruit pits. Some allergists advise avoiding it. Imitation almond flavor is often made without nuts, but check the label.

Lunchboxes and school

Instead of Peanut butter or almond butter

Sunflower seed butter

1:1

Best for
Sandwiches, apple dip, oatmeal, energy bites
What changes
Looks and spreads like peanut butter. Slightly earthier taste.
Check
It looks like peanut butter, so some schools ask families to label it or ban look-alikes. Ask your school, and choose a brand made in a peanut and tree nut free facility.

Instead of Peanut butter in sauces and baking

Soy nut butter or pea butter

1:1

Best for
Satay-style sauces, cookies, sandwiches
What changes
Soy nut butter is closest to peanut butter in taste.
Check
Soy nut butter is not safe for soy allergy. Soy and peas are legumes like peanut; most children with peanut allergy tolerate them, but ask your allergist.

Instead of Nut butter in school snacks

Tahini (sesame paste)

1:1

Best for
Dips, dressings, energy bites at home
What changes
Thinner and more bitter than peanut butter.
Check
Sesame is one of the top 9 allergens, so tahini is usually a poor choice for school. Fine at home if nobody is allergic.

Instead of Nut milk

Oat, soy or dairy milk

1:1

Best for
Smoothies, cereal, baking
What changes
Oat is creamier; soy has more protein.
Check
Check the label for shared lines with almond or cashew milk.

Good questions.

What is a good peanut butter substitute for nut-free schools?

Sunflower seed butter is the most common choice. Pick one made in a peanut and tree nut free facility and check your school's rules, since some ask you to label look-alike spreads.

Is coconut a tree nut?

In January 2025 the FDA removed coconut from its list of tree nuts for food labeling. Coconut allergy is uncommon, but some allergists still advise caution for children with tree nut allergy, so ask yours.

Are seeds safe for someone with a nut allergy?

Sunflower and pumpkin seeds are not nuts, and most people with nut allergy eat them. Allergies to seeds do exist, and cross-contact in processing is the bigger risk, so buy seeds packed in a nut-free facility.

More kitchen tools.

Nut-free dinners, planned for you.

Tell Alma once. Every dinner it plans and every grocery list it writes stays nut-free.

try: “Make this week's dinners and school lunches nut-free for my family”