Zucchini spice cake is filled with shredded zucchini and cozy fall spices for the most tender and moist sheet cake. Topped with velvety cream cheese frosting and chopped walnuts, this will be your new go-to fall cake recipe.
Zucchini spice cake is the perfect way to celebrate fall - it's filled with your favorite seasonal spices and topped with a creamy buttercream frosting. Best of all, this cake is moist, incredibly tender, and surprisingly easy to prepare.
The zucchini cake is made with finely shredded zucchini, which adds tiny speckles of green throughout. Zucchini adds fiber, structure, and moisture to your cake. Seasonal spices include cinnamon, ginger, nutmeg, and a dash of cloves, for a flavor reminiscent of gingerbread. The cream cheese frosting is rich but not too sweet, and the perfect pairing for this fall spice cake.
Serve your zucchini spice cake at your next fall gathering, like Halloween or Thanksgiving - or just because. It's perfect for a crowd and can easily feed anywhere from 16 to 24 people.
For a single serving of fall flavor, try my apple spice zucchini mug cake.
Cake ingredients and substitutions
- Flour - All purpose flour adds structure to your cake. I have not tested this recipe with other types of flours, so I don't suggest making any substitutions. Baking is an exact science, and altering main ingredients can change the density and texture of your cake.
- Spices - Cinnamon, ginger, nutmeg, and cloves. I don't recommend omitting the cinnamon. However, if you don't care for a particular spice, like cloves, it can be substituted with more cinnamon instead.
- Leavening - Baking powder and baking soda are needed for the proper rise. One cannot be substituted with the other - you'll need both for this recipe.
- Salt - Enhances the flavor of your cake.
- Eggs - Add structure and moisture to your cake.
- Brown sugar - Adds moisture and sweetness to your cake. I chose to use all brown sugar for extra molasses flavor, reminiscent of gingerbread.
- Vegetable oil - Adds moisture to your cake. Canola oil, light olive oil, or any neutral cooking oil you have on hand will work.
- Vanilla extract - Adds depth of flavor to your cake.
- Zucchini - You'll need two cups of finely shredded zucchini for this recipe. This is about 2 medium or 3 small zucchini. I highly recommend weighing your shredded zucchini for best accuracy. Two cups of shredded zucchini (with the liquid) equals about 270 grams.
Frosting ingredients and substitutions
- Confectioner's sugar - Confectioner's sugar melts seamlessly into your frosting, and is a must for making buttercream frosting.
- Butter - Unsalted butter can be substituted with salted butter (omit the salt listed in the recipe). Make sure your butter is room temperature before preparing your frosting.
- Cream cheese - For cream cheese frosting, you'll need block-style cream cheese. Whipped or spreadable cream cheese will not work, it makes the frosting runny. Make sure your cream cheese is room temperature before preparing your frosting.
- Salt - Enhances the flavor and cuts the sweetness of your frosting.
- Vanilla extract - Adds depth of flavor to your frosting. Can be substituted with half the amount of maple extract or cinnamon extract for a different flavor.
Tips and tricks
- Do not substitute ingredients - Eggs, sugar, oil, and zucchini all help make this cake moist. Substituting, omitting, or reducing these ingredients can cause your cake to turn out dry.
- Properly measure your flour - Improperly measured flour is one of the most common issues I see in baking. Adding extra flour to a recipe can cause your baked goods to turn out dry and dense. I highly recommend using a kitchen scale and clicking 'Metric' in the recipe card to use gram measurements. Scooping flour directly from a bin compacts the flour into the cup, adding up to 25% extra flour to a recipe.
- Take care not to overbake your cake - Baking for too long will dry out your cake.
- Watch your cake, not the baking time - Ovens all run at slightly different temperatures, and if your oven runs hotter, your cake may be done faster than mine. Check on your cake 5 minutes early, especially if this is your first time making this recipe.
- Don't slice into a hot cake. Slicing into hot baked goods releases steam (moisture), making it dry once it has cooled down. Allow your cake to cool completely to room temperature before frosting and slicing.
- Frosting will melt on hot cake - Do not frost a hot cake. Buttercream frosting melts around 90 to 95 degrees Fahrenheit and will melt when added to a warm cake.
Frequently asked questions
No. For this recipe, you should not squeeze the liquid from your zucchini. We're using that liquid to add moisture and thin the batter to achieve the proper rise in the oven.
No, there's no need to peel your zucchini. The skin and flesh melt seamlessly into the cupcakes as they bake. The only sign of zucchini you'll see are the green flecks throughout the cake.
No, zucchini has a mild flavor that makes it ideal for baking. Cucumber has a fresh "melon" flavor that's much more pronounced and not ideal for hiding in baked goods. For more information: Zucchini vs Cucumber - What's the Difference?
I recommend shredding zucchini using the small or "fine" side of a box grater. The smaller pieces melt right into the cake as it bakes. A larger grate also works but adds a more noticeable texture. Here's the box grater I use: Amazon: OXO Good Grips Box Grater
Once assembled, your cake can be stored at room temperature for about two hours. After that, due to the cream cheese frosting, your cake should be refrigerated.
Your cake will keep in the refrigerator, tightly covered, for up to 5 days.
Zucchini cake, either whole or in slices, can be frozen for up to 3 months. Thaw overnight in the refrigerator, or on the counter top for 2-3 hours before serving.
This cake is prepared in a 9x13 baking pan. This quantity of batter would also work in two 8-inch or 9-inch round cake pans to make a layer cake (like my lemon zucchini cake recipe) or in a 13x18 sheet pan. Baking times will vary when using different pan sizes.
📖 Recipe
Zucchini Spice Cake With Cream Cheese Frosting
Ingredients
Zucchini spice cake
- 2 ½ cups (300 g) all-purpose flour
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- ¾ teaspoon salt
- 2 teaspoons ground cinnamon
- 1 teaspoon ground ginger
- ½ teaspoon ground nutmeg
- ¼ teaspoon ground cloves
- 2 cups (270 g) finely shredded zucchini, do not squeeze liquid out
- 1 ½ cups (320 g) light brown sugar
- 1 cup (198 g) vegetable oil
- 3 large eggs
- 1 teaspoon vanilla extract
Cream cheese frosting
- 8 ounces (227 g) block-style cream cheese, room temperature
- ½ cup (113 g) unsalted butter, room temperature
- 1 teaspoon vanilla extract
- ¼ teaspoon salt
- 3 ½ cups (400 g) confectioner's sugar
Instructions
Zucchini spice cake
- Preheat oven to 350 degrees Fahrenheit and lightly grease (or line with parchment paper) a 9x13 baking pan. Set aside.
- In a bowl, add dry ingredients: flour, baking powder, baking soda, salt, cinnamon, ginger, nutmeg, and cloves. Whisk to remove clumps and set aside.
- In a separate bowl, add wet ingredients: shredded zucchini (do not squeeze liquid out), brown sugar, oil, eggs, and vanilla extract. Stir until incorporated.
- Add dry ingredients to wet ingredients and stir until just incorporated (do not overmix). Pour cake batter into prepared 9x13 baking pan and bake for about 28 to 34 minutes, or until a toothpick inserted into the center comes out with crumbs, not wet batter.
- Allow cake to cool completely to room temperature before frosting or slicing.
Cream cheese frosting
- In a large bowl, add room temperature cream cheese and butter and beat until creamy. Add vanilla, salt, and confectioner's sugar and slowly mix until ingredients are fully combined. Then, whip at high speed for 2-3 minutes, or until light and fluffy.
- As written, this frosting turns out soft and creamy (not pipeable). For a stiffer frosting, add more confectioner's sugar as desired.
- Spread frosting in an even layer onto cooled cake. Optionally, top with chopped walnuts or pecans.
Recommended Equipment
Video
Notes
- Frosting recipe makes a nice thick layer of frosting for your 9x13 sheet cake (as pictured). If you prefer less frosting, feel free to cut the frosting recipe in half.
- Nutrition based on slicing cake into 16 pieces. Cake can be sliced to serve up to 24 guests.
- Cake will keep in the refrigerator for up to 5 days.
- Cream cheese frosting needs to be refrigerated if it sits out more than 2 hours. Store frosted baked goods in the refrigerator in a tightly sealed container. Remove and bring to room temperature 30 minutes before serving.
- Cake (whole or in slices) can be frozen for up to 3 months. Thaw in the refrigerator overnight, or on the countertop for 2 to 3 hours.
Laurie
Love the flavor of this recipe! Have you ever made the batter and frozen it to use at a later date? Just thinking it would be nice to just be able to pull it out of the freezer and bake since I have a fair bit of zucchini to use up😁
Heather
I've never tried freezing batter, but baked cake freezes and thaws beautifully!
stephanie simard
Wonderfully moist and warm. Added orange zest to the frosting.
Kathy Cali
This was a very easy cake to make. I think the batter could have used a bit of salt. But...it was delicious and a nice change from zucchini bread. I shredded up all the zucchini I was given and froze it in 2 cup increments so we xan make again. Raisins would be a good addition to the batter!
Heather
Hi Kathy, I'm so glad to hear you enjoyed the cake! Thank you for pointing out that salt was missing from the ingredient list - I have it listed within the post and in the ingredient photo, but it was missed in the recipe card itself. This has been fixed 🙂
Susana
Could I use butter instead of vegetable oil?
Heather
I haven't tested it myself, but butter should work just fine as a substitute.
Suzanne
We love the spices in this cake. It's a keeper! Thank you for the recipe.
Heather
Thanks Suzanne, so glad to hear you enjoyed the cake!