Carrot Cake
Carrot cake at its best is moist and deeply spiced, with fine shreds of sweet carrot in every slice and a thick blanket of tangy cream cheese frosting on top.
It is a classic for a good reason. A handful of pantry ingredients, a bowl of grated carrots and a whisk are all you need for the batter, and the oil in it keeps the crumb tender for days.
You grate the carrots, stir the batter together in two bowls and bake it in two round pans. While the layers cool, you beat a smooth cream cheese frosting and stack everything into a tall, impressive cake.
This recipe makes 12 slices and takes 2 hours and 5 minutes from start to finish, including 1 hour of cooling. Most of that time is hands-off, so you can make the frosting while the cakes cool.

Why You’ll Love This Carrot Cake
It stays moist for days. Oil instead of butter keeps the crumb soft and tender, and the grated carrots add even more moisture.
It has real spice. Cinnamon and nutmeg warm every bite, while brown sugar adds a deep, caramel-like sweetness.
The frosting is simple. Cream cheese, butter, powdered sugar and vanilla beat together in minutes into a smooth, tangy frosting.
You can make it ahead. The layers can be baked a day early, so the only job left on the day is frosting.

Perfect For
This carrot cake is a good fit for birthdays, Easter, Mother’s Day, baby showers, holiday dinners and any weekend when you feel like baking. It looks special, but it needs no special skills.
It also travels well in a covered cake carrier, and it slices cleanly once the frosting has had time to chill.

Carrot Cake at a Glance
| Flavor | Warmly spiced, sweet and tangy |
| Texture | Moist, tender crumb with soft carrot and crunchy walnuts |
| Difficulty | Easy |
| Prep Time | 30 minutes |
| Bake Time | 35 minutes |
| Cooling Time | 1 hour |
| Total Time | 2 hours 5 minutes |
| Servings | 12 slices |
| Method | Baked in two 9-inch round pans |
| Cuisine | American |
| Best For | Birthdays, Easter, holidays and weekend baking |
Before You Start
Grate the carrots yourself. Fresh carrots grated on the large holes of a box grater are moist and soft, and they melt into the batter.
Use room temperature ingredients. Eggs mix in more smoothly when they are not cold, and the cream cheese and butter for the frosting must be soft so that the frosting has no lumps.
Measure the flour carefully. Spoon the flour into the measuring cup and level it off with a knife. Scooping straight from the bag packs in too much and makes a dry cake.
Prepare the pans well. Grease two 9-inch round pans, line the bottoms with parchment circles and dust the sides with flour, so that the layers slide out cleanly.
Cool the cakes completely. Frosting melts and slides off a warm cake, so plan for a full hour of cooling.
What Makes This Carrot Cake Work
Oil for a Tender Crumb
Oil stays liquid at room temperature, so a cake made with it feels moist even after a night in the refrigerator. Butter cakes tend to turn firm when they are cold.
Two Kinds of Sugar
Granulated sugar gives structure and a light sweetness, and brown sugar adds moisture and a hint of molasses. Together they give the cake a rounder flavor than white sugar alone.
Warm Spices
Cinnamon is the main spice and nutmeg adds a soft, warm back note. The spices are in the batter in a small amount, so they flavor the cake without hiding the carrots.
Tangy Frosting
Cream cheese frosting is sweet, but it also has a tangy edge that balances the sugary cake. It is the reason a slice never feels too heavy.

