Can You Substitute Zucchini for Carrots in Carrot Cake?
In this article
Yes, you can substitute zucchini for carrots in carrot cake, but the cake will be wetter and less sweet, so you need to adjust the recipe. Zucchini contains more water than carrots (about 95% water versus 88% for carrots) and less natural sugar, which changes both texture and browning. Use the same volume of shredded zucchini as the shredded carrot called for, but squeeze the zucchini dry first and reduce the liquid in the recipe by about 2 tablespoons per cup of zucchini.
How Much Zucchini Replaces Carrots and What Changes
Replace carrots with zucchini 1:1 by volume after shredding. One cup of shredded carrot (about 110 g) becomes one cup of shredded zucchini (about 120 g), but you must press the zucchini in a clean towel to remove excess moisture. Expect the cake to be moister and slightly less sweet; you may want to add 1 to 2 tablespoons of sugar per cup of zucchini to compensate. The color will be paler and the flavor more vegetal, so spices like cinnamon and nutmeg become more prominent.
If you are using a recipe that calls for 2 cups of shredded carrots, use 2 cups of shredded zucchini, squeezed dry, and reduce the milk or oil by 4 tablespoons (1/4 cup). Do not reduce the eggs; they provide structure. The batter will look thicker after squeezing the zucchini, which is correct.
Why Zucchini Makes the Cake Wetter and Less Sweet
Zucchini holds more water than carrots, and that water is released during baking. Without squeezing, the extra water steams the crumb and can make the center gummy. Carrots also contain more natural sugars, which contribute to sweetness and browning. Zucchini has about 2 g of sugar per 100 g, while carrots have about 5 g per 100 g. That difference is small per serving but noticeable in a lightly sweetened cake.
To manage the water, grate zucchini on the large holes of a box grater, then wrap it in a clean kitchen towel and wring it over the sink until it stops dripping. You should lose about 2 to 3 tablespoons of liquid per cup of grated zucchini. If you skip this step, add 2 extra tablespoons of flour per cup of zucchini to absorb the water, but the cake may still be dense.
Worked Example: Converting a 2-Cup Carrot Cake Recipe
Take a standard carrot cake that calls for 2 cups shredded carrots, 1 cup vegetable oil, 1 cup granulated sugar, 3 large eggs, 2 cups all-purpose flour, 2 teaspoons baking soda, 2 teaspoons cinnamon, and 1/2 teaspoon salt. To use zucchini:
- Shred 2 cups zucchini (about 240 g), squeeze dry, and set aside.
- Reduce the oil to 3/4 cup (12 tablespoons) or reduce the sugar to 3/4 cup plus 2 tablespoons. Do not reduce both at once unless you want a denser cake.
- Add 1 tablespoon lemon juice or vinegar to the batter to help browning and flavor.
- Bake at 350°F (175°C) for 30 to 35 minutes, until a toothpick inserted in the center comes out clean.
The total batter weight will be similar, but the zucchini version may need 5 extra minutes in the oven because of the extra moisture. Check at 30 minutes and continue in 2-minute increments if needed.
Adjusting Spices, Sugar, and Leavening for Zucchini
Zucchini is bland, so increase the cinnamon to 2 1/2 teaspoons and add 1/4 teaspoon ground cloves or allspice if your recipe does not already include them. If the recipe calls for 1 cup of sugar, use 1 cup plus 1 tablespoon to make up for the lower sugar in zucchini. Do not increase the baking soda; too much can leave a soapy taste. If you reduce the oil, add 2 tablespoons of applesauce or mashed banana per cup of zucchini to keep the crumb tender.
For a 9x13-inch sheet cake, the same adjustments apply. The batter will be slightly thicker after squeezing the zucchini, so spread it evenly with an offset spatula. The baking time remains 30 to 35 minutes at 350°F (175°C).
When Zucchini Fails: Fixes for Gummy or Dry Cake
If the cake is gummy in the center, it likely needed more squeezing or a longer bake. Next time, squeeze the zucchini until it weighs about 80% of its original weight (e.g., 240 g becomes about 190 g). If the cake is dry, you over-reduced the liquid or overbaked; add 2 tablespoons of milk to the batter next time and check 5 minutes earlier. Do not taste the batter to judge doneness because of raw flour and egg risk; rely on the toothpick test.
Store the finished cake covered at room temperature for up to 2 days or refrigerate for up to 5 days. Because zucchini adds moisture, refrigerate after 2 days to prevent mold. Freeze slices wrapped in plastic for up to 3 months; thaw overnight in the refrigerator.