The Feast

Home cooking recipes for everyday dinners and easy entertaining

Zucchini Spice Cake With Cream Cheese Frosting

· 4 min read · Baking and Desserts

Time: 1 hour 15 minutes | Serves: 12 slices | The key step: squeezing the zucchini dry.

This cake balances the mild flavor of grated vegetable with warm spices and a tangy frosting. The batter stays moist without becoming heavy, provided you remove excess water from the squash before mixing. It is a reliable choice for potlucks or afternoon tea.

Gather the Pan and Ingredients

You need one 9x13-inch baking pan or two 8-inch round pans. Prepare the pan by greasing it lightly and dusting with flour, or line the bottom with parchment paper. This ensures the cake releases cleanly after cooling.

  • 2 cups all-purpose flour
  • 2 teaspoons baking soda
  • 1 teaspoon ground cinnamon
  • ½ teaspoon ground nutmeg
  • ¼ teaspoon ground cloves
  • ½ teaspoon salt
  • 1 cup granulated sugar
  • 1 cup packed brown sugar
  • 1 cup vegetable oil (or light olive oil)
  • 4 large eggs, room temperature
  • 2 teaspoons vanilla extract
  • 2 cups finely grated zucchini (about 2 medium zucchini), squeezed dry

For the frosting, gather 8 ounces of cream cheese (full fat, softened), ½ cup unsalted butter (softened), 2 cups powdered sugar, and 1 teaspoon vanilla extract. You will also need a stand mixer or hand mixer for the frosting to ensure a smooth texture.

Mix the Dry Components

Preheat your oven to 350°F (175°C). In a medium bowl, whisk together the flour, baking soda, cinnamon, nutmeg, cloves, and salt. Set this mixture aside. Whisking the dry ingredients first distributes the leavening agent evenly, which prevents bitter spots in the finished cake.

Combine Wet Ingredients and Zucchini

In a large mixing bowl, beat the granulated sugar, brown sugar, and oil until well combined. Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract. The mixture should look creamy and pale yellow.

Prepare the zucchini now. Peel the zucchini if the skin is thick or waxy; otherwise, leave the skin on for color. Grate the zucchini using the small holes of a box grater or a food processor. Place the grated zucchini in a clean kitchen towel or several layers of paper towels. Squeeze tightly over the sink to remove as much liquid as possible. You want about 2 cups of damp, not wet, zucchini. If the batter is too watery, the cake will collapse in the center.

Fold the squeezed zucchini into the sugar-oil mixture. Gently stir in the dry ingredients just until no streaks of flour remain. Overmixing develops gluten and makes the cake tough. Stop mixing when the batter is uniform.

Bake Until Golden and Set

Pour the batter into the prepared pan(s). Spread it evenly with a spatula. Bake in the preheated oven for 30-35 minutes for a 9x13-inch pan, or 25-30 minutes for round pans. The cake is done when the top springs back lightly to the touch and a toothpick inserted into the center comes out clean or with a few moist crumbs.

Do not open the oven door during the first 20 minutes of baking. This causes temperature fluctuations that can make the cake sink. Let the cake cool in the pan for 10 minutes, then turn it out onto a wire rack to cool completely. Warm cake will melt the frosting, creating a mess.

Whip the Cream Cheese Frosting

While the cake cools, make the frosting. Beat the softened cream cheese and butter together on medium speed until smooth and creamy, about 2 minutes. Scrape down the sides of the bowl. Gradually add the powdered sugar, one cup at a time, beating on low speed initially to avoid a sugar cloud. Once incorporated, increase speed to medium-high and beat for another 2 minutes until fluffy. Stir in the vanilla extract.

If the frosting seems too soft, chill it in the refrigerator for 15 minutes before spreading. If it is too stiff, add a teaspoon of milk or cream to loosen it.

Assemble and Serve

Spread the frosting evenly over the cooled cake. Use a palette knife or offset spatula to create swirls or a smooth finish. Slice with a sharp knife for clean edges. Serve at room temperature for the best texture.

What to Serve With It

This cake pairs well with black coffee or strong tea. The spice notes complement roasted nuts like walnuts or pecans, which you can sprinkle on top before frosting. For a lighter meal, serve slices alongside fresh fruit salad.

Scale the Batch

Batch Size Pan Size Bake Time
Half Batch 8-inch square pan 25-30 minutes
Double Batch Two 9x13-inch pans 35-40 minutes

Adjust the Flavor Profile

Add ½ cup chopped walnuts or pecans to the batter for crunch. Replace ½ cup of the flour with almond flour for a denser, moister crumb. Add ½ teaspoon of cardamom along with the cinnamon for a more aromatic spice profile.

Store Leftovers Safely

Cover the cake tightly with plastic wrap or store in an airtight container. Refrigerate immediately because of the cream cheese frosting. Perishable dishes must sit out no more than 2 hours at room temperature (1 hour if above 90°F/32°C).

The cake keeps in the refrigerator for up to 5 days. The moisture from the zucchini helps it stay fresh longer than plain spice cakes. Do not freeze frosted cake unless necessary, as the texture of the cream cheese can change upon thawing. If freezing, freeze unfrosted cake layers wrapped tightly in plastic and foil for up to 3 months. Thaw overnight in the refrigerator before frosting.

In this article
  1. Gather the Pan and Ingredients
  2. Mix the Dry Components
  3. Combine Wet Ingredients and Zucchini
  4. Bake Until Golden and Set
  5. Whip the Cream Cheese Frosting
  6. Assemble and Serve
  7. Scale the Batch
  8. Adjust the Flavor Profile
  9. Store Leftovers Safely