Spring Carrot Cake with Cream Cheese Frosting
In this article
This spring carrot cake is a bright, tender, spice-warmed layer cake that tastes like sunshine on a plate. The addition of crushed pineapple and orange zest keeps the crumb extra moist, while the tangy cream cheese frosting balances the sweetness perfectly. It’s a reliable, from-scratch recipe that works for birthdays, Easter, or any day you need a little cheer.
Ingredients
- For the cake:
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 teaspoon ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/2 teaspoon salt
- 1 cup (200 g) granulated sugar
- 1/2 cup (100 g) packed light brown sugar
- 3 large eggs, at room temperature
- 1 cup (240 ml) vegetable oil (or melted coconut oil)
- 2 teaspoons vanilla extract
- 2 cups (about 250 g) finely grated carrots (from about 3 medium carrots)
- 1/2 cup (120 g) crushed pineapple, well drained
- 1 tablespoon orange zest (from about 1 orange)
- 1/2 cup (60 g) chopped walnuts or pecans (optional)
- For the cream cheese frosting:
- 8 oz (226 g) cream cheese, softened
- 1/2 cup (113 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- 1 tablespoon fresh lemon juice (optional, for brightness)
Instructions
- Preheat and prep: Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper rounds.
- Mix dry ingredients: In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, and salt. Set aside.
- Combine sugars and eggs: In a large bowl, whisk the granulated sugar, brown sugar, and eggs until well combined and slightly thickened, about 1 minute.
- Add oil and vanilla: Slowly pour in the vegetable oil while whisking, then add the vanilla extract. Mix until smooth.
- Fold in dry ingredients: Add the dry ingredients to the wet mixture and stir with a spatula until just combined. Do not overmix.
- Add carrots, pineapple, and zest: Gently fold in the grated carrots, drained pineapple, orange zest, and nuts (if using) until evenly distributed.
- Bake: Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean. The cakes should be golden and spring back when lightly touched.
- Cool completely: Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. This is essential before frosting.
- Make the frosting: In a large bowl, beat the softened cream cheese and butter together until smooth and creamy. Add the powdered sugar gradually, beating on low speed to avoid a sugar cloud. Add the vanilla and lemon juice (if using), then beat on medium speed for 1–2 minutes until light and fluffy.
- Assemble: Place one cake layer on a serving plate. Spread about 1 cup of frosting on top. Place the second layer on top. Frost the top and sides with the remaining frosting. For a rustic look, leave the sides slightly bare.
- Chill and serve: Refrigerate the assembled cake for at least 30 minutes before slicing. This helps the frosting set and makes cleaner cuts.
Tips
- Drain the pineapple well: Excess moisture makes the cake soggy. Press the crushed pineapple against a sieve to remove as much liquid as possible.
- Grate carrots finely: Use the fine side of a box grater or a food processor. Large chunks can create uneven texture and cause the cake to sink in spots.
- Room temperature ingredients: Eggs, cream cheese, and butter should be at room temperature for a smooth batter and lump-free frosting.
- Don’t overmix the batter: Overworking the flour develops gluten, resulting in a tough cake. Mix until just combined.
Serving Suggestions
Serve this cake at room temperature for the best flavor and texture. Pair each slice with a cup of hot tea or coffee. For a spring brunch, add a few fresh berries or edible flowers on top. It’s also wonderful with a scoop of vanilla bean ice cream on the side.
Variations
- Add coconut: Fold in 1/2 cup of shredded unsweetened coconut for extra texture and tropical flavor.
- Make it a sheet cake: Bake in a 9x13-inch pan for 35–40 minutes, then frost right in the pan.
- Swap the nuts: Use raisins or dried cranberries instead of walnuts, or omit them entirely.
- Spice it up: Add 1/4 teaspoon of ground ginger or cardamom for a warmer spice profile.
Storage and Reheating
Store the frosted cake in an airtight container in the refrigerator for up to 5 days. Let it sit at room temperature for 20–30 minutes before serving to soften the frosting and cake. Unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 3 months; thaw overnight in the refrigerator before frosting. Do not reheat the whole cake—if you prefer a warm slice, microwave individual pieces for 10–15 seconds (the frosting will melt slightly, which is delicious).
Frequently Asked Questions
Can I use pre-shredded carrots from a bag?
Yes, but they are often drier and thicker, which can affect the texture. If using bagged carrots, chop them finely with a knife or pulse them in a food processor to get smaller pieces.
Why did my cake sink in the middle?
This can happen if the batter is overmixed, the oven temperature is too low, or the cake is underbaked. Make sure your oven is at 350°F (175°C) and test with a toothpick before removing.
Can I make this cake gluten-free?
Yes, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that contains xanthan gum. The texture may be slightly more delicate, but it works well.
How do I prevent the frosting from being too runny?
Ensure the cream cheese and butter are softened but not melted. If the frosting looks loose, refrigerate it for 15 minutes before using, or add a little more powdered sugar (one tablespoon at a time).
Can I use oil other than vegetable oil?
Yes, canola, sunflower, or melted coconut oil all work. Avoid olive oil, as it has a strong flavor that can overpower the cake.
Do I need to refrigerate the cake?
Because of the cream cheese frosting, yes. Refrigerate any leftovers within 2 hours. The cake will keep well chilled for up to 5 days.