I still remember the first time I sliced into this carrot cake: each forkful was dense, warmly spiced, and crowned with a billowy cream cheese frosting. It’s the kind of cake people bring to potlucks and keep requesting for birthdays because it’s reliably moist and comforting. If you like classic carrot cake textures, this recipe delivers — and if you want a slightly different flavor profile, you can also compare it with our browned butter carrot cake for a nuttier finish.
Why you’ll love this dish
This cake balances simplicity with show-stopping results. The batter comes together quickly: no creaming butter or complicated steps. Vegetable oil keeps the crumb tender and keeps the cake moist for days. Brown sugar deepens the flavor while cinnamon adds warmth without overpowering the carrots. Folded-in pecans and raisins add texture and bites of sweetness, making each slice interesting.
“Exactly the kind of carrot cake I want at family gatherings: moist, spiced just right, and the frosting is dreamy without being too sweet.”
This is perfect for weekend baking when you want something that feeds a crowd, for brunch with coffee, or for a casual celebration where a homemade cake matters more than fuss. It’s also forgiving: the batter is resilient to small timing or mixing variations, which helps home bakers.
Preparing Carrot Cake Recipe
Step-by-step overview
- Preheat the oven and prepare two 9-inch pans.
- Whisk the dry ingredients so they are aerated and lump free.
- Whisk oil and sugars, then add eggs one at a time for a smooth batter.
- Fold dry mix into the wet just until combined, then fold in carrots, pecans, and raisins.
- Divide batter, bake until a toothpick comes out clean, cool completely.
- Make a light cream cheese frosting with powdered sugar, cornstarch, and whipped cream.
- Assemble, top with pecans, chill briefly, and slice.
What you’ll need
- 2 cups (260g) all-purpose flour
- 2 teaspoons baking soda
- ½ teaspoon fine sea salt
- 1 ½ teaspoons ground cinnamon
- 1 cup (200g) granulated sugar
- 1 cup (190g) lightly packed brown sugar
- 2 teaspoons cornstarch
- 1 ¼ cups (140g) powdered sugar
- 1 ¼ cups (295ml) vegetable oil
- 1 teaspoon vanilla extract
- 4 large eggs
- 8 ounces (225g) cream cheese, room temperature for easier whipping
- ⅓ cup (80ml) cold heavy cream
- 3 cups (300g) grated peeled carrots (about 4 medium carrots)
- 1 cup (120g) coarsely chopped pecans
- ½ cup (70g) raisins
- ½ cup (50g) coarsely chopped pecans for topping
Notes on ingredients and swaps: If you prefer no nuts, omit the pecans and increase raisins or add crushed pineapple for extra moisture. Use light brown sugar if that’s what you have. For a slightly healthier take, swap half the oil for unsweetened applesauce but expect a slightly denser crumb.
Directions
- Heat the oven to 176°C (350°F). Grease two 23cm (9-inch) round cake pans, line the bottoms with parchment, and lightly grease the parchment.
- In a medium bowl, whisk together the flour, baking soda, salt, and cinnamon until evenly combined and aerated.
- In a large bowl, whisk the vegetable oil, granulated sugar, brown sugar, and vanilla until smooth and glossy.
- Add eggs one at a time, whisking each in completely before adding the next. The mixture should be uniform and silky.
- Fold the dry ingredients into the wet with a rubber spatula. Stir just until you no longer see streaks of flour to avoid a tough cake.
- Fold in the grated carrots, 1 cup (120g) chopped pecans, and raisins. Mix gently to distribute evenly.
- Divide the batter evenly between the two prepared pans. Smooth the tops. Bake for 35 to 45 minutes. A toothpick inserted in the center should come out clean and the tops should spring back lightly when touched.
- Let the cakes rest in the pans for 15 minutes. Turn them out onto wire racks, remove the parchment, and cool completely to room temperature.
- For the frosting, beat the cream cheese on medium speed for about one minute until smooth. Add powdered sugar and the cornstarch gradually and beat until the mixture is light and fluffy.
- Pour in the cold heavy cream and beat 2 to 3 minutes more until the frosting is airy and holds soft peaks. Chill until ready to use if it becomes too soft.
- Place one cake layer on a serving plate and spread a generous layer of frosting. Set the second layer on top. Frost the top with the remaining frosting, creating swirls or peaks with a spatula. Sprinkle the remaining ½ cup (50g) chopped pecans over the top for texture.
- Refrigerate the assembled cake for at least 30 minutes to let the frosting set. Slice and serve chilled or at room temperature.
Best ways to enjoy it
Serve slices with a strong black coffee or a lightly brewed tea to balance the sweetness. For a brunch spread, plate smaller wedges alongside fresh berries and whipped cream. If you’re presenting the cake at a gathering, keep it chilled until 10 minutes before serving so the frosting shows nice peaks.
Storage and reheating tips
Store any leftover slices in an airtight container in the refrigerator for up to 4 days. The frosting is cream cheese based so refrigeration is necessary for safety. To freeze, wrap individual slices tightly in plastic wrap and place in a freezer-safe container for up to 3 months. Thaw overnight in the refrigerator. If you want the cake softer, let slices sit at room temperature for 20 minutes before serving.
Pro chef tips
- Grate your carrots on the coarse side for texture. If they are very wet, squeeze out a little excess moisture on paper towels to avoid a gummy crumb.
- Bring eggs and cream cheese to room temperature for smoother incorporation. Cold cream cheese can lead to lumps in the frosting.
- Use a light hand folding in the dry mix. Overmixing activates gluten and makes the cake dense.
- Roast the pecans briefly on a sheet at 160°C (325°F) for 6 to 8 minutes to deepen their flavor before folding them in.
- If your frosting becomes too soft while assembling, chill it for 10 minutes; if it’s too stiff, add a teaspoon of cold cream and beat briefly.
In case you want a playful change of format, try these carrot cake cookies for a portable treat that keeps the same flavors in handheld form. Try the carrot cake cookies recipe
Recipe variations
- Pineapple carrot cake: Fold in ½ cup drained crushed pineapple for extra moisture and a tropical twist.
- No-nut version: Omit pecans and add ½ cup extra raisins or toasted coconut flakes for texture.
- Lightened version: Replace half the oil with unsweetened applesauce, reduce brown sugar by 2 tablespoons, and expect a slightly denser but still moist cake.
- Spiced-up: Add ¼ teaspoon freshly grated nutmeg and ⅛ teaspoon ground cloves to the dry mix for autumnal warmth.
Common questions
How long does this cake take to prepare and bake?
Plan about 20 minutes for prep, 35 to 45 minutes for baking, and at least 30 minutes of resting and cooling before frosting. Total active hands-on time is roughly 30 minutes.
Can I make the cakes a day ahead?
Yes. You can bake the layers one day ahead, wrap them tightly and refrigerate. Bring them to room temperature before frosting. The frosting is best made the same day you assemble.
Can I use a different nut or leave the nuts out?
Absolutely. Walnuts are a classic substitute for pecans. If you have nut allergies, omit nuts altogether and increase raisins or add sunflower seeds if you want crunch.
Why is there cornstarch in the frosting?
Cornstarch helps stabilize the frosting and keeps it from becoming overly runny, especially useful when you whip cream into the cream cheese and powdered sugar.
Is it safe to leave the cake at room temperature during a party?
Because the frosting contains cream cheese and heavy cream, do not leave the cake out for more than two hours in warm conditions. Refrigerate any leftovers promptly.
If you try this recipe, small adjustments like toasting the pecans or chilling the frosting briefly can make a big difference. Enjoy the process and the reward of a classic, crowd-pleasing carrot cake.
PrintClassic Carrot Cake
A moist and warmly spiced carrot cake topped with a light cream cheese frosting, perfect for any gathering.
- Prep Time: 20 minutes
- Cook Time: 40 minutes
- Total Time: 60 minutes
- Yield: 12 servings 1x
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Ingredients
- 2 cups (260g) all-purpose flour
- 2 teaspoons baking soda
- ½ teaspoon fine sea salt
- 1 ½ teaspoons ground cinnamon
- 1 cup (200g) granulated sugar
- 1 cup (190g) lightly packed brown sugar
- 2 teaspoons cornstarch
- 1 ¼ cups (140g) powdered sugar
- 1 ¼ cups (295ml) vegetable oil
- 1 teaspoon vanilla extract
- 4 large eggs
- 8 ounces (225g) cream cheese, room temperature
- ⅓ cup (80ml) cold heavy cream
- 3 cups (300g) grated peeled carrots (about 4 medium carrots)
- 1 cup (120g) coarsely chopped pecans
- ½ cup (70g) raisins
- ½ cup (50g) coarsely chopped pecans for topping
Instructions
- Preheat the oven to 350°F (176°C) and prepare two 9-inch round cake pans.
- Whisk together the flour, baking soda, salt, and cinnamon until aerated and lump-free.
- Combine the vegetable oil, granulated sugar, brown sugar, and vanilla in a large bowl until smooth and glossy.
- Add the eggs one at a time, whisking each in completely before adding the next.
- Fold the dry ingredients into the wet ingredients until just combined.
- Incorporate grated carrots, chopped pecans, and raisins gently into the batter.
- Divide the batter evenly between the prepared pans.
- Bake for 35 to 45 minutes or until a toothpick comes out clean.
- Cool the cakes in the pans for 15 minutes, then turn them out onto wire racks to cool completely.
- Beat the cream cheese until smooth, gradually add powdered sugar and cornstarch, then add cold heavy cream and beat until airy.
- Assemble the cake with frosting between layers and on top, sprinkle with chopped pecans.
- Chill for at least 30 minutes before slicing and serving.
Notes
Grate carrots on the coarse side for texture. If very wet, squeeze out excess moisture. Use cold ingredients for smoother frosting. For variations, add crushed pineapple or substitute with walnuts.
Nutrition
- Serving Size: 1 slice
- Calories: 350
- Sugar: 22g
- Sodium: 400mg
- Fat: 18g
- Saturated Fat: 5g
- Unsaturated Fat: 10g
- Trans Fat: 0g
- Carbohydrates: 45g
- Fiber: 2g
- Protein: 5g
- Cholesterol: 90mg









