*This post may contain affiliate links. Please see my disclosure for more details!*

This classic carrot cake is an exceptionally moist, two-layer sponge made with oil instead of butter, packed with freshly grated carrots, vibrant orange zest, and warm spices. Prep takes 20 minutes, it bakes in 30 to 35 minutes, and it is topped with an ultra-fluffy vanilla buttercream.

A finished carrot cake with buttercream and decorative carrots

Notes from The Patisserie

Unlike traditional sponges that rely on creamed butter, a spectacular carrot cake relies entirely on sunflower oil. Because oil remains a liquid at room temperature, it guarantees a crumb that is significantly softer, denser, and inherently more moisture-rich than a butter-based cake. It also means your cake will stay incredibly fresh and moist for days without drying out.

To elevate the sponge further, we add the finely grated zest of an entire orange. The natural citrus oils cut beautifully through the richness of the sunflower oil, brightening up the overall flavour profile and complementing the sweetness of the carrots.

A slice of carrot cake with buttercream on a plate with a fork

Balancing the spice blend

The hallmark of a great carrot cake is its warmth. For this recipe, I use a specific trio of ground spices: mixed spice, cinnamon, and ground ginger.

  • Cinnamon brings a familiar, comforting sweetness.
  • Mixed Spice adds complexity with its notes of nutmeg, allspice, and cloves.
  • Ground Ginger delivers a very subtle, sharp background kick that prevents the cake from tasting one-dimensional.

When mixing the dry ingredients into your wet carrot base, the golden rule is to avoid over mixing. Stir the batter until the flour is just incorporated, over working the gluten at this stage will turn your wonderfully soft, rustic cake into something tough and heavy.

A top down shot of a finished whole carrot cake with buttercream and carrot decorations

Ingredients and swaps

Carrot cake is a highly customisable canvas, and you can easily adapt the textures to suit your personal preferences:

  • Walnuts – I love walnuts in a carrot cake but these can be swapped for pecans or any other crunchy nut you fancy
  • Sunflower oil – this is essential for creating the moist texture carrot cake is known for.
  • Eggs – I use medium eggs
  • Sugar – light brown sugar provides a rich caramel taste that runs through and complements the other spices
  • Carrots – finely grated or you will end up with lumps of carrot baked throughout the cake rather that the sweet flavour
  • Raisins – these are optional but add delightful, chewy pockets of concentrated sweetness throughout the sponge. You can swap them for chopped sultanas, dried cranberries, or omit them entirely.
  • Orange zest – the sharp citrus helps to cut through the sweet cake, it makes such a difference
  • Flour – I use a good quality self raising flour
  • Bicarbonate of soda – this helps with the rise but also the texture of your sponge
  • Mixed spice – a delicious addition to the cake as it adds depth of flavour throughout
  • Ground ginger – a teaspoon is enough to taste the spicy kick
  • Ground cinnamon – a teaspoon of cinnamon provides that sweet sharpness to your bake
A whole carrot cake with vanilla buttercream and decorative carrots

Vanilla buttercream vs cream cheese frosting

I decorate mine with either cream cheese frosting or vanilla buttercream – as this one was made as a request from my friend, we went with the buttercream! The vanilla from the buttercream gives it a delightful sweetness that I think is a cakey marriage made in heaven!

Although you can obviously use cream cheese frosting, I like to switch it up now and again. The secret to making this buttercream exceptionally light and cloud-like is the addition of a small amount of boiling water at the very end of mixing. Whipping the buttercream on a high speed with that touch of hot water slightly softens the butter fats, yielding an incredibly silky texture that glides effortlessly onto the delicate sponges.

A slice being removed from a whole carrot cake with vanilla buttercream

FAQs

Do I have to use sunflower oil, or can I use vegetable oil?

You can use vegetable oil as a direct 1:1 swap. Any neutral-flavoured liquid oil works perfectly. Avoid using olive oil or extra virgin olive oil, as their strong, savoury flavours will overpower the delicate spices and orange zest.

Why did my carrot cake sink in the middle?

This typically happens for two reasons: either the bicarbonate of soda was measured too generously (causing the cake to rise too rapidly and then collapse), or the oven door was opened before the internal structure of the sponge had fully set.

Can I bake this recipe as a single traybake or loaf cake?

Yes, this batter adapts beautifully. For a rectangular traybake (9×13 inch), bake at the same temperature for roughly 25 to 30 minutes. For a loaf cake, it will need a deeper bake time of around 50 to 60 minutes.

Should I grate the carrots finely or coarsely?

Always use the fine side of your box grater for carrot cake. Finely grated carrots release the perfect amount of moisture and completely soften into the batter during baking. If you use a coarse grate, you will likely end up with crunchy, distinct orange strands in your finished cake, which ruins the silky texture of the crumb.

A plate of carrot cake with buttercream half eaten

Carrot Cake Recipe

Delicious and moist carrot cake, decorated with a lovely light vanilla buttercream and nuts!
Print Pin Rate
Category: Cake
Type: Cake
Keyword: Carrot
Prep Time: 20 minutes
Cook Time: 35 minutes
Cooling and Decorating Time: 1 hour 30 minutes
Total Time: 2 hours 25 minutes
Servings: 12 slices
Author: Jane’s Patisserie

Ingredients

Cake

  • 225 ml sunflower oil
  • 5 medium eggs
  • 275 g light brown sugar
  • 300 g grated carrots
  • 100 g raisins optional
  • zest of 1 orange
  • 275 g self raising flour
  • 1.5 tsp bicarbonate of soda
  • 2 tsp mixed spice
  • 1 tsp ground ginger
  • 1 tsp ground cinnamon
  • 100 g walnuts/chopped pecans optional

