This post contains affiliate links. Please see our disclosure policy.

Zucchini Cake is the perfect summer snack cake! A simple one-bowl batter makes an incredibly tender & moist cake, with a hint of warm spices and plenty of freshly grated zucchini. Slather a brown butter cream cheese frosting on top – I guarantee it’s the best frosting you’ll ever taste!

Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Why you’ll love this Zucchini Cake:

  • Tender & Moist Cake – This spiced cake is super tender & the shredded zucchini makes it nice and moist! Bonus – it stays moist in the fridge for days!
  • Easy Recipe – This is a simple one-bowl cake you can whip up at a moment’s notice.
  • Brown Butter Cream Cheese Frosting – The flavor in this frosting is incredible! You’ll want to add it to everything you bake.
A close-up on a slice of the cake with a few bites missing.

Ingredient Overview:

As always, the full recipe with measurements & directions can be found in the recipe card at the bottom of this post. Use the table of contents (back at the top, below the first image, to navigate).

  • Vegetable Oil – Using vegetable oil keeps this cake ultra tender & moist. It tastes just as good as a butter based cake, but is much more tender!
  • Eggs – Use large eggs, at room temperature.
  • Sour Cream – Use full fat sour cream, at room temperature.
  • All-purpose flour – Spoon your flour into the measuring cup, then level it with a flat utensil for best results, or use a scale. Scooping the measuring cup directly into your flour will lead to too much flour, and a potentially dry bake.
  • Milk – Use any milk you like, at room temperature. I’ve used oat milk and 2% dairy milk in this recipe.
  • Zucchini – Use fresh zucchini, finely grated. There’s no need to squeeze out the liquid – it helps keep this cake moist! If you still have more zucchini to use up after making this, try my Zucchini Pancakes or my super moist & fluffy Zucchini Bread!
  • Cream Cheese – Use full fat blocks of cream cheese.

Recipe Substitutions & Variations:

  • Gluten-free – I have not tested a gluten-free version of this recipe.
  • Dairy-free – Use your favorite, trusted dairy-free butter (not margarine) and cream cheese for the frosting to make this recipe dairy-free.

How to Make this Zucchini Cake Recipe:

Step 1: Brown the Butter. Melt butter in a medium saucepan over medium heat, then continue cooking, stirring lazily, for 5 minutes or so, until foamy and golden brown. This simple step intensifies the flavor of the butter and adds caramely, nutty notes.

A pot of brown butter.

Step 2: Make the Cake Batter. Beat together eggs and sugar. Whisk in the oil, sour cream, & vanilla. Add the dry ingredients and fold in with a silicone spatula until the flour mixture is halfway incorporated, then mix in the milk & grated zucchini.

Four images of the cake batter coming together.

Step 3: Bake the Cake. Transfer the batter to the prepared 9-inch baking pan. Bake your cake as directed in the recipe below. Let it cool in the pan for 10 minutes, then invert onto a cooling rack to cool completely before frosting.

(Spray your rack with a little nonstick spray – the top of this cake is moist and will stick to the rack as I found out, heh!)

Two images - one of the unbaked cake batter in a pan, and one of the baked cake.

Step 4: Make Frosting. Beat together cream cheese and butter. Add powdered sugar and vanilla, and mix until creamy. If it’s not coming together, add 1-2 tsp of milk. Taste, and add a pinch of salt and or cinnamon to taste (don’t skip these flavor makers!).

A close-up on the brown butter cream cheese frosting in a bowl.

Step 5: Frost the Cake. Spread the frosting onto your cooled cake. Pile the frosting in the center of the cake. Then, use an offset spatula to push it out towards the edges of the cake.

But, don’t break through the edges of the frosting – keeping those intact will create that beautiful, pillowy look. Sprinkle crushed pecans or walnuts on top for decoration, if desired. You can also peel ribbons of zucchini and roll them up for fun.

The sliced square zucchini cake frosted and topped with chopped nuts and zucchini spirals.

Serving + Storing:

