You know that moment when the kitchen smells like cinnamon, the coffee is brewing, and someone wanders over to ask what you're baking? That's exactly the feeling I want from this homemade carrot cake. Two soft, warmly spiced layers, little flecks of fresh carrot in every slice, and a generous sweep of tangy cream cheese frosting. Nothing fussy. Just a cake that makes people pull up a chair.
Come stand beside me at the counter. We'll grate the carrots, whisk the spices, and build the batter without making a mountain of dishes. I'll show you what to look for along the way, especially when it's time to stop mixing and when the layers are cool enough to frost. If you're making dessert for a spring gathering, you might also like my carrot cake cupcakes with cream cheese frosting—same cozy flavor, served in individual portions.
This is a traditional carrot cake recipe made with all-purpose flour, brown and white sugars, vegetable oil, eggs, freshly grated carrots, and an old-fashioned cream cheese frosting. It is a dessert, not a reduced-sugar or low-fat cake.
🍽️ Recipe at a Glance
| 🥄 Difficulty | Approachable; two cake layers and simple frosting |
|---|---|
| 🔪 Prep | 20 minutes (source estimate) |
| 🔥 Bake | 35–40 minutes at 350°F (175°C) |
| ⏱️ Total | About 90 minutes or longer, depending on cooling |
| 🍽️ Yield | 12 slices |
| 🎂 Pans | Two 9-inch round cake pans |
| ❤️ Texture | Tender, moist, gently textured with carrots |
| 💡 Best tip | Cool both layers completely before frosting |
❤️ Why This Carrot Cake Deserves a Spot on Your Table
There are plenty of elaborate cakes out there, but I keep coming back to the ones that taste like someone made them with care. Here, the cinnamon, ginger, nutmeg, and cloves bring warmth without needing a complicated technique. The oil helps the crumb stay tender, while fresh carrots add moisture and that unmistakable carrot cake texture.
And then there's the frosting. Cream cheese brings a little tang to all that sweetness, so the finished slice feels balanced rather than one-note. If you love cakes that are equally at home with afternoon coffee and on a celebration table, my orange olive oil cake is another one worth keeping nearby.
🛒 Ingredients for Homemade Carrot Cake
Before we start, set everything on the counter. You'll find the exact measurements here and in the recipe card. Don't worry about fancy ingredients; the fresh carrots and the spice combination do the heavy lifting.
For the Cake
- 2 cups (250 g) all-purpose flour
- 1½ teaspoons baking powder
- 1 teaspoon baking soda
- 1½ teaspoons ground cinnamon
- ½ teaspoon ground ginger
- ¼ teaspoon ground nutmeg
- ¼ teaspoon ground cloves
- ½ teaspoon salt
- 1 cup (200 g) granulated sugar
- ¾ cup (150 g) packed brown sugar
- 1 cup (240 ml) vegetable oil
- 4 large eggs
- 2 teaspoons vanilla extract
- 2½ cups (300 g) grated carrots, about 4 medium carrots
- ½ cup (60 g) chopped walnuts or pecans, optional
For the Cream Cheese Frosting
- 8 ounces (227 g) cream cheese, softened
- ½ cup (115 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar
- 1 teaspoon vanilla extract
- 1–2 tablespoons milk, optional, for consistency
Let's talk carrots. Grate them fresh, rather than grabbing a bag of thick pre-shredded carrots. The finer strands blend into the batter more easily. And don't squeeze the moisture out: that moisture is part of what we want in the cake.
About the sugars: White sugar brings straightforward sweetness; brown sugar contributes a deeper, slightly molasses-like note. This is the classic sweet version of carrot cake, so there's no need to call it healthy just because it contains a vegetable.
About the nuts: Walnuts and pecans are both lovely, but optional. If you prefer a smooth, nut-free bite, leave them out. If you're a fan of nutty desserts, you may also enjoy the cozy flavors in my traditional Irish apple cake.
🔪 Get Ready Before You Mix
Set out two 9-inch round cake pans, two mixing bowls, a whisk, a spatula, and a mixer for the frosting. Soften the butter and cream cheese, and grate the carrots before you start. I like to do this first because once the batter is mixed, it should go straight into the prepared pans and oven.
Flash Tip: Spoon flour into the measuring cup and level it, or use the supplied 250-gram weight. Packing flour into the cup can make the cake heavier than you want.
👩🍳 How to Make Moist Homemade Carrot Cake
Stay with me through these steps. You'll notice that we're not chasing a perfectly smooth batter once the flour goes in. A gentle hand is what keeps the finished cake tender.
Step 1 — Prepare the Oven and Pans
Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, coating the bottoms and sides. You can also add parchment circles to the bottoms to make releasing the layers easier.
Flash Tip: Prepare both pans before mixing. That way the batter doesn't sit on the counter while you search for parchment paper.
Step 2 — Whisk the Dry Ingredients
In a large bowl, whisk the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, cloves, and salt. Take a look at the mixture: the spices should be distributed throughout, with no dark little pockets of cinnamon or cloves hiding in one corner.
Flash Tip: If a spice has clumped, break it apart now. It's much easier here than after the batter is wet.
Step 3 — Mix the Sugars, Oil, Eggs, and Vanilla
In a second bowl, whisk together the granulated sugar, brown sugar, vegetable oil, eggs, and vanilla. Keep whisking until the eggs are fully incorporated and the mixture looks evenly blended and glossy. It may still look a little grainy from the sugar, and that's fine.
Flash Tip: Scrape around the bottom of the bowl, where a little brown sugar sometimes settles.
Step 4 — Fold in the Fresh Carrots
Now add the grated carrots to the wet mixture. Fold them through with a spatula so those orange strands are spread from edge to edge. This is where it starts looking like carrot cake instead of an ordinary cake batter.
Flash Tip: Break up any large clumps of grated carrot before folding them in. You'll get a more even texture in every slice.
Step 5 — Bring the Batter Together
Add the dry mixture to the carrot mixture and stir just until you can't see loose flour. If you're using walnuts or pecans, fold them in now. The batter should look thick and textured, not whipped or perfectly silky.
Flash Tip: Put down the spatula once the flour disappears. Mixing longer won't make the cake better; it can make the crumb tougher.
Step 6 — Divide, Bake, and Cool
Divide the batter evenly between the prepared pans and smooth the tops gently. Bake for 35–40 minutes, checking near the end of that range. A toothpick inserted in the center should come out clean, without wet batter attached.
Let the layers rest in their pans for 10 minutes, then transfer them to wire racks. Here's the part I don't want you to rush: the cakes must be completely cool before the frosting goes on. If they still feel warm, give them more time.
Flash Tip: Check both pans independently. One layer may finish a little before the other if your oven has hot spots.
Step 7 — Whip the Cream Cheese Frosting
Beat the softened cream cheese and butter until creamy and smooth. Add the powdered sugar gradually, then beat in the vanilla. Look for frosting that holds a soft swirl and spreads without tearing the cake. If it's too thick, add a little of the optional milk at a time; you may not need any.
Flash Tip: Too soft to hold its shape? Chill the frosting briefly before spreading. Adding extra powdered sugar isn't always the best fix because it also makes the frosting sweeter.
Step 8 — Stack and Frost the Layers
Set the first cooled layer on a cake stand or plate. Spread a generous layer of frosting across the top, then carefully settle the second cake layer into place. Frost the top and sides with the remaining frosting. Don't worry about making it look like a bakery display; soft swirls are beautiful on a homemade carrot cake.
Flash Tip: If the layers slide as you frost, chill the cake for a short while so the filling can firm up.
Step 9 — Add the Finishing Touches
Scatter chopped walnuts or pecans on top, or add shredded coconut or carrot decorations if you like. Wipe the knife between cuts for tidy slices. Then bring the cake to the table and watch how quickly everyone notices the frosting.
For a spring brunch with a few different treats, I'd set this cake alongside my blueberry lemon muffins. Their bright citrus flavor makes a nice contrast to the warm spices.
🧠 Why This Cake Stays Tender
Here's what matters more than any fancy decorating trick. The oil coats the flour and contributes tenderness, the freshly grated carrots bring moisture, and the eggs help hold the layers together. Baking powder and baking soda provide lift, while the combination of spices makes the cake taste rich and familiar.
But even good ingredients can't rescue a batter that's been stirred too aggressively. Once the flour joins the wet ingredients, mix only enough to bring everything together. That's the small kitchen habit I'd want you to remember next time, too.
🌶️ Make It Your Own
Love a little crunch? Choose chopped pecans or walnuts. Prefer a smoother slice? Leave the nuts out entirely. For a festive finish, add a few carrot-shaped decorations; for a simple family cake, a handful of chopped nuts on top is plenty.
If you like the flavors of carrot cake but don't feel like turning on the oven, my carrot cake smoothie with coconut whipped cream takes cinnamon, carrots, and a creamy finish in a completely different direction.
🔥 Troubleshooting: Little Things That Make a Big Difference
Why is my carrot cake dense?
Too much flour or overmixing after adding the flour can make the layers heavy. Measure carefully and stop stirring once the dry ingredients disappear.
Why did my cake stick to the pan?
The pan may not have been greased thoroughly, or the cake may have been removed too soon. Grease and flour the pans and give the layers their 10-minute rest before turning them out.
Why is my frosting sliding?
The cake may still be warm, or the frosting may be too soft. Cool the layers completely and chill the frosting briefly if needed.
How do I know the center is baked?
Insert a toothpick into the center of each layer. If it comes out with wet batter, keep baking and check again after a few minutes. Oven temperatures vary, so use the test rather than the clock alone.
❤️ Serving Ideas for Easter, Birthdays, and Coffee Breaks
Carrot cake doesn't need much beside it. A hot cup of coffee or tea is enough for an afternoon slice. For Easter or a family birthday, put the whole frosted cake on a stand and let those two layers do the talking.
If you're putting together a dessert table, pair it with something different rather than another carrot cake. My cinnamon chocolate marble Bundt cake gives chocolate lovers their own option. For an autumn gathering, apple cider donut cake brings a different kind of warm-spice sweetness.
And if you're serving a relaxed brunch before dessert, a pan of mixed berry sheet pan pancakes makes it easy to feed everyone without standing over a skillet.
🧺 Make-Ahead and Storage
Make ahead: Bake the layers in advance, cool them completely, and keep them well wrapped until you're ready to assemble. For the neatest frosting, it's often easier to decorate cooled layers rather than ones that have just come out of the oven.
Refrigerator: Because the frosting contains cream cheese, store the finished cake covered in the refrigerator. For best quality, enjoy it within about 3–4 days.
Freezer: You can wrap the unfrosted, completely cooled layers tightly and freeze them for up to about 2 months for best quality. Thaw in the refrigerator before frosting.
Serving: A brief rest out of the refrigerator can soften the frosting slightly. Don't leave cream-cheese-frosted cake at room temperature for more than 2 hours.
❓ Homemade Carrot Cake FAQs
What makes carrot cake moist?
Freshly grated carrots and vegetable oil help produce a moist, tender crumb. Careful flour measuring and gentle mixing matter, too.
Can I use pre-shredded carrots?
Freshly grated carrots are the better choice for this recipe. Packaged shreds are often thicker and drier, so they may not soften as evenly in the cake.
Do I have to add nuts?
No. The ½ cup of walnuts or pecans is optional. Leave it out if you prefer a nut-free batter.
Can I bake the cake layers the day before?
Yes. Cool them completely, wrap them well, and store them appropriately until you're ready to frost and serve.
Can I frost the cake while it's warm?
No. Warm layers can melt the cream cheese frosting and make the cake slide. Wait until the layers are completely cool.
Is this a healthy carrot cake?
This version is a traditional dessert made with sugar, oil, and cream cheese frosting. Carrots contribute flavor, texture, and nutrients, but they don't make the finished cake low in sugar or calories.
❤️ One Last Thing from My Kitchen
If I were standing next to you when you cut that first slice, I'd tell you not to worry about whether the frosting looks perfectly smooth. The best part is the contrast: warm spice, soft carrot-speckled layers, and a generous ribbon of cream cheese frosting between them. That's what people remember.
Make it for a birthday, an Easter table, or a quiet weekend when you feel like baking something worth sharing. And if you do, tell me in the comments: are you on team walnuts, team pecans, or no nuts at all?
PrintMoist Homemade Carrot Cake with Cream Cheese Frosting
- Total Time: 90
- Yield: 12 slices 1x
Description
This moist homemade carrot cake is made from scratch with freshly grated carrots, warm cinnamon, ginger, nutmeg, and cloves. Two tender cake layers are finished with rich, creamy homemade cream cheese frosting. Perfect for Easter, birthdays, and family gatherings.
Ingredients
2 cups (250 g) all-purpose flour
1½ teaspoons baking powder
1 teaspoon baking soda
1½ teaspoons ground cinnamon
½ teaspoon ground ginger
¼ teaspoon ground nutmeg
¼ teaspoon ground cloves
½ teaspoon salt
1 cup (200 g) granulated sugar
¾ cup (150 g) packed brown sugar
1 cup (240 ml) vegetable oil
4 large eggs
2 teaspoons vanilla extract
2½ cups (300 g) freshly grated carrots (about 4 medium carrots)
½ cup (60 g) chopped walnuts or pecans (optional)
Group: For the Cream Cheese Frosting
8 oz (227 g) cream cheese, softened
½ cup (115 g) unsalted butter, softened
3 cups (360 g) powdered sugar
1 teaspoon vanilla extract
1–2 tablespoons milk (optional, for consistency)
Instructions
1. Prepare the pans: Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
2. Mix the dry ingredients: Whisk together flour, baking powder, baking soda, cinnamon, ginger, nutmeg, cloves, and salt in a large bowl.
3. Mix the wet ingredients: In a separate bowl, whisk granulated sugar, brown sugar, vegetable oil, eggs, and vanilla until evenly combined.
4. Add the carrots: Fold the freshly grated carrots into the wet mixture until evenly distributed.
5. Combine the batter: Add the dry ingredients to the wet mixture and stir just until combined. Fold in walnuts or pecans if using.
6. Bake: Divide batter evenly between prepared pans. Bake for 35–40 minutes, until a toothpick inserted in the center comes out clean. Cool in pans for 10 minutes, then transfer to wire racks to cool completely.
7. Make the frosting: Beat softened cream cheese and butter until smooth. Gradually add powdered sugar and vanilla. Add milk only if needed for a spreadable consistency.
8. Assemble: Spread frosting over one completely cooled cake layer. Add the second layer and frost the top and sides.
9. Garnish: Decorate with chopped nuts, shredded coconut, or carrot decorations if desired. Slice and serve.
Notes
Use freshly grated carrots for the best texture. Do not squeeze out their moisture.
Measure flour carefully and avoid overmixing after adding the dry ingredients.
Cool both cake layers completely before applying cream cheese frosting.
If frosting becomes too soft, refrigerate briefly before spreading.
Store the frosted cake covered in the refrigerator for up to 3–4 days.
Walnuts and pecans are optional.
- Prep Time: 20
- Cook Time: 40
- Category: Dessert
- Method: Baking
- Cuisine: American


Linda S
This carrot cake turned out so good! I made it for my kids this weekend and they loved it — they had no idea it was a “healthier” version. It was super moist and the flavor was just perfect with the carrots and spices. I’ll definitely be making this again for family gatherings!