Chocolate Zucchini Cake Recipe

JUMP TO RECIPE
4.79 from 28 votes

Chocolate zucchini cake is one of the easiest ways to turn shredded zucchini into a simple dessert that tastes rich, moist, and full of chocolate. The zucchini blends right into the batter, so there is no vegetable taste, just a tender cake with deep chocolate flavor.

pieces of chocolate zucchini cake

I have always loved the idea of adding shredded zucchini to baked goods. In this chocolate zucchini cake recipe, it adds moisture and tenderness, but no zucchini flavor. The cake has a rich chocolate taste, and because it is not overly sweet, the chocolate really shines through.

chocolate zucchini cake wet ingredients

This post may contain affiliate links. See my disclosure statement.

Why You’ll Love This Recipe

  • This recipe is made in a 9 x 13 pan with basic pantry ingredients, and instead of frosting, chocolate chips are sprinkled over the top while the cake bakes.
  • It is simple enough for a weeknight, special enough to share, and a very good way to use extra garden zucchini.
  • It is a great recipe for fresh or frozen shredded zucchini.
  • The zucchini keeps the cake moist, but you cannot taste it.

Reader Note:
“I highly recommend this recipe! I made it three times in the last month with an abundance of zucchini, but also because it is simply delicious and easy to make. I put the chocolate chips on top and sprinkled a little unsweetened coconut. The best!”

Ingredient Notes

chocolate zucchini cake dry ingredients
  • Oil: Canola oil or vegetable oil keeps this cake moist. I would not substitute butter unless you are comfortable testing the texture, because oil works very well with the cocoa powder and shredded zucchini.
  • Sugar: This cake is not overly sweet, which lets the chocolate flavor come through.
  • Vanilla: Use pure vanilla extract or vanilla bean paste. It adds a little warmth and brings the flavors together.
  • Zucchini: Shredded zucchini adds moisture and tenderness to the cake, but you cannot taste it. There is no need to peel the zucchini before shredding, and I do not squeeze out the liquid. The moisture from the zucchini is part of what makes this cake so good.
  • Flour: All-purpose flour gives the cake structure.
  • Unsweetened cocoa powder: Use regular unsweetened cocoa powder for the best chocolate flavor.
  • Baking soda: Baking soda helps the cake rise and gives it a soft texture.
  • Salt: A small amount of salt balances the sweetness and brings out the chocolate flavor.
  • Egg: The egg helps bind the batter and gives the cake a better texture. The first time I made this cake, I left it out, but now I add it every time.
  • Chocolate chips: The chocolate chips are sprinkled over the top partway through baking. They melt slightly and make a simple topping, so frosting is not needed.

How To Make Chocolate Zucchini Cake

chocolate zucchini cake batter in bowl
  • Preheat oven to 350 degrees F.
  • In the bowl of a stand mixer, with the wire whip attached, combine oil, sugar and vanilla. (Alternately use a large mixing bowl with a hand mixer.)
  • In a separate bowl, whisk together flour, cocoa powder, baking soda, and salt.
  • On medium speed, in 3 batches, add flour mixture to oil/sugar mixture. Beat well between batches and scrape sides of the bowl.
  • (Batter will be crumbly at this point, but will moisten when zucchini is added.)
  • Switch to the flat beater attachment. With the mixer on low speed, add zucchini and mix well.
  • Pour batter into prepared Pyrex or glass pan that measures 9 in. x 13 in.
  • Bake for 15 minutes.
  • Remove from oven. Top with chocolate chips.
  • Bake 10 – 15 minutes more. A knife or toothpick inserted in center should come out clean. Do not overbake!
  • Cool on a wire rack. Dust with powdered sugar before serving if desired.

Helpful Tips

