Jump to Recipe

Grated zucchini makes for a surprisingly rich and dense chocolate cake, and with chocolate ganache over top, this chocolate zucchini cake is fudgy and intensely chocolatey in just the right way.

As tends to be the way when I try to put zucchini in baked goods, this one took a few tries to get right.  Luckily, I had a lot of zucchini coming to my door thanks to my friends at Imperfect Produce.  This is my second recipe in partnership with them!

You might recall last year when I discussed at length my issues with zucchini weighing down this zucchini cream cheese pound cake.  That one took several tries before I could even get to the point where I’d let other people (including Brian) taste it.  A lot of cakes were wasted and it was quite tragic, really.

99 problems and zucchini definitely is one

So this time, when I decided I was going to turn a zucchini into a chocolate cake (that’s real 2018 magic) I knew what the problems were going to be:

  1. Zucchini contains a lot of moisture as a general rule, but because nothing can ever be easy, it’s also variable depending on the size and individual moisture content of each zucchini.  So there’s that wildcard.
  2. I also knew from experience that grating by hand and then squeezing all the moisture out of the grated zucchini would allow me to add it to a cake without adding too much moisture and weighing it down.  So, ignoring the advice of most recipes out there on the internets for chocolate zucchini cake, which don’t discuss draining it much at all, I squeezed the heck out of it.
  3. The amount of grated zucchini to use varies pretty widely depending on the recipe.  Generally I like the idea of packing as many veggies into a cake as I can get away with, but didn’t want to make it unappealing.

Round 1: Mediocrity

In the photo above, you can see how my first try at this chocolate zucchini cake came out.  I used 2 cups of grated zucchini and squeezed the heck out of it with paper towels before I added it into the batter. 

This led to a very sturdy cake batter, but when the cake was baked, it was fairly dry and actually lacking in flavor.  My coworker Sarah described it as a “snack cake” consistency, which I think is spot on.  It was ok, but it wasn’t the rich fudginess I was hoping for with this cake.

Plus, the zucchini basically disappeared into the cake, which in theory is what we want but actually, I missed the texture and sort of velvety-ness I thought it was supposed to add.  Basically, this was a mediocre cake and I was annoyed.

Luckily, there was a Round 2.

Chocolate Zucchini Cake

Round 2: Success!

After grumbling to myself for a few days, mostly about my own arrogance and why I even bother with finicky old zucchini, the craving for chocolate cake once again became too strong to ignore.  This time, I threw caution to the wind and let the zucchini do what it’s supposed to do in a cake like this: add moisture, bulk, and texture.

Here’s what I did differently:

  1. I used 3 cups of grated zucchini instead of 2;
  2. I used the grating blade of my food processor instead of hand grating it; AND
  3. I only lightly drained the zucchini, after it had sat in the food processor bowl for 20 minutes while I made the cake batter.  Just poured off the excess water that had accumulated in the bottom.  That’s it – no paper towel messiness, no wringing.  Just dumped it in the cake.

This was definitely, definitely the lazy person’s way of making this cake.  And you know what?


Chocolate Zucchini Cake

This time, the cake turned out exactly how I’d imagined a chocolate zucchini cake would.  It was rich, intensely chocolatey, and had exactly the right density – almost like a fudginess.  But it’s not heavy.  It’s just delicious.

Chocolate ganache over top doesn’t hurt either.

Chocolate Zucchini Cake

Don’t run away because I said chocolate ganache – it’s not fancy, I swear.  Just heat heavy cream and then pour it over chopped chocolate (even chocolate chips), wait a minute, then stir.  That’s it.

So basically, when you eat this chocolate zucchini cake you not only get your veggies in, but you also get to be lazy with the zucchini and make easy chocolate ganache to impress everyone.  What’s not to like?

Chocolate Zucchini Cake
Print Recipe Pin Recipe
5 from 5 votes

Chocolate Zucchini Cake

Grated zucchini makes for a surprisingly rich and dense chocolate cake, and with chocolate ganache over top, this chocolate zucchini cake is fudgy and intensely chocolatey in just the right way.
Prep Time30 minutes
Cook Time55 minutes
Total Time1 hour 25 minutes
Course: Dessert
Keyword: cake, chocolate cake, zucchini
Servings: 1 12-inch bundt cake (12-16 servings)
Author: katiebirdbakes.com


