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
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.
Combine Dry Ingredients
In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt. Set aside.
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.
Combine Wet and Dry
Gradually add the dry ingredients to the wet mixture, stirring with a spatula until just combined. Do not overmix.
Fold in Carrots, Pineapple, and Nuts
Gently fold in the grated carrots, drained pineapple (if using), and chopped walnuts (if using) until evenly distributed.
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.
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.
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.
Garnish
Press chopped walnuts onto the sides of the cake or sprinkle on top. Dust lightly with cinnamon if desired.
Slice and Serve
Slice and serve at room temperature for the best flavor and texture.
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.
