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
The carrot cake u baked looks soo delicious
Thanks for the recipe
God Bless
Thank you Bernice! Hope you enjoy the recipe 🙂
How deep are the 8in tins please
Hi Maggie! 3 inches deep 🙂
Hi…thanks for sharing.
If I do not want cream cheese in the middle, instead just at the top only. What size baking tray would you recommend to use? What about baking temperature?
Thank u
Margaret
Hi Margaret! You can either half the recipe to make just one 8 inch cake tin or you could use the full quantities in a 10inch cake tin 🙂 enjoy!
It looks yummy may I have your recipe please.
Hi Nolitha! You can find the recipe card just above the comments section 🙂 enjoy!
Can I use raisins or fruit mix instead of walnuts since I am allergic to nuts?
Yes absolutely! 🙂
This recipe is amazing. Thanks
You’re so welcome! Glad you enjoyed it 🙂
Yummy, I love it. It’s mouth watering. I love the fact that the unsweetened yoghurt makes the cake not to be too sweet. I can’t wait to prepare one for my family.
Hello,
I want to make your carrot Cake but I am allergic to pineapple. What can I use in its place?
Thanks for all you do for us.
Theresa
Hi Theresa! I haven’t tried another substitute myself but I’ve heard applesauce/apple puree works well :). Thank you for all the support 😀
Can you add Walnuts to this recipe? Also, what weight should an egg be, to be considered large? Thank you 😊
Hi Coral! Yes you can absolutely add walnuts, I recommend putting either walnuts or pecans (the last ingredient on the ingredients list) 🙂 and in terms of the eggs I use size 7 eggs which are about 62g. Hope that helps! 🙂
im allergic to pineapple, is there a replacement, or adding of more liquid? if so how much
Hi Gregorio! 🙂 Unsweetened apple sauce or apple puree should work well (although I haven’t tried it myself with this recipe so can’t say for sure!). Would love to hear how you go if you decide to try it out 🙂
What can I use instead of yoghurt?
Hi Rose! I haven’t tried a substitute for yoghurt yet so can’t say for sure sorry but perhaps buttermilk might work well 🙂
Also don’t like pineapple..too acidic.