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.

This recipe looks amazing and I can’t wait to try it. I’m wondering if a cream cheese frosting would work with this recipe. Thoughts?
Hi Lisa, Yes a tangy cream cheese frosting would be delicious with this chocolatey cake!
Can I use an egg replacement? All of my kids are allergic to egg, soy, peanut & apple. TIA!
Hi Kara, The 4 eggs bind everything together and add moisture. We haven’t tested this recipe with any egg substitutes but let us know if you try anything!
This is one of the most delicious cakes that I have have ever eaten!
I am blown away, and the fact that there is zucchini in it ( which you cannot tell is there)is just a bonus… you get to feel like there’s something healthy in there!
I’m going to throw away all my other Chocolate Cake recipes and this is THE only one I will make from now on!
Thank you Sally!!!
★★★★★
This was a huge hit with my family and guests! Thanks so much for the recipe.
★★★★★
This recipe looks wonderful. I am wondering if anyone tried it in a loaf pan? I’m wondering what the cooking time would be?
Hi Erin! This would work well divided between two loaf pans. Fill them half way, and use any leftover batter for a few cupcakes. We’re unsure of the exact bake time.
Hi sally! i looove this recepy, but always have doubts with the coffee. Do you use instant coffee or regular espresso coffee?? The one you use to brew coffee in an espresso machine? (Sorry if it sounds like a silly question! Where I live instant espresso coffee doesn’t exists)
★★★★★
Hi Patricia! We use espresso powder (sold as such near the coffee in grocery stores), not actual liquid coffee or espresso. You can omit it if needed!
I love this recipe! I also love dark chocolate and was wondering if I could substitute that in this recipe? Thanks!
Hi Heidi! You can definitely use dark chocolate chips this recipe. Enjoy!
Would this recipe work well as the base for a black forest cake?
Hi Jess, we can’t see why not. Let us know what you try!
I tested this recipe for an upcoming baby shower, made them into cupcakes and my family couldn’t gobble them up fast enough. Managed to save a couple to see how fresh they would be days later and they were still moist and fresh. Even made a batch of them with GF flour (3 kids are coeliacs) and I couldn’t taste the difference. Fantastic recipe. I’ve been informed I now I have to make more for my grandson’s birthday…well off to the kitchen I go…
What GF flour did you use? I came on here to read comments and see if anyone had tried GF yet!
Patti, I use different ones – depends on what’s available when I need it. At the moment I’m using Woolworths ‘free from gluten’ plain flour and have had decent results. I’m very picky with the flours as I want my kid’s food to taste as good as normal baked goods. I’m in Australia. Not sure what’s available worldwide – it can be a bit a ‘trial and error’ until you find one that works well.
Delicious, dark and moist chocolate cake that the secret ingredient remains a secret! I made the cake exactly as the recipe called for and the only thing that I had to modify was the baking time. I needed to bake my two 9 inch round cakes for 47 minutes before they tested done. This is a great recipe and we will use it as a go to during zucchini season!
★★★★★
I love the cake, I used 3 – 8 inch pans and baked until tooth pick out clean. Next time I will but parchment on pan bottoms and blot zucchini more. I will make again, and spiked your Chocolate buttercream frosting with some dark rum. Cake was awesome, will make again
★★★★★
Can you do this with fewer zucchini without sacrificing quality of the batter? Or replace with a different vegetable?
Shredded apple or carrot works too!
I am planning on making this cake within the next week and am wondering about how many zucchinis to buy. Thanks so much!!
Hi Kate! You should need about 3 medium zucchinis. Hope you love this cake!
Can you bake cake in 3 8-inch layers instead of 2? I like the look of a taller cake, it’s for Father’s Day.
Hi Carmen! We don’t see why not. Bake time will be shorter with thinner layers, so keep an eye on them in the oven. We hope this cake is a hit for Father’s Day!
This cake is excellent and so easy to make. I add fresh raspberries in the centre and on top.
★★★★★
Can you replace the yogurt/sourcream with apple sauce?
Hi Brielle, We haven’t tested that substitution. It may result in a less soft cake, but let us know if you try it!
Hi Sally, I made this cake and everyone loved it. Was my first time and came out very good, very moist and most of all wasn’t that sweet, so my husband is diabetic and he enjoy it.
★★★★★
I’ve made this cake several times and it’s always a huge hit! It’s ridiculously moist and super delicious.
★★★★★
My 14 year old daughter made this for my birthday cake using both Hershey’s Special Dark and unsweetened cocoa powder. It was AMAZING! Thanks for the recipe.
★★★★★
Would this cake still turn out if I only had 1 cup of shredded zucchini?
Hi Tara! We suggest sticking with the full amount of zucchini, otherwise it will be too dry. You may love this chocolate cake without zucchini as well!
Thanks for sharing your recipe it’s the best zucchini cake ever! Where ça I find the chocolate frosting recipe I see the video but not the recipe?
★★★★★
Hi Colette, it’s linked at the bottom of the recipe ingredients. Use the frosting from this Triple Chocolate Cake recipe. Hope you love this cake!
Delicious and so moist!! Yum!
★★★★★
I love this cake but I can’t quite give it 5 stars as I made a couple of modifications. I used milk chocolate morsels (because that’s what my husband bought, smh) so I decided to cut down the white sugar by 1/2 cup. I also substituted avocado mayo for sour cream because we didn’t have any. Instead of baking 2 cakes, I made a 9×9 and 12 cupcakes. I think maybe the mayo or the difference in baking proportions may have affected the baking time. I ended up baking the cake for close to 40 min (cupcakes were done by 20). Frosting the cake was difficult as it was so moist and soft even after refrigerating overnight. I didn’t mind too much though as we love frosting.
Just one question, how do you keep the chocolate morsels from sinking to the bottom? When I was scooping out the batter into the cupcake pan, I found much of the morsels left at the bottom of the bowl. And when I popped my cake out of the pan, the morsels at the bottom were actually left sticking to the pan. The cake was left looking like swiss cheese on one side. There were still morsels left in the cake but not a lot.
★★★★
Thank You!! It turned out Awesome
★★★★★
My husband and I agree that this is the best chocolate cake we’ve ever eaten, zucchini or no zucchini. I’ve made it twice and savored every bite! Fantastic!
★★★★★
Could it be baked in a glass 9×13? Would the time and temperature need to change?
Yes it can, Rachel! See the recipe notes for directions.
About to make this today for a disbelieving partner. Most happy to see UK grams listed in the instructions already. Thank you.
This is a fabulous recipe! Not too sweet, lusciously chocolatey, and moist! I was wondering if you offer nutrition information for your recipes?
★★★★★
I just won best dessert at a Zucchini Festival with this recipe. It was a big hit! I added some chopped pecans to the batter and a teaspoon of instant coffee to the frosting. So good!
★★★★★
I don’t know what I did, this did not turn out at all. Doesn’t taste very chocolatey, but the texture is good.
★★