Serve with cold milk or hot coffee – whichever you prefer, they’re both wonderful with this moist zucchini cake. Store the cake in an airtight container, and keep in the fridge for up to 3-4 days. Set it on the counter and bring to room temperature before serving.

Expert Baking Tips:

  • Zucchini – Weigh your zucchini out to make sure you’re adding the correct amount! Be sure to finely grate it on your box grater – most of them have larger holes on one side and smaller holes on the other – use the smaller size.
  • Oven Thermometer – An oven thermometer will tell you if your oven is actually running at the temperature you set it to. Your oven may not be accurate. Accurate oven temperature is crucial for most bakes, so I leave an oven thermometer in at all times to keep an eye on my oven’s calibration.
  • Kitchen Scale – A food scale is the best way to make sure your flour is at the proper weight, since amounts will vary SO widely based on how you measure it, as well as the measuring cup you use, as they are not standardized.
A slice of the zucchini cake topped with frosting, nuts, and zucchini spirals.

FAQs:

Can I double this recipe?

Yes, you can double the recipe and bake in two 9-inch square or round cake pans. You can then frost between the two layers and stack them like a layer cake, or serve them as two separate single-layer cakes. You can also double and bake in a 9 x 13-inch pan.

Can I halve this recipe?

Yes! Bake in a 6-inch round cake pan or something similar in size. The bake time will be about half.

Can I substitute another vegetable for zucchini?

Different fruits and vegetables have a different moisture content, so they aren’t necessarily 100% interchangeable. However, this recipe is closely based off of my mini carrot cake recipe – if you want to use up some carrots instead, I recommend making that recipe!

Can I make this as a bundt cake?

I haven’t tried it but my guess is that the cake may be a bit too delicate for the bundt pan. Let me know if you decide to try it!

Can I make this into a layer cake?

Yes! Double the batter and bake in two 8-inch or 9-inch cake pans. Grease the pans with shortening and a parchment round, then dust well with flour. Tap out the excess. Bake for 18-24 minutes, rotating halfway through.

A close-up of a slice of cake on a plate, with a bite missing.

Special Tools:

  • 9-Inch Pan – Use a metal 9-inch pan. You can also use a 9-inch round pan. The important thing is to use a metal pan as it conducts heat much better than ceramic or glass and will give you the most even bake.
  • Food Processor – Use the grating attachment that came with your food processor to quickly shred your zucchini! It makes grating any vegetable (or even blocks of cheese!) a total breeze.

More Zucchini Recipes to Love:

More Snack Cake Recipes to Love:


Did you make this recipe? Leave a comment & star rating! 

Click the little stars in the header of the recipe card below to leave a comment & star rating, letting me know how you liked the recipe. I take all feedback seriously, & leaving a rating helps my small business immensely!


The sliced zucchini cake frosted and decorated with chopped nuts & zucchini spirals.
5 from 1 vote

Zucchini Cake with Brown Butter Cream Cheese Frosting

By Stephanie Simmons
Zucchini Cake is the perfect summer snack cake! A simple one-bowl batter makes an incredibly tender & moist cake, with a hint of warm spices and plenty of freshly grated zucchini. Slather a brown butter cream cheese frosting on top – I guarantee it's the best frosting you'll ever taste!
Prep: 40 minutes
Cook: 43 minutes
Total: 1 hour 23 minutes
Servings: 9 to 16 slices
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

For the Cake

  • 2 large eggs, at room temperature
  • 3/4 cup + 2 tbsp dark brown sugar, packed, 190 grams
  • 1/3 cup granulated sugar, 75 grams
  • 1/2 cup vegetable oil, 112 mL
  • 3 tbsp full fat sour cream, at room temperature , 40 grams
  • 1 tsp vanilla extract
  • 1 and 1/3 cup + 2 tbsp all-purpose flour, spooned & leveled or weighed out , 191 grams
  • 1 and 1/4 tsp baking powder
  • 1/2 tsp + 1/8 tsp baking soda
  • 1/4 tsp salt
  • 2 tsp cinnamon
  • 1/2 tsp nutmeg
  • 1/8 tsp ground cloves
  • 2/3 cup milk, at room temperature , I use 2%. 160 mL
  • 1 and 1/3 cups finely grated zucchini, Do not ring it out. 138 grams (weight is the more reliable measure here) *see note below

