Transform your extra garden harvest into a lush and delightful dessert that will make everyone at your table smile. These homemade spiced treats are remarkably moist, beautifully textured, and perfect for utilizing fresh garden-grown summer squash in a surprisingly sweet and satisfying new way. 🌻
Baking with this versatile green vegetable is a clever trick for locking in rich moisture, ensuring a remarkably tender crumb that pairs elegantly with comforting notes of cinnamon and nutmeg. When topped with a thick swirl of velvety cream cheese frosting, this simple bake blossoms into a luxurious dessert that tastes like it came straight from an artisan bakery. 🍰✨
Whether you are planning a cozy weekend gathering, packing treats for a picnic, or simply craving a sweet snack to enjoy with your afternoon tea, this effortless recipe is guaranteed to delight your taste buds. Let’s gather our kitchen essentials and start baking this incredible seasonal dessert together. 👩🍳

20 minutes
25 minutes
45 minutes
16 bars
Ingredients
- 2 cups all-purpose flour
- 1 tsp baking soda
- 1/2 tsp baking powder
- 1/2 tsp salt
- 2 tsp ground cinnamon
- 1/2 tsp ground nutmeg
- 1/2 cup unsalted butter, melted and cooled
- 1/2 cup vegetable oil
- 1 cup granulated sugar
- 1/2 cup packed light brown sugar
- 3 large eggs, room temperature
- 1 tsp pure vanilla extract
- 2 cups grated zucchini, gently squeezed of excess moisture
- 8 oz cream cheese, softened
- 1/2 cup unsalted butter, softened
- 3 cups powdered sugar
- 1 tsp pure vanilla extract (for frosting)
- 1 tbsp milk, if needed
Shopping List
- Produce: 2 medium green zucchinis
- Dairy & Eggs: 3 large eggs
- Dairy & Eggs: 1 cup unsalted butter
- Dairy & Eggs: 8 oz cream cheese
- Pantry: All-purpose flour
- Pantry: Baking soda and baking powder
- Pantry: Fine sea salt, ground cinnamon, and ground nutmeg
- Pantry: Vegetable oil
- Pantry: Granulated sugar and light brown sugar
- Pantry: Pure vanilla extract
- Pantry: Powdered sugar
Equipment Needed
- 9×13-inch baking pan
- Parchment paper
- Box grater
- Large mixing bowl
- Medium mixing bowl
- Handheld electric mixer
- Rubber spatula
- Wire cooling rack
Helpful Tips
- Control the moisture carefully: Gently pat the grated zucchini with a clean paper towel to remove pooled water, but avoid squeezing it completely dry, as the remaining natural juice is what gives these bars their signature melt-in-the-mouth texture.
- Achieve a perfect cool: Make absolutely sure the spiced sheet cake has cooled to room temperature before spreading the frosting on top; otherwise, the delicate cream cheese frosting will melt into a glaze.
- Enhance with a crunchy texture: Stir in a half-cup of toasted, chopped pecans or walnuts to the batter just before baking to introduce a satisfying crunch that contrasts beautifully with the soft crumb.
- Experiment with warm spices: Customize the flavor profile by adding a pinch of ground ginger, cloves, or cardamom alongside the cinnamon for an even deeper, aromatic spice blend.

Step-by-Step Instructions
- Preheat your oven to 350°F (175°C) and grease a 9×13-inch baking pan, or line it with parchment paper leaving an overhang for easy removal.
- In a medium bowl, whisk together the flour, baking soda, baking powder, salt, ground cinnamon, and ground nutmeg, then set aside.
- In a large bowl, whisk together the melted butter, vegetable oil, granulated sugar, and brown sugar until smooth and combined.
- Add the eggs one at a time, whisking well after each addition, then stir in the vanilla extract.
- Gently fold in the grated zucchini until evenly distributed throughout the wet ingredients.
- Gradually add the dry ingredients to the wet ingredients, stirring with a rubber spatula just until combined and no flour streaks remain.
- Spread the batter evenly into the prepared baking pan.
- Bake for 22 to 25 minutes, or until a toothpick inserted into the center comes out clean.
- Remove from the oven and place the pan on a wire cooling rack to cool completely before frosting.
- To make the frosting, beat the softened cream cheese and softened butter together in a large bowl using an electric mixer until smooth and creamy.
- Slowly add the powdered sugar, one cup at a time, beating on low speed until incorporated, then add the vanilla extract.
- Beat on medium-high speed for 1-2 minutes until light and fluffy, adding a splash of milk if the frosting is too thick.
- Spread the frosting evenly over the cooled zucchini bars, slice into squares, and serve.
Variations & Serving Ideas
To serve these lovely bars, slice them into uniform squares and present them on a rustic wooden platter with a light dusting of cinnamon on top. They pair exquisitely with a warm mug of chai tea or a fresh cup of cold brew coffee. For storage, keep any leftovers in an airtight container in the refrigerator for up to five days, which actually allows the warm spices to meld together and taste even richer the next day.
We hope you absolutely fall in love with baking these sweet treats for your family and friends. We would love to hear how your batch turned out, so please leave a comment and rate the recipe below!