Chocolate Zucchini Cake
Published on July 16, 2024
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!
Pin this now to find it later
Pin ItI 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.
Table of Contents
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!
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!
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.
- 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 to 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.
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.
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
- Chocolate Chip Zucchini Bread
- Chocolate Zucchini Bread
- Zucchini Brownies
- Zucchini Muffins
- Lemon Zucchini Bread
- Brown Butter Zucchini Oatmeal Chocolate Chip Cookies
You can find more zucchini recipes here!
More Chocolate Cake Recipes
- Easy Chocolate Cake
- Chocolate Sour Cream Bundt Cake
- Flourless Chocolate Cake
- Chocolate Cake
- Chocolate Pudding Cake
Chocolate Zucchini Cake
Ingredients
For the chocolate zucchini cake:
- 2 cups all-purpose flour
- 1 cup unsweetened cocoa powder, sifted
- 2 teaspoons baking soda
- 1/2 teaspoon salt
- 1 1/2 cups brown sugar
- 3/4 cup vegetable oil, canola oil, or avocado oil
- 1/4 cup melted butter, cooled to room temperature
- 1/4 cup buttermilk, at room temperature
- 3 large eggs, at room temperature
- 1 1/2 teaspoons vanilla extract
- 2 cups shredded zucchini
- 1 cup chocolate chips
For the chocolate frosting:
- 1/2 cup unsalted butter, at room temperature
- 3 cups confectioner’s sugar
- 2/3 cup unsweetened cocoa powder
- 1/3 cup milk
- 1 teaspoon vanilla extract
- Pinch of salt
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
Nutrition
Have you tried this recipe?
Leave a comment below and share a photo on Instagram. Tag @twopeasandpod and hashtag it with #twopeasandtheirpod
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 ?
Add 1 tsp of vinegar to regular milk to substitute for buttermilk
barley?? barely! lol
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?
It should look like the photos. Did you remember all of the ingredients? Was your baking soda fresh? Did you over mix?
Hi, would you happen to know if I can freeze this cake (after cooling, before frosting)?
Thank you for sharing. I am really in need of this information
Is it 1/4 cup buttermilk or more than that? Batter looks dense.
I use 1/4 cup.
Hi can you use olive oil instead of canola or vegetable oil ?
Thank you
Olive oil has a different taste, but you can use it.
Could I use coconut oil instead?
Sure!
Do you use unsalted butter in the cake and frosting both? Can you use margarine?
I use unsalted butter, I never use margarine.
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
I omitted the buttermilk and it still came out delicious!
I would like to use a Bundt Cake Pan. Is that okay with this recipe? Thank you.
Jill
Yes, I know others have had success with a bundt pan. You can make a chocolate glaze or dust it with powdered sugar!
Did you use Dutch process cocoa or natural? Looks delish!
I have made this cake with both and both work well. Use your favorite!
Fantastic cake! What a great way to use up larger zucchini! Would definitely make this again!
Is that 485 calories for one slice?
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!!!
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.
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!!
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.
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. ๐
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
Excellent recipe! Everyone loves it. I also bake it in rounds and then make it into a delicious layered cake.
Yay!
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.
Yay! Thanks for sharing!
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.
Thank you!
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.
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
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!
SO good!