Who doesn’t LOVE a slice of carrot cake? This recipe is one grandma has made for decades. We’ve made slight modifications over the years, but this is the best carrot cake recipe we make every Easter.
This homemade carrot cake recipe is packed with chopped pecans and smothered in a delicious cream cheese frosting (a classic pairing) for the perfect bite. This show-stopper is made up of two layers for a beautiful presentation that is so easy to achieve. We kept the decorations simple by sprinkling on a few chopped nuts, but you could easily get creative and pipe on carrots.
While carrot cake is delicious year-round, it’s especially popular in the spring and in Easter. In addition to this recipe, we also love our sheet pan version for feeding a crowd and our Carrot cake cupcakes that are especially popular with the kids.
Why we think you’ll love it:
- The flavor! The spices and tangy cream cheese frosting (preferably a lot) are all divine, making it a great Easter dessert.
- Feeds a crowd. Itโs two layers (twice the cake) โ perfect for feeding everyone!
- A show stopper. The presentation is beautiful, great for special occasions or just because!

Carrot Cake Ingredients
Cake
- Granulated sugar and brown sugar (1 cup each): Sweeten and add moisture, brown sugar brings light caramel notes.
- Vegetable oil (1โ cups): Keeps the crumb soft and moist for days.
- Eggs (4 large): Provide structure and richness for sturdy layers.
- Vanilla extract (2 teaspoons): Warm bakery aroma throughout the cake.
- All-purpose flour (2 cups): Builds the tender yet sliceable crumb.
- Baking soda and baking powder (2 teaspoons and 1 teaspoon): Lift the batter for an even rise.
- Ground cinnamon (2 teaspoons): Classic spice that complements carrots and nuts.
- Salt (ยฝ teaspoon): Balances sweetness and sharpens flavor.
- Grated carrots (3 cups): Add moisture, sweetness, and signature texture. Wash, peel, dry, and use the smallest holes on a box grater to shred carrots, or use a food processor.
- Chopped pecans (1 cup): Nutty crunch in every bite.
Frosting
- Unsalted butter for frosting (ยฝ cup): Creamy base that whips fluffy.
- Cream cheese (8 ounces): Tangy body for that classic frosting flavor.
- Powdered sugar, sifted (3โ4 cups): Sweetens and creates a smooth, spreadable frosting.
- Vanilla extract (1 teaspoon): Rounds out frosting flavor.
- Heavy whipping cream (1โ2 tablespoons): Adjusts frosting to a silky consistency.
- Chopped pecans for frosting (ยฝ cup, optional): Adds texture and a pretty finish. Or walnuts. You can fold the nuts in the frosting or use them to sprinkle on top of the cake. A half cup of Raisins can also be added to this recipe, although we usually leave them out.
Recipe Tips
- You must shred your own carrots. Do not use pre-shredded carrots as they are too dry.
- To avoid over-mixing, combine the wet and dry ingredients separately and fold in the carrots and pecans.
- Use room temperature ingredients as they mix in better than cold ones.
How to Make Homemade Carrot Cake
PREP. Preheat the oven to 350ยฐF. Generously grease two 9-inch round cake pans, or line the pans with parchment paper.


BATTER. In a large bowl use an electric hand mixer, or a stand mixer with the paddle attachment (on medium speed), to beat 1 cup granulated sugar, 1 cup brown sugar, 1 โ cups oil, and 2 teaspoons vanilla until combined. Add 4 eggs, one at a time, beating at low speed after each one.


In another bowl, whisk 2 cups flour, 2 teaspoons baking soda, 1 teaspoon baking powder, 2 teaspoons cinnamon, and ยฝย teaspoon salt.
Add the dry ingredients to the wet ingredients and mix with a wooden spoon, until just combined. Fold in 3 cups grated carrots and 1 cup chopped pecans. Pour batter evenly into the prepared pans.

BAKE. Bake for 36-42 minutes or until a toothpick inserted in the middle comes out clean. Let the cake layers cool in the pans for 10 minutes before turning onto a wire rack. Let cool completely.




FROSTING. In a medium bowl, beat ยฝ cup butter, 8 ounces cream cheese, 3-4 cups powdered sugar, and 1 teaspoon vanilla until smooth. Add 1-2 tablespoons whipping cream until you reach the desired consistency. Fold chopped pecans into the frosting, optional.
- Place 1 cake on your plate, then add frosting to cover. Add a second layer and spread the remaining frosting over the sides of the cake and on top. Pipe on any decorative frosting and decorate with any remaining chopped pecans.


