A supremely moist, warmly spiced carrot cake crowned with tangy cream cheese frosting—balanced sweetness, tender crumb, and a hint of toasted nuts for crunch.
0.5cupcrushed pineappledrained well, optional but recommended
1cupchopped walnutstoasted, plus extra for garnish
0.5cupraisinsoptional
16ozcream cheesefull-fat, softened
0.5cupunsalted buttersoftened
3.5cupconfectioners' sugarsifted
1.5tspvanilla extractfor frosting
0.125tspfine sea saltfor frosting
0.5tsplemon zestoptional, for frosting
Instructions
Preparation Steps
Preheat oven to 350°F. Grease and line two 9-inch round cake pans with parchment; lightly flour the sides.
In a large bowl, whisk flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger until well combined.
In a separate bowl, whisk granulated sugar, brown sugar, and eggs until thick and slightly pale, about 2 minutes.
Slowly stream in the oil while whisking, then add vanilla and mix until smooth.
Fold the dry ingredients into the wet just until no dry streaks remain; do not overmix.
Fold in grated carrots, crushed pineapple, walnuts, and raisins until evenly distributed.
Divide batter evenly between pans, smooth the tops, and tap gently to release air bubbles. Bake 30 to 35 minutes, or until a toothpick comes out clean.
Cool in pans 10 minutes, then turn out onto a rack and cool completely.
Make the frosting: Beat cream cheese and butter on medium speed until smooth. Gradually add confectioners' sugar, then beat in vanilla, salt, and lemon zest until fluffy.
Assemble: Place one layer on a stand, spread frosting over the top, add the second layer, and frost the top and sides. Garnish with extra chopped walnuts if desired.
Chill 20 minutes to set the frosting. Slice and serve.
Notes
For extra moisture, grate carrots finely and avoid overmixing. Cake layers can be baked a day ahead; wrap and refrigerate. Unfrosted layers freeze well for up to 2 months.