Classic Pumpkin Spice Zucchini Cake

By Mila | Updated on January 7, 2025

I used to think putting zucchini in dessert was weird until my neighbor handed me a bag of giant zucchini from her garden. She swore her zucchini chocolate chip muffins were amazing, but I was skeptical.

Turns out, zucchini makes cake incredibly moist without adding any veggie taste. When you mix it with pumpkin spice, you get all those cozy fall flavors we love—cinnamon, nutmeg, and that warm spice blend that makes your kitchen smell like autumn. Plus, you’re sneaking vegetables into dessert, which feels like a win for busy parents.

pumpkin spice zucchini cake
Image: theamazingfood.com / All Rights reserved

Why You’ll Love This Pumpkin Spice Zucchini Cake

  • Sneaky way to use up zucchini – This cake is perfect for using those extra zucchini from your garden, and you can’t even taste them in the finished cake – just added moisture and nutrition.
  • Perfect fall flavors – The combination of pumpkin and warm spices like cinnamon, nutmeg, and ginger creates that cozy autumn taste everyone craves.
  • Incredibly moist texture – Thanks to the zucchini, pumpkin, and oil, this cake stays tender and moist for days, making it great for meal prep or potluck dinners.
  • Flexible frosting options – You can keep it simple with just frosting between layers and on top, or go all out for special occasions – the choice is yours.
  • One-hour baking project – From start to finish, you can have this cake ready in about an hour, making it doable even on busy weeknights.

What Kind of Zucchini Should I Use?

Any fresh zucchini will work great for this cake, but medium-sized zucchini tend to be the best choice since they’re not too watery and have fewer large seeds. You don’t need to peel the zucchini – just wash it well and grate it using the large holes of a box grater or the grating attachment on your food processor. If your zucchini seems particularly watery after grating, you can lightly squeeze it in a clean kitchen towel to remove some excess moisture, but it’s usually not necessary. Fresh zucchini from your garden or the farmers market will give you the best flavor, but store-bought works perfectly fine too.

pumpkin spice zucchini cake
Image: theamazingfood.com / All Rights reserved

Options for Substitutions

This cake is pretty forgiving when it comes to swaps, so here are some options if you need to make changes:

  • Canola oil: You can substitute with vegetable oil, melted butter (cooled slightly), or even applesauce for a lighter version. If using applesauce, use ¾ cup and expect a slightly denser texture.
  • Zucchini: Yellow squash works perfectly as a 1:1 swap for zucchini. Make sure to squeeze out excess moisture from whichever you use with a clean kitchen towel.
  • Canned pumpkin: Sweet potato puree, butternut squash puree, or even applesauce can replace the pumpkin. Just make sure it’s plain puree, not pie filling.
  • Brown sugar: You can use all white sugar instead, but you’ll lose some of that rich molasses flavor. Or try coconut sugar for a similar taste.
  • Cream cheese frosting: Not a fan of cream cheese? Try a simple powdered sugar glaze with milk and vanilla, or even a caramel drizzle would be delicious.
  • Spices: Don’t have all the individual spices? Use 2½ teaspoons of pumpkin pie spice instead of the ginger, cinnamon, and nutmeg combination.

Watch Out for These Mistakes While Baking

The biggest mistake when making this pumpkin spice zucchini cake is not properly draining your grated zucchini, which can make your cake dense and soggy – squeeze the zucchini in a clean kitchen towel or paper towels to remove excess moisture before adding it to the batter. Another common error is overmixing once you add the flour, so fold the dry ingredients in gently just until combined to keep your cake tender and light. Make sure your cream cheese is truly softened to room temperature before making the frosting, or you’ll end up with lumps that are hard to smooth out. Don’t forget to check for doneness with a toothpick inserted in the center – it should come out with just a few moist crumbs, and let the cake cool completely before frosting or the cream cheese frosting will melt right off.

pumpkin spice zucchini cake
Image: theamazingfood.com / All Rights reserved

What to Serve With Pumpkin Spice Zucchini Cake?

This cake is perfect on its own, but I love serving it with a hot cup of coffee or spiced chai tea to complement all those warm fall spices. A scoop of vanilla ice cream on the side makes it feel extra special for dessert, and the cool creaminess pairs beautifully with the moist, spiced cake. For a cozy afternoon treat, try it with some whipped cream and a light dusting of cinnamon, or serve it alongside fresh apple slices for a fun autumn-themed spread. The cream cheese frosting is already pretty rich, so simple pairings work best to let the cake be the star of the show.

Storage Instructions

Keep Fresh: This pumpkin spice zucchini cake stays moist and delicious when covered tightly and stored at room temperature for up to 3 days. If you’ve added the cream cheese frosting, pop it in the fridge instead where it’ll keep for up to a week. The flavors actually get better after a day or two!

Freeze: You can freeze this cake for up to 3 months, either frosted or unfrosted. Wrap individual slices in plastic wrap and then place in a freezer bag for easy grab-and-go treats. If freezing the whole cake, wrap it well in plastic wrap and then aluminum foil to prevent freezer burn.

Serve: Frozen slices thaw perfectly at room temperature in about 30 minutes, or you can pop them in the microwave for 15-20 seconds for a quick warm-up. If you froze the whole cake, let it thaw overnight in the fridge before bringing to room temperature for serving.

