This incredibly moist carrot cake recipe is hands down the best I’ve ever had! The soft spice infused carrot cake layers are bursting with flavor and dotted with nuts that add the most wonderful texture. Filled and topped with a tangy cream cheese frosting, and already boasting more than 50 five star reviews, this recipe is a carrot cake lovers dream!!

Why You’ll Love This Carrot Cake Recipe
When developing any recipe, there are always two things at the forefront – flavor and texture. Let me tell you, this carrot cake recipe DOES NOT DISAPPOINT on both of those fronts!
Flavor
There are a few notable ingredients in this recipe that contribute to the incredible flavor of this cake.
Firstly, a carefully selected combination of spices are used for the cake layers, giving them the most cosy, warm taste! The spices used in this recipe are ground cinnamon, powdered ginger, cloves and nutmeg. I find that this combination works incredible well together, and I’ve used a similar combination in many of my other recipes (like my spice cake, pumpkin cake and very popular fruit cake).
Secondly, I use crushed pineapple in my carrot cake. Yes, you heard that right! It’s actually quite a common ingredient used in carrot cake, and it adds incredible flavor and texture.
Most importantly, this cake is packed with the star of the show – shredded carrots! I also like to add nuts (usually a combination of walnuts or pecans), which add another layer of flavor to the cake.
Oh and I almost forgot – yoghurt! I love using yoghurt in my cake recipes to add additional flavor and moisture, and this recipe is no exception.
Texture
This carrot cake recipe is so soft with a very moist crumb, and there are a few ingredients to thank for that!
Firstly, oil. I usually use a combination of unflavored vegetable oil (canola oil) and butter in most of my cake recipes, however with recipes that have a lot of shredded vegetables, it’s often better to use only oil. This is because carrot cakes (and similar recipes) are on the heavier side, and using butter alone can make for a very dense and overly heavy cake. With this cake having so much flavor, butter isn’t really needed, so I opted to only use oil. It makes for a super soft and not too heavy carrot cake!
Secondly, I opted to use only light soft brown sugar for this recipe, and no granulated sugar at all. Brown sugar adds additional moisture and flavor to the cake, and the amount used in this recipe allows for the brown sugar to really shine without making for an overly dense cake (which too much brown sugar can do!).
Shredded carrots, yoghurt and pineapple also add to the super moist texture of the carrot cake recipe.
One last notable ingredient is cornstarch. I like to substitute a small amount of the all purpose flour in most of my cake recipes with cornstarch for a softer cake. This is because cornstarch doesn’t contain any gluten (unlike flour), so having a little less gluten in the cake batter results in a softer cake. It’s a careful balance though, as not enough gluten will result in a cake that won’t hold together.
How to Make Carrot Cake
This carrot cake recipe is SO EASY to put together as it uses the ‘muffin method’ of making cake batter. This is when the wet and dry ingredients are combined separately (no electric mixer required) and then combined together at the end.
Begin by preheating your oven to 160°C (320°F) fan forced (increase the temperature to 180C/350F if using a conventional oven with no fan), and grease and/or line two 8 inch round cake pans. I like to grease my cake tins with my homemade cake release.

In a bowl, sift together flour, cornstarch, baking powder, baking soda, salt, cinnamon, ginger, cloves, and nutmeg. Using a whisk, mix until well combined. Set aside.

In a large bowl combine soft brown sugar, eggs, vegetable oil, vanilla, yoghurt and crushed pineapple. Using a whisk, stir until well combined, and then for a further minute to incorporate some air into the batter.

Add your dry ingredients into your wet ingredients and using a rubber spatula, gently fold together until just combined. Do not overmix.
Add in the grated carrots and walnuts and/or pecans. Using a spatula, gently fold through until just combined. Do not overmix.

Distribute the batter evenly into the two 8 inch cake tins, and then give the cake tins a light bang on the counter to release any large air bubbles.

Bake for 35 minutes, or until a toothpick comes out clean. Allow to cool completely before frosting with my favourite cream cheese buttercream. This buttercream has a wonderful tang, with the addition of lemon juice as well. I highly recommend pairing it with this carrot cake recipe!
For tips on how I decorated my cake, check out the recipe video below 🙂

Commonly Asked Questions
How do you store carrot cake?
This carrot cake can be left at room temperature for the day, however overnight it will need to be refrigerated due to the cream cheese in the frosting. The fat and sugar in the frosting will prevent the cream cheese from going off immediately which is why you can keep it out at room temperature for an extended period of time.
When storing, place it into an airtight container, and into the refrigerator. Allow it to come to room temperature before serving.
What are some other common additions to carrot cake batter?
In addition to spices and nuts, other additions to carrot cake recipes include pineapple (like I have used in this recipe), shredded coconut and raisins.

