Chocolate Zucchini Cake

Jump to Recipe

This post may contain affiliate links. Please read our disclosure policy.

This Chocolate Zucchini Cake is moist with a perfect crumb and a rich chocolate flavor. It’s easy to make (no mixer required) and topped with the most delicious chocolate ganache! It’s the best zucchini cake recipe you’ll ever eat!

front view of a slice of chocolate zucchini cake with a bite taken out of it


Baking with zucchini is my favorite! I love sneaking a little bit of nutrition into our favorite treats, like this zucchini bread, these paleo zucchini muffins, and this chocolate zucchini cake! This zucchini cake is so delicious no one will even guess it’s packed with a nutritious vegetable!

This chocolate zucchini cake recipe is easy to make, doesn’t require a mixer, and will become one of your favorite summertime treats. It’s moist and fluffy with a perfect crumb and deep, rich chocolate flavor. Plus the 3-ingredient chocolate ganache is irresistibly fudgy and the perfect way to top to this zucchini cake! 

front view of a piece of chocolate zucchini cake with chocolate ganache

Chocolate Zucchini Cake: Ingredients & Substitutions

overhead view of the labeled ingredients in this chocolate zucchini cake recipe
  • Butter/canola oil. This recipes calls for ¼ cup butter and ¼ cup canola oil. I think this is the best ratio/combination for a moist texture and buttery flavor. You can use only butter or only canola oil if you prefer (½ cup of each). Coconut oil and ghee are also possible substitutions. 
  • Sour Cream. Greek yogurt can be used in place of sour cream if desired. 
  • Granulated sugar. Organic cane sugar or brown sugar can be used instead of white sugar. 
  • All-purpose flour. You can substitute up to half of the all-purpose flour with white whole wheat flour or whole wheat pastry flour. All-purpose gluten-free baking flour also works well. 
  • Espresso Powder. highly recommend buying a container of espresso powder if you want to make the best chocolate cakes. However, instant coffee can be substituted in a pinch! 
  • Mini chocolate chips. For the best texture and dispersion of little pockets of chocolate, use mini chips. You can use regular sized chocolate chips but they will be more noticeable in the cake. 
front view of a piece of chocolate zucchini cake with chocolate ganache

How to Make Chocolate Zucchini Cake

This is a very simple recipe, but as always we’ll walk through the process step-by-step, and don’t forget to watch the video.

Begin by combining the flour, cocoa powder, baking soda, baking powder, sea salt and espresso powder in a medium bowl. Then set the dry ingredients aside to use later. This ensures they are evenly combined in the final chocolate zucchini cake batter. 

two overhead photos showing how to make chocolate zucchini cake

Then, whisk the melted butter, canola oil, sour cream, eggs, and vanilla together in a large bowl.

Next, add the sugar and whisk until smooth. I like to add sugar separately from the dry ingredients to ensure it dissolves completely.

two overhead photos showing how to make chocolate zucchini cake

Then, add dry ingredients to the wet ingredients and whisk or stir with a spatula until the batter is smooth.

two overhead photos showing how to make chocolate zucchini cake

Use a spatula to fold zucchini and chocolate chips into the batter until evenly distributed.

two overhead photos showing how to make chocolate zucchini cake

Bake & Cool

Spread batter into a greased pan. Bake 25-30 minutes until the sides are set and a toothpick or cake tester inserted in the center comes out clean.

Let the cake cool on a cooling rack to room temperature, or in the refrigerator.

Pan type

You can bake this in a 9×9″ or 8×8″ square baking dish. You can also use a 9″ round cake pan, or two 6″ round cake pans. 

two overhead photos showing how to make chocolate zucchini cake

Make the Ganache:

Warm 1 cup heavy cream over medium heat, whisking every 30 seconds until it just barely starts to boil. The sides will bubble and boil, but you should turn off the heat before the middle comes to a rolling boil.

Turn off heat and whisk in chocolate and vanilla until the mixture is smooth and begins to thicken. Remove from the warm burner and let the ganache cool slightly while whisking.

whisking ganache in a small saucepan

Assemble

Pour the chocolate ganache over the cooled cake and spread it evenly over the surface.

front view of chocolate ganache being poured onto the baked chocolate zucchini cake

Chill

Chill the cake in the refrigerator for at least 3 hours, or until the ganache has set.  If you use a different frosting recipe, like a chocolate buttercream frosting, that doesn’t need chill time to set up, you can serve the cake immediately. 

Serve