Preparation Time 20-30 minutes
Cooking Time 20-30 minutes
Total Time 40-60 minutes
Level of Difficulty Medium

Estimated Nutrition

Estimated nutrition for the whole recipe (without optional ingredients):

  • Calories: 5400-5800
  • Protein: 46-54 g
  • Fat: 240-260 g
  • Carbohydrates: 750-820 g

Ingredients

For the cake:

  • 1 tsp ground ginger
  • 2 tsp vanilla extract (I use Nielsen-Massey)
  • 1 tsp baking powder
  • 1 tsp kosher salt
  • 2 tsp baking soda
  • 1 cup canola oil
  • 1 cup canned pumpkin puree (I use Libby’s)
  • 4 large eggs (room temperature for better mixing)
  • 1 cup sugar
  • 3 cups all-purpose flour (I use King Arthur)
  • 3/4 cup brown sugar (packed)
  • 3/4 tsp nutmeg (freshly grated gives superior flavor)
  • 1 1/2 tsp cinnamon (freshly ground preferred)
  • 2 cups shredded zucchini (squeeze out excess moisture)

For the cream cheese frosting:

  • 1/4 cup butter (melted and cooled)
  • 4 tbsp milk (add gradually for desired consistency)
  • 8 oz cream cheese (softened to room temperature)
  • 5 cups powdered sugar

Step 1: Prepare Your Mise en Place and Preheat

  • 2 cups shredded zucchini
  • 3 cups all-purpose flour
  • 2 tsp baking soda
  • 1 tsp kosher salt
  • 1 tsp baking powder
  • 1 tsp ground ginger
  • 1 1/2 tsp cinnamon
  • 3/4 tsp nutmeg

Preheat your oven to 350°F and spray two 9-inch round cake pans with cooking spray, then line the bottoms with parchment paper for easy removal.

While the oven heats, prepare your zucchini by shredding it and squeezing out excess moisture in a clean kitchen towel—this prevents the cakes from becoming dense and soggy.

Measure out all your dry ingredients (flour, baking soda, salt, baking powder, ginger, cinnamon, and nutmeg) into a separate bowl so they’re ready to mix in quickly.

I like to use freshly grated nutmeg and freshly ground cinnamon whenever possible—the aroma alone tells you it’s going to be a superior cake.

Step 2: Build the Wet Batter Base

  • 4 large eggs
  • 1 cup canola oil
  • 1 cup sugar
  • 3/4 cup brown sugar
  • 2 tsp vanilla extract
  • 2 cups shredded zucchini
  • 1 cup canned pumpkin puree

In a large mixing bowl, beat together the room-temperature eggs, canola oil, both sugars, and vanilla extract until well combined and slightly lighter in color—this takes about 2-3 minutes with an electric mixer.

Fold in the prepared zucchini and canned pumpkin puree until evenly distributed throughout the wet mixture.

The room-temperature eggs emulsify better with the oil, creating a more tender crumb, so it’s worth waiting if they’ve been cold.

Step 3: Combine Wet and Dry Ingredients

  • wet ingredient mixture from Step 2
  • dry ingredient mixture from Step 1

Add the dry ingredient mixture from Step 1 to the wet batter and mix on low speed until just combined—do not overmix, as this develops gluten and makes the cake tough.

The batter should look smooth and well-incorporated but you should stop mixing as soon as you don’t see any flour streaks.

Divide the batter evenly between your prepared pans.

Step 4: Bake the Cake Layers

Place both pans in the preheated 350°F oven and bake for 20-25 minutes, until a toothpick inserted in the center comes out clean or with just a few moist crumbs.

The cakes should spring back lightly when touched and the edges may pull slightly from the sides of the pan.

Remove from the oven and let cool in the pans for 10 minutes, then turn out onto wire racks to cool completely before frosting—this prevents the frosting from melting.

Step 5: Prepare the Cream Cheese Frosting

  • 8 oz cream cheese
  • 1/4 cup butter
  • 5 cups powdered sugar
  • 4 tbsp milk

While the cakes cool, make the frosting by beating softened cream cheese and melted (cooled) butter together until smooth and fluffy, about 2 minutes.

Gradually add the powdered sugar, beating on low speed to avoid creating a cloud of sugar dust, then increase speed to medium-high and beat until light and fluffy.

Add the milk one tablespoon at a time, beating well after each addition, until you reach a spreadable consistency.

I like to taste the frosting at this point—a tiny pinch of salt can really enhance the cream cheese flavor without making it taste salty.

Step 6: Slice, Layer, and Frost the Cake

  • cooled cake layers from Step 4
  • cream cheese frosting from Step 5

Once the cooled cakes are completely cool, use a serrated knife to carefully slice each layer in half horizontally, creating four cake layers total.

Place the first layer on your serving plate or cake board, spread a generous layer of frosting from Step 5 over the top, then repeat with the remaining layers.

Top the final layer with the remaining frosting, spreading it over the top and down the sides for a finished look.

For cleaner slices, I like to let the frosted cake sit at room temperature for 30 minutes before serving—this helps the frosting set slightly.

Disclaimer: Our editorial team has used AI to create or enhance parts of this article. All content has been fact-checked by our team to ensure accuracy.

Leave a Comment