chocolate zucchini cake in pyrex baking dish
  • Keep the wet and dry ingredients separate until it is time to combine them. This helps the cocoa powder, flour, baking soda, and salt mix evenly into the batter.
  • The batter will look dry and crumbly before the zucchini is added. Don’t worry, and don’t add extra liquid. Once the shredded zucchini goes in, the batter will loosen and become much easier to spread in the pan.
  • Shred the zucchini first, then let it sit while you gather the other ingredients. Any liquid that collects should go right into the batter.
  • If you are using frozen shredded zucchini, thaw it first, then add the zucchini and the liquid to the batter. That extra moisture helps keep the cake tender.
  • A 9 x 13 glass baking dish works very well for this recipe. Make sure the pan is prepared before adding the batter.
  • Don’t overbake the cake. Start checking it at 25 minutes. A knife or toothpick inserted in the center should come out clean, or with just a few moist crumbs.
  • Let the cake cool before slicing. A light dusting of powdered sugar is pretty, but completely optional.
piece of chocolate zucchini cake on blue plate

How to Store Chocolate Zucchini Cake

Cover the cake tightly and store it at room temperature for up to 2 days. After that, place it in the refrigerator so it stays fresh. If the cake has been refrigerated, let individual pieces sit at room temperature for a few minutes before serving. This softens the texture and brings back more of the chocolate flavor.

pieces of chocolate zucchini cake on parchment paper

Frequently Asked Questions

No, you cannot taste the zucchini. It blends into the batter and adds moisture, but the finished cake tastes like chocolate.

There is no need to peel the zucchini before shredding it. The peel is soft, and once the cake is baked, it disappears into the batter.

This cake does not need frosting. The chocolate chips are added to the top partway through baking, and they make a simple chocolate topping. A light dusting of powdered sugar is optional.

No. For this chocolate zucchini cake, do not squeeze the shredded zucchini dry. The liquid from the zucchini helps make the cake moist and tender.

Yes. Thaw the frozen shredded zucchini first, then add the zucchini and any liquid to the batter. That extra moisture works well in this recipe.

I have not tested this exact recipe with butter, so I recommend using oil. Oil gives the cake a moist texture, and it works very well with the cocoa powder and shredded zucchini. Extra Light Olive Oil is also a good option.

pieces of chocolate zucchini cake on parchment paper

Chocolate Zucchini Cake Recipe

This Chocolate Zucchini Cake recipe is SO easy. You will never know the zucchini is there. The texture is light and moist. Uses basic pantry ingredients.
4.79 from 28 votes
Prep Time 20 minutes
Cook Time 30 minutes
Total Time 50 minutes
Servings 12 pieces
EMAIL THIS RECIPE
Enter your email and I’ll send it your way!
Save Recipe

I’d like to receive more ideas from On Sutton Place!

Ingredients
 

  • 1/2 cup vegetable or canola oil
  • 1 1/2 cups sugar
  • 2 teaspoons vanilla extract or vanilla bean paste
  • 2 cups all purpose flour
  • 1/2 cup cocoa powder
  • 1 1/2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 cups shredded zucchini
  • 1 large egg (optional)
  • 1 cup semi-sweet chocolate chips

Instructions

  • Preheat oven to 350 degrees F.
  • In the bowl of a stand mixer, with the wire whip attached, combine oil, sugar and vanilla. (Alternately use a large mixing bowl with a hand mixer.)
  • In a separate bowl, whisk together flour, cocoa powder, baking soda, and salt.
  • On medium speed, in 3 batches, add flour mixture to oil/sugar mixture. Beat well between batches and scrape sides of the bowl.
  • (Batter will be crumbly at this point, but will moisten when zucchini is added.)
  • Switch to the flat beater attachment. With the mixer on low speed, add zucchini and mix well.
  • Pour batter into prepared Pyrex or glass pan that measures 9 in. x 13 in.
  • Bake for 15 minutes.
  • Remove from oven. Top with chocolate chips.
  • Bake 10 – 15 minutes more. A knife or toothpick inserted in center should come out clean. Do not overbake!
  • Cool on a wire rack. Dust with powdered sugar before serving if desired.

Notes

I prepare my baking pans with Baker’s Joy.
The addition of a room temperature large egg is optional…but if you want to add one, it helps with the moisture issue. If you want an egg-free cake, it’s wonderful without the egg!
Nutrition Facts
Chocolate Zucchini Cake Recipe
Serving Size
 
