Super moist and indulgent chocolate zucchini cake is studded with chocolate chips and topped with chocolate fudge frosting. Made with 3 cups of shredded zucchini (you can’t taste it!), this is the most decadent way to eat your greens.
I originally published this recipe in 2017 and have since added new photos, a video tutorial, and additional success tips.

Today, we have a triple dose of chocolate in the form of luxuriously rich chocolate zucchini cake. No, you can’t taste the zucchini. No, you can’t see the zucchini. Yes, it’s unbelievably delicious and I’m showing you exactly how to make it! Zucchini recipes have never been more decadent than this one. ๐
Can you just look at how rich and moist this cake is? It tastes even better than it looks, I swear. The real secret behind it is the hidden vegetable inside. If you’re one who believes these veggies should only be in zucchini casserole, zucchini fritters, or zucchini biscuits and have nothing to do with dessert, keep an open mind. Carrot cake, anyone?!
Why You’ll Love This Chocolate Zucchini Cake
- Just as loved as my chocolate cake
- Super moist and rich with mega chocolate flavor
- Easy to make
- A delicious way to use up a bumper crop of summer zucchini
- 3 cups of vegetables hiding insideโand you don’t even taste it
- Covered in fudge-like chocolate buttercream
One reader, Stacie, commented: “Delicious chocolate cake! No evidence of three cups of zucchini in there! So good!!! โ โ โ โ โ “
One reader, Emily, commented: “This was amazing! Probably the best chocolate cake we’ve ever hadโso moist! And no one even guessed there was zucchini in it. โ โ โ โ โ “
One reader, Kara, commented: “This wasn’t just the best zucchini recipe I’ve ever tried, it was the best cake recipe as well! The zucchini here makes this moist and fudgy, almost like a brownie, but still fluffy like cake. I used cream cheese frosting and it was divine. I will be making this for birthdays in the future! โ โ โ โ โ “

Overview: Chocolate Zucchini Cake Ingredients
This decadent cake is made with fresh zucchini and pantry basics. Did you know that cocoa powder can dry out baked goods much more than flour? To compensate for this, we ensure there’s plenty of added moisture in the cake batter.
Let’s review a few key ingredients:
- Unsweetened Natural Cocoa Powder: Cocoa powder takes the place of some flour. Just as in my regular chocolate cake recipe, make sure you’re using natural unsweetened cocoa powder instead of Dutch-process cocoa powder.
- Espresso Powder: Espresso powder accentuates the chocolate flavor. While optional, I highly recommend using it. The chocolate zucchini cake won’t taste like coffee. Rather, the espresso powder helps bring out the intense chocolate flavor. We use it in chocolate zucchini bread and in this chocolate cake roll, too. You can find espresso powder in the coffee aisle at the grocery store or online.
- Oil: Oil adds moisture. You can try replacing *some* of the oil with unsweetened applesauce. I’ve done this with chocolate cakes and muffins and the result is wonderful, but I don’t recommend replacing all of it. Despite the zucchini inside, this isn’t health food, it’s dessert. Don’t try to make it into something it’s not!
- Eggs: 4 eggs bind everything together and add moisture. Remember that room-temperature ingredients are important.
- Sour Cream: Just like in chocolate peanut butter cake, you can use sour cream or plain yogurt. Either add moisture.
- Zucchini: Use a whopping 3 cups of shredded zucchini in this recipe. Testing how much we can get away with… without actually tasting it! Zucchini is pure magic in cakesโnothing but flavorless moisture. Same goes with my zucchini bread, apple zucchini bread, and zucchini muffins, too!
Optional Chocolate Chips: For mega chocolate flavor, add chocolate chips to the batter. They’re key to those melty pockets of chocolate in each slice. I use semi-sweet chocolate chips (just like in my peanut butter chocolate chip zucchini bread), but mini chocolate chips or even dark chocolate chips pair wonderfully, too.


Let Me Show You How to Make It:
This chocolate zucchini cake comes together quickly and easily, just like my regular zucchini cake. Simply whisk the dry ingredients in one bowl and beat the wet ingredients together in another bowl. Combine the wet and dry ingredients, then add the chocolate chips. The cake batter will be slightly thick thanks to all of the zucchini! Divide the batter between two 9-inch cake pans; or you can make a quarter sheet cake using a 9ร13-inch cake pan. See the recipe Notes section for details.
- Need cupcakes instead? This recipe yields about 24โ30 cupcakes. See recipe Notes.


