Easy Chocolate Zucchini Cake

Easy Chocolate Zucchini Cake

By Tessa Arias
  |  
July 2nd, 2023
4.94 from 183 votes
4.94 from 183 votes

Ultra rich, moist, and fudgy Easy Chocolate Zucchini Cake is the perfect summer treat for any chocoholic and can be made in less than 1 hour! No mixer required. Tons of chocolate flavor!

Yield: 9 cake squares

Prep Time: 20 minutes

Cook: 30 minutes

Tessa's Recipe Rundown...

Taste: Ultra chocolaty! I doubt any kids would guess there’s a vegetable involved here.
Texture:  Rich, fudgy, and moist.
Ease: Super quick and easy. No mixer, no assembling, no decorating.
Pros: Simple summer treat!
Cons: None 🙂
Would I make this again? Absolutely, all season long.

We’re about to head into the height of zucchini season, which is just one of the many reasons you’ll adore this Chocolate Zucchini Cake.

I love getting fresh zucchini from the farmer’s market all summer long. It’s one of those veggies that’s so easy to cook and bake with. You can find a million ways to get creative whether you’re going savory or sweet. And it doesn’t take nearly an hour to cook like root veggies.

Zucchini Cake with Chocolate and a simple icing on top

Adding zucchini to cake happens to be one of my favorite ways to use the stuff. I also enjoy a good zucchini bread, like this Lemon Yogurt Zucchini Bread.

I love snack cakes like this recipe because they’re just one layer, and there’s no assembly or decorating required. They’re also super easy to transport. You don’t even need an electric mixer for the batter or the icing here!

That makes this recipe perfect for bringing to a summer potluck or BBQ. Especially if you have an abundance of zucchini to use up!

Easy Chocolate Zucchini Cake cut into squares

I find many chocolate zucchini cakes to be kind of bland and a little dry. Read my tips below for getting a super rich and fudgy cake with tons of chocolate flavor.

This might just become your new favorite zucchini recipe!

How to Make Moist Chocolate Zucchini Cake

The Best Cocoa Powder for Chocolate Cake

Cocoa powder lends more chocolate flavor than melted chocolate. But it can also zap some moisture, so read my tips below for how to make sure your cake is nice and tender and moist. This recipe uses natural unsweetened cocoa powder (not Dutch process cocoa powder). Learn more about cocoa powder here.

comparison of dutch process vs natural cocoa powder - they're more different than you might think!

For best results, weigh your cocoa powder and flour to ensure you don’t over-measure. This will result in a dry cake. If you don’t have a digital kitchen scale, then use the spoon-and-level method.

How to Shred Zucchini for Cake (IMPORTANT!)

To avoid gummy, dense, or unbaked Chocolate Zucchini Cake, it’s important to remove as much excess water from the zucchini as possible.

  1. Start by washing the zucchini and trimming the ends. Grate using the big holes of a box grater. Scoop up the shredded zucchini and place in a strainer or colander. Move on to prepare the rest of the ingredients and batter for the recipe.
  2. Once you’re ready to add in the zucchini, wrap it in a clean towel or paper towels and give it a very tight squeeze with your hands to wring out excess water. Do this a few times. If your hands aren’t quite strong enough, you can also press the zucchini inside a potato ricer or hand-held citrus squeezer. This is super effective at getting rid of water.
  3. Once you fold in the zucchini to the batter, stir gently until JUST combined. Over-mixing can cause a tough or gummy texture.

Why Use Butter AND Oil in a Cake?

  • I find this provides the best of both worlds.
  • You get the wonderful flavor from the butter and the moist texture from the oil.
  • This is because oil is a liquid at room temperature so it gives your palate the sensation of moisture.
  • Learn more about Butter vs. Oil in Baking here.

How to Bake a Moist & Fudgy Chocolate Cake

  • In addition to the tips above, using ingredients like brown sugar, full-fat sour cream, and an extra egg yolk all help to add richness and moisture to this cake.
  • That’s because these ingredients both tenderize and draw and hold onto moisture.
  • You can learn more about how baking ingredients work in my Magic of Baking online class.