For the cake:

  • 1 cup unsalted butter, softened to room temperature (2 sticks)
  • 1 cup brown sugar (packed)
  • 3/4 cup granulated sugar
  • 2 large eggs
  • 1 teaspoon vanilla extract
  • 2 1/2 cups all-purpose flour
  • 3/4 cup cocoa powder
  • 1 teaspoon espresso powder (optional, brings out chocolate flavor)
  • 1 teaspoon baking soda
  • 1/2 teaspoon baking powder
  • 1/2 teaspoon salt
  • 1/2 cup plain yogurt or sour cream
  • 3 cups shredded zucchini (approx a 10″ zucchini, see notes)
  • 1/2 cup chocolate chips

For the chocolate ganache:

  • 1/2 cup heavy cream
  • 3/4 cup chopped chocolate (or chocolate chips)


For the cake:

  • Preheat your oven to 350 degrees F. Generously grease a 12-cup bundt pan and set aside.
  • In a large bowl, whisk together flour, cocoa powder, espresso powder, baking powder, baking soda, and salt.  Set aside.
  • In another large bowl, using a stand mixer with the paddle attachment or a hand mixer, cream the butter, brown sugar, and granulated sugar together beginning on medium speed, then increasing to medium-high speed for about 2 minutes, until the mixture is fluffy.
  • Add the eggs one at a time, beating on medium speed each time until combined, followed by the vanilla.  
  • Gently beat in in the yogurt (or sour cream) alternately with the flour mixture, on the lowest speed of your mixer, until a smooth batter is formed.  It will be slightly thick for cake batter.
  • Fold in the shredded zucchini and chocolate chips with a spatula until evenly distributed.  Scrape batter into the prepared pan and smooth it out evenly.
  • Bake for 50-55 minutes, until cake springs back when touched and a tester inserted in the center comes out clean or with a few moist crumbs attached.
  • Let cake cool in the pan on a wire rack for 10-15 minutes before running a butter knife or spatula along the outer and inner edges of the cake, and turning it out onto a plate to cool completely.
  • While cake is cooling, make the ganache: In a microwave-safe measuring cup or bowl, heat the heavy cream until lightly bubbling but not yet boiling, about 30-40 seconds in my microwave. You can also heat it on the stove.
  • While the cream is heating, place the chopped chocolate in a medium bowl. Pour the hot cream over the chocolate and let stand for about 30 seconds. Whisk the mixture until a smooth and glossy ganache forms. Pour over top of the cake while ganache is still warm; it will set as it cools.  Serve!


*For the shredded zucchini, you can grate it by hand, or I used the grating blade of my food processor.  I did not squeeze the moisture out of the zucchini; rather, I grated it before I started the cake, let it sit in a bowl during the 20 minutes or so I was making the batter, then poured off the liquid that had accumulated at the bottom of the bowl.  The zucchini provides the necessary moisture and texture in this cake so don’t squeeze too much moisture out of it!
Cake will keep, well-wrapped at room temperature for 2-3 days or in the refrigerator for up to 5 days.
Recipe adapted from King Arthur Flour.

Thank you to Imperfect Produce for sending me the zucchini I used in this recipe.  All other opinions are my own!  If you want to sign up for your own Imperfect Produce deliveries, you can get 40% off your first box with code “katiebirdbakes“!

Like this recipe?  Please rate it and leave a comment or tag me on Instagram @katiebirdbakes, and sign up for my email list to receive my recipes straight to your inbox every time I post!

Leave a Reply

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

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. 5 stars
    If I could give this recipe more than 5 stars, I would. It was my first time baking with zucchini, but the instructions made it very easy. It was really moist, chocolaty and delicious. Big crowd pleaser!
    Definitely baking it again.

  2. 5 stars
    Katie’s recipes work every time, and this was not the exception. The zucchini adds so much moisture to the cake and it tastes better than many chocolate cakes out there. I loved it, and had many people compliment me on it.

  3. 5 stars
    I immediately fell in love with this cake the first time I made it! It is such a perfect summer cake!!
    I just got some fresh garden zucchini, and I can’t wait to make it again!

  4. 5 stars
    I too made this cake today. I had a giant zuchini and didn’t know what to with it. I made it exactly as you did. It was exactly what I was looking for! Very good! Thank you! I will make this again soon and freeze it for later!

  5. 5 stars
    Made this today with zucchini from my garden and ended up making another because my family and I almost ate the first cake. Hubby was skeptical at first but said it was really good. Thanks for the easy recipe!