For the Brown Butter Cream Cheese Frosting

  • 6 tbsp salted butter, cubed, See note
  • 6 ounces cream cheese, cold, 170 grams
  • 1 and 1/2 cups to 2 cups of powdered sugar, Start with less and add more to taste if desired! 173 to 230 grams
  • 1 tsp vanilla extract
  • pinch of salt
  • pinch of cinnamon

Instructions 

  • Brown the Butter:  Brown your butter ahead of time so it can chill in the fridge. In a nonstick pot or pan over medium heat, melt the butter. Turn the heat to medium-low and continue cooking the butter – stirring constantly. The butter will get foamy, then turn golden, then start to turn brown and develop a nutty/caramely aroma. Once it reaches a deep golden color, remove from the heat and pour into a heat-safe container. Let it chill in the fridge so that it can come back to the consistency of room temperature softened butter.
    Make-Ahead Tip: This can be done up to 2 weeks ahead and stored in an airtight container in the fridge. Let it soften back to room temp before using, as you normally would with butter, if it has completely hardened.
  • Prep: Preheat your oven to 350° F. Grease a 9×9 inch cake pan with shortening (use a paper towel and make sure to get into all the corners well). Then, dust the pan with flour, tapping it around so the shortening is coated entirely. This will ensure your cake pops out perfectly after baking!
    Note: If you don't have shortening, spray the pan with nonstick spray then line it with parchment paper so all the sides and bottom are completely covered.
  • Make the Cake Batter: Add the eggs to a large mixing bowl and beat with an electric mixer for 30 seconds on medium high speed. Add sugars and beat on medium high speed until the mixture is pale and thick, 1 minute. Whisk in the oil, sour cream, and vanilla.
    2 large eggs, at room temperature , 3/4 cup + 2 tbsp dark brown sugar, packed, 1/3 cup granulated sugar, 1/2 cup vegetable oil, 3 tbsp full fat sour cream, at room temperature , 1 tsp vanilla extract
  • Finish the Cake Batter: Add the dry ingredients and begin folding in with a silicone spatula until halfway incorporated, then pour in the milk, grated zucchini, and chopped nuts (if using). Continue gently folding together just until the last streaks of flour disappear into the batter. If there are a few lumps, that's fine.
    1 and 1/3 cup + 2 tbsp all-purpose flour, spooned & leveled or weighed out , 1 and 1/4 tsp baking powder, 1/2 tsp + 1/8 tsp baking soda, 1/4 tsp salt, 2 tsp cinnamon, 1/2 tsp nutmeg, 1/8 tsp ground cloves, 2/3 cup milk, at room temperature , 1 and 1/3 cups finely grated zucchini
  • Bake: Pour the batter into your prepared pan, and bake for 35 to 41 minutes. A toothpick inserted into the center of the cake should come out clean or with a few moist crumbs, not wet batter. Let the cake cool in the pan on a cooling rack for 10 minutes, then invert it onto a plate, then onto a cooling rack (so it's right-side-up). Let the cake cool completely before frosting it.
  • Make the Brown Butter Cream Cheese Frosting: Add the brown butter and cream cheese to a medium mixing bowl and cream on high speed with an electric mixer until well combined, about a minute. Add the powdered sugar and vanilla, and mix until creamy. If it's not coming together, add 1-2 tsp of milk. Taste, and add a pinch of salt and or cinnamon to taste (don't skip these flavor makers!). Frost the cooled cake with a butter knife or offset spatula and create swoops and swirls with the back of a spoon for a pretty look.
    6 tbsp salted butter, cubed, 6 ounces cream cheese, cold, 1 and 1/2 cups to 2 cups of powdered sugar, 1 tsp vanilla extract, pinch of salt, pinch of cinnamon
  • Serve + Store: Sprinkle the top of the cake with chopped nuts, sprinkles, or serve it as is. Serve the cake immediately, and store leftovers in an airtight container in the fridge for 3-4 days.

