Homemade Carrot Cake with Cream Cheese Frosting
This homemade carrot cake recipe with cream cheese frosting makes an incredibly moist, tender and flavorful cake.

Homemade carrot cake is one of my favorite cakes. The carrots add texture and moisture while the cream cheese frosting adds a layer of richness. This recipe provides plenty of flavor thanks to the spices. It also turns out incredibly moist with a tender crumb.
Why you should make this recipe: Carrot cake is easy to make from scratch. You can use an electric mixer or mix the ingredients by hand! I also included steps for the best cream cheese frosting ever (it’s rich without being too sweet!)


Overview: How to make carrot cake
- Whisk the dry ingredients together in one bowl. Flour, baking soda, baking powder, salt, cinnamon, ginger, nutmeg, cloves.
- Why the wet ingredients in a separate bowl. Beat sugar, brown sugar, vegetable oil and applesauce together until well combined. Then add the eggs and vanilla.
- Combine wet and dry ingredients. Stir flour mixture into wet ingredients just until combined.
- Add the shredded carrots. Fold in carrots until evenly dispersed.
- Bake the cake. Divide batter among cake pans and bake the cake at 350 F for 28 to 30 minutes.
Wondering what cake pans to use? I used three 6-inch round cake pans, but you can also use two 9-inch round cake pans.


Cream cheese frosting for carrot cake
Cream cheese frosting is the best frosting for carrot cake in my opinion. All you need is cream cheese, butter, confectioners’ sugar, vanilla and milk. Beat the cream cheese and butter with an electric mixer until light and fluffy. Add confectioners’ sugar and mix until combined. Mix in vanilla and milk.
Helpful tips
When baking, always use room temperature ingredients. This will help the ingredients blend more smoothly and bake evenly. This is especially helpful for the cream cheese frosting (no lumpy frosting!) Use freshly shredded carrots (grate them yourself) and pat them slightly dry. The carrots will still add moisture to the cake.
Try my magic cake pan release. This paste makes cakes release from the pan with ease! No crumbs left behind. Make the cake ahead of time. Carrot cake is one of those desserts that tastes better the next day. The flavorful spices blend together and the cake remains nice and moist.

Frequently Asked Questions
How to grate carrots for carrot cake: Peel six large carrots and use a box grater to grate them. I like to use the medium size side of the grate so there are pieces of carrot in the cake, but you can use the small size if you prefer. This is personal preference.
Does carrot cake need to be refrigerated? Yes. The cream cheese frosting should be refrigerated to help keep its shape and to stay fresher longer. However, carrot cake may be served at room temperature. The cake by itself (without frosting) may be kept in an airtight container at room temperature.
How long does carrot cake last? The cake will last about 5 days in an airtight container in the refrigerator.
Can you freeze carrot cake? Yes. It actually freezes quite well (cream cheese frosting included). After you layer and frost the cake, place is in the freezer unwrapped. Let it freeze until solid, about 4 hours. Remove it from the freezer and wrap it securely in plastic wrap, then aluminum foil. Store in the freezer for up to one month. Defrost in the refrigerator before serving.

If you enjoy carrot cake, I suggest you try my carrot cake cupcakes! They are a fan favorite. I use a similar recipe to make carrot cake donuts, which have a cream cheese glaze. You can also make a small carrot cake with just one 6-inch round pan.
This homemade carrot cake couldn’t be easier to make and is perfect for Easter, birthdays and more! What occasion are you making this cake for? Let me see on social media by tagging @ifyougiveablondeakitchen and I will share my favorites!

