Moist Carrot Zucchini Cake with Cream Cheese Frosting
This moist carrot zucchini cake with cream cheese frosting quickly became my favorite way to sneak extra veggies into dessert. I wanted a cake that was tender, flavorful, and rich without being dry, and my first attempts taught me a few important lessons. Skipping the draining step for zucchini made the batter too wet, and under-spicing the mixture left it tasting bland. After adjusting the moisture, spices, and frosting, this cake turned out perfectly soft, flavorful, and decadent.

It’s great for birthdays, tea time, or any occasion when you want a comforting slice that still feels wholesome.
Ingredients
Dry Ingredients
- 2 cups all-purpose flour
- 1 teaspoon baking soda
- 1 teaspoon baking powder
- ½ teaspoon salt
- 1 teaspoon ground cinnamon
- ½ teaspoon ground nutmeg
- ½ teaspoon ground ginger (optional)
Wet Ingredients
- 1 cup grated zucchini, well-drained
- 1 cup grated carrots
- ¾ cup vegetable oil or melted coconut oil
- 1 cup granulated sugar
- ½ cup brown sugar, packed
- 4 large eggs
- 1 teaspoon vanilla extract
Optional Add-Ins
- ½ cup chopped walnuts or pecans
- ½ cup raisins or shredded coconut
- ½ cup crushed pineapple, well-drained
Cream Cheese Frosting
- 8 oz cream cheese, softened
- ½ cup unsalted butter, softened
- 2 cups powdered sugar
- 1 teaspoon vanilla extract
Preparing the Zucchini and Carrots
Grate and Drain
- Grate zucchini and carrots using the medium holes of a box grater
- Place zucchini in a clean kitchen towel and squeeze out excess moisture
- Lightly press carrots if very juicy
Draining the zucchini is crucial for preventing a dense, soggy cake.
Mixing the Cake Batter
Combine Dry Ingredients
- In a medium bowl, whisk together flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger
Combine Wet Ingredients
- In a large bowl, whisk sugar, brown sugar, and oil
- Add eggs one at a time, mixing well after each
- Stir in vanilla, grated zucchini, and carrots
Bring Together
- Gradually fold dry ingredients into the wet mixture
- Mix gently until just combined
- Fold in optional add-ins like nuts, raisins, or pineapple
Overmixing can make the cake dense, so fold gently.
Baking Instructions
Prepare the Pan
- Preheat oven to 350°F (175°C)
- Grease and flour two 8-inch round cake pans or a 9×13-inch pan
- Line with parchment paper if desired
Bake the Cake
- Divide batter evenly into pans
- Bake for 35–45 minutes (less for cupcakes), until a toothpick comes out clean
- Let cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely
Preparing the Cream Cheese Frosting
Make the Frosting
- In a large bowl, beat cream cheese and butter until smooth
- Gradually add powdered sugar and beat until creamy
- Stir in vanilla extract
Adjust consistency by adding more powdered sugar for a thicker frosting or a teaspoon of milk for a softer spread.
Assembling the Cake
- Spread a layer of frosting on the bottom layer of cake (if using two layers)
- Place the second cake layer on top and frost the top and sides
- Decorate with chopped nuts, carrot curls, or a sprinkle of cinnamon if desired
Preparation and Cooking Time
- Prep time: 25 minutes
- Cook time: 35–45 minutes
- Total time: About 1 hour 15 minutes
- Servings: 12–14 slices

