Zimt

Moist Chocolate Zucchini Bars with Brown Butter Icing

· 5 min read · Cookies and Bars

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

These chocolate zucchini bars are the perfect way to use up summer zucchini while satisfying your chocolate cravings. The grated zucchini keeps the bars incredibly moist and tender, while the brown butter cream cheese icing adds a rich, nutty, and tangy finish that takes them over the top. This recipe is straightforward, uses everyday ingredients, and comes together quickly for a dessert that feels both rustic and indulgent.

Ingredients

  • 1 ½ cups (190g) all-purpose flour
  • ½ cup (50g) unsweetened cocoa powder
  • 1 teaspoon baking soda
  • ½ teaspoon salt
  • ½ cup (115g) unsalted butter, melted
  • ¾ cup (150g) granulated sugar
  • ½ cup (100g) packed light brown sugar
  • 2 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • 1 ½ cups (about 225g) grated zucchini, lightly packed (do not drain)
  • ¾ cup (180ml) buttermilk, at room temperature
  • For the icing:
    • ¼ cup (60g) unsalted butter
    • 4 oz (115g) cream cheese, softened
    • 1 ½ cups (180g) powdered sugar, sifted
    • 1 teaspoon vanilla extract
    • 1-2 tablespoons milk, as needed

Instructions

  1. Preheat your oven to 350°F (175°C). Grease a 9x13-inch baking pan or line it with parchment paper for easy removal.
  2. In a medium bowl, whisk together the flour, cocoa powder, baking soda, and salt. Set aside.
  3. In a large bowl, combine the melted butter, granulated sugar, and brown sugar. Whisk until well blended and no lumps remain.
  4. Add the eggs one at a time, whisking well after each addition. Stir in the vanilla extract.
  5. Fold in the grated zucchini with a spatula. It will look like a lot, but it will cook down.
  6. Add the dry ingredients in three additions, alternating with the buttermilk, starting and ending with the dry ingredients. Mix just until combined; do not overmix.
  7. Pour the batter into the prepared pan and spread it evenly.
  8. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs (not wet batter). The top should spring back when lightly pressed.
  9. Let the bars cool completely in the pan on a wire rack, about 1 hour.
  10. While the bars cool, make the icing: In a small saucepan, melt the ¼ cup butter over medium heat. Continue cooking, swirling the pan occasionally, until the butter turns golden brown and smells nutty, about 3-5 minutes. Watch carefully to avoid burning. Pour into a bowl and let cool for 10 minutes.
  11. In a separate bowl, beat the softened cream cheese until smooth. Add the browned butter (it may be slightly warm) and beat until combined.
  12. Gradually beat in the powdered sugar, then the vanilla. If the icing is too thick, add milk one tablespoon at a time until spreadable. If it's too thin, add a little more powdered sugar.
  13. Spread the icing evenly over the cooled bars. Slice into squares and serve.

Tips

  • Do not squeeze the zucchini dry. The moisture is what makes these bars so tender. Just grate it and lightly pack it into the measuring cup.
  • Use a box grater for fine shreds, which blend into the batter better than thick chunks. No need to peel the zucchini.
  • Brown the butter with patience. It goes from browned to burnt quickly. Once it turns amber and smells nutty, remove it from the heat immediately.
  • Cool the bars completely before icing, or the icing will melt and slide off.

Serving Suggestions

These bars are delicious at room temperature, but for a special treat, warm them slightly in the microwave for 10 seconds before serving—the icing gets gooey and the chocolate flavor deepens. They pair wonderfully with a glass of cold milk, a scoop of vanilla ice cream, or a cup of hot coffee. For a brunch spread, cut them into small squares and serve alongside fresh fruit.

Variations

  • Add-ins: Fold in ½ cup of chocolate chips, chopped walnuts, or pecans for extra texture.
  • Spice it up: Add ½ teaspoon of cinnamon or a pinch of cayenne pepper to the dry ingredients for a subtle warmth.
  • Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture may be slightly more crumbly, but still delicious.
  • No buttermilk? Mix ¾ cup of milk with 1 tablespoon of lemon juice or white vinegar and let sit for 5 minutes before using.

Storage and Reheating

Store the frosted bars in an airtight container in the refrigerator for up to 5 days. The icing will firm up when cold, so let them sit at room temperature for 15-20 minutes before serving for the best texture. 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 and ice as desired. Reheat individual bars in the microwave for 10-15 seconds if you like them warm.

Frequently Asked Questions

Can I use a different pan size?

Yes, you can use a 9x9-inch square pan for thicker bars, but you'll need to increase the baking time to 35-40 minutes. Conversely, a jelly-roll pan (10x15) will yield thinner bars that bake in about 20 minutes. Adjust the time and check for doneness with a toothpick.

Do I need to peel the zucchini?

No, the skin is tender and adds color and nutrients. Just wash it well and grate it with the skin on.

Why is my icing runny?

This usually happens if the cream cheese is too soft or the butter is too warm when you mix them. Make sure the browned butter is cooled to room temperature (but still liquid) and the cream cheese is just softened, not melted. If it still seems thin, chill the icing for 15 minutes before spreading.

Can I make these bars dairy-free?

Yes, substitute the butter with a plant-based butter alternative, use a dairy-free cream cheese, and replace the buttermilk with a non-dairy milk mixed with 1 tablespoon of lemon juice. The texture may be slightly different, but they will still be moist and delicious.

How do I know when the bars are done?

Insert a toothpick into the center—it should come out with a few moist crumbs, but no wet batter. The edges will start to pull away from the pan, and the top will spring back when lightly pressed.

Can I skip the icing?

Absolutely. The bars are delicious on their own, like a dense chocolate cake. You can dust them with powdered sugar or leave them plain for a less sweet treat.