Get the Recipe: Homemade Carrot Cake
Ingredients
Carrot Cake
- 2 ½ cups (312 g) all purpose flour
- 1 ½ teaspoons baking powder
- 1 teaspoon baking soda
- ½ teaspoon salt
- 1 ½ teaspoons cinnamon
- ½ teaspoon ginger
- ¼ teaspoon nutmeg
- Pinch of cloves, (optional)
- 1 cup (200 g) packed light brown sugar
- ½ cup (100 g) granulated sugar
- 1 cup (250 ml) vegetable or canola oil
- ½ cup (125 g) unsweetened applesauce
- 4 large eggs,, room temperature
- 1 teaspoon pure vanilla extract
- 3 cups (390 g) peeled and shredded carrots, slightly patted dry, (about 6 large carrots)
Cream Cheese Frosting
- 2 cups (two 8 ounce blocks or 450 g) cream cheese,, room temperature
- ½ cup (113 g) unsalted butter,, room temperature
- 2 ½ cups (300 g) confectioners' sugar
- 1 teaspoon pure vanilla extract
- Chopped pecans for garnish, (optional)
Instructions
Carrot Cake
- Preheat oven to 350° F. Grease and flour three 6-inch round cake pans (or two 9-inch round cake pans). Set aside.
- In a medium bowl, whisk together flour, baking powder, baking soda, salt, cinnamon, ginger, nutmeg and cloves.
- In a large bowl, beat brown sugar, sugar, vegetable oil and applesauce until the oil is completely absorbed by the sugar (you can do this by hand, but a hand or stand mixer is easier). Add eggs and vanilla. Beat until incorporated. Scrape down the sides and bottom of the bowl.
- Add flour mixture to the wet ingredients. Stir by hand just until combined (it's okay if there are a few flour pockets). Add shredded carrots and stir until incorporated making sure to get any remaining flour bits mixed in.
- Divide batter evenly among pans and bake at 350° F for 28 to 30 minutes, rotating pans halfway through. Cakes are done when a toothpick inserted in the center of one of the cakes comes out clean. Cool in the pans for 10 minutes. Run a butter knife around the edges of the pans and remove cakes. Let them cool completely on a wire rack.
Cream Cheese Frosting
- Make sure your ingredients are room temperature. In a mixing bowl, beat cream cheese and butter with an electric mixer until light and fluffy, about 5 minutes. Add confectioners' sugar and mix until combined. Add vanilla and mix until incorporated.
Assembly
- If the cakes domed while baking, use a serrated knife to level off the cakes.
- Frost the top of one of the cakes, then add a layer of cake on top. Repeat if you baked three layers. Now use an offset spatula or bench scraper to spread a thin layer of frosting around the sides and top of the cake. This will be the crumb coat. Place the cake in the freezer for 15 minutes to set.
- Remove the cake from the freezer (the crumb coat should be harder and set). Again, use an offset spatula or bench scraper to spread frosting around the outside and top of the cake with remaining frosting. Garnish with chopped pecans if desired. Slice and serve.
14 Comments on “Homemade Carrot Cake with Cream Cheese Frosting”
This looks so delicious and yummy! My husband and daughter love carrot cake! Can’t wait to make this!
This looks so pretty and delicious!
That’s one gorgeous cake! Looks absolutely perfect, can’t wait to try it!
This carrot cake looks heavenly! It’s so perfect for my Thanksgiving table!
What a beautiful cake! Definitely going to enjoy this for dessert tomorrow; looks amazing!
I do love a good carrot cake recipe! I have to try this one out!
I need to make a carrot cake for 25 people this Sunday and so I think three 8″ cake rounds should do the trick. From the photos it looks like your cake is on the fluffy side which is what I’m looking for. Do you think I would need to increase batter and make 1.5 to fill the 3 – 8″ pans?? Also I was thinking of adding a small can of crushed pineapple which I would drain until is dry so it doesn’t change the texture of the cake.
Thanks for any advice!
Pam
Hi Pam – Yes, increasing the batter by 1.5 should do the trick. Crushed pineapple may still make the cake a little more moist (even if drained). In the future, use my contact page to get in touch with me more quickly. Let me know how it turns out!
Could this work for a 9×13 pan? I think I’d be adjusting the bake time but will it turn out the same? Sadly I don’t have and round baking dishes so trying to use what I have available.
Hi Annie – I have not made this recipe in a 13×9 pan, but it should work. The baking time will probably be between 30 and 35 minutes.
Hi Haley! This looks delicious! I will be making it for my daughters first birthday!! I’d also like to make about 4 cupcakes for our guests! Any suggestions for cook time?
Hi Sadie – My suggestion would be to make my carrot cake cupcakes and cut the recipe in half. You’ll have 3 extra cupcakes, but maybe you can send them home with your guests! Here’s the recipe: https://www.ifyougiveablondeakitchen.com/carrot-cake-cupcakes-with-cream-cheese-frosting/
If I only wanted a 1 layer cake would I just halve the recipe?
I just found your website and absolutely LOVE it, and this cake is hands down the best carrot cake I have ever made or had. Thank you! I can’t wait to make more of your recipes!