Buttercream/Decoration

  • 250 g unsalted butter room temperature
  • 500 g icing sugar
  • 1 tsp vanilla extract
  • 1 – 3 tbsp boiling water
  • chopped nuts
  • carrot shapes/sprinkles

Instructions

  • Preheat your oven to 180ºc / 160ºc Fan
  • Grease & line two 8" cake tins with parchment paper
  • Pour the sunflower oil and eggs into a large bowl and add the light brown sugar
  • Mix lightly and combine
  • Add the grated carrots and raisins (if using) and orange zest and fold through to combine
  • Add the self raising flour, bicarbonate of soda, mixed spice, ginger, and cinnamon and mix again – try not to over mix!
  • Once combined, fold through the nuts (if using) and pour into the prepared tins
  • Bake the cakes in the oven for 30-35 minutes until cooked through (test with a cake tester, should be clean!)
  • Leave to cool in the tin

Buttercream

  • Beat the unsalted butter for a couple of minutes so its very smooth in a stand mixer with the paddle attachment
  • Gradually add the icing sugar until all combined and beat on a high speed for a couple of minutes
  • Once mixed, add the vanilla extract and mix again
  • Whilst mixing, gradually add the boiling water until you reach your desired consistency
  • Beat for another 5 minutes so its super light and fluffy
  • Place one of your sponges onto the plate you're using, spread half of the buttercream on top, add the other sponge, and spread the rest of the buttercream on
  • Decorate to your desire

Notes

  • This cake will last 4 days covered at room temperature
A close up shot of a full carrot cake with vanilla buttercream and decorative carrots

Storage and freezing

Because of the exceptional moisture content provided by the fresh carrots and sunflower oil, this cake keeps brilliantly and will stay wonderfully soft and flavourful for up to four days when kept covered at room temperature in an airtight cake tin or a dedicated cake box. It is best not to store this cake in the fridge, as the cold air can cause the sponge to dry out prematurely.

If you want to get ahead with your baking, the un-iced sponge layers can be wrapped tightly in a double layer of cling film and frozen for up to three months; simply defrost them fully at room temperature before assembling and decorating with your fresh vanilla buttercream.

Related recipes

I posted my recipe for my carrot & walnut cupcakes a while ago and they’ve been a massive hit – they’re a big reader favourite and an alternative to the classic carrot cake as they’re so light and flavoursome and yum yum yum.

If you prefer cream cheese frosting then you can always try my carrot loaf cake, it is DELICIOUS! I quite like that cream cheese frosting doesn’t necessarily go with every cake so when you do have it, it’s not boring and always tastes amazing.

240 Comments

  1. Lorna on April 15, 2023 at 9:56 pm

    Hi Jane, I made this recipe and it’s gorgeous, but the nuts inside the cake burned. Baked for about 35-40 mins and the cake wasn’t burnt at all. Any ideas why this happened please? X

  2. Lisa on February 23, 2023 at 6:33 pm

    Hi Jane, can I use coconut oil instead of sunflower oil please?

    • Jane's Patisserie on February 27, 2023 at 4:04 pm

      Hiya! This should be fine, enjoy! x



  3. alison on February 3, 2023 at 1:18 pm

    Could I do half courgette and half carrot with this recipe.

  4. DG on January 9, 2023 at 10:14 pm

    Hi Jane,

    Can I use a stand mixer for this cake or would you recommend using a hand mixer?
    Thanks x

    • Jane's Patisserie on January 11, 2023 at 9:29 am

      Hiya! just use a bowl and a spoon, apart from the frosting, for which you can use anything! Hope this helps! x



  5. Jade on September 18, 2022 at 7:16 pm

    Hello!

    I’m about to try this recipe for my husband’s birthday however I can’t find sunflower oil anywhere! (There seems to be a shortage?!)

    Can I use vegetable oil instead?

    • Jane's Patisserie on September 22, 2022 at 1:20 pm

      Hiya! Yes absolutely, this should be fine! Enjoy! x



  6. Whitney Burnett on March 22, 2022 at 6:21 pm

    I don’t care for carrot cake, however I made this for my mum as she loves it, and my gosh, this is amazing. One of my favourite cakes ever, I couldn’t stop eating it!!!

  7. Nasreen on January 9, 2022 at 7:03 pm

    Hi Jane, I want to make this as a 3 layer 6 inch cake how do I adapt the recipe?

    Thank you 😊

  8. Beth on October 1, 2021 at 4:58 pm

    I need to make a 4 layer carrot cake for a birthday. I am assuming I would double the recipe and bake time? I have 2 x very deep 20cm tins

  9. Laura on September 15, 2021 at 9:52 pm

    For the buttercream would you use Stork or would you use unsalted / salted butter ? Can’t wait to make this x

    • Jane's Patisserie on September 16, 2021 at 10:05 am

      Never stork for buttercream – only unsalted or salted block butter!



  10. michelle on August 5, 2021 at 4:49 pm

    im looking at doing this recipe but i have a 6 inch tin,
    what would you change the recipe to for this size?
    thank you x

  11. Amos on July 5, 2021 at 10:23 am

    Hi Jane,

    If I wanted to put walnuts instead of raisins, would I put the same amount in?

    Many thanks

  12. Chantelle on May 25, 2021 at 8:57 pm

    Hey Jane!

    To make a nice thick 3 layer 8” cake would
    You 1.5 the recipe or more? Thank you x

    • Jane's Patisserie on May 28, 2021 at 10:07 am

      Yes 1.5x the recipe!xx



Leave a Comment

Recipe Rating