Carrot Cake Recipe

Carrot cake is a classic dessert loved for its moist crumb, warm spice profile, and rich cream cheese frosting. Made with freshly grated carrots, this cake balances sweetness and earthiness beautifully, making it perfect for everything from holiday feasts to casual coffee breaks.

Why You’ll Love This Recipe

  • Moist, tender texture from freshly grated carrots
  • Rich and spiced with cinnamon and optional add-ins like nuts or pineapple
  • Topped with a luscious cream cheese frosting
  • Great for make-ahead and freezer-friendly
  • Easy to customize with your favorite mix-ins

Ingredients

(Tip: You’ll find the full list of ingredients and measurements in the recipe card below.)

For the Cake:

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

For the Cream Cheese Frosting:

  • 8 oz cream cheese, softened
  • 1/2 cup unsalted butter, softened
  • 2–2 1/2 cups powdered sugar
  • 1 teaspoon vanilla extract
  • Pinch of salt

Directions

  1. Preheat the oven to 350°F (175°C). Grease and line two 9-inch round cake pans with parchment paper.
  2. In a medium bowl, whisk together flour, baking soda, salt, and spices.
  3. In a large bowl, beat together oil, granulated sugar, brown sugar, eggs, and vanilla until smooth.
  4. Stir in the grated carrots. Fold in the dry ingredients until just combined.
  5. Gently mix in optional add-ins like nuts, raisins, or pineapple.
  6. Divide batter evenly between prepared pans.
  7. Bake for 35–40 minutes or until a toothpick inserted in the center comes out clean.
  8. Cool in pans for 10 minutes, then remove to a wire rack to cool completely.
  9. Make the frosting: Beat cream cheese and butter until smooth. Add powdered sugar gradually, then vanilla and salt. Beat until fluffy.
  10. Frost the cooled cake layers and decorate with chopped nuts or a sprinkle of cinnamon if desired.

Servings and timing

  • Servings: 12–14 slices
  • Prep Time: 20 minutes
  • Bake Time: 35–40 minutes
  • Total Time: 1 hour

Variations

  • Carrot Cake Cupcakes: Bake in muffin tins for 18–22 minutes.
  • Bundt Cake Version: Pour batter into a greased bundt pan and bake for 50–55 minutes.
  • Vegan Option: Replace eggs with flax eggs and use dairy-free cream cheese and butter.
  • Gluten-Free: Use a 1:1 gluten-free flour substitute.
  • Healthier Twist: Replace some oil with applesauce for reduced fat.

Storage/Reheating

  • Store covered in the fridge for up to 5 days.
  • Bring to room temperature before serving for best flavor.
  • Freeze unfrosted cake layers tightly wrapped for up to 2 months. Thaw and frost before serving.

FAQs

Can I make carrot cake ahead of time?

Yes, bake the cake a day ahead and frost before serving, or freeze layers for up to 2 months.

What kind of carrots should I use?

Fresh, whole carrots—grated by hand or in a food processor—for the best moisture and texture.

Can I skip the nuts or raisins?

Absolutely. They are optional and can be replaced or omitted based on preference.

Why is my carrot cake dense?

Overmixing or adding too many mix-ins can lead to a dense texture. Mix just until combined.

Do I need to peel the carrots?

Yes, peeling ensures a smoother texture and removes any bitterness.

Can I make this cake into a sheet cake?

Yes, bake in a 9×13-inch pan for about 40–45 minutes.

What frosting goes best with carrot cake?

Classic cream cheese frosting is traditional and balances the sweet and spiced cake perfectly.

Can I use pre-shredded carrots?

It’s best to avoid them as they are drier and thicker, which can affect the cake’s moisture.

How long does cream cheese frosting last?

Up to 5 days in the fridge, stored in an airtight container.

Can I decorate the cake?

Yes, top with nuts, carrot decorations, or a dusting of cinnamon.

Conclusion

This classic carrot cake is moist, flavorful, and beautifully spiced, topped with a rich cream cheese frosting that brings everything together. It’s a reliable crowd-pleaser, whether for a special celebration or a cozy afternoon treat. Feel free to customize it to your taste, and enjoy each delicious slice!

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 Recipe

5 Stars 4 Stars 3 Stars 2 Stars 1 Star No reviews
  • Author: clara
  • Prep Time: 20 minutes
  • Cook Time: 35 minutes
  • Total Time: 1 hour
  • Yield: 12 servings 1x
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
  • Diet: Vegetarian

Description

Carrot Cake is a moist and flavorful dessert made with grated carrots, warm spices, and often nuts or pineapple, topped with a rich cream cheese frosting.


Ingredients

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

Instructions

  1. Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
  2. In a medium bowl, whisk together flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger.
  3. In a large bowl, beat together oil and sugar until well combined. Add eggs one at a time, then mix in vanilla.
  4. Gradually stir in the dry ingredients until just combined.
  5. Fold in grated carrots, nuts, and pineapple if using.
  6. Divide the batter evenly between the prepared pans and smooth the tops.
  7. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean. Cool completely.
  8. To make frosting, beat cream cheese and butter until smooth. Add powdered sugar and vanilla, and beat until creamy.
  9. Frost the cooled cake layers and stack, spreading frosting over the top and sides.
  10. Chill before slicing for cleaner cuts.

Notes

  • Use freshly grated carrots for better texture and moisture.
  • Omit nuts or pineapple if desired for a simpler version.
  • Can be made a day in advance and stored in the fridge.

Nutrition

  • Serving Size: 1 slice
  • Calories: 420
  • Sugar: 35g
  • Sodium: 300mg
  • Fat: 24g
  • Saturated Fat: 7g
  • Unsaturated Fat: 14g
  • Trans Fat: 0g
  • Carbohydrates: 48g
  • Fiber: 2g
  • Protein: 5g
  • Cholesterol: 60mg

Leave a Comment

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