1 piece
Amount per Serving
Calories
364
% Daily Value*
Fat
 
16
g
25
%
Cholesterol
 
16
mg
5
%
Sodium
 
343
mg
15
%
Potassium
 
272
mg
8
%
Carbohydrates
 
52
g
17
%
Fiber
 
3
g
13
%
Sugar
 
32
g
36
%
Protein
 
5
g
10
%
* Percent Daily Values are based on a 2000 calorie diet.

Nutrition information is automatically calculated, so should only be used as an approximation.

If you try this recipe, I’d love to hear what you think. A quick rating or comment is always appreciated, and helps other readers too.

Chocolate zucchini cake is such a simple way to use extra zucchini, and it is one of those recipes that always feels like a little surprise. The cake is rich and moist, but still easy enough to make without much planning. If you have more zucchini to use, try these easy zucchini muffins, this moist zucchini bread recipe, or this simple zucchini gratin. Each one is a good way to make the most of zucchini season.

Shop & Source

JOIN THE OSP COMMUNITY

Sign up to get uncomplicated recipes, unlimited seasonal decor, and
understated ways to refresh your home sent straight to your email inbox!

blue pot element soup block

amazon Kitchen Shop

A curated collection of
my favorite kitchen essentials.

This is a welcoming space. Please keep comments gracious, thoughtful, and constructive.

Leave a Reply

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

If you enjoyed this recipe, tap the stars to leave a rating, then share a comment below.




