This carrot cake is everything it should be: incredibly moist, fragrant with cinnamon, ginger and nutmeg, studded with toasted walnuts, and finished with a thick layer of tangy cream cheese frosting. The batter is made in one bowl with oil instead of butter, which keeps the crumb soft for days, and plenty of finely grated carrot melts into the sponge as it bakes. Winter carrots from the market make it especially sweet and vibrant.
Quick Answer
For carrot cake, whisk 4 eggs with 1 cup brown sugar, ½ cup white sugar, 1 cup oil and 2 tsp vanilla. Fold in 2 cups (250 g) flour, 2 tsp baking powder, 1 tsp baking soda, 2 tsp cinnamon, 1 tsp ginger, ¼ tsp nutmeg and ½ tsp salt, then 3 cups (300 g) finely grated carrot and 1 cup chopped toasted walnuts. Bake in two 20 cm tins at 175°C for 28–32 minutes. Frost with 250 g cream cheese beaten with 100 g butter and 2½ cups icing sugar.
Recipe at a Glance
- Prep time: 25 minutes
- Cook time: 30 minutes, plus cooling
- Serves: 12
- Calories: about 560 kcal per slice
Ingredients
Cake
- 4 large eggs, at room temperature
- 1 cup (200 g) light brown sugar and ½ cup (100 g) white sugar
- 1 cup (240 ml) neutral oil and 2 tsp vanilla extract
- 2 cups (250 g) all-purpose flour
- 2 tsp baking powder, 1 tsp baking soda and ½ tsp salt
- 2 tsp ground cinnamon, 1 tsp ground ginger and ¼ tsp nutmeg
- 3 cups (300 g) finely grated carrots (about 4 medium)
- 1 cup (100 g) walnuts, toasted and chopped, and ½ cup raisins (optional)
Cream Cheese Frosting
- 250 g full-fat block cream cheese, cold
- 100 g unsalted butter, softened
- 2½ cups (300 g) icing sugar, sifted, and 1 tsp vanilla
Instructions
Step 1: Prepare the tins
Heat the oven to 175°C (160°C fan). Grease two 20 cm round tins and line the bases with baking paper. Toast the walnuts on a tray for 8 minutes while the oven heats, then cool and chop.
Step 2: Whisk the wet ingredients
In a large bowl, whisk the eggs with both sugars for 1–2 minutes until slightly thick and pale. Whisk in the oil and vanilla until smooth.
Step 3: Fold in the dry ingredients and carrots
Sift in the flour, baking powder, soda, salt and spices and fold with a spatula until just combined. Fold in the carrots, walnuts and raisins. Divide evenly between the tins.
Step 4: Bake and cool
Bake for 28–32 minutes until risen and a skewer comes out clean. Cool in the tins for 10 minutes, then turn out onto a rack and cool completely before frosting.
Step 5: Frost and assemble
Beat the butter until creamy, add the icing sugar and vanilla and beat until smooth, then beat in the cold cream cheese on low for just 30–60 seconds until thick. Spread a third over one layer, top with the second and cover the top and sides with the rest. Garnish with chopped walnuts.
Tips for the Moistest Carrot Cake
- Grate the carrots finely on the small holes of a box grater; coarse shreds stay crunchy.
- Use block cream cheese, not spreadable tubs, and don’t over-beat, or the frosting turns runny.
- Bake as a tray cake in a 23 x 33 cm tin for 35–40 minutes for easy party slices.
- Love carrots in desserts? Try our gajar ka halwa, or bake our banana bread next.
Make Ahead and Storage
Unfrosted layers keep wrapped at room temperature for 2 days or frozen for 3 months. The frosted cake keeps covered in the fridge for 5 days; bring slices to room temperature for 20 minutes before serving for the softest texture.
Frequently Asked Questions
Why use oil instead of butter?
Oil stays liquid at room temperature, so the cake stays moist and tender for days, even after refrigeration.
Can I make carrot cake without nuts?
Yes. Leave them out or replace them with the same weight of raisins or desiccated coconut.
Why is my cream cheese frosting runny?
It was over-beaten or the cream cheese was too warm or spreadable. Chill it for 30 minutes, or beat in a little more icing sugar.
How much carrot cake do I need for 20 people?
Two 20 cm layer cakes give about 24 slices, or bake two tray cakes and cut each into 12 squares.
Have you made this recipe?
Walnuts, raisins or both? Tell us in the comments.
Serve a slice with masala chai, or bake our fudgy brownies next. Subscribe to Yariz Recipes for new recipes by email.



