Carrot Cake With Cream Cheese Frosting Recipe
If you’re looking for a Carrot Cake With Cream Cheese Frosting Recipe that turns out tender, warmly spiced, and wonderfully moist every single time, this is the one I come back to again and again.
A classic cake that always feels like home
There’s something about a good carrot cake that feels a little old-fashioned in the very best way. It’s cozy, dependable, and somehow welcome at nearly any gathering—Easter brunch, a spring birthday, Mother’s Day, a church potluck, or simply a Sunday dinner when you want dessert to feel special but not fussy. This carrot cake with cream cheese frosting is a classic layered cake with soft crumb, plenty of fresh carrots, balanced spice, and that dreamy tangy frosting that makes each bite sing.
What makes this homemade carrot cake special is the texture. It’s moist without being heavy, sweet without being cloying, and spiced enough to taste like carrot cake—not just vanilla cake with orange flecks. I use oil instead of butter in the batter because it gives you that bakery-style softness that stays tender even after the cake chills. The fresh grated carrots bring natural moisture and sweetness, while cinnamon, nutmeg, and ginger round things out with warmth.
And let me tell you, this is the cake I make when I want people to go quiet after the first bite. You know that pause? That “Oh my goodness” pause? That’s this cake. I’ve served it for family holidays and neighborhood dinners, and it always disappears faster than I expect. Honestly, I’ve learned to hide one slice for the next day because it may be even better after the flavors settle overnight.
Why you’ll love this recipe
- Exceptionally moist crumb thanks to oil and freshly grated carrots
- Classic flavor with warm spices and rich cream cheese frosting
- Easy to make from scratch with simple pantry ingredients
- Perfect layered carrot cake for birthdays, holidays, and celebrations
- Make-ahead friendly since the flavor improves after chilling
- No fancy equipment needed—just bowls, pans, and a mixer
- Balanced sweetness so the cream cheese icing shines
- Crowd-pleasing dessert that feels both nostalgic and bakery-worthy
- Easy to customize with nuts, raisins, pineapple, or coconut
- Reliable results even for newer home bakers
Ingredients
Here’s everything you’ll need for this carrot cake recipe, plus a few helpful notes from my own kitchen.
For the carrot cake
- 2 cups all-purpose flour
- 2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1/2 teaspoon fine sea salt
- 2 teaspoons ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/4 teaspoon ground ginger
- 1 cup granulated sugar
- 1 cup light brown sugar, packed
- 1 1/4 cups neutral oil, such as canola or vegetable oil
- 4 large eggs, room temperature
- 2 teaspoons pure vanilla extract
- 3 cups finely grated carrots, packed (about 5 to 6 medium carrots)
- 3/4 cup chopped walnuts or pecans (optional)
- 1/2 cup raisins (optional)
- 1/2 cup crushed pineapple, well drained (optional, for extra moisture)
For the cream cheese frosting
- 16 ounces full-fat cream cheese, softened
- 1/2 cup unsalted butter, softened
- 4 to 4 1/2 cups powdered sugar, sifted
- 2 teaspoons pure vanilla extract
- 1 pinch fine sea salt
Ingredient tips and simple swaps
- Flour: Regular all-purpose flour gives the best sturdy yet soft crumb. If using a 1:1 gluten-free flour blend, choose one with xanthan gum already included.
- Oil: Stick with a neutral oil. Olive oil can work, but the flavor will come through more than you may want in a classic carrot dessert.
- Carrots: Grate them finely on the small holes of a box grater. Pre-shredded store carrots are too dry and thick for a truly moist carrot cake.
- Brown sugar: This adds moisture and a little molasses depth. Dark brown sugar works too, though it gives a stronger flavor.
- Cream cheese: Full-fat brick-style cream cheese, like Philadelphia, makes the most stable frosting. Tub-style cream cheese is softer and can turn runny.
- Nuts and raisins: Optional, yes—but lovely if your family enjoys that old-school classic carrot cake texture.
- Pineapple: Not traditional for everyone, but a well-drained small amount brings tenderness and sweetness. If you use it, drain it very well.
Directions
1. Prep your pans and oven
Preheat your oven to 350°F. Grease two 9-inch round cake pans, then line the bottoms with parchment paper. This little extra step saves heartache later; carrot cake is tender, and parchment helps it release cleanly.
2. Mix the dry ingredients
In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger. Whisking well helps distribute the leavening and spices evenly, so you don’t get pockets of baking soda or bland bites.
3. Combine the wet ingredients
In a large mixing bowl, whisk together the granulated sugar, brown sugar, and oil until smooth. Add the eggs one at a time, whisking well after each one. Stir in the vanilla extract. The mixture should look glossy and thick.
4. Bring the batter together
Add the dry ingredients to the wet ingredients and stir just until combined. Don’t overmix here; that’s one of the fastest ways to lose that tender crumb. Fold in the grated carrots, and then add the nuts, raisins, and pineapple if using.
5. Divide and bake
Divide the batter evenly between the prepared pans and smooth the tops. Bake for 30 to 36 minutes, or until the centers spring back lightly and a toothpick inserted into the middle comes out with a few moist crumbs. Every oven has its moods, so start checking around the 30-minute mark.
6. Cool completely
Let the cakes cool in the pans for 15 minutes, then run a knife around the edges and turn them out onto wire racks. Peel off the parchment and let them cool completely. Completely means completely—if the layers are even a little warm, the cream cheese frosting can get slippery.
7. Make the cream cheese frosting
In a large bowl, beat the softened cream cheese and butter together with a hand mixer or stand mixer until smooth and creamy. Add the powdered sugar gradually, mixing on low at first so your kitchen doesn’t look like a snow globe. Stir in the vanilla and salt, then beat until fluffy.
8. Frost the cake
Place one cake layer on a serving plate or cake stand. Spread a generous layer of frosting on top. Add the second layer and frost the top and sides. If you want a neater finish, chill the cake for 20 minutes after a thin crumb coat, then add the final layer of frosting.
9. Chill slightly before serving
For the cleanest slices, chill the frosted cake for 20 to 30 minutes before cutting. The frosting firms up just enough, and the layers hold beautifully. Then serve and enjoy every tangy, spiced bite.
Servings & timing
- Yield: 12 to 14 slices
- Prep Time: 25 minutes
- Bake Time: 30 to 36 minutes
- Cooling Time: 1 hour
- Total Time: About 2 hours, including cooling and frosting
If you make the cake layers a day ahead, the hands-on time feels even easier. That’s a little trick I use during holiday baking when the kitchen is already busy.
Variations
- Pineapple carrot cake: Add the drained crushed pineapple for extra softness and a subtly fruity finish.
- Coconut twist: Stir 1/2 cup sweetened shredded coconut into the batter for a more old-fashioned Southern-style cake.
- Nut-free version: Skip the walnuts or pecans entirely for a smoother texture.
- Cupcake version: Divide the batter into lined muffin tins and bake at 350°F for about 18 to 22 minutes.
- Spiced orange version: Add 1 teaspoon orange zest to the batter or frosting for a bright spring flavor.
- Sheet cake style: Bake in a 9×13-inch pan for an easy party dessert with no layering required.
Storage & reheating
Because this cake has cream cheese icing, it should be stored in the refrigerator.
- Refrigerator: Cover the cake well and store for up to 5 days. The flavor actually deepens after the first day.
- Freezer: You can freeze unfrosted cake layers for up to 2 months. Wrap each layer tightly in plastic wrap and then foil.
- Frosted cake: Freeze individual slices on a tray until firm, then wrap and store in a freezer-safe container for up to 1 month.
- To serve after chilling: Let the cake sit at room temperature for 20 to 30 minutes before serving so the frosting softens a bit.
- Make-ahead tip: Bake the layers one day ahead, wrap them once cool, and frost the next day for less stress and cleaner assembly.
No reheating is needed, of course, but if you like cake closer to room temperature—and I do—just give your slice a little time on the counter.
Notes
A few things I learned after making this homemade cake recipe more times than I can count:
First, finely grated carrots matter more than people think. Thick carrot shreds don’t melt into the batter the same way, and you’ll lose some of that lovely soft texture. Second, don’t skimp on cooling. I know, I know—waiting for cake to cool is a special kind of torture. But warm layers plus cream cheese frosting can turn into a slippery mess fast.
Also, if your frosting feels too soft, chill it for 10 to 15 minutes before using. On the other hand, if it feels too stiff, let it sit at room temperature for a few minutes and beat it again. Little adjustments like that are normal. Baking is precise, yes, but it’s also practical.
One more thing: this cake is wonderful as written, but it’s forgiving. That’s one reason I love it. Some days I add pecans; some days I don’t. Sometimes I make it as a layered carrot cake, and sometimes I bake it as a simple sheet cake for friends coming by after dinner. Same soul, different shoes.
FAQs
Can I make this carrot cake ahead of time?
Yes. In fact, this carrot cake with cream cheese frosting tastes even better the next day after the flavors have had time to settle.
Why is my carrot cake dense?
A dense cake usually comes from overmixing the batter, using too many add-ins, or packing the flour too heavily. Spoon and level your flour for the best result.
Can I use pre-shredded carrots from the store?
I wouldn’t recommend it. They’re usually too dry and coarse, and they won’t give you that soft, tender sweet carrot cake texture.
How do I keep cream cheese frosting from getting runny?
Use brick-style full-fat cream cheese, soften it properly, and avoid overbeating once the sugar is in. If needed, chill the frosting briefly before spreading.
Can I make this into cupcakes?
Absolutely. This batter works very well for cupcakes and usually makes about 24 standard cupcakes.
Do I have to add nuts or raisins?
Not at all. They’re optional and easy to leave out, so you can tailor the cake to your family’s taste.
Can I make this recipe in a 9×13 pan?
Yes, and it’s a great choice for casual gatherings. Bake until a toothpick comes out with moist crumbs, usually around 40 to 50 minutes.
What spices go best in carrot cake?
Cinnamon is the star, but nutmeg and ginger give it that lovely old-fashioned depth. Some bakers also add cloves, though I prefer a lighter hand with them.
Conclusion
This Carrot Cake With Cream Cheese Frosting Recipe is everything a good carrot cake should be—moist, warmly spiced, easy to make, and finished with a rich, tangy frosting that never goes out of style. It’s a dependable dessert baking recipe for holidays, birthdays, and those ordinary days when you simply want something homemade and comforting.
If you make it, I’d love to hear how it turned out for you. Leave a comment, share your favorite variation, or save this recipe for the next time you need a truly classic cake with frosting that everyone will remember.

