Chocolate Zucchini Cake

By Maria Lichty

View RecipePin Recipe4.7488
This post may contain affiliate links. Read my disclosure policy.

Quick Summary

This moist Chocolate Zucchini Cake with chocolate frosting is easy to make and a family favorite dessert! You will never know there is zucchini in this chocolate cake because it is SO good!

chocolate zucchini cake with chocolate frosting cut into squares.

Pin this now to find it later

Pin It

I LOVE baking with zucchini, especially during the summertime when I have lots of garden zucchini to use up. A few of my favorite zucchini recipes are my Chocolate Zucchini Bread, Zucchini Brownies, Oatmeal Zucchini Cookies, and Lemon Zucchini Bread.

Whenever I am craving a decadent dessert I love making my Chocolate Zucchini Cake. You might be thinking zucchini doesn’t belong in chocolate cake, but I am here to tell you it definitely does.

The zucchini makes the chocolate cake SUPER moist and I promise you won’t even know it’s in there. It is the secret ingredient.

I make the cake in a 9×13-inch pan so decorating is easy and so it will feed a lot of people. The ingredients are basic, you should have all of them on hand.

I top the cake with a luxurious chocolate frosting that takes the cake to a whole new level. The silky, smooth, rich chocolate frosting really is the icing on the cake!

Chocolate lovers will go crazy for this moist, decadent chocolate cake! If you love my classic chocolate cake and easy chocolate cake, I know you will love this one too! It’s the perfect summer dessert and a great recipe for using up all of the garden zucchini.

ingredients in bowls to make chocolate zucchini cake.

Cake Ingredients

  • Flour– use all-purpose flour.
  • Unsweetened cocoa powder– sift before using to avoid any clumps.
  • Baking soda– to give the cake a nice lift.
  • Salt– to enhance all of the flavors.
  • Brown sugar– to sweeten the cake.
  • Oil– you can use vegetable oil, canola oil, or avocado oil.
  • Melted butter– cool to room temperature. I like using a mix of oil and butter. The oil keeps the cake moist and the butter adds great flavor.
  • Buttermilk– at room temperature!
  • Eggs– use large eggs for baking.
  • Vanilla extract– use pure vanilla extract, the good stuff!
  • Zucchini– use a box grater or food processor to shred the zucchini. I never peel it.
  • Chocolate chips– to stir into the cake batter. Bring on the chocolate!
ingredients in bowl to make chocolate frosting.

Chocolate Frosting Ingredients

  • Butter– at room temperature.
  • Confectioner’s sugar– also called powdered sugar.
  • Unsweetened cocoa powder– You can sift the confectioner’s sugar and cocoa together to guarantee a super smooth frosting.
  • Milk– to thin out the frosting. Heavy cream will also work.
  • Vanilla extract– a splash!
  • Salt– just a pinch!
flour, baking soda, salt, and cocoa powder being whisked together in mixing bowl.

How to Make Chocolate Zucchini Cake

  • Preheat oven to 350 degrees F. Grease a 9×13-inch pan with nonstick cooking spray and set aside.
  • In a medium bowl, combine the flour, sifted cocoa powder, baking soda, and salt. Whisk together and set aside.
liquid ingredients being whisked together in mixing bowl.
  • In a large bowl, combine the brown sugar, oil, melted butter, buttermilk, eggs, and vanilla extract. Whisk until combined.
chocolate zucchini cake batter in mixing bowl with wooden spoon.
  • Stir in the dry ingredients until barley combined, it is ok if there is still some flour not mixed in.
chocolate zucchini cake batter in mixing bowl with spatula.
  • Gently squeeze out some of the moisture in the zucchini. You want the zucchini to still have some moisture, but not full of liquid. Add the zucchini and chocolate chips and stir until just combined. Don’t over mix.
chocolate zucchini cake batter being spread in pan.
  • Pour the cake batter in the prepared pan and smooth with a spatula. Bake for 25 to 32 minutes or until a toothpick comes out clean when inserted into the center or the cake.
chocolate zucchini cake cooling in pan.
  • Let the cake cool completely.
chocolate frosting in bowl with spreader.
  • While the cake is cooling, make the chocolate frosting. In the bowl of a stand mixer or with a hand mixer, beat the butter until smooth, about 1 minute. In a large bowl, sift together the confectioner’s sugar and the cocoa powder. Add the mixture to the butter and beat, slowly adding in the milk. Add the vanilla extract and salt. Stop and scrape down the sides. Beat until frosting is smooth and fluffy.
