Best Carrot Cake Recipe with Cream Cheese Frosting

Must Try


This post may contain references to products from one or more of our advertisers. Oh Sweet Basil may receive compensation when you click on links to such products.

If you’re searching for the best carrot cake recipe, you’re in the right place. This is the carrot cake I come back to every single time! It’s perfectly moist, deeply spiced, and layered with rich cream cheese frosting.

No raisins, no nuts, no weird add-ins trying to steal the spotlight. Just classic carrot cake flavor done really, really well.

I only had carrot cake for the first time a few years ago. My good friend, Melissa Brandley was in town for the Sundance Film Festival and we went out to dinner for a good ol’ catch up on all things in life. We laughed until our sides hurt, cried together right there in the restaurant and had the most delicious carrot cake.  That carrot cake inspired me to create this recipe, my Favorite Carrot Cake.

I’m not a fan of carrot cakes that are full of all sorts of ingredients like orange peel, candied ginger, walnuts, pecans, and raisins. At that point it gets too busy and almost doesn’t even seem like a cake anymore. I want fresh, moist and flavorful, and I want it to taste like a carrot cake.

a two layer carrot cake on a white cake stand covered in white cream cheese frosting with white chocolate decorative carrots on top and surrounded at the base wit chopped walnuts.

Why This is the Best Carrot Cake Recipe

This really is the best carrot cake recipe because it keeps things simple and lets the cake shine. It’s incredibly moist, perfectly spiced, and made without raisins, nuts (optional), or distractions. The carrots melt right into the batter, the crumb stays soft for days.

The Secret to a Perfectly Moist Carrot Cake

The secret to a moist carrot cake is the carrots of course! The finely shredded carrots soften as the cake bakes and help the cake stay tender. Using oil instead of butter as the fat also helps the cake stay super moist.

a slice of two layer carrot cake laying on its side on a blue and white plate.

Ingredients You’ll Need for Carrot Cake from Scratch

  • All Purpose Flour: The sturdy base that gives the cake structure while keeping the crumb soft and tender.
  • Baking Powder: Adds just enough lift to help the cake rise evenly.
  • Baking Soda: Works with the sugars and carrots to create a light texture and golden color.
  • Salt: Balances the sweetness and enhances all the warm spices.
  • Pumpkin Pie Spice: A blend of cinnamon, nutmeg, and ginger that gives carrot cake its signature flavor without overpowering it.
  • Sugar: Sweetens the cake and helps create a moist, tender crumb.
  • Brown Sugar: Adds moisture and a subtle caramel depth that keeps the cake rich and soft.
  • Oil: The key to a super moist carrot cake that stays soft for days.
  • Apple Sauce: Adds natural moisture and tenderness without weighing the cake down.
  • Vanilla Extract: Rounds out the flavors and adds warmth to the cake.
  • Eggs: Bind everything together and give the cake structure and richness.
  • Carrots: Finely shredded carrots melt into the batter, adding moisture, sweetness, and classic carrot cake texture.
  • Walnuts (optional): Add a little crunch and nutty contrast, if you like a bit of texture in your cake.

Frosting

  • Butter: Creates a smooth, rich base for the frosting.
  • Cream Cheese: Adds tang and creaminess that perfectly balances the sweet cake.
  • Vanilla Extract: Enhances the flavor and keeps the frosting from tasting flat.
  • Powdered Sugar: Sweetens and thickens the frosting while keeping it silky smooth.
  • Walnuts (optional): Optional for topping, adding crunch and a classic carrot cake finish.
a carrot cake taken from directly above the cake on a white cake plate. The cake is covered in white cream cheese frosting with white chocolate decorative carrots on top and surrounded at the base with chopped walnuts.