Ingredients for Carrot Cake
For the Cake
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking soda
- 1 teaspoon fine salt
- 2 teaspoons ground cinnamon
- ½ teaspoon ground nutmeg
- 1¼ cups (300 ml) vegetable oil
- 1 cup (200 g) granulated sugar
- 1 cup (about 210 g) light brown sugar, packed
- 4 large eggs, at room temperature
- 1 tablespoon pure vanilla extract
- 3 cups (about 330 g) freshly grated carrots (about 5 medium carrots)
- Optional: 1 cup (120 g) chopped walnuts or pecans, toasted
For the Cream Cheese Frosting
- 8 ounces (225 g) full-fat brick cream cheese, softened
- ½ cup (113 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar
- 1 teaspoon pure vanilla extract
- Pinch of fine salt

Ingredient Notes and Substitutions
Carrots: Use fresh carrots and grate them yourself. Pre-shredded carrots are often too dry and coarse, which can affect the moisture and texture of the cake.
Oil: Use a neutral oil such as vegetable, canola or avocado oil. Do not use olive oil, because its strong flavor overpowers the spices.
Spices: Fresh ground cinnamon and nutmeg give the best flavor. Spices lose their strength over time, and old ones make a bland cake.
Walnuts or pecans: The nuts add a nice crunch, but they are optional. Toast them in a dry skillet or in the oven for a few minutes to bring out more flavor, and let them cool before adding.
Cream cheese: Use full-fat, brick-style cream cheese for the frosting. Spreadable cream cheese in a tub has extra water and stabilizers, and it makes a runny frosting.
Brown sugar: Light brown sugar is best. Dark brown sugar works too, but it makes the cake taste more of molasses.
Kitchen Equipment Needed
• Two 9-inch round cake pans
• Parchment paper
• Box grater
• Two large mixing bowls
• Whisk and a rubber spatula
• Hand mixer or stand mixer
• Wire cooling rack
• Offset spatula or a butter knife for the frosting
• Measuring cups and spoons
How to Make Carrot Cake
Step 1: Prepare the Pans and the Carrots
Heat the oven to 350°F (175°C). Grease two 9-inch round cake pans, line the bottoms with parchment paper and dust the sides with flour. Peel the carrots, grate them on the large holes of a box grater and chop the nuts, if you are using them.

Step 2: Mix the Dry Ingredients
In a large bowl, whisk the flour, baking soda, salt, cinnamon and nutmeg until they are evenly mixed and no streaks of spice are left.
Step 3: Mix the Wet Ingredients
In a second large bowl, whisk the oil, granulated sugar, brown sugar, eggs and vanilla until the mixture is smooth and glossy.
Step 4: Make the Batter
Pour the wet ingredients into the dry ingredients and stir with a spatula until just combined. Fold in the grated carrots and the nuts, if you are using them. The batter will be thick and full of carrots.
Step 5: Fill the Pans and Bake
Divide the batter evenly between the two pans and smooth the tops. Bake for 30 to 35 minutes, until a toothpick inserted in the center comes out clean or with a few dry crumbs, and the tops spring back when you press them lightly.

Step 6: Cool the Cakes
Cool the cakes in the pans for 15 minutes. Run a knife around the edges, turn them out onto a wire rack, peel off the parchment and let them cool completely, which takes about 45 minutes more.
Step 7: Make the Frosting
While the cakes cool, beat the cream cheese and butter together with a mixer on medium speed for about 2 minutes, until smooth and creamy. Add the powdered sugar a little at a time, then the vanilla and salt, and beat on medium-high speed until the frosting is light and fluffy.

Step 8: Frost the Cake
Place one cooled layer on a plate and spread about 1 cup of frosting over the top. Set the second layer on top and cover the top, and the sides if you like, with the rest of the frosting.
Step 9: Chill and Slice
Refrigerate the frosted cake for 30 minutes so that the frosting sets, then cut it into 12 slices with a sharp knife, wiping the blade clean between cuts.
How to Know Your Carrot Cake Is Done
Each stage of this recipe has a clear sign. Use these checks to know when to move on.
| What to Check | Ready When |
|---|---|
| Dry mix | Evenly mixed, with no streaks of spice or baking soda |
| Wet mix | Smooth and glossy, with no streaks of egg |
| Batter | Just combined, thick and full of carrots, with no dry flour |
| Baked layers | A toothpick comes out clean or with a few dry crumbs, and the tops spring back |
| Cooled layers | Completely cool to the touch, with no warmth in the center |
| Frosting | Smooth, light and fluffy, and it spreads without tearing the cake |
| Frosted cake | Set after 30 minutes in the refrigerator, and it slices cleanly |
If the cake tests wet in the center at 35 minutes, give it 3 to 5 more minutes and check again. If the tops brown too fast, cover them loosely with foil.
Tips for the Best Carrot Cake
Do not overmix. Stir the batter until the flour disappears and stop, because too much mixing makes the crumb tough.
Toast the nuts. A few minutes of toasting makes walnuts and pecans crunchier and more flavorful.
Grate carrots on the large holes. Fine shreds melt into the batter, while large ones leave small, visible strands that look pretty in every slice.
Check early. Ovens run differently, so start testing the layers at 30 minutes.
Frost a cool cake. Even a slightly warm layer melts the frosting, so wait until the cake is cool to the touch.
Chill before slicing. Thirty minutes in the refrigerator sets the frosting and gives cleaner slices.
Common Mistakes and How to Fix Them
| Mistake | How to Fix It |
|---|---|
| Using pre-shredded carrots They are dry and tough, and they make the cake less moist. | Grate fresh carrots on the large holes of a box grater. |
| Overmixing the batter A batter that is beaten too long gives a dense, rubbery cake. | Stir just until no flour is left and fold in the carrots gently. |
| Frosting a warm cake The frosting melts, slides off and soaks into the crumb. | Let the layers cool completely on a wire rack, about 1 hour in total. |
| Using soft or tub cream cheese Low-fat or spreadable cream cheese makes a runny frosting. | Use full-fat brick cream cheese, and chill the frosting for 20 minutes if it feels too soft. |
| Overbaking the layers A cake left too long in the oven turns dry. | Start checking at 30 minutes and take the cakes out as soon as a toothpick comes out clean or with a few dry crumbs. |
Variations
Carrot Cake Cupcakes
Divide the batter between lined muffin tins, filling each about two-thirds full, and bake for 18 to 22 minutes. Frost them once they are completely cool.
Carrot Sheet Cake
Pour the batter into a greased 9×13-inch pan and bake for 35 to 40 minutes, until a toothpick comes out clean. Frost the top of the cooled cake and cut it into squares for a crowd.
Raisin or Coconut Carrot Cake
Fold ½ cup of raisins or shredded coconut into the batter along with the carrots for extra sweetness and chew.
Serving Suggestions
Serve a slice with a cold glass of milk or a cup of hot coffee, because the spices go well with both. A pumpkin spice latte is a cozy match in the fall.
If you like cakes packed with fall flavors, try this apple cake or a loaf of pumpkin bread on the same table. For a smaller, snack-size version of the same flavors, bake a batch of carrot cake zucchini muffins, and for another creamy dessert, a red velvet cheesecake makes a good addition to a party table.
Storage
Refrigerator: because the frosting contains dairy, store the cake in an airtight container in the refrigerator for up to 5 days.
Serving: let the slices sit at room temperature for about 15 minutes before serving for the best texture.
Freezing: wrap the unfrosted layers well in plastic wrap and foil and freeze them for up to 3 months. Thaw them overnight in the refrigerator and frost them once they are completely cool.
Reheating: the cake is meant to be eaten cold or at room temperature, so it does not need reheating.
Frequently Asked Questions
Can I make this into cupcakes?
Yes. Divide the batter into lined muffin tins and bake for 18 to 22 minutes, until a toothpick comes out clean. The recipe makes about 24 cupcakes.
Can I leave out the nuts?
Yes, the nuts are optional. The cake will still be moist and delicious without them.
Why is my frosting runny?
The cream cheese and butter were probably too warm or too soft. Chill the frosting for 20 minutes and beat it again, and add a spoonful of powdered sugar if it still looks loose.
Can I use pre-shredded carrots?
I do not recommend it. Pre-shredded carrots are drier and coarser than fresh ones, so grate your own for the best moisture and texture.
Can I make it ahead of time?
Yes. Bake the layers up to a day ahead, cool them completely and wrap them well. Frost the cake on the day you plan to serve it, or frost it a day early and keep it in the refrigerator.
Why is my carrot cake dense?
Overmixing the batter or measuring too much flour are the usual reasons. Spoon the flour into the cup and level it, and stir the batter just until combined.
Can I use a different oil?
Yes. Any neutral oil, such as canola or avocado oil, works as well as vegetable oil. Do not use olive oil, because its flavor is too strong for this cake.
Final Thoughts
Carrot cake is proof that a few simple ingredients can turn into something that feels like a celebration: a soft, spiced crumb, plenty of carrots and a thick layer of tangy frosting.
Once you have the basic cake, you can bake it as cupcakes, press it into a sheet pan or add raisins and coconut, and keep the layers in the freezer for the next party.
I would love to hear whether your cake went to a birthday table or a quiet coffee break, and who asked for the recipe.
If you try this recipe, please leave a star rating along with your comment below. It takes a few seconds and helps other readers find the recipe.
Carrot Cake
This carrot cake is moist, spiced comfort in every slice. With two layers made with grated carrots and walnuts, covered in a thick, tangy cream cheese frosting, it’s the perfect balance of warm spice and creamy tang. Easy to slice into 12 pieces, this carrot cake is a must-have for Easter, birthdays, or anytime you crave a classic layer cake.
Ingredients
For the Cake
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking soda
- 1 teaspoon fine salt
- 2 teaspoons ground cinnamon
- ½ teaspoon ground nutmeg
- 1¼ cups (300 ml) vegetable oil
- 1 cup (200 g) granulated sugar
- 1 cup (about 210 g) light brown sugar, packed
- 4 large eggs, at room temperature
- 1 tablespoon pure vanilla extract
- 3 cups (about 330 g) freshly grated carrots (about 5 medium carrots)
- Optional: 1 cup (120 g) chopped walnuts or pecans, toasted
For the Cream Cheese Frosting
- 8 ounces (225 g) full-fat brick cream cheese, softened
- ½ cup (113 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar
- 1 teaspoon pure vanilla extract
- Pinch of fine salt
Instructions
- Heat the oven to 350°F (175°C). Grease two 9-inch round cake pans, line the bottoms with parchment paper and dust the sides with flour. Grate the carrots on the large holes of a box grater and chop the nuts, if using.
- In a large bowl, whisk the flour, baking soda, salt, cinnamon and nutmeg until evenly mixed.
- In a second large bowl, whisk the oil, granulated sugar, brown sugar, eggs and vanilla until smooth and glossy.
- Pour the wet ingredients into the dry ingredients and stir until just combined. Fold in the grated carrots and the nuts, if using.
- Divide the batter evenly between the prepared pans and smooth the tops. Bake for 30 to 35 minutes, until a toothpick inserted in the center comes out clean or with a few dry crumbs.
- Cool the cakes in the pans for 15 minutes. Turn them out onto a wire rack, peel off the parchment and cool completely, about 45 minutes more.
- For the frosting, beat the cream cheese and butter on medium speed for about 2 minutes, until smooth. Gradually add the powdered sugar, then the vanilla and salt, and beat until light and fluffy.
- Place one cooled layer on a plate and spread about 1 cup of frosting over the top. Set the second layer on top and cover the top, and the sides if you like, with the rest of the frosting.
- Refrigerate the frosted cake for 30 minutes so that the frosting sets, then slice with a sharp knife, wiping the blade between cuts.
Notes
- Carrots: Grate fresh carrots on the large holes of a box grater. Pre-shredded carrots are often too dry and coarse.
- Oil: Use a neutral oil such as vegetable or canola oil. Do not use olive oil, because its strong flavor overpowers the spices.
- Mixing: Stir the batter just until combined. Too much mixing makes the cake dense.
- Baking: Bake for 30 to 35 minutes and start checking at 30. A toothpick should come out clean or with a few dry crumbs.
- Cooling: Cool the layers completely before frosting, about 1 hour in total. Warm cake melts the frosting.
- Frosting: Use full-fat brick cream cheese and softened butter. If the frosting is runny, chill it for 20 minutes and beat it again.
- Storage: Keep the frosted cake in an airtight container in the refrigerator for up to 5 days. Let slices sit at room temperature for 15 minutes before serving. Wrap unfrosted layers well and freeze for up to 3 months.
- Nutrition: Values are estimates for 1 slice (1 of 12), made without the optional nuts.
Recommended Products
As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.
Nutrition Information:
Yield: 12 Serving Size: 1 sliceAmount Per Serving: Calories: 736Total Fat: 39gSaturated Fat: 11gCholesterol: 103mgSodium: 546mgCarbohydrates: 94gFiber: 2gSugar: 75gProtein: 6g

3 Comments