
This classic Carrot Cake with Cream Cheese Frosting is impossibly moist, warmly spiced, and topped with the tangiest, silkiest frosting you have ever tasted. It is the kind of cake that disappears before you can cut a second slice.

There are carrot cakes, and then there is this carrot cake. Tall, deeply moist layers packed with warm spice, shredded carrots, a secret touch of crushed pineapple, and a cream cheese frosting so silky and tangy it practically sings. This is the cake that earns recipe requests at every family gathering, the one people assume must be complicated, and the one you will want to make on repeat once you realize just how straightforward it actually is.
Whether you are baking it for Easter, a birthday, a holiday table, or absolutely no occasion at all, this recipe delivers a bakery-worthy result every single time.
A lot of carrot cakes fall flat because they skip a few key details. Here is what sets this one apart:
Getting a few tools right in the kitchen makes a real difference when it comes to baking this cake. A reliable box grater or a food processor with a grating disc makes quick work of the carrots, and a quality offset spatula is what gives your frosting that smooth, professional finish.
Tools & Ingredients We Recommend
This seems simple, but it genuinely matters. You want finely grated carrots, not chunky shreds. Fine grating helps the carrot melt into the batter as the cake bakes, keeping every bite moist rather than stringy or dense.
Use the fine holes on a box grater, or pulse the carrots briefly in a food processor fitted with the grating blade. Either way, pack them firmly when measuring. You need about 5 to 6 medium carrots to hit 3 cups.
Chef's Tip: Do not squeeze the grated carrots dry. Unlike zucchini bread, you want that natural moisture to stay in the batter. It is part of what makes this cake so tender.
If the cake is the star, the frosting is its standing ovation. The rules here are simple but non-negotiable:
The result is a frosting that is tangy, creamy, and not too sweet, exactly the way it should be.
Ready to bake? Here is the full recipe with every detail you need:

This classic Carrot Cake with Cream Cheese Frosting is impossibly moist, warmly spiced, and topped with the tangiest, silkiest frosting you have ever tasted. It is the kind of cake that disappears before you can cut a second slice.
Preheat your oven to 350 degrees F (175 degrees C). Grease two 9-inch round cake pans, line the bottoms with parchment paper, then grease the parchment as well.
In a large bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger until well combined. Set aside.
In a separate large bowl, whisk together the granulated sugar, brown sugar, and vegetable oil until smooth. Add the eggs one at a time, whisking well after each addition, then stir in the vanilla extract.
Pour the wet ingredients into the dry ingredients and fold gently with a rubber spatula until just combined. Do not overmix.
Fold in the grated carrots, drained crushed pineapple, and toasted nuts if using. The batter will be thick and fragrant.
Divide the batter evenly between the two prepared cake pans and smooth the tops with an offset spatula.
Bake for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean and the edges begin to pull away from the pan.
Let the cakes cool in the pans for 15 minutes, then turn them out onto a wire rack and allow to cool completely before frosting. This is critical.
To make the cream cheese frosting, beat the room temperature cream cheese and butter together with a hand or stand mixer on medium speed until completely smooth and fluffy, about 3 minutes.
Reduce the mixer to low and gradually add the sifted powdered sugar, mixing until incorporated. Add the vanilla and pinch of salt, then increase speed to medium-high and beat for another 2 minutes until light and creamy.
Place one cooled cake layer on your serving plate or cake board. Spread a generous, even layer of cream cheese frosting over the top.
Set the second cake layer on top. Frost the top and sides of the entire cake with the remaining frosting, smoothing it with an offset spatula or bench scraper.
Decorate as desired with additional chopped nuts, shredded carrot curls, or a light dusting of cinnamon. Refrigerate for at least 30 minutes before slicing for clean, beautiful cuts.
This cake is best served slightly cool, not ice cold straight from the fridge. Pull it out about 20 minutes before slicing and let it come to the edge of room temperature. The flavors bloom beautifully and the frosting softens to just the right texture.
A few fun variations to consider:
Leftovers keep beautifully in the refrigerator for up to 5 days. The cake layers also freeze wonderfully on their own, so you can bake ahead and frost when you are ready. However you serve it, do not be surprised when people ask for the recipe before their fork even hits the plate.