baking

Carrot Cake (The One with the Perfect Cream Cheese Frosting)

Pam 2026
Carrot Cake (The One with the Perfect Cream Cheese Frosting)

Ingredients

Ingredients

For the Carrot Cake (Makes 2 8-inch or 9-inch layers):

  • 2 cups (250g) all-purpose flour
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 ½ teaspoons ground cinnamon
  • ½ teaspoon ground nutmeg
  • ½ teaspoon ground ginger (optional)
  • ½ teaspoon salt
  • 1 cup (200g) granulated sugar
  • 1 cup (200g) packed brown sugar
  • 1 ½ cups (360ml) vegetable oil (or melted coconut oil)
  • 4 large eggs, at room temperature
  • 2 teaspoons vanilla extract
  • 3 cups (300g) finely grated carrots (about 4-5 medium carrots)
  • ½ cup (120g) crushed pineapple, well drained (optional, but adds moisture)
  • 1 cup (120g) chopped walnuts or pecans (optional)

For the Cream Cheese Frosting:

  • 16 oz (450g) cream cheese, softened to room temperature
  • 1 cup (226g) unsalted butter, softened
  • 4 cups (480g) powdered sugar, sifted
  • 2 teaspoons vanilla extract
  • Pinch of salt

For Garnish:

  • ½ cup (60g) chopped walnuts or pecans
  • Light dusting of cinnamon (optional)

Let’s talk about the cake that wins hearts. Carrot cake—with its moist, spiced crumb, tender shreds of carrot, and that luscious, tangy cream cheese frosting—is the ultimate comfort dessert. It’s the kind of cake that shows up at Easter brunches, birthday parties, and cozy fall gatherings, and it always disappears first.

This version is everything you want: perfectly spiced with cinnamon and nutmeg, loaded with grated carrots (and walnuts if you’re a fan), and topped with a dreamy cream cheese frosting that’s not too sweet, not too tangy, just right. Slice it, serve it, and watch it vanish.

Instructions

1

Preheat and Prep

Preheat your oven to 350°F (175°C). Grease two 8-inch or 9-inch round cake pans, line the bottoms with parchment paper, and lightly flour the sides.

2

Combine Dry Ingredients

In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt. Set aside.

3

Combine Wet Ingredients

In a large bowl, whisk together the granulated sugar, brown sugar, and vegetable oil until well combined. Add the eggs one at a time, whisking well after each addition. Whisk in the vanilla extract.

4

Combine Wet and Dry

Gradually add the dry ingredients to the wet mixture, stirring with a spatula until just combined. Do not overmix.

5

Fold in Carrots, Pineapple, and Nuts

Gently fold in the grated carrots, drained pineapple (if using), and chopped walnuts (if using) until evenly distributed.

6

Bake

Divide the batter evenly between the prepared pans. Bake for 30-35 minutes (for 8-inch) or 25-30 minutes (for 9-inch) until a toothpick inserted into the center comes out clean. Let cool in pans for 15 minutes, then turn out onto wire racks to cool completely.

7

Make the Cream Cheese Frosting

In a large bowl using a hand mixer or stand mixer, beat the softened cream cheese and butter together until smooth and creamy, about 2-3 minutes. Gradually add the powdered sugar, one cup at a time, beating on low until combined. Add the vanilla extract and salt. Beat on medium-high speed for 2-3 minutes until light, fluffy, and spreadable.

8

Assemble the Cake

Place one cooled cake layer on a serving plate. Spread about ¾ cup of frosting evenly over the top. Place the second layer on top. Apply a thin crumb coat all over and refrigerate for 30 minutes. Then apply the final layer of frosting, smoothing the sides and top.

9

Garnish

Press chopped walnuts onto the sides of the cake or sprinkle on top. Dust lightly with cinnamon if desired.

10

Slice and Serve

Slice and serve at room temperature for the best flavor and texture.

11

Store

Store in an airtight container in the refrigerator for up to 5 days. Bring to room temperature before serving.

Pro-Tips for Carrot Cake Greatness

  • Finely Grate Your Carrots: The finer the grate, the more they melt into the batter. A food processor makes quick work of this.
  • Drain the Pineapple Well: If using pineapple, make sure it’s well drained to avoid adding too much liquid to the batter.
  • Room Temperature Ingredients: For the smoothest frosting, make sure your cream cheese and butter are properly softened.
  • Don’t Overmix: Mix just until the flour disappears. Overmixing can make the cake tough.
  • Chill Before Slicing: For clean slices, refrigerate the assembled cake for 30-60 minutes before cutting.

More Reading