This post may contain references to products from one or more of our advertisers. Oh Sweet Basil may receive compensation when you click on links to such products.
This chocolate zucchini cake is so moist and chocolatey you won’t believe it is made with zucchini. And, the frosting is chocolate cream cheese perfection!
This cake is my answer for all the zucchini squash sitting on my counter! It is the most moist and rich cake, and adding zucchini to it makes it pretty much healthy, right?
Ok, not at all, but it sure is a good excuse for eating multiple pieces. Shhhhh…don’t judge!

I keep seeing people post about all their excess zucchinis in our neighborhood Facebook group. It needs to be put into this cake or our chocolate chip zucchini banana bread. Or if you are craving savory, try our BBQ zucchini nachos or our Mexican zucchini boats! Zucchini is so versatile!

(Mom, you are seriously the cutest and please oh please let my hair turn out like your’s)
This chocolate zucchini snack cake is actually the perfect picture of my life. Well, it’s the perfect picture of how my life goes. I go to Idaho and tell my mom I made the MOST DELICIOUS dark chocolate zucchini bundt cake in the history of the world.
Mom applauds me and gives me all sorts of praise.
Mom makes an even better chocolate zucchini cake and serves it for Sunday dinner and I beg her for the recipe.
I’d get all whomp, whomp on you, but I actually love when she beats me in the kitchen and proves herself to be the true cook in the family. Her food is always the best.
What Ingredients Do You Need for Chocolate Zucchini Cake?
No shocker here, but you need zucchini and cocoa! Mind blown, I know! Then everything else is pretty much your typical cake ingredients. The details are down below in the recipe card, but here is your basic list:
Cake
- Eggs
- Sugar
- Brown Sugar
- Canola Oil
- Vanilla
- Flour
- Baking Powder
- Baking Soda
- Cocoa
- Cinnamon
- Salt
- Zucchini
Frosting
- Cocoa
- Cream Cheese
- Butter
- Powdered Sugar
- Chocolate Milk

How to Make Chocolate Zucchini Cake
Who has ever went to devour a piece of chocolate cake only to find it totally dry and almost inedible? Oh, it’s the worst! You will not have that issue with this dreamboat of a chocolate cake! The recipe card has all the detailed instructions, but here are the basic steps:
Cake
- Preheat oven and spray a 9×13 cake pan with cooking spray
- Beat the eggs
- Add the other wet ingredients (oil, sugar, and vanilla) and blend everything together
- Mix all the dry ingredients (flour, baking powder, baking soda, cocoa, cinnamon and salt) together in another bowl
- Add the dry ingredients and the grated zucchini to the wet ingredients and mix until it all just comes together
- Bake the cake
- Allow cake to cool completely before adding the frosting
Frosting
- Beat together the cream cheese and butter until creamy
- Add the vanilla
- Sift in powdered sugar and cocoa
- Add the salt
- Mixing on low, add a little milk until it is your desired consistency

Why is Zucchini Added to Desserts?
Zucchini adds moisture to baked goods and keeps cake and breads moist and tender.
Can this Recipe Be Made into a Bundt Cake?
Absolutely! Pour the batter into a well-greased 10 cup bundt pan and bake for 50-60 minutes.
Can this Recipe Be Made into Cupcakes?
Yes!! I would use cupcake liners and they will bake for about 18-20 minutes. It will make about 20-24 cupcakes.

Do You Peel Zucchini For Cake?
Zucchini does not need to be peeled for cake.
Just wash it, cut the ends off, and grate it. I like to grate it on the smallest grate, and then it isn’t even noticeable in the cake.
This is how I get my kids to eat it without knowing!
Is Zucchini Good for You?
Zucchini is rich in vitamins and minerals.
Zucchini possesses many valuable minerals, including calcium, iron, magnesium, phosphorus, and plenty of potassium.

Can Chocolate Zucchini Cake Be Frozen?
You can freeze chocolate zucchini cake for up to 3 months. It is best to freeze before frosting it and then add the frosting shortly before serving it.
How Long Will Zucchini Cake Keep?
Stored at room temperature, it will keep for 2 days.
Cake will keep for 1 week in the refrigerator.
Can I Make Zucchini Cake Ahead of Time?
This cake is great to make ahead and freeze adding the frosting before serving.

Grate up that zucchini and add it to this chocolate zucchini cake with chocolate cream cheese frosting! The chocolate lovers in your life will love you forever and ever!
More Zucchini Recipes You’re Sure to Love:
Sweet
- Perfect Zucchini Bread
- Chocolate Chip Banana Zucchini Bread
- Zucchini Dark Chocolate Bundt Cake
- Snickerdoodle Zucchini Bread
- Zucchini Muffins (Gluten Free)
- Double Chocolate Zucchini Cake
Savory
- Mexican Zucchini Boats
- Zucchini Sausage Casserole
- Zucchini Corn Casserole
- BBQ Chicken Zucchini Nachos
- Zucchini Pizza Crust
REMEMBER TO SUBSCRIBE TO our FREE Oh Sweet Basil NEWSLETTER AND RECEIVE EASY RECIPES DELIVERED INTO YOUR INBOX EVERY DAY!
When you try a recipe, please use the hashtag #ohsweetbasil on INSTAGRAM for a chance to be featured in our stories! FOLLOW OH, SWEET BASIL ON FACEBOOK | INSTAGRAM | PINTEREST | TWITTER FOR ALL OF OUR LATEST CONTENT, RECIPES AND STORIES.






Trying to figure out where the extra 3 tbsp. of oil go. The directions say to add 1 cup of oil but the ingredients list 1 cup plus 3 tbsp. I am excited to try this recipe!
Hello! In step 2 add all the oil…so the 1 cup and 3 tablespoons. I hope this helps!
I accidentally didn’t put in the vanilla since one of my kids had a fit while I was making it. I had extra large eggs so I omitted the 3 Tbs oil, but I think I should have used it. I over baked it a bit so it’s not as moist as it should be, but that’s on me. I thought the icing was nice.
Thank you so much! Yes, definitely don’t omit the oil next time! That will help with the texture a lot!
I made this and it was amazing.
Yay! Love to hear this! Thanks Shirley!
My favorite go to chocolate cake. I make it with King Arthur measure to measure flour as I am gluten intolerant.
When I make it, no one else can tell it’s gluten-free, it’s so amazing.
Instead of cinnamon I usually put espresso powder.
Thanks for the ultimate chocolate cake!
This is great feedback! Thank you so much Kelly! This will be so helpful for all our GF readers!
How do you use frozen zucchini I have loads of it Marilynn
Hi Marilynn! Go ahead and thaw the zucchini and squeeze all the extra moisture out of it. Then use as written in the recipe. Enjoy!!
This cake is delicious. I will be making it again.
Yay! Love to hear this! Thank you so much!
What kind of cocoa powder did you use? It looks extra dark! I have to make this!!
Hi Brittany! I used Ghirardelli unprocessed Dutch cocoa. Yum!
Do you squeeze out excess moisture from the zucchini before adding it or just go immediately from grating into the mixture?
Hi Tara! You shouldn’t need to, but you can if you are worried about too much moisture. All zucchinis are different as far as moisture content.