chocolate frosting being spread on top of chocolate zucchini cake.
  • Frost the cooled chocolate zucchini cake with chocolate frosting.
  • Cut the cake into squares and serve.

Recipe Tips

  • You need 2 cups grated zucchini for this recipe, about 1 very large zucchini or 2 medium.
  • You don’t need to peel the zucchini before shredding it. I use a box grater with a medium grate.
  • If your zucchini is full of moisture, squeeze it out a little bit, but don’t squeeze it dry. Large garden zucchini tends to have more moisture and smaller store bought zucchini. You don’t want to get rid of all of the moisture or you will have a dry cake. Just give it a gently squeeze before adding it to the cake.
  • I use all brown sugar in this zucchini cake recipe because it keeps the cake super moist and adds nice flavor.
  • The cake is made with oil and butter. The oil keeps the cake super moist and the butter adds great flavor.
  • Make sure your buttermilk and eggs are at room temperature. Melt the butter and let it cool down a little before adding it to the other liquid ingredients.
  • Don’t over mix the cake. Once you add in the zucchini and chocolate chips, stir just until combined.
  • I bake this cake in a metal 9×13-inch pan. If you want to make a layered cake, you can pour the batter into two round cake pans.
  • Make sure the cake is cooled completely before frosting it with the chocolate frosting.
chocolate cake with chocolate frosting with knife on board.

How to Store

  • The cake will keep on the counter, covered, for up to 3 days. I actually think it is better the second day. If you want to store it for a little longer, you can store it covered in the refrigerator for up to 5 days. Bring to room temperature before serving. I also think it is good cold:)
  • You can make the cake in advance and freeze the cake. Let it cool completely. Carefully wrap the cake in plastic wrap and foil. Place in the freezer and freeze for up to 3 months. Thaw and frost with chocolate buttercream.

More Zucchini Recipes

You can find more zucchini recipes here!

piece of chocolate zucchini cake on plate with fork.

More Chocolate Cake Recipes

Email Yourself This Recipe
Just enter your email and get it sent to your inbox! Plus, you’ll get NEW recipes from us every week!

Chocolate Zucchini Cake

You will love this easy Chocolate Zucchini Cake! It is so moist and delicious and a great way to use up garden zucchini!
4.74 from 45 votes

Ingredients
  

For the chocolate zucchini cake:

For the chocolate frosting:

Instructions
 

  • Preheat oven to 350 degrees F. Grease a 9×13-inch pan with nonstick cooking spray and set aside.
  • In a medium bowl, combine the flour, sifted cocoa powder, baking soda, and salt. Whisk together and set aside.
  • In a large bowl, combine the brown sugar, oil, melted butter, buttermilk, eggs, and vanilla extract. Whisk until combined.
  • Stir in the dry ingredients until barley combined, it is ok if there is still some flour not mixed in. Gently squeeze out some of the moisture in the zucchini. You want the zucchini to still have some moisture, but not full of liquid. Add the zucchini and chocolate chips and stir until just combined. Don’t over mix.
  • Pour the cake batter in the prepared pan and smooth with a spatula. Bake for 25-32 minutes or until a toothpick comes out clean when inserted into the center or the cake.
  • Let the cake cool completely. While the cake is cooling, make the chocolate frosting. In the bowl of a stand mixer or with a hand mixer, beat the butter until smooth, about 1 minute. In a large bowl, sift together the confectioner’s sugar and the cocoa powder. Add the mixture to the butter and beat, slowly adding in the milk. Add the vanilla extract and salt. Stop and scrape down the sides. Beat until frosting is smooth and fluffy.
  • Frost the cooled chocolate zucchini cake with chocolate frosting. Cut the cake into squares and serve.

Video

Notes

Cover the cake and store on the counter for up to 3 days.

Nutrition

Calories: 485kcal, Carbohydrates: 68g, Protein: 5g, Fat: 23g, Saturated Fat: 16g, Cholesterol: 56mg, Sodium: 270mg, Potassium: 244mg, Fiber: 3g, Sugar: 50g, Vitamin A: 380IU, Vitamin C: 2.8mg, Calcium: 64mg, Iron: 2.5mg
Keywords chocolate, chocolate cake, zucchini

Have you tried this recipe?

Leave a comment below and share a photo on Instagram. Tag @twopeasandpod and hashtag it with #twopeasandtheirpod

Get the best of the best!
4 Recipes Guaranteed to be New Favorites

Maria

