Short Answer
The best substitute for nuts in baking is toasted sunflower or pumpkin seeds, which keep the crunch and carry about half their weight as fat, close to almonds.
- Use ¾ cup of toasted seeds for every 1 cup of chopped nuts in cookies, bars, muffins and quick bread.
- Rolled oats, toasted coconut and crushed pretzels also add crunch or chew, but oats and pretzels carry far less fat than nuts.
- Another chopped nut replaces a nut 1 cup for 1 cup, but it does not help when a guest has a tree nut allergy.
- Read every package label, because FDA says "may contain" warnings are voluntary.
Chopped nuts crunch, enrich and taste toasty, and no single stand-in does all three. You pick the best baking swap by the job your recipe misses most, and by whether the nuts are missing from your pantry or from a guest's diet.
1 What Do Nuts Do in Baking?
A cookie, brownie or loaf gets three things at once from its nuts, and you need a swap that covers the one your recipe leans on.
- Crunch comes from dry, brittle pieces that stay firm after the oven, and seeds, pretzels and toasted oats can copy it.
- Fat comes from the nut itself, so a cup of nuts adds richness to the dough as well as texture, and seeds and coconut keep the most fat per gram.
- Toasted flavor develops when nuts brown in a dry pan or an oven, and the same step works on seeds, oats and coconut.
USDA FoodData Central lists 65.2 g of fat in 100 g of walnuts, against 51.5 g in dried sunflower kernels, 49.0 g in pumpkin seed kernels, 6.52 g in dry rolled oats and 2.93 g in plain pretzels. King Arthur weighs a cup of chopped walnuts at 113 g, so that cup carries about 74 g of fat, while the matching 1¼ cups of rolled oats carries about 7 g.
Oats and pretzels supply crunch with almost no fat, so they fit doughs that already carry plenty of butter.
2 Best Substitutes for Nuts in Baking
Swap amounts for 1 cup of chopped nuts are starting amounts, because no source publishes a nut conversion chart. Seeds, oats and chocolate chips are matched to the 113 g that King Arthur's weight chart gives for chopped walnuts, using its cup weights of 140 g for sunflower seeds, 160 g for pumpkin seeds, 89 g for rolled oats and 170 g for chocolate chips. Coconut and pretzels start at 1 cup.
| Substitute | Start with, per 1 cup chopped nuts | Fat per 100 g (USDA) | Best for |
|---|---|---|---|
| Another chopped nut (walnut, pecan, almond) | 1 cup | 65.2 g, 72.0 g, 49.9 g | Any bake when nobody has a nut allergy |
| Toasted sunflower seeds | ¾ cup | 51.5 g | Darker cookies, bars, brownies |
| Toasted pumpkin seeds | ¾ cup | 49.0 g | Pale batters, blondies, bars |
| Toasted rolled oats | 1¼ cups | 6.52 g | Cookies, crisp toppings |
| Toasted unsweetened coconut | 1 cup | 64.5 g | Cookies, banana bread, bars |
| Crushed pretzels | 1 cup | 2.93 g | Bars, brownies |
| Chocolate chips | ⅔ cup | Not compared | Brownies and cookies that need richness, not crunch |
Sunflower and pumpkin seeds keep about half their weight as fat, the same range as almonds, so they are the closest match to nuts, and each of the other rows suits one kind of bake.
Toasted Sunflower Seeds
You can skip the chopping with sunflower kernels, and you replace chopped nuts at ¾ cup for 1 cup, which is 105 g against 113 g. Toast them first, because heat adds flavor: the University of Nebraska-Lincoln gives 1 to 2 minutes in a dry skillet over medium heat, until golden brown and toasty-smelling.
Sunflower seeds can turn baked goods green. A 2023 paper in the journal LWT found that chlorogenic acid in the kernels reacts with amino acids under alkaline conditions to form a green pigment, and baking soda makes a cookie dough alkaline enough for it. The paper studied cookies, so treat muffins and quick breads made with baking soda as the same risk.
Tip
For a pale cookie dough made with baking soda, choose pumpkin seeds, which are already green, so a tint will not show.
Toasted Pumpkin Seeds
Shelled pumpkin seeds, sold as pepitas, are flat and larger than sunflower kernels, so you can leave them whole in cookies and bars and chop them roughly for muffins. You use the same ¾ cup for 1 cup, which is 120 g against 113 g, and toast them the same way. They suit pale batters and blondies because the green color is already there.
Toasted Rolled Oats
Rolled oats turn crisp once you stir them in a dry skillet until golden and fragrant, but they bring far less fat than a nut. Use 1¼ cups of old-fashioned oats for 1 cup of chopped nuts, which is 111 g against 113 g, and you will get a plainer, chewier bite in cookies and a crisp topping on fruit desserts.
Coconut, Pretzels and Chocolate Chips
Coconut, pretzels and chocolate chips each take over a different job from the nut:
- Unsweetened toasted coconut has 64.5 g of fat per 100 g, the same as walnuts. Use 1 cup for 1 cup, and pull it from the skillet while it is pale gold, because it keeps darkening off the heat. A cup of unsweetened shreds weighs only 53 g, so 1 cup brings about half the fat of a cup of chopped walnuts and adds chew without crowding the dough, and a sweetened bag adds sugar the recipe never counted.
- Crushed pretzels add a salty snap at 1 cup for 1 cup in bars and brownies, and plain salted crackers crush the same way. Both carry little fat, so start by leaving out half of the recipe's added salt, and fold the pieces in last because they soften in wet batter.
- Chocolate chips add no crunch, but they fill the same space in a brownie or cookie where nuts mostly add richness. Use ⅔ cup for 1 cup of chopped nuts, the weight match for 113 g, and expect a sweeter batch.
3 Which Substitute Should You Use for Cookies, Bars or Quick Bread?
Sunflower and pumpkin seeds both fit most batters, and the one batter that separates them is a pale cookie dough with baking soda, which needs pumpkin seeds.
Sunflower Seeds
Small kernels that go in whole with no chopping, at ¾ cup for 1 cup of chopped nuts.
They can turn a cookie dough with baking soda green, so they suit darker cookies, bars and brownies.
Pumpkin Seeds
Large flat pieces that are green to begin with, so a pale blondie or muffin shows no color change, at the same ¾ cup.
You chop them roughly for muffins and loaves so every slice gets some.
A quick bread such as zucchini bread with walnuts folds in ½ cup of chopped walnuts, so the seed version takes 6 tablespoons of toasted seeds, and a few more pressed on top bake into the crust.
Bars, muffins and fruit toppings each take a slightly different version of the same swap:
- Blondies and cookie bars that fold in 1 cup of chopped walnuts, like blondie bars with walnuts, take ¾ cup of toasted pumpkin seeds, and the pale batter hides nothing.
- Muffins and banana bread take the same ¾ cup of seeds per 1 cup of nuts, folded in last, with a spoonful held back to press on top before baking.
- Fruit crisps and crumbles need no seeds at all, because oats carry the topping, as in an apple crisp topping, which uses ¾ cup of old-fashioned oats with flour, brown sugar and butter (that recipe's own amount, not the swap rule above).
4 Can You Swap One Nut for Another?
Chopped tree nuts replace each other at 1 cup for 1 cup by volume, a starting amount the weights support: King Arthur lists 113 g for a cup of chopped walnuts, about 114 g for diced pecans and 114 g for slivered almonds. You can put pecans into a walnut recipe at 1:1 by volume, and walnuts into a pecan recipe the same way.
Pecans carry 72.0 g of fat per 100 g against 65.2 g for walnuts and taste sweeter, walnuts leave a slight bitter edge from their skins, and almonds hold 49.9 g and stay firmer, so the flavor shifts more than the amount. Hazelnuts and almonds also replace pecans, and the pecan stand-ins include pistachios at equal parts and soft, buttery cashews. Toast any of them the same way:
- Spread. Put the nuts in one layer on an ungreased rimmed baking sheet.
- Toast. Bake at 325°F for 10 to 15 minutes, the range King Arthur gives, stirring about every 5 minutes until golden and fragrant.
- Cool, then chop. Tip the nuts onto a plate right away, because they keep darkening on the hot pan.
5 What Replaces Ground Nuts, Nut Butter and Nut Crusts?
Ground nuts, nut butters and crusts each have a nut-free version with its own rule:
- Ground almonds and almond flour give way to finely ground toasted sunflower seeds or oat flour, the nut-free ground almond stand-ins, at 1 cup for 1 cup as that page gives them. Ground sunflower seeds can turn green in a baking soda batter too, and short pulses keep them a meal and not a paste.
- Peanut butter in cookies and bars takes sunflower seed butter at 1 cup for 1 cup as a starting amount, and the same label check applies to the jar.
- Nut crusts for pies and cheesecakes become cookie-crumb crusts, and graham cracker crumbs bound with melted butter form the crust under a no-bake strawberry cheesecake pie, which uses about 1½ cups of crushed crackers with 6 tablespoons of melted butter for its crust.
6 Is a Nut Substitute Safe for a Nut Allergy?
Sunflower and pumpkin seeds are not tree nuts, which makes them the usual nut-free swap, but FARE lists sunflower with sesame, poppy and mustard as seed allergens that do not grow on trees. A guest can be allergic to the seeds themselves, so ask before you bake with them.
Warning
A second nut is no help when you are baking around a nut allergy. FARE says about 50% of children allergic to one tree nut are allergic to another, and about two-thirds of patients who react to cashew or walnut react to pistachio or pecan, respectively.
FDA no longer considers coconut a major food allergen, and FARE says people with a tree nut allergy have typically not had to avoid coconut. Coconut still has to appear in an ingredient list, so you should confirm it with the guest or their doctor first.
Every packaged mix-in carries its own risk. FDA's nine major allergens include tree nuts, peanuts and sesame, and its consumer guidance says "may contain" warnings are voluntary and that a manufacturer may run different products on the same equipment, so a bag with no warning proves nothing. Read the label each time you buy, because ingredients can change.
Nuts slip back in easily: one granola bar collection lists only two nut-free bars, the chocolate quinoa crunch bars and the sunflower butter seed bars, so check any other bar for nuts and tahini before you copy it.
7 Which Swaps Should You Skip?
- Nut butter for chopped nuts. It adds fat and binds the dough, but it has no crunch, so the cookie turns softer.
- Chia or flax seeds. They are tiny, so they speckle the crumb and add none of the bite of chopped nuts.
- Coconut flour for ground nuts. It is far more absorbent, so a gram-for-gram swap leaves a dry crumb.
- Sesame seeds or tahini. FDA names sesame as a major food allergen, so it adds a second allergen to a bake meant to remove one.
Frequently Asked Questions
In cookies, brownies, muffins and quick bread you can, because the flour, eggs and fat build the structure and the nuts add crunch, fat and flavor. A cake or crust made with ground nuts is different, because there the nuts take the place of flour, so use one of the ground swaps above.
Toasted pumpkin or sunflower seeds, toasted coconut and crushed pretzels all press onto frosting or sit on a batter before it bakes. Measure ¾ cup of seeds for each 1 cup of nuts, and spread them in one thin layer.
Raisins or chopped dried cranberries add chew and sugar but no crunch or fat, so they suit a recipe that wants sweetness. Pair them with toasted seeds when crunch matters.
Sources
- USDA FoodData Central: Nuts, walnuts, english
- USDA FoodData Central: Nuts, pecans
- USDA FoodData Central: Nuts, almonds
- USDA FoodData Central: Seeds, sunflower seed kernels, dried
- USDA FoodData Central: Seeds, pumpkin and squash seed kernels, dried
- USDA FoodData Central: Cereals, oats, regular and quick, not fortified, dry
- USDA FoodData Central: Snacks, pretzels, hard, plain, salted
- USDA FoodData Central: Nuts, coconut meat, dried (desiccated), not sweetened
- King Arthur Baking: Ingredient Weight Chart
- King Arthur Baking: 5 Practical Ways to Toast Nuts
- University of Nebraska-Lincoln Food: Toasting Nuts and Seeds
- Chapman University, LWT 2023: Preventing Chlorogenic Acid Quinone-Induced Greening in Sunflower Cookies
- FARE: Tree Nut Allergy
- FDA: Frequently Asked Questions, Food Allergen Labeling Guidance for Industry
- FDA: Have Food Allergies? Read the Label

Andrew Gray is a seasoned food writer and blogger with a wealth of experience in the restaurant and catering industries. With a passion for all things delicious, Andrew has honed his culinary expertise through his work as a personal chef and caterer.
His love for food led him to venture into food writing, where he has contributed to various online publications, sharing his knowledge and insights on the culinary world. As the proud owner of CooksCrafter.com, Andrew covers a wide range of topics, including recipes, restaurant reviews, product recommendations, and culinary tips.
Through his website, he aims to inspire and educate fellow food enthusiasts, offering a comprehensive resource for all things food-related.








