I’ve baked this carrot cake so many times that the scent of cinnamon and baking carrots feels like home. This classic carrot cake layers moist, warmly spiced cake with a light cream cheese frosting. It’s a reliable crowd-pleaser for birthdays, coffee mornings, potlucks, or any time you want a comforting, not-too-sweet dessert. If you’re also planning a dessert table, it pairs nicely with other treats like caramel apple cheesecake bars for variety.
Why you’ll love this dish
This cake delivers a lot with straightforward pantry ingredients. The vegetable oil keeps the crumb tender and makes the cake stay moist for days. Grated carrots add natural sweetness and texture, while nuts and raisins give pleasant chew and bite. It’s forgiving for home bakers: no complicated techniques, but the finished cake tastes like you put in a lot more effort than you did.
"A perfectly moist, warmly spiced cake with bright cream cheese frosting — every slice brings back family parties and slow afternoons with a cup of tea."
Step-by-step overview
Before you start, here’s the simple flow so you know what to expect:
- Preheat, prep pans, and mix dry ingredients.
- Whisk wet ingredients, add eggs, and gently combine with dry mix.
- Fold in grated carrots, nuts, and raisins.
- Divide batter into two pans, bake, and cool.
- Whip the cream cheese frosting and assemble the layers.
This recipe moves quickly once ingredients are measured. Expect about 45 to 60 minutes active time plus cooling time.
Gather these items
- 2 cups all-purpose flour (spooned and leveled)
- 2 teaspoons baking soda
- 1/2 teaspoon fine sea salt
- 1 1/2 teaspoons ground cinnamon
- 1 cup granulated sugar
- 1 cup lightly packed brown sugar
- 2 teaspoons cornstarch (for frosting stability)
- 1 1/4 cups powdered sugar
- 1 1/4 cups vegetable oil
- 1 teaspoon vanilla extract
- 4 large eggs
- 8 ounces cream cheese, room temperature
- 1/3 cup cold heavy cream
- 3 cups grated peeled carrots (about 4 medium carrots)
- 1 cup coarsely chopped pecans (plus 1/2 cup extra for topping)
- 1/2 cup raisins
Notes and substitutions:
- For a nuttier texture, swap half the pecans for walnuts.
- If you prefer no raisins, replace them with toasted coconut or extra pecans.
- Use light brown sugar for slightly milder molasses flavor.
Directions to follow
- Preheat oven to 350°F (176°C). Grease two 9-inch round cake pans and line the bottoms with parchment.
- In a medium bowl, whisk the flour, baking soda, salt, and cinnamon until even.
- In a large bowl, whisk the oil, granulated sugar, brown sugar, and vanilla until smooth.
- Add the eggs one at a time to the wet mix, whisking well after each.
- Fold the dry ingredients into the wet mix just until combined. Stop when streaks of flour disappear.
- Gently fold in the grated carrots, 1 cup chopped pecans, and raisins.
- Divide the batter between the prepared pans and smooth the tops.
- Bake 35 to 45 minutes. A toothpick inserted into the center should come out clean or with a few moist crumbs.
- Let the cakes cool in the pans 15 minutes. Turn them out onto wire racks to cool completely.
- For the frosting: beat the cream cheese on medium speed until smooth. Gradually add the powdered sugar and cornstarch, mixing until fluffy. Pour in the cold heavy cream and beat until the frosting is airy and holds soft peaks.
- Place one cake layer on a serving plate. Spread a generous layer of frosting on top. Set the second layer on and frost the top and sides.
- Sprinkle the remaining 1/2 cup chopped pecans over the top. Chill at least 30 minutes before slicing to set the frosting.
Best ways to enjoy it
Serve slices at room temperature so the frosting is creamy and the cake crumb is tender. This cake works well for:
- Afternoon coffee or tea service.
- Brunch buffets where a slightly rustic dessert is welcome.
- Sliced on a dessert platter alongside fresh fruit.
For a fall or crowd-friendly spread, pair a slice with something bright and tart like apple-based bars; one good pairing idea is these caramel apple cheesecake bars for guests who want variety.
Storage and reheating tips
- Room temperature: Cover the cake with a cake dome or plastic wrap and keep it at room temperature for up to 24 hours.
- Refrigerator: Store in an airtight container or wrapped in plastic for up to 5 days. Cream cheese frosting should be refrigerated.
- Freezing: Freeze unfrosted layers tightly wrapped in plastic and foil for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature before frosting.
Food safety note: Because the frosting contains dairy and eggs, keep leftovers refrigerated if not served within a day.
Helpful cooking tips
- Grate carrots by hand for better texture; a box grater produces a more pleasant bite than a food processor.
- Measure flour properly: scoop into the cup and level off. Too much flour makes the cake dense.
- Do not overmix once you add the flour. Overmixing develops gluten and can toughen the cake.
- If your pans brown too quickly, tent with foil for the last 10 minutes of baking.
- Bring cream cheese to room temperature for a lump-free frosting. Cold cream cheese makes a gritty frosting.
Creative twists
- Citrus lift: Add 1 teaspoon orange zest to the batter and a bit to the frosting for brightness.
- Pineapple carrot cake: Fold 1/2 cup crushed pineapple (well-drained) into the batter for moisture and tang.
- Gluten-free: Swap a 1:1 gluten-free flour blend for the all-purpose flour and watch baking times; check doneness with a toothpick.
- Vegan-ish: Oil-based batters are forgiving, but to make a vegan version, replace eggs with flax eggs (4 tbsp ground flax + 12 tbsp water) and use dairy-free cream cheese plus plant-based cream.
FAQ
How long does this take from start to finish?
Active prep is about 30 to 40 minutes. Baking takes 35 to 45 minutes. Allow at least 1 hour for cooling and frosting setup. Plan for about 2 to 2.5 hours total including chilling.
Can I halve the recipe or bake in a sheet pan instead?
Yes. To halve, divide all ingredients by two and bake in a single 8-inch round or 9-inch square pan; check doneness after 25 minutes. For a sheet cake, use a 9×13 pan and reduce baking time; start checking at 25 minutes.
Can I make this ahead of time?
You can bake the layers a day ahead and freeze or refrigerate them well wrapped. Frost the cake the day you serve. Assembled and frosted, the cake keeps in the refrigerator for up to 5 days.
Are the nuts necessary?
No. Nuts add texture and flavor, but you can omit them for nut-free needs. Replace with toasted oats or sunflower seeds for crunch if desired.
How do I keep the frosting from becoming too soft?
Use chilled heavy cream and cold cream cheese when starting the frosting? Actually, use room-temperature cream cheese for smooth blending, then add chilled heavy cream last and whip until airy. If weather is warm, chill the frosted cake for 30 to 60 minutes before serving to firm the frosting.