Kristyn’s Recipe Tips
- Grate carrots on small holes for even moisture and a more tender crumb.
- Mix wet and dry just until combined to avoid a dense cake (this is our classic cake tip).
- Line pans with parchment circles for easy release and clean layers.
- Cool layers completely, a short chill helps control crumbs while frosting.

Homemade Carrot Cake Recipe
Video
Ingredients
Cake
- 1 cup granulated sugar
- 1 cup brown sugar
- 1โ cups vegetable oil
- 4 large eggs
- 2 teaspoons vanilla extract
- 2 cups all-purpose flour
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 2 teaspoons ground cinnamon
- ยฝ teaspoon salt
- 3 cups grated carrots, (5-6 medium carrots)
- 1 cup chopped pecans
Frosting
- ยฝ cup unsalted butter, softened
- 1 (8-ounce) package cream cheese, softened
- 3-4 cups powdered sugar, sifted
- 1 teaspoon vanilla extract
- 1-2 tablespoons heavy whipping cream, as needed
- ยฝ cup chopped pecans, optional
Instructions
- Preheat the oven to 350ยฐF. Generously grease two 9-inch round cake pans.
- In a large bowl, beat granulated sugar, brown sugar, oil, and vanilla until combined. Add eggs, one at time, beating on low speed after each one.
- In another bowl, mix flour, baking soda, baking powder, cinnamon and salt. Add to wet ingredients and mix with a wooden spoon, until just combined. Fold in grated carrots and chopped pecans. Pour into the prepared pans.
- Bake for 36-42 minutes or until a toothpick inserted in the middle comes out clean. Let cool in the pans for 10 minutes before turning onto a wire rack. Let cool completely.
Frosting
- In a medium bowl, beat butter, cream cheese, powdered sugar, and vanilla until smooth. Add 1-2 tablespoons whipping cream until you reach the desired consistency. Fold chopped pecans into the frosting, optional.
- Place 1 cake on your plate, then add frosting to cover. Add a second layer and spread the remaining frosting over the tops and sides. Pipe on any decorative frosting and decorate with any remaining chopped pecans.
Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
Recipe FAQ
Wrap baked rounds with plastic wrap and store at room temperature for 1-2 days or wrap again with foil and freeze for 3-4 months.
Store frosting in the refrigerator for 4-5 days or in the freezer for 2-3 months. Allow it to come to room temperature and stir before applying it to the cake.
Lightly cover a frosted cake and store it in the fridge for 24 hours before serving.
Cover the cake with plastic or divide it into airtight containers and refrigerate for up to 4 days or freeze for up to 3 months.
More Like This
Easter Cakes + Cupcakes
Carrot Cake Cupcakes
35 mins
Easter Bunny Cake
52 mins
Carrot Sheet Cake
40 mins
Homemade Strawberry Cake
55 mins
Collections
This recipe was first shared March, 2017.


















Can I substitute olive oil for veg oil?
I personally haven’t, but you could. Just might add a little olive oil flavor.
Avocado oil has a more neutral flavor than olive oil and I have used it in cakes. You could also use unsweetened applesauce for half or all of the oil.
Can you make this in a 10 1/2 โ x 15 1/2 โ jelly roll pan? It is very similar to the amount of ingredients to a recipe for Pumpkin Spice Bars that I bake in my jelly roll pan.
Thanks, canโt wait to try it.
I love carrot cake! Will definetly try it for Easter! Thank you
I am not a baker and this is my first time making this- it really was easy!! And the best part is my husband said it’s better than his mom’s lol!
One of the best carrot cake recipes I’ve tried! So delicious and tasty!
This cake was amazing, my whole family loved it and it was gone before we knew it. I already have plans to make this again!
Love to hear that!! Thank you!
when you said this was an easy cake recipe, you did not disappoint! thank you so much for sharing this delicious cake recipe
You are so welcome!! Thank you for saying that!
I recently needed a dessert that would feed a crowd, and this one was perfect. The carrot cake was moist and delicious and who doesn’t love cream cheese frosting? It was a hit!
Happy to hear that! It sure does feed a crowd, that’s why I love it! Thank you!
Delicious! A big hit at our Easter lunch ๐
Yay!! So glad to hear that!
I Cut this recipe down to 5 servings in An attempt to make a mini cake for two. It turned out perfect and so delish! I made it in a 6โ round pan and Baked it for about the same tIme. Just had to do a little math to bake with the decimal measurements.
Thank you for sharing what you did! So happy you liked it!