Notes

Zucchini Notes: Weigh your zucchini out to make sure you’re adding the correct amount! Be sure to finely grate it – most box graters have larger holes on one side and smaller holes on the other – use the smaller size.
Half an Egg: To measure half an egg, simply beat a whole egg well in a small bowl or measuring cup. One large egg is about 50 grams. Use half of that – 25 grams, or two tablespoons. Reserve the other half for your morning scramble!
Brown Butter: I love the flavor the brown butter adds to the frosting, but you can just use the butter as-is in a pinch, instead of browning it. 

Nutrition

Serving: 1slice, Calories: 552kcal, Carbohydrates: 70g, Protein: 6g, Fat: 29g, Saturated Fat: 12g, Polyunsaturated Fat: 8g, Monounsaturated Fat: 7g, Trans Fat: 0.4g, Cholesterol: 85mg, Sodium: 335mg, Potassium: 171mg, Fiber: 1g, Sugar: 54g, Vitamin A: 639IU, Vitamin C: 3mg, Calcium: 112mg, Iron: 1mg

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

Like this? Leave a comment below!

Stephanie Simmons

Iโ€™m a Mom & Grandma-taught cook + baker, and Iโ€™m excited to share my love of all things food with you!

You May Also Like

5 from 1 vote

Leave a comment

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

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

20 Comments

  1. Kayla S says:

    5 stars
    Love this recipe! Great way to use up that late summer zucchini harvest. The spices were perfect and got me ready for Fall!

    1. Stephanie Simmons says:

      Thanks so much, Kayla!

  2. Claire says:

    I love all ways of hiding veg from my kids ๐Ÿ˜‰
    And in cakes has to be the best way!!!!
    thanks for sharing….these looks scrummy!

    1. Stephanie Simmons says:

      Thanks so much Claire! Hope your kids love them ?

  3. Casey says:

    These look so good? I love zucchini bread! Loving the addition of chocolate. Can’t wait to try this

    1. Stephanie Simmons says:

      Thanks Casey! โค๏ธ

  4. Linda | Brunch-n-Bites says:

    I’ve always love the combination of zucchini and chocolate; and these mini bundt cakes are perfect for my next gathering.

    1. Stephanie Simmons says:

      So glad to hear that, Linda!

  5. Jacqueline Debono says:

    I love the idea of using zucchini in cakes. I have tried it but your little cakes have inspired me to give it a try!

    1. Stephanie Simmons says:

      Thanks Jacqueline!

  6. mydeliciousmeals says:

    That’s a great way to hide some veggies for kids! I wish there was a video for it. Going on my menu for this week. Thanks much

    1. Stephanie Simmons says:

      Thanks so much! It is a great way to hide those veggies ๐Ÿ˜‰ I’ve been thinking about doing some Instagram or Facebook live videos where I make one of my recipes! Would that be helpful?? Let me know! ๐Ÿ™‚

  7. Mayuri Patel says:

    So pretty like the way you can see those bright green specks peeping out of the mini bundt cakes. I too prefer smaller portions of desserts…so much easier to serve and carry.

    1. Stephanie Simmons says:

      Right!?

  8. Nayna Kanabar says:

    These are a great way to sneak green veggies into your kids diet. Paired with chocolate they must taste delicious.

    1. Stephanie Simmons says:

      They are so delicious!

  9. Alison Rost says:

    That looks amazing! Definitely a treat that you’d like to make for the whole family or whenever there’s a special occasion. I really love how you served them as well! I love the fact that you can squeeze in some veggies and no one will notice!

    1. Stephanie Simmons says:

      Thanks Alison!!

  10. Chef Mireille says:

    these look amazing – I make/eat zucchini bread all the time the addition of chocolate must put these over the top

    1. Stephanie Simmons says:

      Yes! It makes them a little more delicious and special ??