The best Carrot Cake recipe is extra moist from buttermilk and crushed pineapple and has a hefty coating of dreamy cream cheese frosting. This is my birthday cake of choice every single year!

The best Carrot Cake recipe on a marble cake stand with a piece being lifted to serve.

This Carrot Cake is my birthday cake every year.

But I'm pretty spoiled because along with this amazing carrot cake, I also got some German Chocolate Cake on my birthday because it's my twin sister's favorite and our amazing mom would make mini versions of both!

You know I am picky about my cake recipes and not all Carrot Cake recipes are created equal! This recipe has a light and fluffy texture with tons of flavor. You can add nuts and raisins, or NOT, if that's not your thing. But don't skip the buttermilk and crushed pineapple, which make it extra moist.

This recipe makes a three layer cake, but see the recipe notes for making a 9×13 inch carrot cake, or a two layer cake.

How to make Carrot Cake:

Make Cake Batter: Combine eggs, granulated sugar, brown sugar, oil, buttermilk, vanilla, and pineapple in a large mixing bowl. In another bowl, combine flour, baking powder, baking soda, cinnamon, ginger, salt, and nutmeg. Pour the dry ingredients into the wet ingredients and mix until combined. Fold carrots, pecans, and raisins until evenly distributed.

Two images showing how to make carrot cake by mixing the liquid ingredients together then after the rest of the ingredients are added.

Bake: Pour batter into parchment lined cake pans and bake at 350°F (180°C) for 25-40 minutes. Cool in the pans for 10-15 minutes before inverting on a wire rack.

Two images showing homemade carrot cake divided into three cake rounds, before and after baking.

Assemble and Frost: Position a cake round on a serving plate and spoons layer of cream cheese frosting on top. Repeat with other cake layers, spreading frosting on the top and sides, until it's covered. Add some chopped pecans, using the palm of your hand to press them on, if desired. Let this homemade carrot cake chill for at least 30 minutes before serving.

Two images showing carrot cake with pineapple, buttermilk, and the perfect balance of flavors before and after it's frosted with cream cheese frosting.

Make Ahead and Freezing Instructions:

To Make Ahead: The whole cake tastes great made a day in advance. The frosting will keep in the fridge for 3-4 weeks.

To Freeze: Wrap cooled cake rounds in plastic wrap then place in a freezer safe bag and freeze for up to 3 months. The frosting can be frozen for up to 3 months as well. Remove frosting from fridge 1-2 hours in advance, to come to room temp. I like to frost the cake rounds while they're frozen.

More Cake Recipes:

Follow me for more great recipes

Recipe

The best Carrot Cake recipe on a marble cake stand with a piece being lifted to serve.
Prep 20 minutes
Cook 30 minutes
Total 50 minutes
Save Recipe

Ingredients
  

Cream Cheese Frosting:

Instructions
 

  • Preheat oven to 350 degrees F (180°C). Prepare three 8 inch cake pans* by lightly coating with cooking spray then lining with parchment paper.
  • Wet ingredients: Beat the eggs, granulated sugar, brown sugar, oil, buttermilk, vanilla, and pineapple together in a large bowl. 
  • Dry ingredients: In another bowl, combine the flour, baking powder, baking soda, cinnamon, ginger, salt, and nutmeg.
  • Combine: Add the dry ingredients to the wet ingredients then mix until incorporated. Fold in the carrots, pecans and raisins just until evenly distributed throughout the batter. 
  • Bake: Pour the batter into prepared pans. Bake on center rack until a toothpick inserted into comes out clean, about 25-30 minutes. Allow cakes to cool in the pans for 10-15 minutes before inverting them onto a wire rack to cool completely. 
  • Cream Cheese Frosting: Beat cream cheese and butter together until smooth. Mix in vanilla. Add powdered sugar, one cup at a time, until the frosting reaches the consistency you want. Beat for serval minutes until smooth and fluffy.
  • Assemble: Place the bottom layer on a cardboard round or serving plate. Spoon about ½ cup cream cheese frosting onto bottom cake layer, spreading evenly over the surface and out to the edge of the cake. Repeat with remaining cake layers. Spread frosting around the sides of the cake, adding more as needed, until it's covered. Use the palm of your hand to cup chopped pecans around the edge of the cake, if desired.
  • Chill cake for 30 minutes before serving.

Notes