Cut into 9-16 slices and serve. I think this chocolate zucchini cake recipe is best served slightly cold. Feel free to add a scoop of vanilla ice cream or a dollop of homemade whipped cream to the top of your slice for an extra special treat!

Alternately, you can freeze individual slices by spreading the chilled zucchini cake pieces apart on a baking sheet lined with wax paper and freezing. Once they are frozen (about 3-4 hours), wrap the individual pieces in plastic wrap and store in an airtight container in the freezer.

overhead view of a square chocolate zucchini cake cut into 9 pieces

Store

Store any chocolate zucchini cake leftovers in an airtight container in the refrigerator for up to 5 days. 

Freeze

You can freeze the entire cake by making the recipe and chilling it until it’s completely cooled, then cover the top tightly with plastic wrap and foil (or bake in a pan with a lid) and freeze for up to two months. Thaw in the refrigerator.

front view of a fork taking a bite of chocolate zucchini cake

Chocolate Zucchini Cake Recipe FAQS

Here are some of the most commonly asked questions I get about this zucchini cake recipe. 

What size and shape cake pan can I use? 

In these photos I use a 9×9″ square baking dish. You can bake this in a 9×9″ or 8×8″ square baking dish – the 8×8″ will just take slightly longer to bake. You can also use a 9″ round cake pan, or two 6″ round cake pans to make a double layer cake. 

Do I have to peel zucchini before baking with it? 

No! Please don’t peel the zucchini! Much of the nutrition is in the skin!

Can I use a different frosting? 

YES! You can use any frosting you’d like, store-bought or homemade. I recommend this chocolate buttercream frosting and this vanilla frosting.

Can I double this recipe?

Yes, you can double the recipe and bake it in a 9×13″ pan or two, round 9″ pans.

Why is zucchini used in baking? 

Zucchini adds moistness and nutrition to baked goods! Which is why we love baking with it!

front view of a piece of chocolate zucchini cake with a bite taken out of it

If you make and love our recipes, it would mean so much to me if you would leave a comment and rating! And don’t forget to follow along with us on Instagram, Pinterest, Facebook, and Youtube – be sure to tag @joyfoodsunshine and use the hashtag #joyfoodsunshine so we can see your creations!

Chocolate Zucchini Cake

Laura
This Chocolate Zucchini Cake is moist with a perfect crumb and a rich chocolate flavor. It's easy to make (no mixer required) and topped with the most delicious chocolate ganache! It's the best zucchini cake recipe you'll ever eat!
5 from 15 votes
Course Dessert
Cuisine American
Servings 16 Servings
Calories 284
Prep Time20 minutes
Cook Time30 minutes
Chilling4 hours
Total Time4 hours 50 minutes

Ingredients 
 

Cake:

Chocolate Ganache

Instructions 

  • Preheat oven to 350 degrees F.
  • Grease an 8×8” or 9×9” baking dish, or a 9” round cake plate, set aside.
  • In a medium bowl, mix together flour, cocoa powder, baking soda, baking powder, sea salt and espresso powder. Set aside.
  • In a large bowl, add melted butter, oil, sour cream, eggs, and vanilla and whisk to combine.
  • Add sugar and whisk until combined.
  • Add dry ingredients to the wet ingredients and whisk until batter is smooth.
  • Use a spatula to fold zucchini and chocolate chips into the batter until evenly distributed.
  • Spread batter into prepared pan.
  • Bake 25-30 minutes until the sides are set and a toothpick inserted in the center comes out clean.
  • Let the cake cool on a cooling rack to room temperature, or in the refrigerator.

Make the Chocolate Ganache

  • Warm 1 cup heavy cream over medium heat, whisking every 30 seconds until it just barely starts to boil. The sides will bubble and boil, but you should turn off the heat before the middle comes to a rolling boil.
  • Turn off heat and whisk in chocolate and vanilla until the mixture is smooth and begins to thicken.
  • Remove from the warm burner and let the ganache cool slightly while whisking.

Assemble, Chill & Serve

  • Pour the chocolate ganache over the cooled cake and spread it evenly over the surface.
  • Chill the cake in the refrigerator for at least 3 hours, or until the ganache has set up.
  • Serve!

Video

Notes

  • *Nutrition facts calculated for this recipe making 16 servings. 
  • If you use a different frosting recipe, like a chocolate buttercream frosting, that doesn’t need chill time to set up, you can serve the cake immediately. 