27 Comments

  1. 5 stars
    This is a staple dessert recipe. I like it frosted with a simple confectionery sugar, butter and milk icing.

  2. Karla Bannerman says:

    5 stars
    Seeing I have been blessed with a beautiful crop of zucchini from one plant, I am looking for recipes for using these. Thank you for sharing your recipes and showing the beautiful ways to decorate. I used the idea for the coffee station using items I already had.
    Love your posts, look forward to getting all.

  3. Yummy Ann,

    Can’t wait to try this recipe, I will prepare with butter or other non seed oil ingredient due to the seed oil warnings circulating. So far, substituting seed oils has not negatively impacted the baked items I have made.

  4. 5 stars
    I just made this and it’s really tasty. I added the egg and had to add another 1/3 cup of zucchini as it was so stiff it wouldn’t drop off the beater. I just sprinkled 2/3 c. of chocolate chips on top as that seemed like plenty.

  5. 5 stars
    I highly recommend this recipe!! Made it three times in the last month with the abundance of zucchini, but also because it is simply delicious and easy to make! I put the chocolate chips on top and sprinkled a little unsweetened coconut! The best!

  6. Pamela J. Brittain says:

    Ive been making this cake for years! my family loves it!

  7. Donna Murray says:

    5 stars
    This zucchini cake was soooo good🤗
    I make it but put pecans with chocolate chips. Thanks so much for such a delicious and different recipe.

  8. Michelle Carey-Schmidt says:

    5 stars
    I love a cake like this to bring to a friend because you don’t have to worry about transporting a frosted cake.

  9. 5 stars
    What a great way to get your husband or children to eat their vegetables!!!! Super good! Thank you

  10. 5 stars
    Love any recipe that lets me use up some of the zucchini I have. This one rates the best. Did not use chocolate chips, rather a thin glaze of basic creme cheese frosting.
    Your recipes are always so simple – which I greatly appreciate.

  11. Paula Warren says:

    5 stars
    What I had for breakfast this morning!! So moist!

  12. Janet Skokowski says:

    5 stars
    This zucchini cake is a wonderful treat! My whole family loves it! The chocolate chips add just enough sweetness. I also made one for my neighbor who generously shares her garden surplus with me every summer! It is a keeper recipe!

  13. 5 stars
    Just made this tonight. We loved it! It wasn’t too sweet, and had wonderful flavor. I added two eggs as you had mentioned and powdered sugar to my pieces, but my hubby liked it plain. Thank you for this recipe! I will add it to my favorites. 😁

  14. Nadine Mysker says:

    I did not drain the zucchini because the recipe said it was not necessary. The cake was spectacular! Do leave in the liquid otherwise you may end up with a dry cake!

  15. Annette D. says:

    5 stars
    Chocolate Zucchini Cake — So Good! Did not add eggs. Will definitely make again. Topped with vanilla frozen yogurt. Look forward to trying more of your recipes.

  16. 5 stars
    Just made with last year’s zucchini and it is wonderful!
    Gonna dust half and ice half.

  17. 5 stars
    Delicious. I frosted. Love this 5 star recipe and I will make again soon.

  18. My CZC recipe has a teaspoon of cinnamon in it which I like! I also enjoy it chilled, the entire loaf cut in 3 or 4 layers, each layer spread with whipped cream or Cool whip, the reassembled. Looks like an $8 restaurant dessert! It’s not too shabby given a few seconds in the microwave with a nice layer of cream cheese spread on it for breakfast either! I’ve also been known to bake mine in a Bundt pan, slice it into 2 layers, “frost” that middle layer with whoopie pie filling, then douse the whole thing with a can of cherry pie filling; shades of Black Forest Cake! Guaranteed to get compliments. Can you tell I like recipes that look like I worked hard–but didn’t?

  19. Deborah Oldiges says:

    My garden is booming with zucchini right now so I decided to try your recipe for chocolate zucchini cake. It is marvelous! Can’t believe how good turned out to be. After mixing in the shredded zucchini into the batter it was still so… dry and lumpy. I even showed my husband and asked him what he thought. We were both very skeptical. I told him that I did substitute the canola oil with coconut oil, and I didn’t melt it. The oil was room temperature and very soft though. Anyway, I thought I’d try baking it and I’m glad I did. The raw batter looked like chunks of dirt, but while baking it and watching it through the oven window it melted down pretty nicely. I also made a little bit of butter cream frosting to hid the not so smooth surface, and sprinkled some mini chocolate chips on top. Yum-Yum. I shared it with my neighbors. Very good! I want to make another one and take it to work. Thank you. PS I did decrease the sugar to 1 1/4 cups.

  20. Palma Lindsay says:

    5 stars
    Thank you for the wonderful zucchini chocolate cake recipe. We all loved it and it was the perfect way to use up some of the zucchini we have been growing in our garden. The added bonus is that the cake is vegan, so everyone in our family got to enjoy it. We loved it with a sprinkle of powdered sugar dusted over a paper doily. We will definitely be making this one again! :)

  21. 5 stars
    Thank you Ann! Bumper crop of zucchini that I trying to use and this is perfect! I absolutely love it! It has been two days and it still is soft and tasty. A ++ recipe!

  22. Deborah Fletcher says:

    5 stars
    Made this today and it was so delicious and very moist. I have one zucchini plant in the backyard and I get two zucchini’s everyday. This was a great way to use it. Also will try your freezing method. I hope it will work for me! Anyway, my batter was dry even after I added the zucchini. Guess mine were so fresh maybe the liquid was not as much….I don’t know. I was leery since the batter was so thick….I was tempted to add some liquid. I didn’t and it turned out great. Thank you for a great and fast receipe👍

  23. Patricia Robertson says:

    5 stars
    This cake is delicious. Very easy to make. I’m taking this cake to a meeting today, but of course I had to sample it . It has a deep chocolate flavor and a nice texture. This recipe is a keeper. Thank you Ann.

  24. Can I use a large cookies sheet instead of a baking dish, for the choc zucchini cake?

    1. Ann Drake says:

      Hi Lynda…I tried to answer you by email but it bounced back and I could not get it to go through. I’m answering here in the off chance you might check back. If you mean a jelly roll pan with sides I think that would work. Just decrease the baking time because it won’t be as thick. If you try it let me know…thanks!

  25. Cheryl Bissler says:

    5 stars
    Hi Ann,
    Tried your Chocolate Zucchini Cake recipe and you asked for feedback. I am not usually one to share my opinion, but this recipe deserves a big, ” whoop- whoop”! It is truly amazing and although the ingredients are pantry items, the end result is truly something special. I believe I have a new go-to recipe!

    1. Ann Drake says:

      Yay!! I’m so glad you liked it. Thank you so much for letting me know. <3