Ingredients
Scale
For the cake:
- 2 cups all-purpose flour
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 teaspoon salt
- 2 teaspoons ground cinnamon
- 1/2 teaspoon ground nutmeg
- 3 large eggs
- 1 3/4 cups granulated sugar
- 3/4 cup vegetable oil
- 2 teaspoons vanilla extract
- 2 1/2 cups grated zucchini (about 2 medium, not packed)
- 1 cup chopped walnuts or pecans (optional)
For the cream cheese frosting:
- 8 ounces cream cheese, softened
- 1/2 cup unsalted butter, softened
- 3 cups powdered sugar
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions
- Preheat your oven to 350°F. Grease a 9×13-inch baking pan or line it with parchment.
- Grate the zucchini on the large holes of a box grater. There’s no need to peel it, and no need to wring out the moisture for this cake.
- In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, and nutmeg. Set it aside.
- In a large bowl, whisk the eggs, sugar, oil, and vanilla until the mixture looks smooth and slightly lighter in color.
- Stir the grated zucchini into the wet ingredients until it’s evenly mixed in.
- Add the dry ingredients to the wet and stir just until you no longer see streaks of flour. Fold in the nuts now if you’re using them.
- Pour the batter into your prepared pan and spread it into an even layer.
- Bake for 35 to 40 minutes, until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Let the cake cool completely in the pan before frosting. A warm cake will melt the frosting right off, so don’t rush this part.
- While it cools, make the frosting. Beat the cream cheese and butter together until smooth and creamy with no lumps.
- Add the powdered sugar about a cup at a time, then beat in the vanilla and a pinch of salt until the frosting is thick and fluffy.
- Spread the frosting over the cooled cake in an even layer, or swirl it if you want a little texture on top.
- Slice into squares and serve. Store any leftovers covered in the refrigerator for up to 5 days.
- Prep Time: 25 minutes
- Cook Time: 35–40 minutes