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!

A slice of chocolate zucchini cake on a wooden dessert plate. The cake is frosted with creamy chocolate cream cheese frosting.

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
A pan of chocolate zucchini cake that has been cut into pieces and one piece has been removed. It is frosted with smooth, creamy chocolate frosting.

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

A top view of a moist chocolate zucchini cake with chocolate cream cheese frosting. The cake has been cut but not served.

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.

A slice of chocolate zucchini cake with creamy chocolate cream cheese frosting. The piece of cake is on a wooden dessert plate.

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.

A slice of chocolate zucchini cake on a wooden plate with a fork beside it. The cake is rich, moist chocolate and there are a couple of other dessert plates with cake on them.

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.

A slice of moist chocolate zucchini cake on a wooden dessert plate. The cake is frosted with chocolate cream cheese frosting.

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

Savory

3.66 from 142 votes

Chocolate Zucchini Cake

By Sweet Basil
Prep10 minutes
Cook30 minutes
Total40 minutes
Servings20
Want to save this recipe?
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

  • 3 Eggs
  • 1 Cup Canola, plus 3 tablespoons
  • 1 Cup Sugar
  • 1 Cup Brown Sugar
  • 1 teaspoon Vanilla
  • 2 Cups Flour
  • 1/4 teaspoon Baking Powder
  • 1 teaspoon Baking Soda
  • 1/2 Cup Cocoa
  • 1 teaspoon Cinnamon
  • 1 teaspoon Salt
  • 2 Cups Zucchini, grated, doesn't need to be peeled, about 2 zucchini

For The Frosting

  • 8 oz Cream Cheese, room temperature
  • 1/4 Cup Butter, unsalted, softened
  • 1 teaspoon Vanilla
  • 3 Cups Powdered Sugar
  • 1/2 Cup Cocoa, unsweetened
  • 1/4 teaspoon Salt
  • 1 Tablespoon Milk, chocolate milk is a game changer if you have it

Instructions 

For The Cake

  • Beat eggs until smooth and lemon in color
    3 Eggs
  • Add the oil, sugars, and vanilla.
    1 Cup Sugar, 1 Cup Brown Sugar, 1 Cup Canola, 1 teaspoon Vanilla
  • Blend well.
  • In a separate bowl, mix flour, baking powder, baking soda, cocoa, cinnamon and salt.
    2 Cups Flour, 1/4 teaspoon Baking Powder, 1 teaspoon Baking Soda, 1/2 Cup Cocoa, 1 teaspoon Cinnamon, 1 teaspoon Salt
  • Mix dry ingredients and zucchini into the wet ingredients.
    2 Cups Zucchini
  • Pour into a 9X13 inch cake pan and bake at 350 degrees for 30-40 minutes. Insert a toothpick at 30 minutes, if it comes out clean it is done.
  • Allow the cake to cool completely which can take a good 1-3 hours depending on how warm your house is. Then frost the cake and serve.
  • Cover leftovers and store for up to 1 week.

For the Frosting

  • In the bowl of an electric mixer using paddle attachment (or using an electric hand mixer with a large bowl), beat together 8 oz cream cheese with butter on medium/high speed until creamy, scraping down the bowl as needed. Add vanilla.
    8 oz Cream Cheese, 1/4 Cup Butter, 1 teaspoon Vanilla
  • Sift in 3 cups powdered sugar with 1/2 cup cocoa powder to ensure there are no lumps then add 1/4 tsp salt. Mix on low speed adding the splash of milk as it comes together. Add an additional tablespoon of milk if needed.
    3 Cups Powdered Sugar, 1/2 Cup Cocoa, 1/4 teaspoon Salt, 1 Tablespoon Milk

Recipe Notes

Chocolate zucchini cake can be baked in a bundt pan for 50-60 minutes.
This cake is great to make ahead and freeze adding the frosting before serving.
 

Nutrition

Serving: 1g, Calories: 422kcal, Carbohydrates: 53g, Protein: 5g, Fat: 23g, Saturated Fat: 12g, Cholesterol: 74mg, Sodium: 373mg, Potassium: 209mg, Fiber: 3g, Sugar: 39g, Vitamin A: 638IU, Vitamin C: 2mg, Calcium: 59mg, Iron: 2mg

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

Like this? Leave a comment below!

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.

A top view of a moist chocolate zucchini cake with chocolate cream cheese frosting. The cake has been cut but not served.

About The Author

Carrian Cheney

Carrian Cheney is the creative force behind ‘Oh, Sweet Basil,’ a food blog she co-authors with her husband, Cade. She creates fresh, family-friendly recipes that encourage togetherness in the kitchen.

More Ideas

3.66 from 142 votes (139 ratings without comment)

Leave a comment

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

Recipe Rating




16 Comments

  1. busy baker says:

    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!

    1. Sweet Basil says:

      Hello! In step 2 add all the oil…so the 1 cup and 3 tablespoons. I hope this helps!

  2. Sunshine baker says:

    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.

    1. Sweet Basil says:

      Thank you so much! Yes, definitely don’t omit the oil next time! That will help with the texture a lot!

  3. Shirley says:

    5 stars
    I made this and it was amazing.

    1. Sweet Basil says:

      Yay! Love to hear this! Thanks Shirley!

  4. Kelly says:

    5 stars
    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!

    1. Sweet Basil says:

      This is great feedback! Thank you so much Kelly! This will be so helpful for all our GF readers!

  5. Marilynn Hass says:

    How do you use frozen zucchini I have loads of it Marilynn

    1. Sweet Basil says:

      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!!

  6. Laura says:

    5 stars
    This cake is delicious. I will be making it again.

    1. Sweet Basil says:

      Yay! Love to hear this! Thank you so much!

  7. Brittany J says:

    What kind of cocoa powder did you use? It looks extra dark! I have to make this!!

    1. Sweet Basil says:

      Hi Brittany! I used Ghirardelli unprocessed Dutch cocoa. Yum!

  8. Tara says:

    Do you squeeze out excess moisture from the zucchini before adding it or just go immediately from grating into the mixture?

    1. Sweet Basil says:

      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.