Chocolate Frosting
We’re topping and filling this chocolate zucchini cake with smooth, silky, and creamy chocolate buttercream. You’ll use my favorite chocolate buttercream recipe, but increase the quantity as directed in the recipe card below.
How to Assemble a Layer Cake
If you’re new to assembling and layering cakes, or if you just need a refresher, see my How to Assemble a Layer Cake video tutorial. The quick video guide will walk you through how to stack and decorate it.
If you would rather top this cake with vanilla frosting, use the vanilla frosting included in my white cake recipe. Regardless of which you choose, you’ll have enough frosting to frost the entire layer cake AND a little leftover for some fun piping on top. Decorate however you’d like! I used Wilton 1M for the pictured piping:



Deep, dark, luxuriously rich, crazy moist, and weirdly loaded with vegetables that you absolutely can’t taste. After one bite you’ll be convinced this is the best way to eat your veggies! You’ll love my zucchini oatmeal chocolate chip cookies, too.
More Chocolate Recipes
- Chocolate Lava Cakes
- Flourless Chocolate Cake
- Chocolate Cake
- Chocolate Cupcakes
- Homemade Brownies
- Inside Out Chocolate Chip Cookies & Double Chocolate Chip Cookies

Chocolate Zucchini Cake
- Prep Time: 15 minutes
- Cook Time: 30 minutes
- Total Time: 3 hours, 30 minutes
- Yield: serves 10-12
- Category: Dessert
- Method: Baking
- Cuisine: American
Description
This super rich and moist chocolate zucchini cake is topped with the best chocolate frostingโyou won’t even taste the vegetables!
Ingredients
Cake
- 2 cups (250g) all-purpose flourย (spooned & leveled)
- 3/4 cup (62g) unsweetened natural cocoa powder
- 2 teaspoons baking soda
- 1/2 teaspoon baking powder
- 1 teaspoon espresso powder (optional)
- 1/2 teaspoon salt
- 1 cup (240ml) canola or vegetable oil
- 1 cup (200g) granulated sugar
- 3/4 cup (150g) packed light or dark brown sugar
- 4 large eggs, at room temperature
- 1/3 cup (80g) sour cream or plain yogurt, at room temperature
- 2 teaspoons pure vanilla extract
- 3 cups (about 360g) shredded zucchini (lightly blotted; see recipe Note) (2 medium zucchini, about .75โ1 lb.)
- 1 cup (180g) semi-sweet chocolate chips (regular or mini)
Chocolate Buttercream
- 1 and 1/4 cups (282g) unsalted butter, softened to room temperature
- 3 and 1/2 cups (420g) confectioners’ย sugar
- 3/4 cup (62g) unsweetened cocoa powder (natural or Dutch-process)
- 3โ5 Tablespoons (45โ75ml) heavy cream (or half-and-half or whole milk), at room temperature
- 1/4 teaspoon salt
- 1 teaspoon pure vanilla extract
- optional for decoration: chocolate chips and/or chocolate sprinkles
Instructions
- Preheat oven to 350ยฐF (177ยฐC). Grease two 9-inch round cake pans, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakes video & post.)
- Make the cake:ย Whisk the flour, cocoa powder, baking soda, baking powder, espresso powder (if using), and salt together in a large bowl. In another large bowl using a handheld or stand mixer fitted with a paddle attachment, beat the oil, granulated sugar, brown sugar, eggs, sour cream, and vanilla together until combined. Add the zucchini and mix to incorporate. Add the dry ingredients to the batter and beat on medium speed until completely combined. Fold in the chocolate chips. Batter will be slightly thick.
- Pour batter evenly into cake pans. Bake for around 28โ32 minutes or until the cakes are baked through. To test for doneness, lightly poke the top of the cake with your fingerโif it bounces back instead of leaving , the cake is done. Or you can insert a toothpick into the center of the cakeโif it comes out clean, it’s done.
- Set the cakes on a cooling rack and let cool in the pans for 1 hour. After 1 hour, remove the cakes from the pans, discard the parchment rounds, and let the cakes finish cooling directly on the rack. The cakes must be completely cool before frosting and assembling.
- Make the buttercream: With a handheld or stand mixer fitted with a paddle attachment, beat the butter on medium speed until creamy, about 2 minutes. Add confectionersโ sugar, cocoa powder, 3 Tablespoons of cream, salt, and vanilla. Beat on low speed for 30 seconds, then gradually increase to high speed and beat until it’s smooth and creamy. Do not over-whip. Add 1/4 cup more confectionersโ sugar or cocoa powder if frosting is too thin or 1โ2 more Tablespoons of cream if frosting is too thick. (I usually add 1 more.) Taste. Add another pinch of salt if desired.
- Assemble and frost:ย First, using a large serrated knife, slice a thin layer off the tops of the cakes to create a flat surface. Discard (or crumble over ice cream!). Place 1 cake layer on your cake stand, cake turntable, or serving plate. Evenly cover the top with a heaping cup of frosting. Top with 2nd cake layer and spread the remaining frosting all over the top and sides. Pipe any leftover frosting on top. (I used Wilton 1M tip.) Decorate with chocolate sprinkles or chocolate chips if desired. Slice and serve.
- Cover leftover cake and store at room temperature for up to 2 days or in the refrigerator for up to 5 days.
Notes
- Make Ahead Instructions: Prepare cakes and frosting 1 day in advance. Keep cakes at room temperature, covered tightly. Refrigerate prepared frosting in an airtight container, then bring to room temperature whenย ready to use.ย Frosted or unfrosted cakes may be frozen up to 2 months, thaw overnight in the refrigerator and bring to room temperature, if desired, before serving.
- Special Tools (affiliate links): Box Grater |ย Glass Mixing Bowls | Electric Mixer (Handheld or Stand) |ย 9-inch Round Cake Pan | Cake Turntable | Wilton 1M Piping Tipย | Piping Bag (Reusable or Disposable) | Cake Carrier (for storage)
- Blot the Zucchini: Give the shredded zucchini a very light blotting with a towel. Don’t squeeze too much moisture out, just a little blot before adding to the wet ingredients. I own and love this box graterโworks quickly!
- 9×13-inch Cake: Interested in making a sheet cake instead? This batter will fit into a 9×13-inch pan. The bake time is longโat least 45 minutes to ensure the thick cake is baked through. Same oven temperature.
- Non-Chocolate Zucchini Cake: Looking for zucchini cake without chocolate? Here is my regular zucchini cake topped with brown butter cream cheese frosting.
- Cupcakes: This recipe yields 24โ30 cupcakes. Bake for 18โ22 minutes or until a toothpick inserted in the center comes out *mostly* clean with no wet batter. Same oven temperature.
Instead of cake, try these as cupcakes! Directions in the recipe Notes above.




















