Classic Carrot Cake with Cream Cheese Frosting
intro
Moist, warmly spiced carrot layer cake slathered in tangy, fluffy cream cheese frosting: a timeless, cozy baked treat perfect for sharing.
Ingredients
Steps
Prep Oven and Pans
Preheat your oven to 175°C (350°F) with the rack positioned in the middle. Grease two 9-inch round cake pans with a thin layer of butter, line the bottom of each pan with a cut circle of parchment paper to prevent sticking, and set pans aside.
Whisk Dry Ingredients
In a medium mixing bowl, combine 240g all-purpose flour, 1 tsp baking soda, 1/2 tsp baking powder, 2 tsp ground cinnamon, 1/4 tsp ground nutmeg, and 1/2 tsp fine salt. Whisk vigorously for 30 seconds until all ingredients are evenly blended, with no visible clumps of spice.
Mix Cake Batter
In a large mixing bowl, whisk together 180ml neutral vegetable oil, 200g granulated sugar, 100g packed light brown sugar, and 3 room-temperature eggs for 1 minute until completely smooth. Fold the dry ingredient mixture into the wet ingredients with a rubber spatula just until no dry flour streaks remain, then stir in 300g coarsely grated carrots (and optional walnuts/raisins if using), taking care not to overmix to avoid a tough cake.
Bake and Cool Layers
Divide the batter evenly between the two prepared pans, smooth the tops with a spatula, and bake for 30-35 minutes at 175°C (350°F). Test doneness by inserting a wooden toothpick into the center of each layer: it should come out with 1-2 moist crumbs, not wet batter. Let layers cool in their pans for 10 minutes, then turn them out onto a wire rack to cool completely to room temperature (approximately 30 minutes) before frosting.
Make Cream Cheese Frosting
In a large mixing bowl, beat 226g room-temperature block cream cheese and 113g room-temperature unsalted butter with an electric mixer on medium speed for 2 minutes until completely smooth, with no lumps. Reduce mixer speed to low, gradually add 240g sifted powdered sugar and 1 tsp vanilla extract, then increase speed to medium and beat for 1 more minute until light and fluffy. Do not overbeat, as this will cause the frosting to become runny.
Assemble and Frost Cake
Set one fully cooled cake layer on a cake stand or serving plate, spread 1/3 of the cream cheese frosting evenly across the top surface. Place the second cake layer on top, then use an offset spatula to spread the remaining 2/3 of the frosting smoothly over the top and sides of the assembled cake. Press optional chopped walnuts into the frosted sides for garnish, then chill the cake for 15 minutes to set the frosting before slicing and serving.
Tips
2.Grate carrots by hand on the large holes of a box grater; finely pulped carrots from a food processor release excess moisture that can make the cake soggy and dense.
3.Never frost warm or partially cooled cake layers: residual heat will melt the butter and cream cheese in the frosting, causing it to slide off the cake and turn greasy.

OMG this carrot cake is a total game changer! I brought it to my neighborhood potluck last weekend and every single person asked for the recipe. The cream cheese frosting is perfectly tangy, not too sweet, and the cake itself is so moist I didn’t even miss the raisins I usually add. My kids begged for second slices before they even finished their first! 10/10 will be making this for every family gathering from now on.
This was my first time making carrot cake from scratch and I was nervous because I saw the difficulty is medium, but the instructions were so clear! Total cook time was spot on too, I didn’t have to guess when it was done cooling before piling on the frosting. The only tweak I made was adding a little extra cinnamon because I love that warm spice kick, and it turned out SO good. My roommate said it’s better than the carrot cake we get at our favorite local bakery.
Made this on Sunday for meal prep snacks for the week and it’s held up perfectly in the fridge! I portioned it out into individual slices and grabbed one on my way out to work each morning, and it tasted just as fresh on day 4 as it did right after I frosted it. I did cut the sugar in the frosting by a tiny bit to fit my taste preference and it still worked perfectly. Already sent the recipe to my sister for her birthday next month!