Omit Pineapple: crushed pineapple adds a sweetness and keeps it moist, but you could use unsweetened applesauce as a substitute.
Nuts & Raisins are optional. You could also add walnuts or coconut. I prefer raisins inside my cake and the nuts only on the outside.
9×13 Carrot Cake: Grease a 9×13 inch baking pan then pour in some of the batter, but don't overfill. Use the rest of the batter to make a few cupcakes. Bake the cake for 35-45 at 350°F (180°C). Test with a toothpick, it should come out clean.
Two Layer Carrot Cake: Divide batter in half and pour into two parchment lined and greased 9″ round cake pans. Bake at 350°F (180°C) for 30-40 minutes, or until the toothpick comes out clean.
Carrot Cake Cupcakes: Place cupcake liners in muffin pan and fill 3/4. of the way with batter. Bake at 350°F (180°C) for 18-25 minutes.
Make Ahead Instructions: The whole cake tastes great made a day in advance. The frosting will keep in the fridge for 3-4 weeks.
Freezing Instructions: Wrap cooled cake rounds in plastic wrap then place in a freezer safe bag and freeze for up to 3 months. The frosting can be frozen for up to 3 months as well. Remove frosting from fridge 1-2 hours in advance, to come to room temp. I like to frost the cake rounds while they're frozen.

Nutrition

Calories: 747kcalCarbohydrates: 90gProtein: 7gFat: 42gSaturated Fat: 14gPolyunsaturated Fat: 7gMonounsaturated Fat: 18gTrans Fat: 0.4gCholesterol: 105mgSodium: 408mgPotassium: 289mgFiber: 2gSugar: 71gVitamin A: 4348IUVitamin C: 2mgCalcium: 104mgIron: 2mg

Follow Me

Get recipe ideas weekly!

Base cake recipe originally adapted from The Essential Baker.

I first shared this recipe May 2013. Updated March 2021 and March 2025.

This post contains affiliate links.

Related Posts

Share Recipe

About The Author

Lauren Allen

Welcome! I’m Lauren, a mom of four and lover of good food. Here you’ll find easy recipes and weeknight meal ideas made with real ingredients, with step-by-step photos and videos.

4 20 votes
Recipe Rating
4.94 from 247 votes (191 ratings without comment)
Subscribe
Notify of
guest

196 Comments
Inline Feedbacks
View all comments
kplouden79@gmail.com
2 months ago

5 stars
Best recipe! Yummy! Moist and very rich! Served it for Easter dinner. Was a hit!

Alayna
9 months ago

I’ve made two of your cakes now which were the carrot cake and the German chocolate and these were the best cakes I’ve had. And my in laws agree that it is also the best of those that they have had! I usually don’t enjoy baking cause I’m not super good at it but with all the compliments from your cakes I’ve made recently has given me some confidence! You’ve really got these down!

Pam Farr
10 months ago

The best carrot cake I have ever made!!! Thank you, my search is over!

vanoy
10 months ago

5 stars
this cake was amazing!!!! best tasting , except the dark chocolate cake, i have ever made or eaten. thank you.

Annie.
10 months ago

Hi Lauren,
I’m trying you’re ultimate carrot cake recipe, sounds so very delicious.
I’m a carrot cake lover & really wanted to try you’re recipe, it’s baking in the oven.
Will make you’re cream cheese icing as well, pair together so we’ll.
Plan to share with family soon.
I’m sure it will be ever so Delish !!
I will try other of you’re baking recipes, I truly love to bake & the recipes sound so very tasty.
Will let you know how rhe carrot cake turned put, smells so wonderful in my home right now.
Thanku for posting this awesome recipe.
Have a blessed day.
Annie 😊

Lisa from Jersey
11 months ago

I’ve been trying many different recipes, looking for a moist, flavorful cake. I’m no longer looking. This cake is deliciously moist and perfect. So yummy!

Joan Ann Liberty
1 year ago

5 stars
This is truly the Ultimate Carrot Cake. I made it the first time because my 3 year old great grandson asked me to make a Peppa Pig carrot cake! … Everyone loved it and now I am asked to make it for every birthday! Today I made it for my daughter’s 60th Birthday tomorrow.

sarah
1 year ago

5 stars
Great recipe. Love the flavor though I didn’t add the coconut to the recipe . It did bake for an extra 10 min because cuz I only wanted the double layer cake. I am happy with this new recipe.

Pound McFurious
1 year ago

Have made this 3 times now and it’s a smash hit each time. I frequently get requests. The pineapple is stellar.

Melissa Black
1 year ago

5 stars
Awesome, awesome, awesome!

Deanna
1 year ago

5 stars
ABSOLUTELY AMAZING!!!!! So moist and paired with cream cheese icing is BEYOND!!! Thank you so much for this recipe!!! Rave reviews from ALL!!