The Best Classic Carrot Cake with Cream Cheese Frosting
There’s just something about a good carrot cake that feels a little bit special. It’s soft, perfectly spiced, and topped with the kind of creamy frosting that makes you want to sneak an extra slice when no one’s looking. This one has all the cozy flavors you expect, with warm spices, sweet carrots, and that dreamy cream cheese frosting that takes it over the top.
This recipe comes together easily with simple pantry ingredients and a quick mix in the bowl. The grated carrots keep the cake wonderfully moist, and the blend of cinnamon, ginger, nutmeg, and cloves gives every bite that warm, comforting flavor carrot cake is known for.
It’s the kind of cake that fits right in at Easter, spring gatherings, birthdays, or even a relaxed weekend bake at home. Once it’s frosted and ready to slice, don’t be surprised if it disappears faster than you expected. It’s one of those classic desserts that everyone seems to love.
Why We Love This Recipe
- It’s wonderfully moist and tender. The oil, eggs, and freshly grated carrots keep this cake soft and rich, so every slice feels like a little treat.
- The warm spices make it taste like home. Cinnamon, ginger, nutmeg, and cloves give the cake that cozy flavor that makes carrot cake so comforting.
- That cream cheese frosting is irresistible. It’s smooth, creamy, and just the right amount of sweet, which balances perfectly with the spiced cake.
- It’s simple to make from scratch. Nothing complicated here, just a straightforward recipe that comes together easily with everyday ingredients.
- It’s perfect for so many occasions. This cake fits right in at Easter, spring gatherings, birthdays, or just a weekend baking session when you’re in the mood for something special.
- You can customize it easily. Add nuts, coconut, or even raisins if you like. It’s one of those recipes that’s easy to make your own.
- It looks impressive but is totally doable. A layered cake always feels a bit special, but this one is surprisingly simple to put together.

Equipment
-
Mixing bowls: You’ll want a couple of good-sized bowls so you can keep the wet and dry ingredients separate before mixing everything together.
-
Whisk: A simple whisk works perfectly for combining the dry ingredients and getting the sugars, oil, eggs, and vanilla nice and smooth.
-
Box grater: This makes quick work of shredding the carrots so they blend beautifully into the batter and keep the cake nice and moist.
-
Measuring cups and spoons: These help make sure everything is measured just right so the cake turns out soft and perfectly spiced.
-
Rubber spatula or wooden spoon: Great for gently stirring the batter together and scraping down the sides of the bowl so nothing gets left behind.
-
Two 9-inch round cake pans: These give you those classic cake layers that look so pretty once they’re stacked and frosted.
-
Wire cooling rack: Letting the cakes cool on a rack helps them cool evenly so they’re ready for frosting.
-
Hand mixer or stand mixer: This makes whipping up the cream cheese frosting quick and easy so it turns out smooth and fluffy.
-
Offset spatula or butter knife: Perfect for spreading that thick, creamy frosting across the layers and around the sides of the cake.

Ingredients
For the Cake:
-
2 cups (250g) all-purpose flour: This is the base of the cake and gives it that soft, tender crumb we’re looking for.
-
1 ½ teaspoons baking powder: Helps the cake rise nicely so the layers bake up light and fluffy.
-
1 teaspoon baking soda: Works with the other leavening to give the cake a beautiful lift and soft texture.
-
1 ½ teaspoons ground cinnamon: Adds that warm, cozy spice that makes carrot cake so comforting.
-
½ teaspoon ground ginger: Just a little bit gives the cake a gentle warmth and extra depth of flavor.
-
¼ teaspoon ground nutmeg: Nutmeg adds a subtle sweetness that blends perfectly with the other spices.
-
¼ teaspoon ground cloves: A small amount goes a long way and gives the cake that classic spiced flavor.
-
½ teaspoon salt: Balances the sweetness and helps all those delicious flavors shine.
-
1 cup (200g) granulated sugar: Adds sweetness and helps create that lovely soft texture.
-
¾ cup (150g) brown sugar, packed: Brings a touch of richness and moisture thanks to its caramel-like flavor.
-
1 cup (240ml) vegetable oil: This is one of the secrets to a wonderfully moist carrot cake.
-
4 large eggs: Eggs help bind everything together and give the cake structure.
-
2 teaspoons vanilla extract: Adds a warm, sweet flavor that ties everything together.
-
2 ½ cups (300g) grated carrots (about 4 medium carrots): Fresh carrots keep the cake incredibly moist and add natural sweetness.
-
½ cup (60g) chopped pecans: These add a little crunch and a nutty flavor that pairs beautifully with the spices.

For the Cream Cheese Frosting:
-
8 oz (227g) cream cheese (room temperature): The star of the frosting, giving it that rich, creamy tang everyone loves.
-
½ cup (115g) unsalted butter (room temperature): Adds smoothness and helps the frosting whip up light and fluffy.
-
3 cups (360g) powdered sugar: Sweetens the frosting and gives it that thick, spreadable texture.
-
1 teaspoon vanilla extract: Adds a hint of warmth and sweetness to the frosting.
-
1–2 tablespoons milk (optional): A splash of milk helps loosen the frosting if you’d like it a little softer for spreading.

