Chocolate Zucchini Cake with Browned Butter Cream Cheese Frosting

A dense and fudgy chocolate zucchini cake that's topped with browned butter cream cheese frosting will be your summer dessert of choice.

Jump to Recipe Save Recipe Pin Recipe

This post may contain affiliate links

An overhead photo of a chocolate zucchini cake in a pan beside a slice of chocolate zucchini cake on a plate

If you've ever grown zucchinis before, you'll know just how abundant they can be, and how quickly your garden can be overflowing with zucchinis. You'll also know how quickly they can grow, so that they're to the point of being spongy, seedy giants almost overnight.

A hand slicing a rectangular chocolate zucchini cake in a pan.

If you're growing zucchini now, or even if you're not, this Chocolate Zucchini Cake is here to help. This rich, chocolatey cake uses 1 medium zucchini (or 1 large zucchini if you double the recipe), yet you'd never guess it's in there.

The cake is good without the frosting, but the Browned Butter Cream Cheese frosting really makes it an extra special treat. Don't skip the step of browning the butter, that toasty flavor really compliments the chocolate cake.

A slice of chocolate zucchini cake on a white plate

How to make Chocolate Zucchini Cake:

Making this chocolate zucchini cake is not unlike making any other cake, but with the added step of prepping the zucchini to add to the batter (see tips below). You will need a stand mixer (or you could use a hand mixer instead if needed) to make both the cake batter and the frosting.

Ingredients:

  • Zucchini - if the zucchini you're using is very large, be sure to scoop out and discard the seeds
  • Salt
  • All-purpose flour
  • Whole wheat flour (or you can use more all-purpose flour, if desired)
  • unsweetened cocoa powder
  • Baking soda
  • Baking powder
  • Cinnamon
  • Granulated sugar
  • Canola oil - or other neutral-flavored cooking oil
  • Eggs
  • Vanilla extract
  • Semisweet chocolate chips (optional, but I highly recommend adding them)
  • Unsalted butter
  • Cream cheese or goat cheese or a mixture of the two
  • Powdered sugar
A slice of chocolate zucchini cake on a white plate

Tips for baking with zucchini:

Scoop the seeds

It's ok to bake with those giant garden zucchinis - the ones your neighbor leaves on your front porch when no one's looking. No, they're not the best otherwise, but they can be just fine in your baked goods as long as you prepare them properly. All you need to do is scoop the seeds.

Trim both ends of the zucchini, and cut it in half lengthwise. Then use a spoon to scoop out and discard the seeds and any stringy bits. Then shred the zucchini on a box grater (or using a food processor with a grater attachment if you have one) to use in your baking.

Remove the extra moisture

If you're not careful, cakes, loaves, or muffins made with zucchini can turn out overly heavy and dense, and cookies can turn out soggy or too cakey. This is because of the high moisture content of zucchini. Because of this, we want to make sure we dry out that zucchini as much as possible before adding it to our batter.

Follow the steps above to remove the seeds and shred the zucchini. Then put it into a colander and sprinkle it with salt (½ teaspoon for a medium zucchini, 1 teaspoon for a large zucchini). The salt helps draw out the water from inside the cells of the zucchini.

Let the salted zucchini drain while you prepare the rest of your recipe. Then put it on a clean towel and SQUEEZE! No need to be gentle here - you really want to squeeze out all the moisture you can, so your zucchini baking recipes will turn out their best.

A hand sticking a fork into a slice of chocolate zucchini cake

Want more zucchini recipes?

Chocolate Zucchini Cake Nutrition Notes:

The nutrition information in the recipe includes 1 slice of cake plus frosting (assuming only 1 cup of powdered sugar is used to make the frosting), and does include chocolate chips in the recipe.

Double Chocolate Zucchini Cake with Browned Butter Cream Cheese Icing

5 from 3 votes
A slice of chocolate zucchini cake on a white plate
A dense and fudgy chocolate zucchini cake that's topped with browned butter cream cheese frosting will be your summer dessert of choice.
Servings: 9
Course: Dessert
Cuisine: American
Calories: 470
Prep Time 20 minutes
Cook Time 30 minutes
Cooling Time 2 hours
Total Time 2 hours 50 minutes

Ingredients
  

Cake
  • 1 medium zucchini, see note
  • 1 teaspoon salt
  • ¾ cup all purpose flour
  • ¾ cup whole wheat flour optional, can replace with an additional ¾ cup of all purpose flour
  • ¼ cup unsweetened cocoa powder
  • ½ teaspoon baking soda
  • ½ teaspoon baking powder
  • ¼ teaspoon cinnamon
  • ¾ cup sugar
  • ½ cup canola oil
  • 2 large eggs
  • ½ teaspoon vanilla extract
  • ½ cup semisweet chocolate chips (optional)