Tips for the Best Moist Carrot Zucchini Cake
- Drain the zucchini well to prevent a soggy cake
- Grate ingredients evenly for a consistent texture
- Don’t overmix the batter to keep it tender
- Use fresh spices for optimal flavor
- Cool completely before frosting to avoid melting
Variations and Substitutions
Flavor Twists
- Add orange zest for a citrus note
- Use maple syrup instead of sugar for deeper sweetness
- Add a dash of cardamom or allspice for warmth
Dietary Options
- Swap flour for whole wheat pastry flour for a slightly healthier version
- Use coconut sugar instead of granulated sugar
- Use dairy-free cream cheese and butter for a vegan version
Serving Suggestions
- Serve with a cup of coffee or tea
- Slice into small pieces for a snack or dessert platter
- Garnish with toasted nuts or fresh fruit for a festive look
- Ideal for birthday cakes, brunches, or potlucks
Storage and Reheating
Storage
- Store in an airtight container in the refrigerator for up to 5 days
- Keep frosting covered to prevent drying
Freezing
- Freeze unfrosted cake layers for up to 2 months
- Wrap slices individually for single-serve portions
Reheating
- Serve chilled or at room temperature
- Slightly warm slices in the microwave for 10–15 seconds if desired
FAQs
Can I taste the zucchini in the cake?
No, it adds moisture and keeps the cake tender without affecting flavor.
Can I make this cake ahead of time?
Yes, bake and frost up to a day in advance for best results.
Can I freeze the cake?
Yes, freeze unfrosted layers or individual slices for convenience.
Can I use shredded carrots only?
Yes, but the zucchini adds extra moisture and richness.
How do I make the frosting less sweet?
Reduce powdered sugar by ¼ cup and taste as you go.
This moist carrot zucchini cake with cream cheese frosting is now my go-to for occasions where I want dessert to feel indulgent but also packed with subtle nutrition. Its tender crumb, warm spices, and creamy frosting make it irresistible for family and guests alike.

Moist Carrot Zucchini Cake with Cream Cheese Frosting
Ingredients
- Dry Ingredients
- 2 cups all-purpose flour
- 1 teaspoon baking soda
- 1 teaspoon baking powder
- ½ teaspoon salt
- 1 teaspoon ground cinnamon
- ½ teaspoon ground nutmeg
- ½ teaspoon ground ginger optional
- Wet Ingredients
- 1 cup grated zucchini well-drained
- 1 cup grated carrots
- ¾ cup vegetable oil or melted coconut oil
- 1 cup granulated sugar
- ½ cup brown sugar packed
- 4 large eggs
- 1 teaspoon vanilla extract
- Optional Add-Ins
- ½ cup chopped walnuts or pecans
- ½ cup raisins or shredded coconut
- ½ cup crushed pineapple well-drained
- Cream Cheese Frosting
- 8 oz cream cheese softened
- ½ cup unsalted butter softened
- 2 cups powdered sugar
- 1 teaspoon vanilla extract
Instructions
- Prepare Zucchini and Carrots
- Grate zucchini and carrots using medium holes of a box grater.
- Place zucchini in a clean kitchen towel and squeeze out excess moisture.
- Lightly press carrots if very juicy.
- Mix the Cake Batter
- In a medium bowl, whisk together flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger.
- In a large bowl, whisk granulated sugar, brown sugar, and oil.
- Add eggs one at a time, mixing well after each.
- Stir in vanilla, grated zucchini, and carrots.
- Gradually fold dry ingredients into wet mixture until just combined.
- Fold in optional add-ins like nuts, raisins, or pineapple.
- Bake the Cake
- Preheat oven to 350°F (175°C).
- Grease and flour two 8-inch round pans or a 9×13-inch pan; line with parchment paper if desired.
- Divide batter evenly into pans.
- Bake for 35–45 minutes (less for cupcakes), until a toothpick comes out clean.
- Cool in pans for 10 minutes, then transfer to a wire rack to cool completely.
- Prepare the Cream Cheese Frosting
- Beat cream cheese and butter until smooth.
- Gradually add powdered sugar and beat until creamy.
- Stir in vanilla extract.
- Adjust consistency by adding more powdered sugar for thicker frosting or a teaspoon of milk for softer spread.
- Assemble the Cake
- Spread a layer of frosting on the bottom cake layer (if using two layers).
- Place the second layer on top and frost the top and sides.
- Decorate with chopped nuts, carrot curls, or a sprinkle of cinnamon if desired.