How to Make the Homemade Carrot Cake

  1. Prep: Preheat the over to 350℉ and line two 8-inch round pans with parchment paper and grease and flour the sides.
  2. Dry Ingredients: Whisk all the dry ingredients together in a large bowl.
  3. Wet Ingredients: In a separate bowl, whisk together all the wet ingredients until smooth. Add the eggs one at a time and stir in after each addition.
  4. Fold: Add the carrots and fold them into the wet ingredients.
  5. Combine: Add the wet ingredients to the dry ingredients and mix until just combined. Don’t over-mix!!
  6. Bake: Divide the batter evenly between the two prepared pans and bake for 40 minutes or until a toothpick comes out clean from the center of each cake.
  7. Cool: Let the cakes cool for 10 minutes and then turn out onto a wire cooling rack.
  8. Make Frosting: While the cake is cooling make the frosting by mixing all the ingredients together in a mixing bowl.
  9. Frost: Once the cake has cooled completely, frost the cake (see section below for tips on frosting a layer cake) and sprinkle the walnuts if desired.

Carrot Cake FAQs

Why Pumpkin Spice Works Better Than Cinnamon Alone

Pumpkin pie spice is the flavor I need in a carrot cake. It contains cinnamon, nutmeg AND ginger which totally makes a huge difference!

How to Cut Carrots for Carrot Cake

Besides the pumpkin pie spice, the other thing that must be in a carrot cake is carrots of course! The carrots should be finely shredded so that they are small enough to cook through and become tender. If you put carrots in a cake with a bigger grate, they are going to be totally noticeable and slightly crunchy. That’s just not what I’m after in a cake!

What Kind of Carrots to Use

You will want to buy whole carrots for this. Baby carrots just don’t have quite the same flavor and sweetness that you get from whole carrots. I also can’t think of many things worse than grating a million baby carrots! Doesn’t that sound miserable? A food processor would be a must! If baby carrots are all you have, they will work, but use whole carrots if possible!

a slice of two layer carrot cake laying on its side on a blue and white plate.

Why Carrot Cake Sometimes Sinks (And How to Prevent It)

I’ve read that a common problem with carrot cake is having the cake fall in the middle. There are several things that could cause this, but the most common reason is under baking. Other reasons that can lead to a cake with a sunken center include:

  • Not enough liquid in the batter
  • Over-mixed batter
  • Oven temperature too low
  • Cake contains too much fat and/or sugar and/or leavening
  • Opening oven door can cause a sudden reduction of heat

Make sure that you measure all the ingredients carefully and don’t over-mix the batter. Test the doneness of the cake layers before removing them from the oven by poking a toothpick into the center of each layer. If it comes out clean or with a few crumbs, it is ready!

How to Frost a Layer Cake Like a Pro

Frosting a layered cake is one of those things that is easier said than done. But it really isn’t hard if you have a few tricks up your sleeve. Here are my tips for making it easy on yourself and ending up with a gorgeous cake:

  • chill the cake first so it’s easier to frost (about 1-2 hours)
  • start with a thin first coat to catch all the crumbs and chill again
  • pile a large amount of frosting on the top and then push it down the side, don’t start frosting the sides first

As long as we are talking about frosting, let me tell you how I made the carrot decorations for this cake. I melted orange and green melting chocolate wafers (white chocolate could be used as well and dyed using food gel) and put them in a piping back. Then I piped the carrots on parchment paper and refrigerated them until firm. Easy peezy!

a two layer carrot cake on a white cake stand covered in white cream cheese frosting with white chocolate decorative carrots on top and surrounded at the base with chopped walnuts.

Make Ahead, Freezing, and Storage Tips

Carrot cake actually gets better over time, so it is a great cake to make ahead. Making it a day or two before you plan to eat it is definitely recommended. An unfrosted cake can be stored at room temperature for 2-3 days or frosted in the refrigerator for 5-7 days. Allow the cake to come to room temperature before serving. Cake should always be stored in an airtight container.

Carrot cake also freezes great. You can freeze it frosted or unfrosted in an airtight container for up to 4 months. When you are ready to eat it, thaw it overnight in the refrigerator and bring it to room temperature before serving.