Classic Carrot Cake
Ingredients
Method
- Preheat oven to 350°F (176°C). Grease two 9-inch round cake pans and line the bottoms with parchment.
- In a medium bowl, whisk the flour, baking soda, salt, and cinnamon until even.
- In a large bowl, whisk the oil, granulated sugar, brown sugar, and vanilla until smooth.
- Add the eggs one at a time to the wet mix, whisking well after each.
- Fold the dry ingredients into the wet mix just until combined. Stop when streaks of flour disappear.
- Gently fold in the grated carrots, 1 cup chopped pecans, and raisins.
- Divide the batter between the prepared pans and smooth the tops.
- Bake for 35 to 45 minutes. A toothpick inserted into the center should come out clean or with a few moist crumbs.
- Let the cakes cool in the pans for 15 minutes. Turn them out onto wire racks to cool completely.
- For the frosting: beat the cream cheese on medium speed until smooth. Gradually add the powdered sugar and cornstarch, mixing until fluffy.
- Pour in the cold heavy cream and beat until the frosting is airy and holds soft peaks.
- Place one cake layer on a serving plate. Spread a generous layer of frosting on top. Set the second layer on and frost the top and sides.
- Sprinkle the remaining 1/2 cup chopped pecans over the top. Chill at least 30 minutes before slicing to set the frosting.