Recipe Instructions
You can find a printable recipe card at the bottom of this post.
Step 1: Preheat the oven to 350°F (175°C) and grease and flour two 9-inch round cake pans.
Step 2: In a large bowl, whisk together the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, cloves, and salt.


Step 3: In another bowl, whisk the granulated sugar, brown sugar, oil, eggs, and vanilla extract until smooth and well combined.



Step 4: Stir the grated carrots into the wet mixture.




Step 5: Add the dry ingredients to the wet mixture, stirring until just combined. If using, fold in the chopped nuts.



Step 6: Divide the batter evenly between the prepared cake pans. Bake for 35–40 minutes, or until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.


Step 7: Beat the cream cheese and butter together until smooth and creamy. Gradually add the powdered sugar, vanilla extract, and milk (if needed for consistency) and beat until well combined.


Step 8: Once the cakes are fully cooled, spread a thick layer of frosting over one cake layer, place the second layer on top, and frost the top and sides of the cake.




Step 9: Garnish with chopped nuts, shredded coconut, or carrot decorations.



Serving & Storing
-
Let the cake chill a little before slicing. Once it’s frosted, popping it in the fridge for about 20–30 minutes helps the frosting set so you get nice clean slices.
-
Serve it slightly chilled or at room temperature. Carrot cake tastes wonderful both ways. If it’s been in the fridge, just let it sit out for a bit so the frosting softens up again.
-
It’s perfect for gatherings. This cake travels well, which makes it a great option for potlucks, spring parties, Easter celebrations, or family get-togethers.
-
Store leftovers in the refrigerator. Because of the cream cheese frosting, it’s best to keep the cake covered in the fridge.
-
Keep it in an airtight container. This helps the cake stay moist and prevents it from drying out.
-
It keeps well for several days. Properly stored, carrot cake usually stays fresh and delicious in the fridge for about 4–5 days.
-
You can freeze it too. If you’d like to make it ahead, wrap the unfrosted cake layers tightly and freeze them for up to 3 months. Just thaw, frost, and serve when you’re ready.

Variations & Substitutions
-
Swap the pecans for walnuts. If walnuts are more your thing, they work just as well and add that same lovely little crunch in every bite.
-
Leave the nuts out completely. Not everyone loves nuts in their cake, and that’s totally fine. The cake is still wonderfully soft and flavorful without them.
-
Add raisins or pineapple. A handful of raisins or a little crushed pineapple can add extra sweetness and moisture if you like a more traditional carrot cake.
-
Try shredded coconut on top. Sprinkling a little coconut over the frosting adds texture and makes the cake look extra pretty.
-
Turn it into cupcakes. This batter works beautifully as cupcakes too. Just divide it into a lined muffin tin and bake for about 18–22 minutes.
-
Add orange zest to the frosting. A little orange zest mixed into the cream cheese frosting adds a fresh citrus twist that pairs beautifully with the spices.
-
Make it a single-layer sheet cake. If you’d rather keep things simple, bake the batter in a 9×13 pan and frost the top for an easy, fuss-free version.

Little Tricks That Make a Big Difference
-
Use freshly grated carrots. Pre-shredded carrots from the store tend to be a bit dry and chunky, so grating your own gives the cake a much softer texture and better flavor.
-
Don’t overmix the batter. Once the dry ingredients go in, stir just until everything is combined. Overmixing can make the cake a little dense instead of light and tender.
-
Bring the frosting ingredients to room temperature. Soft cream cheese and butter blend together much more smoothly, which helps you get that perfectly creamy frosting without lumps.
-
Line the cake pans with parchment. A simple circle of parchment in the bottom of each pan makes it so much easier to release the cakes without sticking.
-
Let the cakes cool completely before frosting. It’s tempting to rush this step, but warm cake will melt the frosting and make things messy.
-
Give the cake layers a quick trim if needed. If the tops dome up a little while baking, trimming them flat makes stacking the layers much easier.
-
Chill the cake briefly after frosting. A short rest in the fridge helps the frosting set up nicely, which makes slicing and serving much neater.

What to Serve with Carrot Cake
-
A hot cup of coffee. The warm spices in carrot cake pair beautifully with a good cup of coffee, making it perfect for an afternoon treat or after-dinner dessert.
-
A cup of tea. A cozy mug of tea works wonderfully here too, especially something simple like black tea or a light spiced tea.
-
Fresh berries. A small bowl of strawberries, raspberries, or blueberries on the side adds a nice fresh contrast to the rich cake.
-
Vanilla ice cream. If you want to make dessert feel a little extra special, a scoop of vanilla ice cream alongside a slice of carrot cake is absolutely delicious.
-
Whipped cream. A little dollop of lightly sweetened whipped cream can add an extra creamy touch without overpowering the cake.
-
A fruit salad. Something light and fresh balances the sweetness nicely, especially if you’re serving this cake after a big meal.
-
A glass of milk. Sometimes simple is best, and carrot cake with a cold glass of milk is always a winning combination.

