This moist carrot cake is warmly spiced, tender and finished with a smooth cream cheese frosting. It is a classic baked dessert for celebrations or an everyday treat.
Thank you for reading this post, don’t forget to subscribe!Ingredients
- 2 cups (240 g) all-purpose flour
- 1 tsp baking powder
- 1 tsp baking soda
- 1/2 tsp fine salt
- 1 1/2 tsp ground cinnamon
- 1/2 tsp ground nutmeg
- 1/2 cup (100 g) packed brown sugar
- 1/2 cup (100 g) granulated sugar
- 3 large eggs
- 3/4 cup (180 ml) neutral oil
- 2 cups (about 220 g) finely grated carrots
- 1 tsp vanilla extract
- 1/2 cup (60 g) chopped walnuts or pecans, optional
Cream Cheese Frosting
- 225 g full-fat cream cheese, softened
- 4 tbsp (56 g) unsalted butter, softened
- 1 1/2 cups (180 g) icing sugar, sifted
- 1 tsp vanilla extract
Instructions
- Heat the oven to 350°F / 175°C. Grease and line a 9-inch (23 cm) round cake pan, or grease two 8-inch (20 cm) round pans.
- Whisk the flour, baking powder, baking soda, salt, cinnamon and nutmeg in a medium bowl.
- In a separate large bowl, whisk the brown sugar, granulated sugar, eggs, oil and vanilla until smooth.
- Stir the dry ingredients into the wet ingredients just until combined. Fold in the grated carrots and nuts, if using. Do not overmix.
- Pour the batter into the prepared pan and smooth the top. Bake for 35–45 minutes for one 9-inch cake, or 25–30 minutes for two 8-inch cakes, until a skewer inserted in the centre comes out clean or with a few moist crumbs.
- Cool the cake in the pan for 10 minutes, then transfer it to a rack and cool completely before frosting.
- For the frosting, beat the cream cheese and butter until smooth. Gradually beat in the sifted icing sugar and vanilla until creamy.
- Spread the frosting over the cooled cake. If using two layers, frost between the layers and over the top and sides.
Cooking Tips
- Grate the carrots finely so they soften evenly during baking.
- Measure flour by weight when possible, or spoon it into a cup and level it without packing.
- Do not frost the cake until it is completely cool, or the frosting may melt.
- Toast the nuts before adding them for a deeper flavour.
- Start checking the cake at the early end of the baking range because pan size and oven temperature affect the timing.
Storage & Reheating
Because of the cream cheese frosting, refrigerate the cake in a covered container within 2 hours. Use it within 3–4 days. Let individual slices stand at room temperature briefly before serving. Do not freeze the frosted cake for the best texture, although unfrosted cake layers can be wrapped and frozen for up to 3 months.
Recipe Details
Prep: 25 minutes · Cook: 35–45 minutes · Total: 1 hour 30 minutes, plus cooling · Serves: 10–12
Frequently Asked Questions
Can I prepare this cake ahead?
Yes. Bake the cake a day ahead, cool it completely and refrigerate it covered. Frost it before serving or up to one day in advance.
Can I make carrot cake without nuts?
Yes. Leave out the nuts without changing the other ingredient quantities.
How do I know when the cake is done?
A skewer inserted into the centre should come out clean or with a few moist crumbs, and the centre should spring back lightly when pressed.
Why is my cream cheese frosting runny?
Make sure the butter and cream cheese are softened but not warm, sift the icing sugar and chill the frosting briefly before spreading it.
The Story Behind This Recipe
Carrot cake has roots in older European carrot-based desserts, while the modern warmly spiced cake with cream cheese frosting became especially popular in the twentieth century.
Carrots do more than add their name to the cake: their moisture helps create a tender crumb, while oil keeps the texture soft even after chilling. The cream cheese frosting supplies a cool, lightly tangy contrast to the cinnamon and nutmeg. Grating the carrots finely and waiting until the cake is completely cool before frosting are small steps that make the finished dessert more reliable.

