I make this carrot cake completely from scratch with freshly grated carrots, warm spices, and a soft, moist crumb. It’s a comforting dessert that balances sweetness with a hint of spice, finished with a rich cream cheese frosting that ties everything together beautifully. Carrot Cake from Scratch

Why You’ll Love This Recipe

I love how this carrot cake turns out incredibly moist and tender every single time. I enjoy the natural sweetness from the carrots combined with cinnamon and nutmeg, which gives it a cozy flavor. I also appreciate that it’s simple to make with basic pantry ingredients, yet it feels special enough for celebrations. The cream cheese frosting adds a smooth, tangy finish that I find irresistible.

ingredients

(Here’s a tip: Check out the full list of ingredients and measurements in the recipe card below.)

2 cups all-purpose flour
2 teaspoons baking soda
1/2 teaspoon salt
2 teaspoons ground cinnamon
1/2 teaspoon ground nutmeg
1 cup granulated sugar
1 cup brown sugar
1 cup vegetable oil
4 large eggs
2 teaspoons vanilla extract
3 cups finely grated carrots
1/2 cup crushed pineapple, drained
1/2 cup chopped walnuts or pecans (optional)

For the frosting:
8 oz cream cheese, softened
1/2 cup unsalted butter, softened
3 cups powdered sugar
1 teaspoon vanilla extract

directions

I start by preheating the oven to 175°C (350°F) and greasing two 9-inch round cake pans.

In a bowl, I whisk together the flour, baking soda, salt, cinnamon, and nutmeg. In another large bowl, I mix the granulated sugar, brown sugar, and oil until smooth. I add the eggs one at a time, mixing well after each addition, then stir in the vanilla extract.

I gradually add the dry ingredients into the wet mixture, stirring until just combined. I fold in the grated carrots, crushed pineapple, and nuts if I’m using them.

I divide the batter evenly between the pans and bake for about 30–35 minutes, until a toothpick inserted in the center comes out clean. I let the cakes cool completely before frosting.

To make the frosting, I beat the cream cheese and butter until smooth, then mix in the powdered sugar and vanilla until creamy. I spread the frosting between the layers and over the top and sides of the cake.

Servings and timing Carrot Cake from Scratch

I usually get about 10–12 servings from this cake.
Preparation time: 20 minutes
Baking time: 30–35 minutes
Total time: about 1 hour (plus cooling time)

Variations

I sometimes add raisins or shredded coconut for extra texture. When I want a lighter version, I reduce the sugar slightly and skip the pineapple. I also like turning this into cupcakes, adjusting the baking time to around 18–22 minutes. Occasionally, I add a bit of orange zest to brighten the flavor.

storage/reheating

I store the cake in an airtight container in the refrigerator for up to 5 days. Before serving, I let it sit at room temperature for about 20–30 minutes so the frosting softens. If I want to keep it longer, I freeze unfrosted layers wrapped tightly for up to 2 months.

FAQs

Can I make this cake without nuts?

I can easily skip the nuts without affecting the texture or flavor too much.

Can I use butter instead of oil?

I can substitute melted butter, but I notice the cake is slightly less moist compared to using oil.

How finely should I grate the carrots?

I prefer finely grated carrots because they blend better into the batter and keep the cake soft.

Can I make this cake ahead of time?

I often bake the layers a day in advance and frost them the next day for convenience.

Why is my carrot cake dense?

I find that overmixing the batter or using too much flour can make the cake dense, so I mix gently and measure carefully.

Conclusion

I find this homemade carrot cake to be a reliable and satisfying recipe that never disappoints. With its moist texture, warm spices, and creamy frosting, it’s a dessert I enjoy making for both casual gatherings and special occasions.

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Carrot Cake from Scratch

Carrot Cake from Scratch

5 Stars 4 Stars 3 Stars 2 Stars 1 Star No reviews
  • Author: Lidia
  • Prep Time: 20 minutes
  • Cook Time: 35 minutes
  • Total Time: 55 minutes plus cooling time
  • Yield: 10-12 servings
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
  • Diet: Vegetarian

Description

A moist and tender carrot cake made from scratch with freshly grated carrots, warm cinnamon and nutmeg, crushed pineapple, and a rich cream cheese frosting.


Ingredients

  • 2 cups all-purpose flour
  • 2 teaspoons baking soda
  • 1/2 teaspoon salt
  • 2 teaspoons ground cinnamon
  • 1/2 teaspoon ground nutmeg
  • 1 cup granulated sugar
  • 1 cup brown sugar
  • 1 cup vegetable oil
  • 4 large eggs
  • 2 teaspoons vanilla extract
  • 3 cups finely grated carrots
  • 1/2 cup crushed pineapple, drained
  • 1/2 cup chopped walnuts or pecans (optional)
  • 8 oz cream cheese, softened
  • 1/2 cup unsalted butter, softened
  • 3 cups powdered sugar
  • 1 teaspoon vanilla extract

Instructions

  1. Preheat the oven to 175°C (350°F) and grease two 9-inch round cake pans.
  2. In a medium bowl, whisk together the flour, baking soda, salt, cinnamon, and nutmeg.
  3. In a large bowl, mix the granulated sugar, brown sugar, and vegetable oil until smooth.
  4. Add the eggs one at a time, mixing well after each addition, then stir in the vanilla extract.
  5. Gradually add the dry ingredients to the wet ingredients and stir until just combined.
  6. Fold in the grated carrots, crushed pineapple, and chopped walnuts or pecans if using.
  7. Divide the batter evenly between the prepared cake pans.
  8. Bake for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean.
  9. Let the cakes cool completely in the pans before removing and frosting.
  10. To make the frosting, beat the cream cheese and butter until smooth and creamy.
  11. Mix in the powdered sugar and vanilla extract until the frosting is light and spreadable.
  12. Spread the frosting between the cake layers and over the top and sides of the cake before serving.

Notes

  • Finely grate the carrots for the softest texture.
  • You can leave out the nuts without changing the cake structure too much.
  • Melted butter can replace oil, but the cake may be slightly less moist.
  • Raisins or shredded coconut can be added for extra texture.
  • For a lighter version, reduce the sugar slightly and omit the pineapple.
  • This recipe can be turned into cupcakes; bake for 18 to 22 minutes.
  • Orange zest adds a fresh, bright flavor variation.
  • Store the frosted cake in the refrigerator for up to 5 days.
  • Let chilled cake sit at room temperature for 20 to 30 minutes before serving.
  • Unfrosted cake layers can be frozen for up to 2 months.
  • Do not overmix the batter, or the cake may turn dense.

Nutrition

  • Serving Size: 1 slice
  • Calories: 620
  • Sugar: 46g
  • Sodium: 320mg
  • Fat: 35g
  • Saturated Fat: 10g
  • Unsaturated Fat: 22g
  • Trans Fat: 0.2g
  • Carbohydrates: 72g
  • Fiber: 2g
  • Protein: 6g
  • Cholesterol: 85mg

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star