Moist Carrot Cake
IMPORTANT: For accuracy, I would recommend using the gram measurements provided, as those are the exact quantities I use. Cup measurements are given as estimates (based on US cup measurements) to make it easier for those who do not have a scale.
Ingredients
Carrot Cake
- 2 cups (225 g) finely grated carrots - about 3 medium sized carrots
- 1 cup (190 g) canned pineapple - blended (remove the liquid from the can before blending - see note 4). Use canned pineapple in juice (not syrup).
- 2¼ cups (290 g) flour - plain, all purpose
- ¼ cup (30 g) cornstarch
- 2 tsp baking powder
- ½ tsp baking soda
- ½ tsp salt
- 2½ tsp cinnamon - ground
- 1¾ tsp ginger - ground/powdered
- ¼ tsp cloves - ground
- ½ tsp nutmeg - ground
- 1½ cups (300 g) soft brown sugar - firmly packed (see note 2)
- 3 large eggs - room temperature
- 1 cup (200 g) unflavoured vegetable oil - I use canola
- 3 tsp vanilla essence/extract
- ½ cup (110 g) yoghurt - unsweetened, regular not Greek (low fat Greek yoghurt is okay). Room temperature.
- 1 cup (100 g) pecans or walnuts - coarsely chopped. I like to use both so I use 1/2 a cup of each.
Cream Cheese Frosting
Instructions
- Preheat oven to 160 °C (320°F) with the fan on (see note 3 if you don't have a fan function) and grease and/or line two 8 inch cake tins (I use my homemade cake release).
- Begin by peeling and finely grating your carrots and set them aside for later. Also prepare your pineapples, so blend your canned pineapple (remember to discard the liquid before blending) and set aside for later.
- In a bowl, sift together your flour, cornstarch, baking powder, baking soda, salt, cinnamon, ginger, cloves, and nutmeg. Using a whisk, mix until well combined. Set aside.
- In a large mixing bowl combine your soft brown sugar, eggs, vegetable oil, vanilla, yoghurt and crushed pineapple. Using a whisk, mix until well combined, and then for a further minute to incorporate some air into the batter.
- Add your dry ingredients into your wet mixture and using a spatula, gently fold together until just combined. Do not overmix.
- Add in the grated carrots and walnuts and/or pecans. Using a spatula, gently fold through until just combined. Do not overmix.
- Distribute the batter evenly into the two 8 inch cake tins, and then give the cake tins a light bang on the counter to release any large air bubbles.
- Bake for 35 minutes, or until a toothpick comes out clean. Allow to cool in the cake tins for about 20 minutes and then turn them out onto a wire rack to completely cool, before frosting with my favourite cream cheese buttercream.
Video

Notes
Nutrition
Nutritional information are estimates only as they are automatically calculated by a third party application. Actual values may differ based on brands and types of products used.
256 Comments
Could i make cup cakes instead
Hi Charlee! Yes you could totally do that 😀 just reduce the cooking time to about 18 mins. Enjoy!
Lovely 😍
Thank you Deborah! 😀
I’m making this for Easter! Even though I haven’t tried it yet, I’m rating it a 5 star anyways because everything I’ve made from you so far is so amazing!
Aww thank you so so much for the wonderful feedback Angelina 😀 so happy to hear you’re loving the recipes!
Can I use a 9×13 pan or a Brundt pan instead of 2-8in round cake pans?
Hi Pat! Check out my carrot sheet cake for a 9x13inch version :). Enjoy!
Hello Mk! Since I bake vegan, is it suitable and advisable to use almond flour as alternative? I am excited to try your delectable cake!! Thanks Bettina
Hi Bettina! 🙂 I would recommend sticking to regular flour as almond flour has a high fat content compared to regular flour so it may make the cake very dense. It also has a slight flavor to it which may not meld as well with the other ingredients 🙂 I do have an almond cake recipe if you wanted to check that out 😀
Hi! Since i have two 6″ cake pans, i have to reduce the ingredients to 1/2? Do you think this will work? Thank you
Hi Katerina! Yes that should work fine 🙂 enjoy!
Hi MK❣️
I must admit your recipes are life saving and they always come out beautifully. You also take your time to explain clearly which is greatly appreciated.
Please a quick question; can I substitute the yoghurt with buttermilk?
Hi Keren! 🙂 So happy to hear you’ve been finding the recipes easy to follow 😀 I haven’t tried buttermilk as a subtitute for the yoghurt in this cake before so I can’t say for sure if it’ll work as well, but I have a feeling it would be okay 🙂 would love to hear how you go if you decide to try it out 🙂
Hello MK! I have a question- can I soak the cake layers with a simple syrup prior to crumb coating or is it unnecessary? I mean the cake seems to be very moist. I’m just asking as I have seen a lot of bakers doing the syrup soak. Thank you 😉
Hi Anuja! If you’re crumb coating the cake on the same day it’s made, then you don’t need to add additional simple syrup :). If the cake layers are going to be stored for a day or two before crumb coating, then you can add additional simple syrup to prevent them from drying out. Hope that helps! 🙂
hi if i want to replace the ap flour with cakke flour how many grams of cornstarch do i need???
Hi Ray! If using cake flour, substitute the cornstarch with cake flour too (so there won’t be any cornstarch in the recipe). Hope that helps! 🙂
Hi, I’m excited to try this carrot cake recipe but I don’t have pineapples, could I replace them with the same amount of yogurt instead ?
Hi Aya! 🙂 I haven’t tried that substitute myself so I’m not too sure how it’ll turn out sorry!
Hi Maryam! Hope you are well. Do you think this recipe would work with 3 layers?
My daughter ask me to do a carrot cake with chocolate for her 4th birthday, and im thinking of using your recipe with some changes, i’m going to reduce spices since kids dont like that much and maybe Ill omit nuts or make some caramelized nuts between the layers. For the filling im going to make a chocolate cream chesse buttercream. Wish me luck! Thank you for all your amazing recipes.
Hi Adriana! 😀 Yes this recipe will work great as 3 layers, you would just want to make 1.5x the recipe for 3 8 inch cake layers, or you can make 1x the recipe but make thinner cake layers (just remember to reduce the cooking time). Yes reducing spices and adding in some caramelised nuts sounds great and more kid friendly 🙂 hope you enjoy the recipe!
Hi! I really want to make this cake but do not have yogurt, is there something you can suggest as a substitute please
Hi Julene! I haven’t tried a yoghurt substitute for this recipe myself but you could try sour cream or buttermilk, it may change the texture slightly though so just keep that in mind 🙂
Hie, I will definitely try this recipe, thank yuo so much, am enjoying it already