Super moist and indulgent chocolate zucchini cake is studded with chocolate chips and topped with chocolate fudge frosting. Made with three cups of shredded zucchini (you can’t taste it!), this is the most decadent way to eat your greens.

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 🙂
Chocolate Zucchini Cake Video Tutorial
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 are the hidden vegetables inside. If you’re one who believes these veggies should only be in zucchini casserole or zucchini fritters, 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
- Uses up summer zucchini
- 3 cups of vegetables hiding inside—you don’t even taste it!
- Covered in chocolate buttercream
Overview: Chocolate Zucchini Cake Ingredients
This decadent cake is made with fresh summer 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:
- Flour: Sturdy all-purpose flour is the base of this cake recipe. Do not use cake flour—when combined with ultra-light cocoa powder, cake flour is too fine.
- 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. If you’re interested, see dutch-process vs natural cocoa powder for an in-depth explanation.
- Baking Soda & Baking Powder: Remember my lesson on baking soda vs baking powder? We use both here for lift.
- 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 also.
- Salt: Salt balances the flavor.
- 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. Regardless of the zucchini inside, this isn’t health food, it’s dessert. Don’t make it something it’s not! 🙂
- Sugar: We’ll use a combination of brown sugar and white granulated sugar. Brown sugar not only provides moisture, but flavor as well.
- Eggs: 4 eggs bind everything together and add moisture. Remember 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.
- Vanilla Extract: Pure vanilla extract adds flavor.
- Zucchini: There are 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 and zucchini muffins, too!
- 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, but mini chocolate chips or even dark chocolate chips would pair wonderfully. Whichever kind of chocolate chips you enjoy in your chocolate chip cookies, you’ll enjoy here, too.



Overview: How to Make Chocolate Zucchini Cake
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 my recipe notes for details.
- Need cupcakes instead? This recipe yields about 24-30 cupcakes. See recipe note. Just as decadent and delicious as my regular chocolate cupcakes!