I'm Maria and my husband is Josh. We share a love of cooking, baking, and entertaining. We enjoy creating recipes that are simple, fresh, and family friendly. We love sitting around the table with good food, good conversation, and good friends and family! Our kitchen is always open!
Read More

Vegetarian Summer Fall Spring Winter

4.74 from 45 votes (20 ratings without comment)

Leave a Reply

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

Recipe Rating





Comments

Leave a comment

  1. 5 stars
    Made this yesterday …. delish in everyway!!!
    Easy bread to make and so yummy!
    Will make it again… and again!
    Thanks

  2. can’t use up my zucchini easily, so thank you for this recipe, cocoa powder, chocolate chips, chocolate frosting also masks the zucchini nicely for any (kids) who might object!

  3. Made this last night and it was SO GOOD! The texture and flavor is perfect (and that frosting!) I will definitely be making again. Fair warning though, it is very rich 🙂

  4. You want the zucchini to still have some moisture, but not full of liquid. Add the zucchini and chocolate chips and stir until just combined.

  5. 5 stars
    wow… its look delicious. step by step explanation is great. Thanks for sharing me great recipe.

  6. I have tried chocolate and zucchini before with no luck. I LOVE the addition of chocolate chips! It really adds richness to the cake. I topped mine with simple powdered sugar. It was delicious!

  7. 4 stars
    I’m not one to leave a comment or stay with a particular site, but I am so enjoying both the recipes and the site! Cudos to you!

    1. YEs, you can make any cake batter into muffins ( or cupcakes), just reduce the baking time. They will probably take about 20 minutes for large ones.

  8. 5 stars
    I made this using almond flour (I’m gluten free) – it was simply perfect. 
    Very rich but yummy 

  9. 5 stars
    I haven’t made a chocolate zucchini cake in a long time. I made this one just now and it was a great success with my kids! We all loved it. I’ll be making this recipe again soon.

  10. Will the consistency work without the cocoa powder & chocolate chips? I want to do this as cupcakes for my daughter’s birthday party but I’d like to do half plain, half chocolate, without using two completely different recipies. What do you think?

  11. 5 stars
    Damn good cake… It’s rare that I make cakes with sugar, oil, white flour, etc. but no regrets for this delicious one! Changes that did work: used 1 cup sugar, 1/2 cup cocoa, replaced half oil with apple pure, skipped buttermilk.
    I had to bake cake for 45min and then let it cool in an open owen.
    Ps. Mixed butter with Philadelphia, cocoa p. and peanut butter (also used powdered brow sugar) and turned out fabulous 😉
    Thanks a lot for inspiring!

  12. 5 stars
    I didn’t make the cake only because I googled and made different recipe before I saw this one. However, I did make the frosting which was delicious! Probably the best chocolate frosting I have ever made. Thanks for the recipe. I will be keeping this and will try your cake recipe next time as well.

  13. 5 stars
    Super late on commenting, but better late than never!  Made this into a layer cake this summer and got rave reviews and multiple requests for the recipe.  I subbed buttermilk for the milk in the frosting and the slight tartness was incredible!  It’s my go-to chocolate frosting now.   That’s actually what brought me back to this—using the frosting on cupcakes for my son’s birthday this weekend!

  14. 5 stars
    Yummy mouth watering recipe.I’m definitely going to try it at home. Please post more recipe like this. Thanks for this wonderful recipe.

  15. 5 stars
    I’ve made this recipe about 6 times and I JUST realized I never put butter in them but they are sooooo good and perfect anyway! I’m probably addicted to these…

  16. Hi twopeasandtheirpod,

    I am thinkinh if I can half the rceipe and either bake it in one 9×5 loaf pan or 2 x 6inch rounds baking tins?
    What would be the suggested timing and temperature.

    I am excitedly waiting your reply.

    Thanks so much.
    Jacqui

  17. 5 stars
    Really good cake, thank you for the recipe. I didn’t have chocolate chips so I used coarsely grated/ chopped white chocolate instead and it turned out delicious. Very good frosting too; I don’t like frosting that’s overly sweet but this one’s a keeper! I used kefir instead of milk to give it that slight bit of extra tartness.

  18. 5 stars
    I made this cake. I watched myself put the zucchini in the cake batter. Then I tried it and I’m fairly certain some mystical power inside my oven removed the zucchini and left me with the most rich, moist, chocolatey cake ever. The zucchini is completely undetectable.

  19. I’m wondering if I did something wrong coz I made this step by step and it very very crumbly and very bitter however the frosting is deliciousssss

  20. Going to try this tomorrow! I looked at several recipes and since yours has a full cup of cocoa it’s sure be just what I want; dark, rich and moist with intense chocolate flavor! Mine will go into a bundt pan 🙂

  21. 5 stars
    Made this yesterday. It is absolutely excellent! You would never even guess it had zucchini in it. 5 stars all the way!

  22. Hi, I loved your recipe. I am vegetarian.
    Egg substitute in the recipe. Pls revert.
    Can I make this glutenfree. So what changes in that ..round pan 8×8 will do.
    Thanks

  23. I made this cake a couple weeks ago it was such a great hit I had to make another one for my father’s 93 birthday party he loves chocolate and this chocolate zucchini cake recipe is the best I’ve tried several none can come close and the frosting really makes it delicious mmm

  24. 5 stars
    Absolutely delicious. Just made it tonight. The cake is light and moist and you would never guess it had zucchini in it. Best zucchini cake recipe I have ever made. Excellent directions.

  25. I have made this awesome cake twice in the last few weeks, it was perfect both times!!!
    It is wonderful to have another recipe for the “ever giving” zucchini plants 🙂

  26. IF I DO NOT HAVE BUTTERMILK WILL REGULAR WHOLE MILK WORK ? I WAS THINKING I SAW WHERE YOU CAN MAKE YOUR OWN BUTTERMILK BUT CAN NOT SEEM TO FIND IT . CAN SOMEONE HELP ME PLEASE ?

  27. I just took this cake out of the oven and although it smelled heavenly baking, I’m a little disappointed in how it looks. It didn’t seem to rise very high.
    Its about 1/2 way up my 9 x 13 pan. Is this how it should look?

    1. It should look like the photos. Did you remember all of the ingredients? Was your baking soda fresh? Did you over mix?

  28. 5 stars
    I halved the ingrediants because I lost my cake tin and only had a loaf tin. It came out fantastic! Soft and moist. No icing because I don’t like to use too much sugar. Thank you

    1. Yes, I know others have had success with a bundt pan. You can make a chocolate glaze or dust it with powdered sugar!

  29. WOW!!! I am sooooo in LOVE!!! I’m pretty much obsessed with chocolate and I love zucchinis… This is just too good!!! I just used some old heavy cream that needed to be used up for the buttermilk and I used King Arthur’s GF flour and cut down on the sugar just a tiny bit in the cake…SO SO SO good!!! My family will be lucky if I share with them HAHA!!!

  30. One batch is in the oven, haven’t tried it yet but the recipe looked good. Simple and straight forward, no fancy cinnamon, different kind of sugars or other unnecessary items that have no place in a chocolate zucchini cake.

  31. 5 stars
    I made this for my sister’s half birthday, it was SO good!! And no one could tell there was zucchini in it! Can’t wait to make it again!!

  32. Hi Maria,
    I would love to try this cake. Any high altitude alterations? I’m at least 2,000 feet higher than you.
    Thanks… can’t wait to taste this.

  33. 5 stars
    Made this. LOVED IT! My 15yo kept asking where the zucchini was because he couldn’t find it in the cake. My family devoured it. 🙂

  34. I have made this recipe for zucchini chocolate cake, three times. The last 2 times I added in substitute for chocolate chips. 2 teaspoons Smuckers Chocolate Topping. Also used like Redpath Golden Yellow Sugar as only 4 grams of sugar. Now my neighbors love my zucchini chocolate cake

  35. Excellent recipe! Everyone loves it. I also bake it in rounds and then make it into a delicious layered cake.

  36. 5 stars
    What a delicious cake! I used gluten free flour to accommodate some of our guests, and I think that made it a bit more dense. I’d love to try with regular flour to see the difference. The frosting is SO good.

  37. Cake and frosting were simple to make. Family loved it, will definitely make this again and not just in the summer because we are able to get zucchinis all year round. Thank you so much for sharing. Also your boys are really handsome.

  38. 3 stars
    I found this recipe to have way too much cocoa in it! I normally use 1/4cup of cocoa when baking my chocolate zucchini cakes. This cake tasted more like brownies to me. I would not use more than 1/2cup if I was to repeat this recipe.

  39. I’m gonna give this a 3 1/2 only because I thought it tasted more like a brownie instead of a cake I followed the recipe exactly as written

  40. 5 stars
    Delicious, chocolatey and moist! My husband doesn’t care for regular frosting so I made his favorite chocolate cream cheese frosting. He can’t get enough of it!