Can I Substitute the Sour Cream?

You can use full-fat plain yogurt instead!

What Type of Chocolate Chips Should I Use? 

I used semi-sweet chocolate chips, but you could experiment with milk chocolate chips, mini chocolate chips, or even white chocolate chips, if you prefer.

Is it Better to Bake a Cake in a Glass or Metal Pan?

  • This recipe is best baked in an 8-inch metal baking pan.
  • Metal conducts heat more quickly and efficiently than glass or ceramic so you won’t have any issues with an under-baked center.
  • If you must use glass or ceramic, reduce the baking temperature to 325°F and increase the baking time by 5 to 10 minutes.
  • Learn more about Glass vs. Metal Baking Pans in my article here

Frosting for  Zucchini Cake

I used a simple icing for this Chocolate Zucchini Cake recipe, but you could also use my cream cheese frosting or even this chocolate frosting.

Can I Double this Recipe?

Yes! Double all ingredients, bake in a 9 by 13-inch pan, and add about 5 to 10 minutes to the baking time. If using glass, see note above.

How Long Does Chocolate Zucchini Cake Last?

This Zucchini Cake can be stored in an airtight container at room temperature for up to 4 days.

Can You Freeze Chocolate Zucchini Cake?

  • Freeze individual slices on parchment paper for about 15-30 minutes, then wrap each in plastic wrap and place in an airtight container.
  • Defrost in the fridge or on the counter and let come to room temperature before enjoying.
  • I recommend freezing the cake unfrosted.

Piece of chocolate zucchini snack cake on a plate with a fork

More Chocolate Cake Recipes

4.94 from 183 votes

How to make
Easy Chocolate Zucchini Cake

Yield: 9 cake squares
Prep Time: 20 minutes
Cook Time: 30 minutes
Ultra rich, moist, and fudgy Easy Chocolate Zucchini Cake is the perfect summer treat for any chocoholic and can be made in less than 1 hour! No mixer required. Tons of chocolate flavor!

Ingredients

For the cake:

  • 1 cup plus 2 tablespoons (143 grams) all-purpose flour, measured correctly
  • 1/2 cup (43 grams) unsweetened cocoa, measured correctly
  • 1 cup (200 grams) light brown sugar
  • 1 teaspoon salt
  • 1 teaspoon baking soda
  • 4 tablespoons (57 grams) unsalted butter, melted
  • 1/4 cup fresh vegetable oil
  • 1/2 cup (120 grams) full fat sour cream or plain whole milk yogurt, at room temperature
  • 2 large eggs plus 1 egg yolk, at room temperature
  • 2 teaspoons vanilla extract
  • 1 cup (136 grams) shredded zucchini, from about 1 medium zucchini
  • 1 cup (170 grams) semisweet chocolate chips

For the icing:

  • 1/2 cup (63 grams) powdered sugar, sifted
  • 1 tablespoon milk

Directions

Make the cake:

  1. Preheat the oven to 350°F. Line an 8 by 8-inch metal baking pan* with parchment paper then spray with nonstick cooking spray.

  2. In a large bowl, whisk together the flour, cocoa, sugar, salt, and baking soda.
  3. In a small bowl, whisk together the melted butter, oil, sour cream, eggs, egg yolk, and vanilla extract.

  4. Make a well in the center of the dry ingredients and pour in the wet ingredients. Stir until a few streaks of flour remain. Squeeze out any additional moisture from the shredded zucchini before adding to the batter (see recipe post for tips on reducing excess moisture, which will create a gummy cake texture). Add in the chocolate chips. Stir until just barely combined.

  5. Pour the batter into the prepared pan and bake for 30 minutes or until a toothpick or cake tester comes out clean. If your cake sinks slightly in the middle, that's normal because it's so moist and rich!

  6. Let cool completely.