FAQs
Can I make carrot cake ahead of time?
Yes, and it actually works really well to make it ahead. You can bake the cake layers a day in advance, wrap them well, and keep them in the fridge. When you’re ready to serve, just frost the cake and it’ll taste just as fresh.
Do I need to peel the carrots first?
It’s a good idea to peel them before grating. The peel can be a little tough and slightly bitter, so peeling helps keep the texture nice and the flavor sweet.
Can I make this carrot cake without nuts?
Absolutely. Just leave the pecans out if you prefer a nut-free version. The cake will still be wonderfully moist and full of flavor.
Can I make carrot cake cupcakes instead of a layered cake?
Yes, this batter works great for cupcakes. Just divide it into lined muffin tins and bake for about 18–22 minutes, or until a toothpick comes out clean.
Why is my carrot cake so moist?
Carrot cake gets its moisture from the grated carrots and the oil in the batter. Those two ingredients help keep the cake soft and tender for days.
Can I freeze carrot cake?
You sure can. The cake layers freeze really well. Wrap them tightly in plastic wrap and store them in the freezer for up to three months. Just thaw, frost, and enjoy when you’re ready.
How should I store carrot cake with cream cheese frosting?
Because of the cream cheese frosting, it’s best to keep the cake covered in the refrigerator. It usually stays fresh for about 4–5 days.
Can I add other ingredients to carrot cake?
Definitely. Some people like to add raisins, crushed pineapple, coconut, or different nuts. Carrot cake is one of those recipes that’s easy to customize to your taste.

Classic Carrot Cake with Cream Cheese Frosting
This classic carrot cake is soft, moist, and filled with warm spices like cinnamon, ginger, and nutmeg. Freshly grated carrots keep every bite tender, while chopped pecans add a little crunch. The whole cake is finished with a rich, creamy layer of homemade cream cheese frosting that makes it completely irresistible. It’s the kind of comforting homemade dessert that’s perfect for Easter, spring gatherings, birthdays, or anytime you’re in the mood for a cozy slice of cake.
Ingredients
For the Cake:
- 2 cups (250g) all-purpose flour
- 1 ½ teaspoons baking powder
- 1 teaspoon baking soda
- 1 ½ teaspoons ground cinnamon
- ½ teaspoon ground ginger
- ¼ teaspoon ground nutmeg
- ¼ teaspoon ground cloves
- ½ teaspoon salt
- 1 cup (200g) granulated sugar
- ¾ cup (150g) brown sugar, packed
- 1 cup (240ml) vegetable oil
- 4 large eggs
- 2 teaspoons vanilla extract
- 2 ½ cups (300g) grated carrots (about 4 medium carrots)
- ½ cup (60g) chopped pecans
For the Cream Cheese Frosting:
- 8 oz (227g) cream cheese (room temperature)
- ½ cup (115g) unsalted butter (room temperature)
- 3 cups (360g) powdered sugar
- 1 teaspoon vanilla extract
- 1-2 tablespoons milk (optional for desired consistency)
Instructions
- Preheat the oven to 350°F (175°C) and grease and flour two 9-inch round cake pans.
- In a large bowl, whisk together the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, cloves, and salt.
- In another bowl, whisk the granulated sugar, brown sugar, oil, eggs, and vanilla extract until smooth and well combined.
- Stir the grated carrots into the wet mixture.
- Add the dry ingredients to the wet mixture, stirring until just combined. If using, fold in the chopped nuts.
- Divide the batter evenly between the prepared cake pans. Bake for 35–40 minutes, or until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.
- Beat the cream cheese and butter together until smooth and creamy. Gradually add the powdered sugar, vanilla extract, and milk (if needed for consistency) and beat until well combined.
- Once the cakes are fully cooled, spread a thick layer of frosting over one cake layer, place the second layer on top, and frost the top and sides of the cake.
- Garnish with chopped nuts, shredded coconut, or carrot decorations.
Notes
- Use freshly grated carrots for the best texture. Fresh carrots add moisture and blend smoothly into the batter, while pre-shredded carrots tend to be a little dry and chunky.
- Room temperature ingredients make a difference. Let the cream cheese and butter soften before making the frosting so it blends together smoothly and turns out nice and creamy.
- Don’t overmix the batter. Once the dry ingredients are added, stir just until everything is combined to keep the cake soft and tender.
- Cool the cakes completely before frosting. If the cake is even slightly warm, the cream cheese frosting can melt and slide around.
- Toast the pecans for extra flavor. If you have a few extra minutes, lightly toasting the nuts before adding them brings out a richer, nuttier flavor.
- Make it ahead if you like. The cake layers can be baked a day in advance and stored in the fridge until you’re ready to frost and serve.
- Adjust the frosting consistency if needed. If the frosting feels too thick, add a small splash of milk to make it easier to spread.
Nutrition Information:
Yield:
12Serving Size:
1Amount Per Serving: Calories: 966Total Fat: 45gSaturated Fat: 12gUnsaturated Fat: 33gCholesterol: 104mgSodium: 358mgCarbohydrates: 134gFiber: 3gSugar: 99gProtein: 9g
