American · Desserts · Recipe
Carrot Cake
Moist, spiced carrot cake with walnuts and a tangy cream cheese frosting. A two-layer Easter cake made with oil, plus how to stop the frosting going runny.
Prep- 30 min
Cook- 30 min
Total- 2 hr 30 min
Serves- 12
Level- Easy

At a glance
Carrot cake is a moist, spiced sponge made with grated carrots, oil, brown sugar and warm spices such as cinnamon, ginger and nutmeg, usually with walnuts, and topped with cream cheese frosting. The batter is mixed by hand in one bowl, baked in two 20 cm tins at 180°C for 25 to 30 minutes, cooled and sandwiched with frosting. It serves 12 and takes about 2½ hours including cooling.
A good carrot cake is moist and tender, warmly spiced, with enough carrot to keep it soft for days and a thick layer of tangy cream cheese frosting. It is also one of the easiest layer cakes to make: no creaming, no special technique, just two bowls and a whisk. It is a natural choice for Easter, birthdays or any afternoon that needs cake.


The recipe
Carrot Cake
Ingredients
Tap an ingredient to tick it off.
Cake
- 250 g plain flour
- 1 tsp baking powder
- 1 tsp bicarbonate of soda (baking soda)
- 2 tsp ground cinnamon
- 1 tsp ground ginger
- 1/2 tsp ground nutmeg
- 1/2 tsp fine salt
- 230 g light brown soft sugar
- 200 ml sunflower or vegetable oil
- 3 large eggs, at room temperature
- 1 tsp vanilla extract
- 300 g carrots (about 4 medium), peeled and coarsely grated
- 100 g walnuts, roughly chopped
- 1 orange, zest finely grated
Cream cheese frosting
- 100 g unsalted butter, softened
- 300 g icing sugar, sifted
- 250 g full-fat cream cheese, cold from the fridge
- 1 tsp vanilla extract
- 25 g walnuts, chopped, to decorate
Equipment
- Two 20 cm round cake tins
- Box grater
- Large mixing bowl
- Electric hand mixer
Method
Bake the cake
Heat the oven to 180°C (160°C fan), 350°F, gas 4. Grease two 20 cm round cake tins and line the bases with baking paper.
Whisk the flour, baking powder, bicarbonate of soda, cinnamon, ginger, nutmeg and salt in a bowl.
In a large bowl, whisk the brown sugar, oil, eggs and vanilla until smooth and slightly thickened, about 1 minute. Stir in the grated carrots, walnuts and orange zest.
Add the dry ingredients and fold together with a spatula until no streaks of flour remain. Do not overmix.
Divide the batter between the tins and level the tops. Bake for 25 to 30 minutes, until risen, springy to the touch and a skewer inserted in the centre comes out clean.
Cool in the tins for 10 minutes, then turn out onto a wire rack and leave to cool completely, at least 1 hour.
Frost
Beat the butter with an electric mixer until very soft and pale. Add the icing sugar and beat until smooth.
Add the cold cream cheese and vanilla and beat on medium speed for 30 seconds to 1 minute, just until smooth and combined. Overbeating makes it runny.
Put one cake upside down on a plate and spread with a third of the frosting. Top with the second cake, right side up, and spread the remaining frosting over the top. Scatter with the chopped walnuts.
Recipe notes
- Nut-free: leave out the walnuts or replace them with 100 g raisins or sultanas.
- Allergens: contains wheat (gluten), egg, milk and tree nuts (walnuts).
Recipe summary
- Cuisine
- American
- Course
- Desserts, Baking, Cakes and Cookies
- Diet
- Vegetarian
- Prep time
- 30 min
- Cook time
- 30 min
- Total time
- 2 hr 30 min
- Servings
- 12
- Difficulty
- Easy
- Ingredients
- 19
- Steps
- 9
Why carrots in cake?
Sweet vegetables have been used in puddings and cakes in Europe for centuries, particularly when sugar was expensive. Carrot cake as it is known today, with oil, spices, nuts and cream cheese frosting, became popular in the United States from the 1960s and spread worldwide. Grated carrots add natural sweetness, moisture and a soft, open texture rather than a strong carrot flavour.
The method: no creaming needed

Most butter cakes start by creaming butter and sugar, which is explained in our guide to creaming butter and sugar. Carrot cake uses the oil method instead: oil, sugar and eggs are simply whisked together and the dry ingredients folded in. The raising agents, baking powder and bicarbonate of soda, do the lifting. Brown sugar is slightly acidic, which helps the bicarbonate of soda work and adds a caramel note.
Grating the carrots. Use the coarse side of a box grater. Finely grated carrot turns watery and disappears; coarse shreds keep a little texture and colour. Do not squeeze them dry.
Cream cheese frosting that holds
Cream cheese frosting has a reputation for being runny. The fixes are simple:
- Use full-fat block cream cheese, straight from the fridge.
- Beat the butter and icing sugar first, then add the cold cream cheese last.
- Stop as soon as it is smooth. Overbeating breaks down the cream cheese and thins the frosting.
- Frost a completely cold cake. Any warmth will melt it.
Spices and flavour
Cinnamon is the main spice in carrot cake, with ginger for warmth and nutmeg for depth. Orange zest is not in every recipe, but it brightens the spices and pairs well with the cream cheese frosting. Walnuts are traditional; toasting them in a dry pan for a few minutes before chopping makes them crunchier and more flavourful. Pecans work just as well. If you prefer raisins, soak them in hot water for 10 minutes and drain them first so they stay plump and do not pull moisture from the cake.
Choosing the carrots

