The BEST Carrot Cake Recipe makes for a delicious dessert on any occasion! Soft and moist cake layers with shredded carrots, pineapples, and walnuts covered in a rich cream cheese frosting.

Carrot cake on a cake stand with cream cheese frosting and crushed walnuts on top.

Though we share so many Dessert Recipes, this carrot cake and Tiramisu cake are definitely the most popular.


This easy carrot cake recipe is going to become a favorite dessert! The moist carrot cake layers combined with the creamy cream cheese frosting are such a wonderful combination of flavor.

We love making this classic carrot cake and it’s always a crowd pleasure at Easter and Thanksgiving.

A slice of carrot cake with walnuts, pineapples, and carrots on a plate with a spoon.


This cake recipe takes just a few basic ingredients and comes together so quickly!

  • Cake Ingredients– You will also need the classic eggs, flour, vanilla extract, sugar, baking soda, baking powder, cinnamon, and walnuts.
  • Carrots– You need grated carrots.
  • Coconut– We love adding shredded toasted coconut flakes for extra flavor. You also use untoasted coconut flakes and you can just totally opt out of adding the flakes.
  • Pineapple– This is the secret ingredient that gives the cake a natural sweetener. You can use freshly chopped or pureed pineapple or canned pineapple.
  • Walnuts– Crushed or finely chopped nuts work great in the cake! You can also use pecans.
  • Frosting– For the sweet and creamy frosting, we use cream cheese, butter, powdered sugar, and vanilla.
Ingredients needed for this carrot cake recipe with pineapples.


You are going to love how EASY this carrot cake comes together!

  1. Prep– Line 8-inch round baking pans with parchment paper and preheat the oven to 350°F.
  2. Dry Ingredients– In a bowl, measure out and sift together flour, baking soda, baking powder, and cinnamon.
  3. Wet Ingredients– In a large bowl, mix together the eggs and cinnamon until creamy and fluffy. Add in the oil, shredded carrots, vanilla, and pineapple, and whisk until combined.
  4. Combine– Add the dry ingredients to the wet ingredients. With a spatula, fold until combined. Fold in the chopped walnuts and coconut until combined.
  5. Bake- Pour the cake batter into the prepared baking pans and bake until cooked.
  6. Cool– Transfer the cake onto cooling racks and allow it to fully cool.
  7. Frosting– Cream together the cream cheese and butter. Add in the sugar and vanilla and beat until combined.
  8. Assemble– Add the first cake layer onto the cake stand and cover in cream. Repeat with the rest of the layers and cover all sides and top of the cake with the frosting. Decorate as desired.
  9. Refrigerate – Refrigerate before serving.
How to the carrot cake recipe with carrots and pineapples, with walnuts and a cream cheese frosting.


Can I use frozen carrots?

Yes, you can use frozen shredded carrots.

Can I add raisins to my cake?

Yes! If you like raisins in your carrot cake, you can add them.

What kind of baking pan can I use for this recipe?

For this recipe, we use 8-inch round pans, but you can also use a 9-inch or a 10-inch round pan but the bake time will be less.
You can also make it as a sheet cake style like our Banana Cake.

Can I substitute the walnuts?

Yes, you use pecans or just take out the walnuts completely.

Do I have to add coconut?

We use toasted shredded coconut, but you can use untoasted shredded coconut or just omit them completely.

Do I have to use pineapple?

Because pineapple is a key ingredient you should not leave out the pineapple.

How to store carrot cake?

Once the carrot cake is frosted, cover and refrigerate for up to 5 days. If you want to store the cake layers un-iced then you can store them in a container or covered in a dry area for up to a week!

Can I freeze carrot cake?

The carrot cake also freezes great un-iced. Cover in plastic wrap and then add to a container or freezer bag and freeze. It can last in the freezer for 2-3 months. Then just thaw, make the icing, and assemble the cake.

Can I make carrot cake cupcakes?

Yes! Use our carrot cake cupcake recipe.

The best carrot cake on a cake platter with a cream cheese frosting topped with walnuts.


The BEST Carrot Cake Recipe

Amazing Carrot Cake Recipe. Flavorful, moist and insanely delicious easy carrot cake with a rich cream cheese frosting
4.75 from 4 votes
Prep Time 10 minutes
Cook Time 20 minutes
0 minutes
Total Time 30 minutes
Course Dessert
Cuisine American
Servings 12 servings
Calories 479 kcal


carrot cake-

cream cheese frosting-

  • 16 oz cream cheese, room temp
  • 1/2 cup unsalted butter
  • 3/4 cup powdered sugar
  • ½ tsp vanilla extract
  • crushed walnuts for decor, optional


  • Preheat oven to 355° F. Spread coconut flakes onto a baking sheet, bake 5-7 minutes, until golden in color. Remove and set aside to cool.
  • Cut pineapple into cubes, puree with a hand mixer.
  • Peel and grate carrots.

prepare cake layers:

  • Preheat oven to 350° F. Line three 8-inch round baking pans with parchment baking. Spray with baking spray and lightly dust with flour.
  • In a bowl, whisk together flour, baking soda, baking powder, and cinnamon. Set aside.
  • In a large bowl, beat together eggs with sugar on high speed until mixture starts to become fluffy.
  • In a different bowl combine oil, carrots, vanilla, and pureed pineapple. Add to the eggs mixture and mix with a spatula until combined.
  • Add half the flour to the wet ingredients and mix with a spatula. Add the remaining flour and continue mixing with a spatula until combined.
  • Add the chopped walnuts and toasted coconut. Fold into the mixture with a spatula.
  • Pour the cake batter evenly between the three prepared baking pans. Bake at 350° F for 16-18 minutes. Once the cakes have completely cooled, remove from the pans and set aside to cool completely. 

prepare frosting:

  • In a bowl, mix together cream cheese and butter on high speed.
  • Add the sugar and vanilla, mix.

assembling the cake:

  • Place first cake layer onto a cake stand, add cream. Repeat with remaining layers and cream. Cover sides and tops of cake with frosting and decorate as desired.
  • Refrigerate before serving.
  • Enjoy!


Calories: 479kcalCarbohydrates: 52gProtein: 6gFat: 28gSaturated Fat: 9gCholesterol: 82mgSodium: 267mgPotassium: 259mgFiber: 2gSugar: 35gVitamin A: 3125IUVitamin C: 10.7mgCalcium: 86mgIron: 1.5mg
(The nutrition information provided is an estimate and will vary based on cooking methods and brands of ingredients used.)
Tried this recipe?Let us know how it was!