Frosting
  • 4 Tablespoons unsalted butter
  • 4 ounces cream cheese or goat cheese or a mixture
  • ½ teaspoon vanilla
  • 1-2 cups powdered sugar (see note)

Instructions
 

Cake
  1. Trim the ends from the zucchini and shred on the large holes of a box grater. Transfer the shredded zucchini to a colander and toss with ½ teaspoon of the salt. Let it sit in the sink to drain while you prepare the rest of the ingredients.
  2. Heat oven to 350°F. Lightly grease a 9x9" baking pan and sprinkle flour in, discarding any excess.
  3. Whisk all purpose flour, whole wheat flour, cocoa powder, salt, baking soda, and cinnamon together in a medium bowl. Set aside.
  4. Beat sugar, oil, eggs and vanilla extract together in the bowl of a stand mixer on medium speed for about 3 minutes until smooth and pale. Add flour mixture and mix on low speed until combined, about 2 minutes.
  5. Transfer the shredded zucchini to a clean dish towel and squeeze out any remaining liquid. Add the zucchini to the batter and beat for another 2 minutes. Fold in chocolate chips with a spatula (if using).
  6. Transfer batter to prepared pan and bake for about 30 minutes, until a toothpick inserted in the center comes out clean.
  7. Cool on a wire rack completely before frosting.
Frosting
  1. Place the butter in a small skillet or saucepan over medium heat. Cook until butter is lightly browned and smells toasted. Transfer to a heat proof bowl and place in the fridge to cool. Once it begins to solidify, remove from the fridge and keep at room temperature until you're ready to make the frosting. You want it to be the consistency of softened butter.
  2. Place browned butter and cream cheese into the bowl of a stand mixer. Cream together on medium-high speed until light and fluffy. Add powdered sugar and mix on low speed until incorporated. Increase speed to medium high and beat until fluffy. Add vanilla and continue to beat for another minute. Use immediately or store in fridge until ready to use.

Nutrition

Calories: 470kcalCarbohydrates: 53gProtein: 6gFat: 27gSaturated Fat: 9gPolyunsaturated Fat: 4gMonounsaturated Fat: 12gTrans Fat: 1gCholesterol: 64mgSodium: 402mgPotassium: 231mgFiber: 3gSugar: 35gVitamin A: 427IUVitamin C: 4mgCalcium: 51mgIron: 2mg

Notes

If you have a large zucchini, you can use the whole thing and double the rest of the recipe. When using large zucchinis for baking, make sure you scoop out and discard the seeds before shredding. A doubled recipe can be cooked in a 9x13" rectangular pan, or two round 8" pans. Note that if you want to make a round layer cake, you will need to triple the frosting recipe. To cook the rectangular pan, add 5-10 minutes to the baking time.
The amount of powdered sugar can be adjusted to achieve your desired frosting consistency. For soft, thinner frosting, using only 1 ¼ to 1 ½ cups powdered sugar. For thicker, stiffer frosting, use 2 cups powdered sugar.
If you want to make a Chocolate Zucchini Loaf, follow this recipe but bake in a greased 9x5" loaf pan. Add 5-10 minutes onto the baking time.

Tried this recipe?

Please consider Leaving a Review!
A slice of chocolate zucchini cake on a plate
5 from 3 votes (2 ratings without comment)

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




4 Comments

  1. Thanks for sharing the recipe:) The cake really looks delicious. But I have one technical question to you: I've read that in dark cakes you can use black beans instead of flour. Do you think it would apply to your recipe as well?
    Thanks in advance!

    1. I've never tried it in a cake, so I can't say for sure. I have made black bean brownies though, which were very good. I would think that in a cake, it might be a little more dense than with flour. Since this cake is already on the dense side, it might not be as noticeable.

  2. 5 stars
    I made this cake and frosting. I made the cake into cupcakes and used a vanilla honey goat cheese for the frosting. The cake is a great, simple (but including vegetables!) platform for this life-changing frosting. I had no idea you could make cream cheese frosting with goat cheese. Also, using browned butter in the frosting was unreal. I don’t even usually like cream cheese frosting but this was so good you could eat it with a spoon. Thanks for this recipe, C!!

    1. I'm so glad you liked it! I love using goat cheese to make frosting, but I never tell my kids, because they think they don't like it 😉