Go Back
+ servings
a single zucchini pecan bar sliced open on light brown parchment paper, moist spiced crumb with fine green zucchini flecks and chunky toasted pecan pieces, topped with a thick layer of smooth pale caramel-brown cream cheese frosting

Zucchini Pecan Bar Recipe

These zucchini pecan bars are tender, warmly spiced dessert squares made with shredded zucchini, chopped pecans, and a rich caramel-style frosting. The bars bake into a soft, lightly dense crumb, while the frosting sets into a smooth, sweet topping that complements the cinnamon and nutmeg.
Pin it to remember it! Print Recipe
Prep Time: 20 minutes
Cook Time: 40 minutes
Total Time: 1 hour
Servings: 16

Ingredients

For the Zucchini Bars

  • 1 1/2 cups all-purpose flour
  • 3/4 cup packed brown sugar
  • 1 cup pecans roughly chopped
  • 1/4 teaspoon ground nutmeg
  • 2 large eggs
  • 1 1/2 teaspoons ground cinnamon
  • 12 tablespoons unsalted butter melted
  • 3/4 teaspoon baking soda
  • 1/2 cup granulated sugar
  • 2 teaspoons vanilla extract
  • 1/2 teaspoon salt
  • 1 1/2 cups freshly shredded zucchini

For the Caramel Frosting

  • 1 1/2 cups powdered sugar
  • 4 tablespoons unsalted butter
  • Pinch of salt
  • 1/2 cup brown sugar
  • 2 tablespoons milk or cream

Instructions

  • Preheat the oven to 350°F. Grease a 9×9-inch baking pan with butter, then line it with parchment paper to help lift the baked bars out easily.
  • In a large mixing bowl, add the eggs, melted unsalted butter, granulated sugar, brown sugar, salt, cinnamon, nutmeg, and vanilla extract. Whisk thoroughly until the mixture is evenly combined.
  • Add the baking soda and whisk it into the wet mixture. Fold in the all-purpose flour until the batter is fully blended and no visible dry streaks remain.
  • Gently incorporate the shredded zucchini and chopped pecans, folding just until they are distributed throughout the batter.
  • Transfer the batter to the prepared baking pan and spread it into an even layer. Bake for approximately 35 to 45 minutes, or until the bars have risen and are baked through.
  • Let the baked bars cool slightly while preparing the frosting. The frosting is easier to spread when poured over the bars while they are still somewhat warm.
  • For the frosting, place the butter, brown sugar, milk or cream, and salt in a small saucepan. Warm the mixture over medium heat and bring it to a boil. As soon as it begins boiling, remove the pan from the heat.
  • Whisk in the powdered sugar until the frosting becomes smooth. Pour it over the warm bars and spread it promptly, as the frosting starts to firm up very quickly.
  • Allow the frosted bars to cool before cutting them into squares.
Love This Recipe? Save it!

Notes

The frosting sets rapidly after it is poured, so it should be spread immediately for the smoothest finish.