a carrot cake taken from directly above the cake on a white cake plate. The cake is covered in white cream cheese frosting with white chocolate decorative carrots on top and surrounded at the base with chopped walnuts.

This truly is the best carrot cake recipe when you want something classic, dependable, and downright delicious. Whether you’re baking for a holiday, a birthday, or just because carrot cake sounds like the best idea, this recipe won’t let you down.

More CAKE RECIPES You Have to Try:

Watch This Tutorial Video…

Cake

  • 2 ½ Cups Flour, all-purpose
  • 1 teaspoon Baking Powder
  • 1 ½ teaspoon Baking Soda
  • 1 teaspoon Salt
  • 2 teaspoons Pumpkin Pie Spice
  • 1 ½ Cups Sugar
  • ½ Cup Brown Sugar, light, tightly packed
  • 1 ¼ Cup Oil, canola or vegetable
  • ¼ Cup Apple Sauce
  • 1 Tablespoon Vanilla Extract
  • 4 Eggs, large, room temperature
  • 3 Cups Carrots, peeled, about 4 large carrots, finely grated
  • 3 oz Walnuts, chopped, optional

Cake

  • Preheat oven to 350℉ and prepare two 8-inch pans by lining the bottoms with parchment paper rounds and lightly greasing and flouring the sides. See note*

  • In a large bowl, whisk together your flour, baking powder, baking soda, salt, and pumpkin pie spice

    2 ½ Cups Flour, 1 teaspoon Baking Powder, 1 ½ teaspoon Baking Soda, 1 teaspoon Salt, 2 teaspoons Pumpkin Pie Spice

  • In another bowl, add the sugars, oil, apple sauce and vanilla and whisk until smooth.

    1 ½ Cups Sugar, ½ Cup Brown Sugar, 1 ¼ Cup Oil, ¼ Cup Apple Sauce, 1 Tablespoon Vanilla Extract

  • Add eggs, one at a time, stirring after each addition.

    4 Eggs

  • Fold in carrots until well combined.

    3 Cups Carrots

  • Mix the wet ingredients and dry ingredients together until just mixed. Be careful to not over-mix.

  • Evenly divide carrot cake batter into prepared baking pans and bake for 40 minutes Insert a toothpick into the center of the cake and if it comes out clean you’re ready to go.

  • Allow carrot cake to cool in the pans for 10 minutes, then run a knife around the edges and turn out onto a cooling rack to cool completely.

  • Allow cake to cool completely before frosting.

Cream Cheese Frosting

  • Combine butter and cream cheese in a large bowl and use a hand held electric mixer to beat until creamy.

    ½ Cup Butter, 8 oz Cream Cheese

  • Add vanilla extract and beat until smooth.

    1 teaspoon Vanilla Extract

  • With mixer on low, gradually add powdered sugar until ingredients are completely combined

    4 Cups Powdered Sugar

  • Once your cake has cooled completely, frost and sprinkle with nuts if desired.

    1 Cup Pecans

To flour cake pans, spray with nonstick spray and then sprinkle in a few tablespoons of flour. Turn and tap the cake pan until the bottom and sides are covered, dump out any remaining flour.
Carrot cake with frosting can be frozen for up to 4 months.

Serving: 1slice, Calories: 867kcal, Carbohydrates: 101g, Protein: 8g, Fat: 50g, Saturated Fat: 12g, Polyunsaturated Fat: 13g, Monounsaturated Fat: 23g, Trans Fat: 0.4g, Cholesterol: 94mg, Sodium: 499mg, Potassium: 298mg, Fiber: 3g, Sugar: 77g, Vitamin A: 5924IU, Vitamin C: 2mg, Calcium: 81mg, Iron: 2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

A photo of a two layer carrot cake on a white cake stand looking at the cake from the side with a slice taken out of it. It has white cream cheese frosting in between the layers and all over the outside. The cake is topped with white chocolate decorative carrots.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Recipes

More Recipes Like This