Make the frosting:

  1. In a medium bowl, stir together the sugar and milk with a fork until smooth and thick but pourable. Drizzle all over the cake. Let set before serving.

  2. Cake can be stored in an airtight container at room temperature for up to 4 days.

Recipe Video

Recipe Notes

* If using a glass pan, bake at 325°F for 35 to 40 minutes, or until a toothpick or cake tester comes out clean. 
Course : Dessert
Cuisine : American
Keyword : chocolate zucchini cake, summer, zucchini cake

Photos by Ashley McLaughlin.

Tessa Arias
Author: Tessa Arias

I share trusted baking recipes your friends will LOVE alongside insights into the science of sweets. I'm a professionally trained chef, cookbook author, and cookie queen. I love to write about all things sweet, carb-y, and homemade. I live in Phoenix, Arizona (hence the blog name!)

Tessa Arias

About Tessa...

I share trusted baking recipes your friends will LOVE alongside insights into the science of sweets. I'm a professionally trained chef, cookbook author, and cookie queen. I love to write about all things sweet, carb-y, and homemade. I live in Phoenix, Arizona (hence the blog name!)

Find Tessa on  

Leave a Comment & Rating

Add a Review or Question

*Please select a rating to complete your comment.

Recipe Rating




  1. #
    Sarah Brooks — August 30, 2021 at 1:37 pm

    THE BEST! The zucchini disappears and it turns into a rich, moist, chocolate cake. And super easy to make. I would recommend to anyone, and will be making this again and again.

    • #
      Emily — August 31, 2021 at 8:15 am

      YAY! So glad to hear it, Sarah! Thanks for the rave review 🙂

  2. #
    Nina — August 15, 2021 at 10:28 am

    Hi! This was one of my favorite recipes last summer, but now I can’t recall how I measured the zucchini. Should we have 1 cup before removing the moisture or after? I would imagine 1 cup compressed will be much more than a cup to start with. Thanks!

    • #
      Emily — August 16, 2021 at 10:39 am

      Hi Nina! You’ll want to start out with 1 cup of just shredded zucchini. You’ll squeeze the moisture out of the shredded zucchini right before adding it to the batter. Enjoy your cake! 🙂

  3. #
    Melinda — July 28, 2021 at 1:14 pm

    Very delicious cake! Perfectly moist, not too dense or airy. I added a little bit of instant coffee powder to the wet ingredients to elevate the chocolate. The overall taste and texture reminds me of the giant chocolate muffins from Costco.

    • #
      Emily — July 29, 2021 at 9:27 am

      So happy you enjoyed this cake, Melinda!

  4. #
    Carina — June 27, 2021 at 2:37 am

    Hey, I just have a quick question ^^
    How many grams (or ml) are 1/4 cup of vegetable oil? I live in Europe and we don’t use cups here and on the internet are so many different answers, so I’m kinda unsure about that

    • #
      Tessa — June 28, 2021 at 1:33 pm

      There’s about 224 grams of oil in 1 cup, so about 56 grams should be perfect 🙂

  5. #
    Hanan — June 9, 2021 at 10:03 am

    Hi sweetie
    I just have a question if I may

    how I can make chocolate chip cookies less sweet, but keep the same texture?
    Can you give me a recipe or a way to do that
    Thank you

    • #
      Tessa — June 9, 2021 at 2:26 pm

      Your best bet is to probably search for low sugar chocolate chip cookie recipes on Google. I don’t ever recommend reducing the sugar in regular cookie recipes as it can alter the chemistry of them!

  6. #
    Nancy — May 1, 2021 at 6:39 pm

    Delicious! Super moist and chocolates. Thank you!

  7. #
    Brenna — April 19, 2021 at 9:03 am

    I froze several bags of shredded zucchini, would I follow the same steps after it defrosts? Wringing it out? I would assume so but wanted to double check in case it adds additional moisture! Thank you!

    • #
      Tessa — April 19, 2021 at 3:13 pm

      I haven’t tried that, but I’d recommend making sure it’s very well drained! Other than that, it should be fine, let me know how it goes!

  8. #
    Jocelyn — November 10, 2020 at 3:26 am

    This cake is delicious & so easy. I put chocolate ganache & sprinkles on top. Will make this again

    • #
      Tessa — November 10, 2020 at 3:33 pm

      Yay! So thrilled you enjoyed this recipe.

  9. #
    Diana J Seebode — November 7, 2020 at 1:54 pm

    Moist and delicious! It came out of the oven about 30 minutes ago. I couldn’t wait for it to cool completely to eat a piece. I definitely will make it again.

  10. #
    Colinne — October 29, 2020 at 3:04 am

    Hey this is super important , please answer as soon as you can. How many calories are there, because I need to know soon, I am needing this recipe for a thing tomorrow and would like to know before then,
    Thank you.

  11. #
    Allidah Hicks — October 26, 2020 at 2:00 pm

    The typical chocolate zucchini cake I’ve made for years was just NOT chocolatey enough. This one is FABULOUS! Since I live just west of Denver at an altitude of 5,459′, I made some adjustments. I upped the flour to 151 grams, decreased the sugar by 1 TAB, used 3 full eggs, and increased the temp to 365 degrees. It took about 38 minutes to cook. It was so yummy with just a bit of powdered sugar on top.

    I did have a question. Since I used a very large zucchini, I spooned out the seeds before I grated. When do you weigh the zucchini…before or after you press out the moisture?

  12. #
    Sarah Duberry — October 16, 2020 at 9:07 am

    Can I freeze the chocolate zukini cake and hoe long thanks..

  13. #
    Kim Ghostkeeper — October 13, 2020 at 11:26 am

    Fabulous so good. Best cake I’ve ever made..1 substitution. Greek plan yogurt for sour cream. And chocolate cream cheese icing. Oh so good!!!

  14. #
    JM — October 2, 2020 at 11:06 am

    You’d think this cake would be heavy and dense, it’s not at all. It’s somehow stays light and has great flavor and texture. I did add a couple of tsp of instant expresso powder to it, subbed walnuts for choc chips and used a melted a chocolate and chili bar for the icing. Superb with or without these additions I’m sure.

  15. #
    carly Pavelchak — September 30, 2020 at 6:20 pm

    This is my third time making this cake in the last month. The first time I was supposed to give a piece to my uncle down the street and I ate it all before it got to him. The second time I made it for a party and the whole thing was gone before I could even get a slice. This time it’s allll for me and my fiancé. It is SO delicious and the icing glaze just makes it that much better. I call it our healthy chocolate cake so I’m sure we will use that excuse to make it a bunch more times.

  16. #
    Arlene — September 29, 2020 at 11:51 am

    Trying ur chocolate Zucchini cake! I’ll let you know how it goes

  17. #
    Bobbi-jo — September 18, 2020 at 4:37 pm

    Delicious and moist. The recipe was easy to follow.

  18. #
    Kathy Swift — September 6, 2020 at 6:26 pm

    Turned out perfect. Doubled the recipe and added 5 eggs instead of adding egg yolks. Super moist but not dense. My family loved it!

  19. #
    Kam — September 6, 2020 at 3:39 pm

    The BEST. It’s everything she said it was! We put vanilla ice cream on it!ya

  20. #
    Eddie — August 31, 2020 at 9:49 pm

    So moist and tender and mouthwatering good!

  21. #
    Eddie — August 31, 2020 at 4:43 pm

    1 cup shredded zucchini before wrenching it or 1 cup shredded zucchini after removing the water?

  22. #
    Cindy — August 31, 2020 at 2:16 pm

    So easy and delicious! I sprinkled a few extra chocolate chips on top before baking.

  23. #
    Vicki Ma — August 31, 2020 at 1:26 pm

    Delicious, moist, decadent and chocolatey! Another winning recipe from Tessa and perfect timing with all the zucchini’s in season!

  24. #
    Linda — August 31, 2020 at 8:07 am

    This cake is so moist and delicious!! I just had to have a second piece! Quick and easy to make. I’ll be making this again!

  25. #
    Mandy Ding — August 30, 2020 at 10:36 pm

    This is the fourth time I’ve made the recipe. Super easy and extremely DELICIOUS! I usually make it without the frosting and it’s just as amazing as with the frosting! I store it in an lidded container in the refrigerator to keep longer and a quick reheat in the microwave makes this gooey delicious chocolate cake amazing with a cold glass of milk!

  26. #
    Kimberly Dierker — August 30, 2020 at 6:33 pm

    It was very moist and I liked the bits of chocolate chips throughout! Very delicious!

  27. #
    Susann Pekala — August 30, 2020 at 4:54 pm

    Perfectly moist and rich chocolate flavor! Delicious and would never know zucchini is in the cake 🙂 Definitely recommend the recipe to all chocolate lovers!

  28. #
    Jennifer Single — August 30, 2020 at 4:39 pm

    This recipe is fantastic! So easy to make and it tastes like a reich and moist chocolate cake. And bonus: my family didn’t even know it had a full zucchini in the cake. Hehe!

  29. #
    Jen Bonaparte — August 30, 2020 at 4:34 pm

    Made this tonight, moist, fluffy, chocolaty deliciousness!

  30. #
    Tiffany — August 30, 2020 at 4:16 pm

    Ah, this was amazing! So moist and delicious! My chocolate-cake-hating mom loved this cake, and that’s saying a lot! Thanks so much Tessa for the recipe!

  31. #
    Mariana Díaz Orlich — August 30, 2020 at 3:25 pm

    OMG so delicious! Super moist and rich flavour!

  32. #
    Rebecca Johnson — August 30, 2020 at 1:32 pm

    Delicious cake! And so easy to make, thanks to the detailed instructions and tips!

  33. #
    rosaleidasitepu — August 30, 2020 at 12:54 pm

    This recipe is double perfect: easy to make and tastes amazing!
    I baked it virtually for my brother’s birthday and physically for my friend’s birthday on the same day. Decided to join the challenge too!!
    Its choco zucchini but when you eat it you d be like: “where is the zucchini? Are you sure ?”
    Soo good.. thank you #handletheheat

  34. #
    Jennifer Sommers — August 30, 2020 at 11:49 am

    So moist! I’m not a chocolate cake fan, but this is delicious!

  35. #
    Sylvie — August 30, 2020 at 10:32 am

    Delicious and very moist!

  36. #
    Katrin Goethals — August 30, 2020 at 9:32 am

    Used a whole egg instead just the egg yolk and dusted with powdered sugar as I don’t like icing. Very rich and chocolatey!

  37. #
    Rhiannon — August 30, 2020 at 8:09 am

    Absolutely LOVE this recipe! This is the first time I have ever used zucchini in baking and thus definitely won’t be the last. So yummy and moist.

  38. #
    Scott — August 29, 2020 at 9:09 pm

    I’ve commented on this wonderful cake at least four times. This is becoming burdensome!

  39. #
    Scott — August 29, 2020 at 9:05 pm

    The best Chocolate Chip Zucchini Cake I’ve ever made! Moist and delicious! Good work Tessa!

  40. #
    Scott — August 29, 2020 at 8:30 pm

    Awesome! I had to hurry to take the pictures ’cause I had family pestering me for a slice. This is another in the line of recipes that Tessa nailed. Go girl!

  41. #
    Kate Manolas — August 29, 2020 at 4:57 pm

    This recipe is so delicious! It’s moist, chocolaty, and so easy to make!

  42. #
    Miranda Ventura — August 29, 2020 at 4:38 pm

    Made this cake recently and it was super rich and moist, extra chocolatey, and has a hidden taste of zucchini and that can trick anyone! 10/10 quick and easy recipe that I highly recommend making.

  43. #
    Susana Aracena — August 29, 2020 at 9:38 am

    First time using zucchini on a sweet recipe and I loved the result. Super moist and delicious! I don’t have a square metal pan, so I used a round ceramic pan, and following Tessa’s instructions it still turned out great.

  44. #
    Keri Tapley — August 28, 2020 at 5:06 pm

    SO moist and delicious! A great way to use my zucchini’s from my garden. I made it twice in one month to share with my family!

  45. #
    Annie Kunjara — August 28, 2020 at 4:44 pm

    Perfect amount of zucchini and you definitely need a glass of milk with the chocolatey decadence!

  46. #
    Ruth — August 27, 2020 at 4:29 pm

    Super easy, super moist, super delicious! I used a potato ricer for drying out the zucchini and it worked perfectly. What a great way to use up extra zucchini this time of year. Will definitely make again – maybe with a little squeeze of lemon juice in the frosting too!

  47. #
    Paulina Zacchia — August 27, 2020 at 1:23 pm

    I’ve made chocolate zucchini cake & zucchini brownies before, but this recipe really impressed me. It doesn’t really help much in terms of using up an abundance of zucchini, but it’s so moist & fluffy, yet rich & delicious, the small amount of zucchini used truly does seem to disappear. Speaking of disappearing, this cake was gone so fast, I wish I had made a double recipe!

  48. #
    Linda — August 27, 2020 at 10:22 am

    Can you use a glass pan?

    • #
      LISA W — August 29, 2020 at 3:24 pm

      Yes Linda you can just lower the temp to 325 and add 5 to 10 extra minutes..

  49. #
    Josh Berk — August 27, 2020 at 6:58 am

    Delicious and so much chocolate!

  50. #
    Laura — August 27, 2020 at 6:07 am

    This cake is moist and delicious! I would start with less milk in the icing, however. It kind of disappeared into the cake when it dried.

  51. #
    Janelle W — August 26, 2020 at 7:48 pm

    I doubled this recipe in order to make it in a 9 x 13 cake pan. The cake is very bitter and dense. After looking at other recipes, the amount of cocoa in this recipe is excessive, not sure why it is so dense.

  52. #
    Rose Kovach — August 26, 2020 at 6:52 pm

    Very tasty!

  53. #
    Ann — August 26, 2020 at 3:44 pm

    Quick, perfectly moist and sooooo chocolatey. Will make again but with less milk in the 1/2 cup of confectioners sugar for topping.

  54. #
    Ann — August 26, 2020 at 3:34 pm

    Very moist and fudgy. It tastes wonderful just what one needs during a chocolate craving. Will make again, and again, and again.

  55. #
    Rae Jeffrey — August 26, 2020 at 10:46 am

    This recipe was very easy and delicious! It’s very chocolatey and rich, almost like a cross between a brownie in taste and a cake in texture. It was excellent with ice cream on top.

  56. #
    Nancy Remy — August 26, 2020 at 10:01 am

    What a delicious chocolate zucchini cake and so easy to make! You don’t even have to use a mixer.
    My family is in love with it.

  57. #
    Nancy Remy — August 26, 2020 at 10:00 am

    What a delicious chocolate Zucchini cake and so easy to make! You don’t even have to use a mixer.

  58. #
    Jennifer Wiseman — August 25, 2020 at 8:33 pm

    Made this recipe using well-drained frozen zucchini and it turned out fabulous! My kids loved it!

  59. #
    Leah — August 25, 2020 at 7:17 pm

    Rich, chocolatey, and delicious! I loved how quick and easy this was!

  60. #
    Leah — August 25, 2020 at 7:15 pm

    Rich, chocolatey and delicious! I loved how quick and easy this was!

Join the Handle the Heat Community

Cookie Customization Chart
Do you want a more delicious life?
Instead of digging through cookbooks and magazines and searching the internet for amazing recipes, subscribe to Handle the Heat to receive new recipe posts delivered straight to your email inbox. You’ll get all the latest recipes, videos, kitchen tips and tricks AND my *free* Cookie Customization Guide (because I am the Cookie Queen)!
As Seen On....
NPR People Time Glamour Readers Digest The Huffington Post BuzzFeed