Chocolate Frosting
We’re topping and filling this chocolate zucchini cake with smooth, silky, and creamy chocolate buttercream. We’re using my favorite chocolate buttercream recipe, but increasing the quantity. We do this for my regular chocolate cake, too. 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 Ateco #30 tip for the 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 milk chocolate fudge frosting- you won’t even taste the vegetables!
Ingredients
- 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 3/4–1 lb.)
- 1 cup (180g) semi-sweet chocolate chips
- chocolate frosting or vanilla frosting
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 or whisk attachment, beat the oil, granulated sugar, brown sugar, eggs, sour cream, vanilla, and zucchini together until combined. Pour into dry ingredients and beat on medium speed until completely combined. Beat in the chocolate chips. Batter will be slightly thick.
- Pour batter evenly into cake pans. Bake for around 25-32 minutes or until the cakes are baked through. To test for doneness, insert a toothpick into the center of the cake. If it comes out clean, it is done. Allow cakes to cool completely in the pans set on a wire rack. The cakes must be completely cool before frosting and assembling.
- 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 frosting. Top with 2nd layer and spread the remaining frosting all over the top and sides. Pipe any leftover frosting on top. (I used Ateco #30 tip.) Decorate with chocolate sprinkles or mini chocolate chips if desired. Slice and serve.
- Cover any leftover cake and store at room temperature for 2-3 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 | #30 Ateco Closed Star Tip | Piping Bag (Reusable or Disposable) |
- 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 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.
- 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.
Keywords: chocolate zucchini cake
Also try these as cupcakes! Directions in the recipe notes.

Sally, Sally, Sally! I have yet to bake ANYTHING from your website that wasn’t delicious. This chocolate zucchini cake is no exception. It is extremely moist and if I hadn’t baked it myself, I’d have never know it contained zucchini. I opted for a 9×12 single layer cake and it turned out perfect. Thanks for being my go-to website for delicious recipes. I love baking and knowing I can count on your recipes to be so scrumptious makes it even more fun! I’m on to your cherry pie next… love those summer fruits and veggies!
Made your chocolate zucchini cake yesterday for a friend’s birthday and frosted it with Hersheys dark chocolate frosting because that what I had ingredients on hand to make. I saw the comment above about using ganache and I would like to try that as well, or peanut butter frosting and ganache… what the heck! I used a 13×9 inch pan and it took fully 60 mins. to bake. So thick and dense and moist and chocolatey!!! YUMMO! Thank you so much and I WILL be making this again and again!
I’m glad you enjoyed it, Debbie! It would be outrageous with peanut butter frosting and ganache!
I have a terribly difficult question for you… How is it that I am supposed to get this batter into a cake pan before I EAT IT ALL!!!! Oh my gosh… I need help!!. my only switch was to use coconut oil rather than vegetable oil… it is one of my favourite things to use for chocolate cake. Now my further quandary is whether to go with the Chocolate buttercream, Chocolate ganache, or your Peanut butter icing recipe! Decisions!
Hello Sally. I want to thank you for this absolutely amazing cake. My family has found what decadent really means. This was a big time hit at our Christmas Eve gathering with so many wonderful comments. And there is still more left for us to eat today. Yeah.
Just made this cake over the weekend and it was gorgeous. I would like to experiment with different frostings as the sponge is perfect so I would like variations. It is the perfect recipe whether you make it as bread, muffins, cupcakes or cake so it’s now a favourite of mine and my husbands. Thanks Sally!
Dear Sally, Your blog is amazing. I love your photography and your recipe are all wonderful. I did your Chocolate zucchini cake for a dinner party and it was a super hit with everybody. It is a very nice feeling when people tell you things like this reminds me of my mother when she decorated cakes when I was little. Thanks for your very informative text and gorgeous recipe. All the best from Sweden
Hello Sally! I love your site and got your baking addiction book for my birthday and cannot get enough!! I am going to try this recipe for a birthday, and I was wondering what is the frosting you used on this cake ? I saw you had a link to the chocolate fudge frosting but when I clicked it brought me to the Milk chocolate frosting …. is that the same ? Thanks a lot !!
Hi Sally!
So I made this cake last week (frosting & all) for my sister’s birthday & just had to let you know how incredible it was. So so so so so goooooood!!! The espresso powder is EVERYTHING! It was super moist fluffy cake & such amazing chocolate flavor without being super sweet. I even got yelled at by my brother in law for (& I quote) “making such delicious cake”. 🙂
Thank You!!
Just made this cake with the chocolate frosting. I made it exactly as shown but did not add the espresso. It is absolutely amazing and super moist.
I’ve tried a lot of zucchini chocolate cakes over the years, but this one is my favourite by far…just awesome! I made it in a 9×13 pan, and the only change I made was to use 1/2 cup milk choc chips and 1/2 cup semi.
Hey Sally. Made your Chocolate Courgette Cake yesterday and it was amazing! Probably the best chocolate cake I’ve ever tasted. Thank you so much. I love your recipes & website. Lots of love from the UK. x
So this cake is amazing! All I had was Hershey’s dark cocoa powder so I used that in the cake and frosting and it was amazing. So moist and rich. Thank you for the recipe! This is the exact kind of texture and moistness I want in my chocolate cake and sometimes a homemade chocolate cake doesn’t always result in it… at least for me. But this one does not disappoint!
Hi….I want to make the Chocolate Zucchini Cake & I want to use espresso powder…. I have looked in the grocery stores in the coffee area but I don’t see it.
What kind of a container does it come in?
Also you suggest chocolate fudge frosting or vanilla frosting…so I clicked on it and it brought me to a page that had Milk chocolate frosting….where do I find the chocolate fudge frosting recipe?
Please reply. Thanks.
Hi Patricia, The espresso powder usually comes in a can or jar and in my local stores is on the shelf next to the instant coffees. The chocolate fudge frosting IS the milk chocolate frosting – they are one in the same! 🙂
Hi! I want to bake a chocolate cake this weekend, but can’t decide between this chocolate zucchini recipe or your triple chocolate layer cake recipe. Could you tell me how the results of each one will differ in terms of taste/texture etc? Thanks!
They are both rich and moist and you can’t go wrong either way!! The chocolate zucchini cake has chocolate chips inside the batter so if you want more texture try this one.
Can i subtitute natural cocoa with dutch cocoa and remove the baking soda and replace them with twice amount baking powder?
I don’t suggest it.
We have an overload of zucchini in our garden this year and it just so happened to be my dad’s birthday yesterday. He’s a huge chocolate fan so it only seemed right to make a chocolate zucchini cake with chocolate icing. And boy! Are we ever glad we chose your recipe! It was a huge success in our family and everyone went crazy for the moist chocolate cake… Let’s just say there is no more cake left today. Next up, we’re going to try your double chocolate zucchini bread.
Thanks for the wonderful recipe! It’s a keeper for sure 🙂
I just baked this cake for my 25th Wedding Anniversary, tomorrow. Is it absolutely necessary to let the layers cool completely in the pans? This is a first for me. Thanks!
Yep, otherwise they may stick.
I am now making another batch. Second one in 2 weeks. Really great cake! Everyone I have a piece to loved it!
Sally, I made this cake and oh my gosh it is amazing. I froze part of it with icing on it and it did great. I took it to my Sissy and first bite her eyes rolled back in her head. Her son is getting married next year and she told me THIS IS IT! We are on the search for cakes to make for the rehearsal dinner and she wants me to make them for her. She said This is the one for the Grooms Cake! If her son falls for it the way she did. But she has to stay out of the rest of it for him to try it. haha. I have a feeling I will be making at least one or two more of your cakes for the rest of the dinner but we are still in the deciding fase. You have made me such a Hero! I have found the extra ingredient in everything is The Love! Or least she says so. Oh i made your double choc zucchini bread and regular zucchini bread in one day (double batches) also. Oh my goodness they are so amazing. She says the double choc. is Nervana! They freeze well so that makes it even better. Thanks! I didnt use coffee in mine as we hate coffee and it was still great.
Can you use instant coffee powder instead of espresso powder like in the double chocolate zucchini bread? It called for 2x as much instant coffee powder as espresso powder in the bread, and I was curious if it would be the same ratio in the cake??
PS: I have made 4 batches of double chocolate zucchini bread and 4 batches of your award winning zucchini bread, and we can’t stay out of them! I had to stick half of the loaves in the freezer to keep us from eating them
Sure can! I’d use 1 and 1/2 teaspoons (or up to 2 tsp) instant coffee in this cake.
Good god this is a good cake. It is probably the moistest chocolate cake I’ve ever tasted. The only thing I found is a lot of the chocolate chips sunk to the bottom of the pan, and when the cakes were turned out, they stuck in the pan. I used your chocolate fudge frosting recipe, delicious. Now I can’t stop eating it!
Hi Sally!
My, what a delicious cake recipe!! I did change the pan it baked in and instead baked it in a bundt pan while increasing the time by almost triple at 350 in the oven. It came out amazing and talk about ooey gooey! I would related this cake more so to a brownie’s sibling because of how moist and tight crumbed it is. Thank you so much!!
I made this the other day for my husband’s birthday. He requested a chocolate cake with chocolate frosting and I thought this would be perfect. The zucchini definitely makes us feel less guilty about eating it. 🙂 The cake is moist and beyond delicious! Thanks for yet another great recipe!
Great recipe. Made it for a friend’s birthday this weekend and was really pleased with it. Probably one of the most chocolately chocolate cakes I have made.
I made it with a chocolate cream cheese icing instead but used the cake recipe exactly as written for a 9 x 13 pan since my layer cake skills are non-existent. The cake was amazing! Loved the chocolate chips for a little surprise. So glad you included the option for a 9 x 13 pan because I would have missed trying this otherwise. Thanks!
People, you need to bake this cake. YOU NEED TO BAKE THIS CAKE!! I brought it to a dinner last night and at first just called it a chocolate cake. I received glowing reviews like “This is the best chocolate cake I’ve ever had”, “You should enter it at the state fair”, “What a unique chocolate cake!” One lady told me literally four times how good it was. And then I dropped the bombshell that it had zucchini in it. People were just blown away at how rich and yummy it was. Sally, you outdid yourself on this one! By the way, I made the milk chocolate frosting with half butter and half shortening, and it was just right.
Made this yesterday as a 9×13 cake with your chocolate frosting you suggested. Phenomenal! I had to use avocado oil because I was out of canola and mini chips for the chocolate chips. This is an insanely good recipe, even using the avocado oil which probably alters the taste slightly. And the chocolate frosting is amazing. I always make your vanilla one so I can’t believe I’ve never tried this one. Thanks for a great recipe.
Sally I made this yesterday and it is the most decadent cake I have made so far! Absolutely fabulous. So soft that I could turn a huge piece in a ball and pop it into my mouth. Lush!! I used a frosting made of dark and white chocolate and some creamy peanut butter and that took this cake to another level. Thanks for this recipe!
Hi Sally! I have a question I hope you can answer. I have several one cup bags of pureed zucchini in my freezer and would like to make your Greek yogurt zucchini bread. Your recipe calls for shredded zucchini and I’m wondering if I can substitute my pureed zucchini? I’m thinking the moisture may be an issue.
Hi Janey– that would be way too much moisture for the bread. Shredded it best. Thank you!