These pumpkin walnut bars are the perfect fall dessert: a moist, spiced pumpkin cake base studded with crunchy walnuts, topped with a tangy cream cheese frosting. The combination of warm pumpkin spice, nutty crunch, and creamy frosting makes these bars a crowd-pleaser for potlucks, holiday gatherings, or a cozy weekend treat. They’re easier than a layer cake, bake in one pan, and can be made ahead—plus the walnuts add a lovely texture that complements the soft crumb.
Ingredients
- 1 ¾ cups (220g) all-purpose flour
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- 1 teaspoon ground cinnamon
- ½ teaspoon ground nutmeg
- ¼ teaspoon ground ginger
- ¼ teaspoon salt
- ½ cup (1 stick / 113g) unsalted butter, softened
- 1 cup (200g) granulated sugar
- ½ cup (100g) packed light brown sugar
- 2 large eggs, at room temperature
- 1 teaspoon vanilla extract
- 1 cup (245g) canned pumpkin puree (not pumpkin pie filling)
- 1 cup (120g) chopped walnuts, plus extra for garnish
- For the cream cheese frosting:
- 8 oz (226g) cream cheese, softened
- ¼ cup (½ stick / 57g) unsalted butter, softened
- 2 cups (240g) powdered sugar, sifted
- 1 teaspoon vanilla extract
Instructions
- Preheat your oven to 350°F (175°C). Grease a 9x13-inch baking pan or line it with parchment paper, leaving some overhang for easy removal.
- In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt. Set aside.
- In a large bowl, using an electric mixer, beat the softened butter, granulated sugar, and brown sugar until light and fluffy, about 2-3 minutes.
- Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
- Add the pumpkin puree and mix until combined. The mixture may look slightly curdled—that’s normal.
- Gradually add the dry ingredients to the wet mixture, mixing on low speed just until no streaks of flour remain. Do not overmix.
- Fold in the chopped walnuts with a spatula.
- Spread the batter evenly into the prepared pan. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean and the edges are lightly golden. Cool completely in the pan on a wire rack.
- While the bars cool, make the frosting: In a large bowl, beat the cream cheese and butter together until smooth and creamy. Add the powdered sugar and vanilla, and beat until fluffy, about 2 minutes.
- Once the bars are completely cool, spread the frosting evenly over the top. Sprinkle with extra chopped walnuts if desired. Cut into squares and serve.
Tips
- Use canned pumpkin puree, not pumpkin pie filling, which is pre-sweetened and spiced—it will throw off the sugar and spice balance.
- Don’t overmix the batter after adding the flour; overmixing develops gluten and makes the bars tough. Mix until just combined.
- Cool the bars completely before frosting. If they’re even slightly warm, the frosting will melt and slide off.
- For clean cuts, use a sharp knife and wipe it clean between cuts. You can also chill the frosted bars for 20 minutes before slicing.
Serving Suggestions
Serve these bars as a dessert with a cup of coffee or tea. They’re also great as an afternoon snack. For a festive touch, dust with a little cinnamon or add a drizzle of caramel sauce. If you’re serving them at a fall party, arrange them on a platter with fresh sage leaves or small decorative pumpkins for a seasonal look.
Variations
- Swap the walnuts for pecans or omit them entirely if you prefer a nut-free version.
- Add a teaspoon of orange zest to the batter for a bright citrus note that pairs well with pumpkin.
- Make a maple frosting by replacing the vanilla extract in the frosting with 1 tablespoon of maple syrup and reducing the powdered sugar to 1 ¾ cups.
- Turn them into pumpkin bars with chocolate chips—fold in ½ cup of semi-sweet chocolate chips along with the walnuts.
Storage and Reheating
Store frosted bars in an airtight container in the refrigerator for up to 5 days. They can be served cold or at room temperature—if you prefer them at room temp, take them out about 30 minutes before serving. You can also freeze the unfrosted bars for up to 3 months: wrap them tightly in plastic wrap and then foil. Thaw overnight in the fridge, then bring to room temperature before frosting and serving. If you have leftover frosted bars, you can freeze them for up to 1 month, but the frosting may soften slightly when thawed.
Frequently Asked Questions
Can I use fresh pumpkin instead of canned?
Yes, you can use fresh pumpkin puree, but be sure it’s well-drained and thick. If it’s watery, the bars may be too moist. To make fresh puree, roast or steam pumpkin, then blend and strain through a cheesecloth to remove excess liquid.
Can I make these bars gluten-free?
Yes, you can substitute a 1:1 gluten-free all-purpose flour blend. The texture may be slightly more crumbly, but they’ll still be delicious. Make sure the blend contains xanthan gum or another binder.
Why did my frosting turn out runny?
Runny frosting usually happens when the cream cheese or butter is too soft, or if you overbeat it. Make sure both are softened but still cool to the touch. If it’s too runny, add more powdered sugar a tablespoon at a time until it thickens.
Can I use a different size pan?
You can use a 9x9-inch pan for thicker bars, but you’ll need to increase the baking time to about 35-40 minutes. For a half-sheet pan (12x17-inch), the bars will be thinner and bake in about 15-18 minutes—watch them closely.
Do I need to refrigerate the bars?
Yes, because of the cream cheese frosting, these bars should be refrigerated if storing for more than a few hours. However, they’re safe at room temperature for up to 2 hours during serving.
Can I make the bars ahead of time?
Absolutely. You can bake the bars up to 2 days ahead, keep them unfrosted in an airtight container at room temperature, and frost them the day you plan to serve. Or fully assemble them and refrigerate for up to 2 days before serving.