Ordinary carrots work perfectly. Older, larger carrots are sweeter and easier to grate than baby carrots. Peel them and grate on the coarse side of a box grater, or use the grating disc of a food processor. About 4 medium carrots give 300 g grated.
Equipment notes
Two 20 cm round tins give a classic layer cake. A 23 cm springform tin makes one deep cake; bake it for 50 to 60 minutes at the same temperature, covering with foil if the top browns too fast. An electric mixer makes the frosting easier but is not needed for the cake batter itself.
Decorating ideas
Chopped walnuts are traditional on top. For something different, pipe small carrots from orange-tinted frosting with a little green for the leaves, scatter toasted coconut or pecans, or add edible flowers for a spring or Easter table. A light dusting of cinnamon is simple and pretty.
Making it ahead
The cake layers can be baked a day ahead, cooled, wrapped and kept at room temperature, or frozen for up to 3 months. Make the frosting on the day and keep the frosted cake in the fridge. Carrot cake is often moister and more flavourful on the second day.
Scaling the recipe
For a three-layer cake, increase the batter by half and divide between three 20 cm tins; the baking time stays about the same. Increase the frosting by half too. For a smaller cake, halve the recipe and bake in one 20 cm tin.
Turning it into traybake squares
For a school fair or an office table, squares are easier to share than a layer cake. Bake the batter in one lined rectangular tin and begin testing early, since the depth of your tin decides how long it needs. Cool it completely, spread the frosting in swirls across the top, then chill it briefly so it firms before cutting. A knife wiped clean between cuts gives tidy edges. Scatter chopped walnuts over half only, which leaves a choice for those who prefer without, though the batter itself still contains any nuts you added. Carry the squares in a single layer in a lidded box, and keep them chilled until shortly before eating because of the cream cheese.
Common mistakes
- Overmixing the batter. Fold just until the flour disappears; overmixing gives a tough, dense cake.
- Measuring flour by volume. Too much flour makes a dry cake. Weigh it, or see our measurement conversions.
- Underbaking. The moist batter can look done before it is. Use a skewer in the centre.
Variations
- Pineapple: add 100 g well-drained crushed pineapple with the carrots for extra moisture.
- Traybake: bake in a 23 x 33 cm tin for 30 to 35 minutes and spread the frosting on top.
- Cupcakes: bake in 18 paper cases for 18 to 22 minutes.
Storing and freezing
Keep the frosted cake covered in the fridge for up to 4 days. It is best served at cool room temperature. Unfrosted cake layers freeze well for up to 3 months.
Dietary and allergen information
As written, this carrot cake recipe is vegetarian. Labels describe the recipe as written; brands of packaged ingredients differ, so always check labels when cooking for someone with an allergy or a medical diet.
Read our recipe disclaimer for more on allergens, cross-contamination and food safety.
Skills and guides for this recipe
These guides explain the ingredients and techniques this recipe relies on, so you can cook it with confidence and use the same skills in other dishes.
FlourA guide to wheat flour: plain, bread, cake, self-raising, tipo 00 and wholemeal, what protein content means, how to measure and store it.Read the guide →
EggsEverything about cooking with eggs: sizes and grades, how to test freshness, safe storage, how egg proteins set at different temperatures, and egg substitutes.Read the guide →
Cooking Measurement ConversionsKitchen conversion charts: US, metric and UK cups and spoons, cups to grams for flour, sugar and butter, and oven temperatures with gas marks.Read the guide →
American CuisineAn introduction to American cuisine: Indigenous and immigrant roots, regional styles from the South to New England, baking, barbecue and classic dishes.Read the guide →
Frequently asked questions
Why does carrot cake use oil instead of butter?
Oil stays liquid at room temperature, so oil-based cakes stay moist and soft for longer than butter cakes. It also makes mixing easy: no creaming, just whisking.
Why is my cream cheese frosting runny?
Usually the cream cheese was warm, low-fat or from a tub of spreadable cheese with extra water, or it was beaten too long. Use cold, full-fat block cream cheese and beat it only until smooth.
Does carrot cake need to be refrigerated?
Yes, once frosted, because cream cheese frosting is perishable. Keep it covered in the fridge for up to 4 days and bring slices to room temperature for 20 minutes before serving.
Can I freeze carrot cake?
The unfrosted layers freeze very well, wrapped tightly, for up to 3 months. Thaw at room temperature, then frost.











