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.
255 Comments
Moist and delicious 😋
Best Carrot cake ever made.
Aww yay! This makes me so so happy Clorissa 😀
So glad you loved the recipe 🙂
Hi there….love your recipes and thank you very much!
For the carrot cake if I leave out the pineapple is there anything I can increase or add to maintain the moisture of the cake?
Hi Manu! So happy to hear you’re enjoying the recipes 😀
I haven’t tried a substitute for the pineapple myself so I can’t say for sure, but I think applesauce would work well, or buttermilk too. You could also use milk, though I think 1 cup might be too much – maybe 1/2 a cup or so of milk 🙂
It may take a bit of trial and error to get the final texture you want. Hope that helps and hope you enjoy the recipe!
If I want an eggless version of this cake how do I adjust the recipe and what can I substitute for eggs? Could you please let me know
Hi Deepti! 🙂 I haven’t tried an egg substitute for this recipe myself so I’m not too sure sorry! I am hesitant to recommend anything if I haven’t tried it myself incase it doesn’t work out well – so sorry! I do have some eggless cakes that you might like to check out here 🙂 https://cakesbymk.com/recipe-category/eggless/
Hi, can I make this as one cake and cut it in two
Hi Susan! 🙂 Due to the very soft/moist texture of the cake, it may be a bit hard to torte and may not rise well as a taller cake. For this reason, I would recommend sticking to using two 8 inch cake tins instead of one.
Hope that helps and hope you enjoy the recipe!
This cake was moist and delicious. Everyone loved it and it was the first cake from scratch that I made. Thank you for sharing your recipe.
So so happy to hear that Brenda! 😀
So glad everyone loved the recipe and sounds like you nailed your first from-scratch cake – go you!
Can you freezer the cake?
Hi Abigail! 🙂 I haven’t tried freezing this cake myself, but I think if wrapped well in clingwrap and placed in an airtight container, it should be fine 🙂
Hope you enjoy the recipe!
Hi, could I use 1 8 inch baking tin but cook for longer
Hi Susan! 🙂 If you want to make one 8 inch cake, I would recommend halving the recipe. If you put 1x the recipe in one 8 inch cake tin there will be too much batter in one tin and the cake may not rise properly. Hope that helps and hope you enjoy the recipe 😀
Hi MK. For the yoghurt, can I use double cream plain yoghurt ?
Hi Lynn! Yes that should be fine 🙂
Hope you enjoy the recipe!
Do you use 8×2 cake pans or 8×3 cake pans for your carrot cake recipe?
There are two layers in the picture and video, and the recipe provides ingredients for one pan (x1/2), two pans (x1), or four pans (x2).
Hi Jackie! 8×3 inch pans 🙂
Thank you
My third time making it!
Super delicious 😋
Aww yay! So glad you’re loving the recipe Jackie 😀
Can I use 9″ x2 pans?
Hi Bonita! 🙂 Yes you can, however the cake layers will be thinner so will likely cook faster too so you’ll just need to check them a bit earlier to ensure they don’t overbake 🙂
Hope you enjoy the recipe!
Simply the best, moistest cake ever!!
Aww yay! So glad you loved the recipe Amy 😀