Short Answer
Chopped pecans replace walnuts in baking and salads at the same amount, 1 cup for 1 cup, and chopped almonds or hazelnuts work at that amount too.
- Use 1 cup of chopped pecans for 1 cup of chopped walnuts, cut to the same size, for a sweeter and less bitter bake.
- Toast the swap first: King Arthur bakes nuts at 325°F for 10 to 15 minutes, stirring about every 5 minutes.
- For a walnut allergy, pecans are not a safe swap, and toasted pumpkin seeds are the nut-free option once an allergist agrees.
Chopped walnuts give a recipe crunch, a slightly bitter edge that balances the sugar in a sweet batter, and a lot of fat. Every nut swap keeps some of those and drops the rest.
1 What Do Walnuts Do in a Recipe?
A walnut piece stays crunchy through a bake, and its skin adds a mild bitterness that balances the sugar in brownies, banana bread and cookies. Most swaps copy the crunch and the fat well, so the bitter edge is what changes when you swap.
USDA FoodData Central lists these raw amounts per 100 grams for the nuts you are most likely to reach for:
- Walnuts: 654 calories and 65.2 g of fat
- Pecans: 691 calories and 72.0 g of fat
- Hazelnuts: 628 calories and 60.8 g of fat
- Almonds: 579 calories and 49.9 g of fat
Pecans and hazelnuts sit closest to walnuts in fat. Pistachios, cashews and the two seeds further down hold 43.8 to 51.5 g of fat, so they hand a bake less richness than the same cup of walnuts does.
Only walnuts carry a lot of alpha-linolenic acid, the plant omega-3 fat: 9.08 g per 100 g, against 0.986 g in pecans and 0.003 g in almonds. Pecans, almonds and the seeds supply almost none of it, so you lose the omega-3 with any of these swaps.
2 Best Substitutes for Walnuts
Every swap is sized to replace 1 cup of chopped walnuts. Texas Real Food gives the walnut and pecan swap as 1:1 in most recipes, and King Arthur's weight chart agrees in both directions, at 113 g for a cup of chopped walnuts and about 114 g for a cup of diced pecans.
Other chopped tree nuts start at 1 cup for 1 cup, and seeds start at ¾ cup for 1 cup, scaled to that 113 g from King Arthur's 140 g per cup of sunflower seeds and 160 g per cup of pumpkin seeds. No source publishes a walnut conversion chart, so these are our own starting amounts. Bake a batch, taste it, and adjust the next one.
| Substitute | Amount for 1 cup chopped walnuts | Best for | What changes |
|---|---|---|---|
| Pecans | 1 cup | Banana bread, brownies, cookies, salads | Sweeter and milder, with 72.0 g of fat per 100 g, so they toast sooner |
| Almonds | 1 cup | Cookies, muffins, quick breads | Firm crunch with no bitter edge, and 49.9 g of fat per 100 g |
| Hazelnuts | 1 cup | Brownies and chocolate bakes | Closest fat to walnuts at 60.8 g per 100 g |
| Pistachios | 1 cup | Cakes, shortbread, baklava | Green flecks in the crumb and 45.3 g of fat per 100 g |
| Cashews | 1 cup | Soft cookies and blondies | Softest bite of the group, with 43.8 g of fat per 100 g |
| Pumpkin seeds | ¾ cup | Nut-free cookies, bars, salads | Seeds, not tree nuts, with 49.0 g of fat per 100 g |
| Sunflower seeds | ¾ cup | Nut-free salads and bars | Can turn green in a baking soda dough |
| Nothing | Leave out | Add-ins in brownies, muffins, quick breads | Loses the crunch, and the batter stays the same |
Pecans are the first pick when nobody at your table avoids tree nuts, with hazelnuts and almonds next and the seeds kept for the nut-free plate. A nut that only sits in the batter as an add-in can also be left out, because the batter's structure does not depend on it.
3 Which Swap Works Best in Baking?
Chop nuts to the size of the walnut pieces your recipe uses, leave sunflower kernels whole, chop pumpkin seeds only roughly for muffins and loaves, and toast any of them before you stir them into the batter.
Pecans
You get the nearest match with pecans, at 1 cup of chopped pecans for 1 cup of chopped walnuts. Texas Real Food calls walnuts slightly more bitter and pecans sweeter and buttery, so your banana bread or brownies taste a little sweeter.
Pecans hold 72.0 g of fat per 100 g against 65.2 g in walnuts, and King Arthur says the more oil a nut has, the faster it toasts, so check pecans at the first stir. For a real recipe that treats the two as equals, the optional add-in in zucchini oatmeal cookies is ½ cup of chopped walnuts or pecans, used interchangeably.
Almonds and Hazelnuts
Chopped almonds crunch firmly and carry no bitter edge, so you can use 1 cup for 1 cup in cookies, muffins and quick breads where the walnuts were mostly texture. In brownies the swap tastes sweeter, because the bitterness that cut the sugar is gone, and the nuts add less fat at 49.9 g per 100 g against 65.2 g.
Hazelnuts come closer in fat, at 60.8 g per 100 g, and toasted hazelnuts suit brownies and other chocolate bakes at the same 1 cup for 1 cup. After toasting, rub off the skins that flake loose, so they do not add bitterness to a delicate bake.
Pistachios and Cashews
- Pistachios leave green flecks in a pale crumb, which looks right in cakes, shortbread and baklava. They hold 45.3 g of fat per 100 g, and baklava made in the air fryer takes 1 cup of chopped walnuts, pistachios or almonds.
- Cashews give the softest bite here and the least fat, at 43.8 g per 100 g, so you should keep them to soft cookies and blondies and away from a topping that has to stay crisp.
4 How Do You Toast Walnut Substitutes?
King Arthur's oven method uses 325°F, and its author used walnuts throughout. The same page notes that the higher a nut's oil content, the faster it toasts.
- Spread the nuts. Heat the oven to 325°F and put the chopped nuts on a baking sheet in one layer.
- Bake and stir. Bake in the center of the oven for 10 to 15 minutes, stirring about every 5 minutes.
- Follow your nose. King Arthur says that once you start smelling the nuts, they are probably done.
- Move them off the pan. Tip the hot nuts onto a room-temperature plate, because the pan keeps browning them.
Pecans, hazelnut pieces and small seeds can brown before the 10 to 15 minute window ends, so you should look at them at the first stir. For an air fryer, King Arthur suggests starting with about ¼ cup at 325°F for 3 minutes.
Tip
California Walnuts warns that walnuts burn easily, so stir them even when the timer has minutes left.
5 What Replaces Walnuts in Salads and Toppings?
In a salad the nuts give soft leaves something to bite, so toast the swap and add it last, just before you serve.
Salads
An apple and walnut spinach salad uses ½ cup of walnuts toasted in a dry skillet, and ½ cup of toasted pecans takes their place at the same amount. Endive tastes more bitter than spinach, so an endive and walnut salad with blue cheese is already bitter, and sweeter pecans or milder almonds balance it.
Dressings and Toppings
If the vinaigrette also calls for walnut oil, olive oil replaces it 1:1 by volume, and hazelnut or almond oil keep the nutty flavor. Baked brie takes a swap the same way: the honey baked brie sprinkles 1 cup of walnuts over the honey before the pastry closes, and 1 cup of chopped pecans or hazelnuts goes on in their place.
6 What Can You Use When Someone Has a Tree Nut Allergy?
The FDA lists tree nuts among the nine major food allergens, and a label has to name the type, such as almonds, pecans or walnuts. Pumpkin and sunflower seeds are not on that list, which makes them the usual nut-free swap, but seed allergies exist, so you read the package and ask the allergist first.
Warning
Pecans are the swap to skip. A review of tree nut allergy in children cites studies where everyone with a pecan allergy was also allergic to walnut, and where between 9% and one third of walnut-allergic people tolerated pecan. Only an allergist can say which side of that line a person is on.
Pumpkin Seeds
Pumpkin seeds replace chopped walnuts at ¾ cup for 1 cup as a starting amount, which is 120 g against 113 g, and once you toast them they bring crunch to cookies, bars and salads. They hold 49.0 g of fat and 30.2 g of protein per 100 g, against 65.2 g of fat and 15.2 g of protein in walnuts.
The apple-cranberry salad toasts ⅓ cup of pepitas in a dry skillet and adds them last for crunch.
Sunflower Seeds
Sunflower seeds replace chopped walnuts at ¾ cup for 1 cup, which is 105 g against 113 g, with 51.5 g of fat per 100 g. Researchers at Chapman University traced greening in sunflower cookies made with baking soda to chlorogenic acid in the seeds, which forms green pigments in an alkaline dough.
So you want pumpkin seeds in a baking soda cookie, and sunflower seeds for salads, toppings and bars without baking soda.
When no seed suits the bake, a cookie or brownie can also use rolled oats or chocolate chips instead, at 1 ¼ cups of oats or ⅔ cup of chips for each 1 cup of chopped nuts.
7 Can You Use Walnuts Instead of Pecans?
Yes, except for anyone with a pecan allergy. Texas Real Food gives the swap at 1:1 in most recipes, so a pecan cookie, bar or pie topping takes 1 cup of chopped walnuts for 1 cup of chopped pecans.
- Chop the walnuts to roughly the pecan size, as Texas Real Food advises.
- Toast them first, since Texas Real Food says toasting enhances their flavor.
- Expect an earthier, less sweet bake than your pecan version.
You can also replace pecans with chopped almonds or pistachios at the same amount.
8 Which Swaps Should You Skip?
- Pecans for a walnut allergy. The two nuts share allergens, and only an allergist can clear the swap.
- Sunflower seeds in baking soda dough. The cookies can turn green.
- Salted or flavored nuts such as honey-roasted ones, which add salt and sugar the recipe did not count.
- Ground almonds or almond flour for chopped pieces, which give fat and no crunch.
9 Which Walnut Swap Should You Use?
Pick pecans when nobody has a tree nut allergy, and pumpkin seeds when someone does.
Pecans
Match walnuts at 1 cup for 1 cup in banana bread, brownies and salads, with a sweeter, milder flavor and 72.0 g of fat per 100 g.
Belong to the same allergy family as walnuts, so they are no swap for a walnut allergy, and they toast faster.
Pumpkin Seeds
Are not tree nuts, add crunch to cookies, bars and salads, and hold 49.0 g of fat and 30.2 g of protein per 100 g.
Add less richness to a bar than walnuts do, and carry only 0.12 g of alpha-linolenic acid per 100 g against 9.08 g.
Frequently Asked Questions
Yes. Use 1 cup of chopped pecans for 1 cup of chopped walnuts, toast them first and check them at the first stir, since pecans hold more fat and brown sooner. The loaf tastes a little sweeter.
Yes, when they are only an add-in. Your batter's structure does not depend on them, so you lose the crunch and the bitter edge and nothing else.
Start with 1 cup of chopped peanuts for 1 cup of walnuts and choose unsalted ones. The FDA lists peanuts as their own major allergen, separate from tree nuts, so they suit a tree nut allergy only when an allergist agrees.
USDA FoodKeeper gives walnuts 2 to 4 weeks in the pantry, 9 to 12 months in the refrigerator and 24 months in the freezer. Smell them before they go into a batter, and replace any that smell stale or taste bitter.
Sources
- King Arthur Baking, 5 Practical Ways to Toast Nuts
- King Arthur Baking, Ingredient Weight Chart
- California Walnuts, Usage, Storage and Purchase Tips
- USDA FoodData Central, Nuts, walnuts, english
- USDA FoodData Central, Nuts, pecans
- USDA FoodData Central, Nuts, hazelnuts or filberts
- USDA FoodData Central, Nuts, almonds
- USDA FoodData Central, Nuts, pistachio nuts, raw
- USDA FoodData Central, Nuts, cashew nuts, raw
- USDA FoodData Central, Pumpkin and squash seed kernels, dried
- USDA FoodData Central, Sunflower seed kernels, dried
- USDA FoodKeeper
- FDA, Food Allergies
- Tree Nut Allergy in Children: What Do We Know? A Review
- Chapman University, Preventing Chlorogenic Acid Quinone-Induced Greening in Sunflower Cookies
- Texas Real Food, How to Substitute Walnuts for Pecans

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.








