• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Recipes
  • About Me
  • Contact
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • Youtube
Sugar Spun Run
  • All Recipes
  • Desserts
    • Cookies
    • Candy
    • Bars & Brownies
    • Cake
    • Pies
  • Breads (Yeast & Quick Breads)
  • Savory
  • Breakfast
    • Muffins
    • Scones
  • Seasonal
    • Cozy Winter / Holiday Treats
    • Easter / Spring
    • Fall Recipes
    • Summer Recipes
  • Shop
menu icon
go to homepage
search icon
Homepage link
  • Home
  • About Me
  • All Recipes
  • Contact/Work with Me
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • Youtube
  • ร—
    Home ยป Recipes ยป Desserts

    Chocolate Zucchini Cake

    August 10, 2023 By Sam 43 Comments

    This post may contain affiliate links. As an Amazon Associate I earn from qualifying purchases. Please read my disclosure policy.
    Jump to Recipe Jump to Video
    collage of chocolate zucchini cake, top image of slice of cake with bite taken, bottom image of slice on white plate

    This chocolate zucchini cake is so chocolatey, so moist, and so flavorful, you’ll never taste the zucchini (seriously!). I top mine with an indulgent chocolate cream cheese frosting that’s simple and not-too-sweet. Recipe includes a how-to video!

    Square slice of frosted chocolate zucchini cake missing a bite.

    Incredible Chocolate Zucchini Cake

    “Your chocolate zucchini cake needs tweaking.” My mom said to me, scraping the last few fudgy crumbs from her plate onto her fork.

    “What? What’s wrong with it!?” All of my other taste-testers had raved about this recipe and I’d already marked it down as being perfected. I was in love with the rich fudginess, the deep, decadent chocolate taste and perfectly balanced moisture, the ✨perfectly✨ complementary chocolate cream cheese frosting, and honestly I was just stunned that she wasn’t.

    “Oh, it’s delicious, it’s so good.” She cut another slice. “But I can’t taste the zucchini at all. Not even a little bit.” A wave of relief washed over me immediately.

    While my mother might disagree, you are not supposed to taste the zucchini in a zucchini dessert (or zucchini bread for that matter)! No, its purpose is to impart moisture, create a lovely texture, use up a surplus of (typically ridiculously large and prolific) garden squash, and, sure, even to sneak a healthy component to an otherwise indulgent treat. This recipe ticks all the boxes and I’d be lying if I said I wasn’t patting myself on the back after trying my first bite.

    Overhead view of a frosted chocolate cake that's been cut into squares in a pan.

    Why you’ll love it:

    • Amazing crumb: Moist, without being wet or spongey (sometimes a tricky feat when adding shredded veggies to cake). The crumb is deliriously chocolatey, tender, melt-in-your mouth and so soft.
    • Easy: No peeling the zucchini, no mixer needed for the cake, and no stacking, layering, or fussy decorating required.
    • Incredible chocolate flavor: Blooming the cocoa by mixing it in steaming hot water (or hot coffee) intensifies the chocolate flavor (so helpful when making chocolate cake!).
    • Perfect frosting: So far, every single person who has tried this cake has proceeded to rave about the frosting! It’s subtly tangy, smooth and creamy. I originally considered doing a simple ganache topping, but the chocolate cream cheese frosting complements the zucchini much better.

    I’m so happy with how this cake turned out. It’s adapted from my chocolate zucchini muffins and double chocolate muffins, and the flavor is incredible. I promise no one will know there is zucchini inside (which is the whole point of the recipe–more on this below!).

    What You Need

    There are quite a few ingredients pictured below, but all but a few are pantry staples most bakers will already have on hand. Let’s talk a bit about a few of them.

    Overhead view of ingredients including zucchini, brown sugar, sour cream, cocoa powder, and more.
    • Zucchini. There is no need to peel your zucchini before shredding it–yay! Make sure you do blot it after shredding though–we want to avoid adding too much moisture to our cake.
    • Sour cream. A key source of moisture, flavor, and tenderness! Sour cream is one of my favorite ingredients to bake with. Full-fat plain greek yogurt would also work just fine here.
    • Cocoa powder. Stick with natural cocoa powder here, as dutch process cocoa could cause leavening issues since we are using only baking soda. If you want to learn more about the science behind this, check out my posts on natural vs. dutch process cocoa and baking powder vs. baking soda.
    • Hot water. Your water should be so hot it’s steaming (or boiling!). This is critical for blooming the cocoa powder and bringing out its flavor, similar to steeping tea or brewing coffee.
    • Mini chocolate chips. A sprinkle of mini chocolate chips on top of the frosting adds a nice texture. You could also throw some chocolate chips in the batter (up to a cup), but there’s enough chocolate going on here that it’s not really necessary.

    SAM’S TIP: If you’d really like to deepen the chocolate flavor, add a pinch of instant coffee or espresso to your cocoa powder and hot water mixture! This won’t make your cake taste like coffee, but it will intensify the chocolate flavor.

    Remember, this is just an overview of the ingredients I used and why. For the full recipe please scroll down to the bottom of the post!

    How to Make Chocolate Zucchini Cake

    Prep the Zucchini

    Two photos showing zucchini being shredded and blotted.
    1. Shred the zucchini using the shred blade of a food processor, then (optional, see below) very briefly pulse to chop the shreds into more manageable bits.
    2. Blot the zucchini with paper towels to remove excess moisture. I do this step after measuring/weighing the zucchini. While not all recipes require the zucchini to be blotted, I find that not blotting it made this cake too wet.

    SAM’S TIP: While you could use a box grater, I personally like using my food processor to shred my zucchini. Much like the carrots in my carrot cake, I first use the shred blade, then switch to a normal blade to briefly pulse the zucchini into smaller bits. If you do this too, be careful not to pulse too much, or you could make the zucchini watery. Of course, you could also skip this extra step and just use the hand grater, just note you may have more discernible pieces of zucchini in your cake.

    Make the Cake Batter

    Four photos showing chocolate cake batter being prepared and combined with shredded zucchini.
    1. Whisk together all dry ingredients except the cocoa powder, then set aside.
    2. Add the cocoa powder to the very hot water and whisk until smooth, then stir this mixture into your melted butter.
    3. Add the sour cream, eggs, and vanilla to the butter mixture and stir well to combine.
    4. Gently fold the dry ingredients into the wet ingredients until halfway combined, then add the zucchini. Fold in the zucchini until fully incorporated.
    Two photos showing a chocolate cake in a pan before and after baking.
    1. Pour the batter into a greased 9×13 pan and bake for 33-35 minutes at 350F.
    2. Test for doneness with a toothpick, then remove from the oven and let cool completely before frosting.

    Frosting

    Two photos showing frosting being spread over a chocolate sheet cake before adding mini chocolate chips.
    1. Prepare the frosting and spread it evenly over the cooled cake.
    2. Top with mini chocolate chips, if desired, then slice and enjoy!

    SAM’S TIP: While you can use a mixer for the frosting, don’t use it for the cake batter! If you do, you could end up over-mixing the batter, which can lead to a dense, rubbery cake.

    Metal pan of chocolate zucchini cake missing a few slices.

    Frequently Asked Questions

    Does chocolate zucchini cake taste like zucchini?

    Nope! The point of a zucchini baked good recipe is not to taste the zucchini; it’s to use up garden produce in a practical way. Baked goods are a great way to do this because the zucchini adds a ton of moisture but is neutrally flavored, so it doesn’t make your dessert taste like you’re eating vegetables.

    Does chocolate zucchini cake need to be refrigerated?

    If you need it to last longer than a day or two, yes. I recommend refrigerating after 24 hours and enjoying within five days of baking. Make sure to store in an airtight container so it doesn’t dry out in the fridge.

    Can I use a different frosting?

    Sure! Chocolate ganache, peanut butter frosting, raspberry frosting, brown butter frosting, coffee frosting, and salted caramel frosting would all be great choices here. Also, if you’re a frosting fiend like me, check out my 7 classic frosting recipes email series!

    Slice of frosted chocolate zucchini cake on a white plate.

    Would you like to see any other zucchini recipes? I’ve got one more coming later this month that I’m very excited to share!

    Enjoy!

    Let’s bake together! I’ll be walking you through all the steps in my written recipe and video below! Find over 500 of my baking videos for FREE on YouTube.

    Square slice of frosted chocolate zucchini cake missing a bite.

    Chocolate Zucchini Cake

    This chocolate zucchini cake is so chocolatey, so moist, and so flavorful, you'll never taste the zucchini! I top mine with a chocolate cream cheese frosting that's simple and not-too-sweet.
    Recipe includes a how-to video!
    5 from 18 votes
    Print Pin Rate
    Prevent your screen from going dark
    Course: Cake, Dessert
    Cuisine: American
    Prep Time: 25 minutes minutes
    Cook Time: 32 minutes minutes
    Total Time: 57 minutes minutes
    Servings: 12 servings
    Calories: 604kcal
    Author: Sam Merritt

    Ingredients

    For Cake

    • 2 cups (250 g) all-purpose flour
    • 1 cup (200 g) granulated sugar
    • 1 cup (200 g) light brown sugar firmly packed
    • 1 ½ teaspoons baking soda
    • ½ teaspoon table salt
    • ½ cup (50 g) natural cocoa powder
    • ½ cup (118 ml) steaming hot or boiling water
    • 10 Tablespoons (141 g) melted butter
    • 1 cup (240 g) sour cream
    • 2 large eggs lightly beaten
    • 2 teaspoons vanilla extract
    • 1 ½ cups (200 g) shredded zucchini I pat dry with a paper towel after weighing/measuring

    For Frosting

    • 8 oz (226 g) cream cheese softened
    • ½ cup (113 g) unsalted butter softened
    • 2 ½ cups (315 g) powdered sugar
    • ⅓ cup (35 g) cocoa powder
    • ¾ teaspoon vanilla extract
    • ⅛ teaspoon table salt
    • 2 Tablespoons mini chocolate chips for topping optional

    Recommended Equipment

    • Box grater
    • Mixing bowls
    • 13×9 baking pan
    • Electric mixer

    Instructions

    For Cake

    • Preheat oven to 350F (175C) and lightly grease a 9×13 baking dish with butter.
    • In a large mixing bowl, whisk together flour, sugars, baking soda, and salt until well-combined.
      2 cups (250 g) all-purpose flour, 1 cup (200 g) granulated sugar, 1 cup (200 g) light brown sugar, 1 ½ teaspoons baking soda, ½ teaspoon table salt
    • Pour cocoa powder into a separate, heatproof mixing bowl and then pour hot/boiling water overtop. Whisk until smooth.
      ½ cup (50 g) natural cocoa powder, ½ cup (118 ml) steaming hot or boiling water
    • Add butter and whisk until combined.
      10 Tablespoons (141 g) melted butter
    • Add sour cream, egg, and vanilla extract and whisk well.
      1 cup (240 g) sour cream, 2 large eggs, 2 teaspoons vanilla extract
    • Add dry ingredients to the wet and use a spatula to gently fold ingredients together until about halfway combined. Add zucchini and continue to stir until ingredients are well incorporated and batter is uniform – do not overmix or cake will be dense and dry.
      1 ½ cups (200 g) shredded zucchini
    • Spread batter evenly into prepared pan and transfer to center rack of 350F (175C) oven and bake for 33-35 minutes and until a toothpick inserted in center comes out clean or with moist crumbs. Allow cake to cool completely before covering with frosting.

    For Frosting

    • Combine cream cheese and butter in a mixing bowl and stir until smooth and creamy. Gradually add powdered sugar and stir until combined.
      8 oz (226 g) cream cheese, ½ cup (113 g) unsalted butter, 2 ½ cups (315 g) powdered sugar
    • Stir in cocoa powder.
      ⅓ cup (35 g) cocoa powder
    • Add vanilla extract and salt and stir until smooth and well combined.
      ¾ teaspoon vanilla extract, ⅛ teaspoon table salt
    • Spread frosting evenly over cooled cake (I ice it directly in the pan) then sprinkle with mini chocolate chips for decoration. Slice and enjoy.
      2 Tablespoons mini chocolate chips for topping

    Notes

    Storing

    Cover with foil or plastic wrap and store at room temperature for up to 24 hours or in the refrigerator for up to 5 days. Cake may also be frozen for several months.

    Nutrition

    Serving: 1serving | Calories: 604kcal | Carbohydrates: 83g | Protein: 6g | Fat: 30g | Saturated Fat: 18g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 8g | Trans Fat: 1g | Cholesterol: 103mg | Sodium: 421mg | Potassium: 244mg | Fiber: 3g | Sugar: 62g | Vitamin A: 977IU | Vitamin C: 3mg | Calcium: 79mg | Iron: 2mg

    Nutritional information is based on third-party calculations and should be considered an estimate only. Actual nutritional content will vary based upon brands used, measuring methods, cooking method, portion sizes, and more.

    Tried this recipe? Show me on Instagram!Mention @SugarSpun_Sam or tag #sugarspunrun!

    Related Recipes

    • Chocolate zucchini muffins topped with chocolate chips on a metal cooling rack.
      Chocolate Zucchini Muffins
    • sliced zucchini bread
      Zucchini Bread
    • Close-up view of a chocolate chip zucchini muffin.
      Chocolate Chip Zucchini Muffins
    • zucchini roll
      Zucchini Roll
    « Blueberry Lemonade
    Oreo Frosting »

    Reader Interactions

    Comments

    1. Eli

      September 06, 2024 at 10:45 am

      5 stars
      This cake is absolutely delicious! I followed the recipe as written (just cut in half for my lowly 8 x 8″ pan-23 minutes convection oven time). I used a box grater because, with my skill set, I was afraid of making zucchini pesto, haha, and there was no trace of them in the batter, much to the delight of my veggie-phobic grandson. ๐Ÿ˜‰ O, the frosting… too much taste-testing! Thank you for this incredible recipe. It’s a keeper.

      Reply
      • Sam

        September 06, 2024 at 4:22 pm

        I’m so glad you enjoyed it so much, Eli! ๐Ÿ™‚

        Reply
    2. Marzeedotes

      August 31, 2024 at 1:31 pm

      5 stars
      I have no words to describe how good this cake tastes. Even without the frosting it is delicious and then you add that velvety goodness on top and wow! Over the top! Thanks for the great recipe.

      Reply
      • Sam

        September 03, 2024 at 10:12 am

        I’m so glad you enjoyed it so much! ๐Ÿ™‚

        Reply
    3. El

      August 28, 2024 at 4:43 pm

      5 stars
      This is an awesome recipe!! YUM! I am making it again for the weekend

      Reply
      • Emily @ Sugar Spun Run

        August 28, 2024 at 4:44 pm

        So glad you are enjoying it, El! ๐Ÿฅฐ

        Reply
    4. Janice

      August 18, 2024 at 4:08 pm

      5 stars
      I love this recipe! I do use coffee to bloom the cocoa and I add a bit of cayenne pepper for some zing. Delicious!

      Reply
      • Emily @ Sugar Spun Run

        August 19, 2024 at 11:25 am

        Yum, love that idea! Enjoy, Janice ๐Ÿฉท

        Reply
    « Older Comments
    5 from 18 votes (6 ratings without comment)

    Leave a Reply Cancel reply

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

    Recipe Rating




    Primary Sidebar

    The author (Sam) in blue shirt holding donut Hi, I'm Sam! I'm dedicated to bringing you sweet, simple, and from-scratch dessert recipes. My life may or may not be controlled by my sweet tooth. Send help (or chocolate). Read more about me.

    Warm Weather Recipes

    large glass pitcher of homemade strawberry lemonade with sliced strawberries and lemons as a garnish

    Strawberry Lemonade

    Square slice of zucchini cake topped with cream cheese frosting with one forkful sitting beside the slice.

    Zucchini Cake

    bowl of chicken corn chowder topped with bacon and green onions

    Chicken Corn Chowder

    white dish filled with restaurant-style homemade salsa

    Homemade Salsa (Quick & Easy!)

    lemon cake on white plate

    Lemon Cake

    Glass bowl of ambrosia salad topped with a maraschino cherry.

    Ambrosia Salad

    More Spring Recipes

    Most Popular

    flaky biscuit on white cloth

    Easy Homemade Biscuits

    Pizza dough in glass bowl, after rising

    The Best Pizza Dough Recipe

    Slice of cheesecake

    The Best Cheesecake Recipe

    Potato soup in bowl, with toppings

    The Ultimate Creamy Potato Soup

    one bite missing from a slice of vanilla cake with chocolate frosting

    The Best Vanilla Cake Recipe

    Stack of cookies made from this chocolate chip cookie recipe with melty chocolate chips and a bite missing from the top cookie

    The WORST Chocolate Chip Cookie Recipe

    places sugar spun run has been featured (Women's Day, Redbook, Good Housekeeping, Country Living, the huffington post, People, Delish, MSN, TLC, Parade, Better Homes & Gardens, Buzzfeed)
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • Youtube

    Privacy Policy

    Footer

    โ†‘ back to top

    ABOUT

    • About Me
    • Policies, Disclosure & Privacy
    • Terms of Use

    CONTACT

    • Contact
    • Work with Me!

    ยฉ 2020 Sugar Spun Run. All Rights Reserved

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required

    Recipe Ratings without Comment

    Something went wrong. Please try again.