Reader Comments and Reviews
Hello – has anyone tried this recipe as in a bundt pan? Any recommendations for attempting to do so?
Hi Sheila, Weโre unsure of the exact bake time for a Bundt cake, but it will take well over the time needed for the cake layers. Keep a close eye on it and use a toothpick to test for doneness. Hope itโs a hit!
Hi, just made this cake yesterday, absolutely delicious , used cake and pastry flour instead of all purpose flour and made it in a 9×13 pan tried for 45 min but had to use a few more minutes to bake center, believe this will be my go to recipe for chocolate zucchini cake from now on.
Hi there! Can I substitute coconut milk for heavy cream for the butter cream?
Hi Teresa, we haven’t tried that, but it should work in a pinch!
I have made this several times recently to try and get through my glut of courgettes. I have done it both as a round cake and as a tray bake, both are absolutely GORGEOUS. It has been labelled the best chocolate cake ever by everyone in my family. Incredibly rich and naughty but so worth it!!
Hello, can I safely use loose base tins for this recipe? Thank you!
Hi Helga, we haven’t tested it ourselves and the cake batter may leak – have you had success using those cake tins with other cake recipes before?
This is an amazing recipe. I subbed in Skor chips for the chocolate, otherwise everything the same…except I cooked in a Bundt pan. So good!
Can I replace the regular cocoa with Dutch processed cocoa?
Hi AJ! Natural cocoa powder really is best here. Using Dutch process would require some tweaking of the leavening, but we havenโt tested anything ourselves. Let us know if you decide to do any experimenting!
Baked in 9 x 13 pan. Cake fell. Has nothing to do with your recipe, which was delicious paired with your chocolate cream cheese frosting. Believe it was due to my oven. Cake was done at 35 minutes – according to finger and toothpick tests. Any idea what went wrong? Happens with other cakes as well.
Hi Linda, When cakes sink, itโs often because they are underbaked a bit. How was the center of the cake when you cut it? When we bake this cake in a 9×13 inch pan it takes at least 45 minutes to ensure the thick cake is baked through. Even a few extra minutes in the oven should help for next time.
I just finished using this recipe for cupcakes. It is PERFECT!! They came out moist, tender and raised beautifully. I usually stick to a few web pages for my baking recipes and Sallysbakingaddiction is one of them. Her recipes are always wonderful. This batter yielded 18 regular and 24 mini cupcakes. Baked regular for 17 minutes and minis for 15 minutes. I stuck them in the freezer and going to top with marscapone frosting Saturday. I can’t wait!!
Sorry! Should have read the comments before asking. Question answered! Canโt wait to try this recipe