Chocolate-Zucchini Cake


One of the most popular vegetables of the summer is zucchini, turning up as cheesy casseroles, fried appetizers, and warm breads. Go one step further and make this chocolate cake, guaranteed to become your go-to recipe for birthday celebrations, potlucks, and simple weeknight desserts. This impressive yet easy-to-make cake got rave reviews in our Test Kitchen and quickly developed a cult following. It's packed with plenty of green stuff (two medium zucchini), but your family will be too distracted by the chocolate flavor and the nutty brown butter frosting to notice that they are eating vegetables. For optimal texture, shred the zucchini on the large holes of a box grater. A tasty frosting is the crowning touch on a cake, and this Brown Butter-Pistachio Frosting has just the right sweet-salty balance to partner with the deep chocolate cake. Browning butter is a French cooking technique that, when used, can take a recipe from good to fabulous.

Chocolate-Zucchini Cake
Photo: Antonis Achilleos; Prop Styling: Kay E. Clarke; Food Styling: Torie Cox
Active Time:
35 mins
Total Time:
3 hrs 20 mins
12 serves


Chocolate-Zucchini Cake

  • 2 cups granulated sugar

  • 1/2 cup unsalted butter, softened

  • 1/2 cup canola oil

  • 1 teaspoon vanilla extract

  • 2 large eggs, at room temperature

  • 2 1/2 cups all-purpose flour

  • 3/4 cup unsweetened cocoa powder

  • 1 teaspoon baking powder

  • 1/2 teaspoon baking soda

  • 1/2 teaspoon kosher salt

  • 1/2 cup sour cream

  • 2 1/2 cups grated zucchini (from 2 medium [6 oz. each] zucchini)

  • 1 cup semisweet chocolate chips

Brown Butter-Pistachio Frosting

  • 1/2 cup unsalted butter

  • 1 (8-oz.) pkg. cream cheese, at room temperature

  • 4 cups unsifted powdered sugar

  • 1 teaspoon vanilla extract

  • 1/4 teaspoon kosher salt

  • 8 tablespoons roasted salted pistachios, finely chopped, divided


  1. Prepare the cake: Preheat oven to 325°F. Spray a 13- x 9-inch baking pan with baking spray. Beat sugar, butter, oil, and vanilla with an electric mixer on high speed until fluffy, about 2 minutes. Add eggs; beat until incorporated, about 15 seconds.

  2. Stir together flour, cocoa powder, baking powder, baking soda, and salt in a bowl. Add flour mixture to butter mixture alternately with sour cream, beginning and ending with flour mixture, beating well on low speed after each addition. Stir in zucchini and chocolate chips. Pour into prepared pan; smooth top with a spatula.

  3. Bake in preheated oven until a wooden pick inserted in center comes out clean, 45 to 50 minutes. Remove from oven; cool completely in pan, about 1 hour.

  4. Prepare the frosting: Melt butter in a small saucepan over medium-high. Cook, stirring occasionally, until butter begins to brown, about 10 minutes. Remove from heat; pour into a heatproof glass bowl. Chill 1 hour.

  5. Transfer solidified brown butter to bowl of a heavy-duty stand mixer fitted with a paddle attachment; beat on medium-high speed until creamy, about 30 seconds. Add cream cheese; beat on high speed until smooth, about 20 seconds. Reduce speed to low; gradually beat in powdered sugar, vanilla, and salt. Increase speed to high, and beat until fluffy, 2 minutes. Stir in 5 tablespoons of the pistachios.

  6. Spread frosting over cake. Sprinkle with remaining 3 tablespoons pistachios.

Related Articles