Double the Recipe
You can double the recipe and bake it in a 9×13″ pan. 
Ingredient Substitutions
  • Butter/canola oil. This recipes calls for 1/4 cup butter and 1/4 cup canola oil. I think this is the best ratio/combination for a moist texture and buttery flavor. You can use only butter or only canola oil if you prefer (a 1/2 cup of each). Coconut oil and ghee are also possible substitutions. 
  • Sour Cream. Greek yogurt can be used in place of sour cream if desired. 
  • Granulated sugar. Organic cane sugar or brown sugar can be used instead of white sugar. 
  • All-purpose flour. You can substitute up to half of the all-purpose flour with white whole wheat flour or whole wheat pastry flour. All-purpose gluten-free baking flour also works well. 
  • Espresso Powder. highly recommend buying a container of espresso powder if you want to make the best chocolate cakes. However, instant coffee can be substituted in a pinch! 
  • Mini chocolate chips. For the best texture and dispersion of little pockets of chocolate, use mini chips. You can use regular sized chocolate chips but they will be more noticeable in the cake. 
Pan Size/Type
You can bake this zucchini cake in a 9×9″ or 8×8″ square baking dish – the 8×8″ will just take slightly longer to bake. You can also use a 9″ round cake pan, or two 6″ round cake pans to make a double layer cake. 
Store
Store any chocolate zucchini cake leftovers in an airtight container in the refrigerator for up to 5 days. 
Freeze
You can freeze the entire cake by making the recipe and chilling it until it’s completely cooled, then cover the top tightly with plastic wrap and foil (or bake in a pan with a lid) and freeze for up to two months. Thaw in the refrigerator.
Alternately, you can freeze individual slices by spreading the chilled zucchini cake pieces apart on a baking sheet lined with wax paper and freezing. Once they are frozen (about 3-4 hours), wrap the individual pieces in plastic wrap and store in an airtight container in the freezer.

Nutrition

Serving: 1piece | Calories: 284kcal | Carbohydrates: 27g | Protein: 3g | Fat: 19g | Saturated Fat: 9g | Cholesterol: 52mg | Sodium: 199mg | Potassium: 143mg | Fiber: 2g | Sugar: 17g | Vitamin A: 393IU | Vitamin C: 1mg | Calcium: 38mg | Iron: 1mg

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

Did you enjoy this recipe? Have a question? Leave a comment below!

Try these recipes




latest recipes

Post a Comment or Ask a Question!

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

Recipe Rating




14 Comments

  1. This looks delicious! I’d love to make this for my son’s 2nd birthday, doubling the recipe to make a 2 layer digger cake. Do I need to adjust the baking times if I had a 9” square cake tin (as opposed to a ceramic baking dish as shown in the pictures)? Or do you use these terms interchangeably? Thanks!

  2. 5 stars
    This cake is absolutely fabulous! Thank you so much for such a delicious recipe, this would make a great gift for someone!

  3. 5 stars
    Love this cake. I have shared the recipe with several people and they love it too!!! Delicious! Just wondering if anyone has tried making a cupcake version. I could just eat the whole cake but I was thinking if I made a cupcake version I could share with family or friends. Just to clarify … again…. it is so good while I want to eat it all… I really should share 🙂 Please let me know. Thanks so much !!!

  4. 5 stars
    Hi, made this using all purpose Gluten Free flour and I added a tsp of xantham gum to dry ingredients. It was delicious. Thank you for the wonderful recipe. Wondering if your Banana cake recipe would turn out as good with the gluten free flour?

  5. 5 stars
    Made this minus the espresso powder used regular semi sweet chocolate chips, baked in 9×9 stoneware lined with parchment paper and cooked 45 min! Made a chocolate peanut butter frosting for it and it was moist and delicious 😋

  6. 5 stars
    This cake is moist, flavorful and delicious! Now I know what to do with all the zucchini growing in my garden. Usually my husband is a generous person, but he gave me a hard time when I shared a few pieces with my sister’s family. Thank you for the great recipe! I also recommend the chocolate peanut butter ice cream.

    1. LOL Chocolate cake does that to me too! 😉 I’m so glad you and your family enjoy this recipe Kristi!

  7. 5 stars
    Best moist chocolate cake recipe ever! I cook it a lot; as it is zucchini season and there so many out there in the garden.

  8. 5 stars
    Zucchini lends to some of the BEST baked goods, so moist and fluffy. I love chocolate zucchini cake, but this looks like it’s probably the best recipe out there!