Carrot Cake is a classic dessert made with shredded carrots, spices, oil, pineapple, and added pecans for a nutty crunch in every bite. Then, the cake is topped with cream cheese frosting. It’s the perfect cake to share at celebrations, potlucks, or if you are simply craving carrot cake! For the same delicious flavors, try my Carrot Cake Cruffins, too!
Ingredients & Substitutions
Oil: Vegetable or canola oil is added to the cake batter to keep the cake moist and tender. It also helps distribute the flavors and spices more evenly.
Spices: I used the common spices of cinnamon and nutmeg in the batter.
Pineapple: Pineapple isn’t always added to carrot cake, however, I like the added moisture it brings. I also appreciate the flavor and texture the pineapple provides.
Nuts: I love the crunch that comes with added nuts. I used pecans, but almonds, walnuts, and hazelnuts would also be delicious. Of course, you can certainly leave out nuts if preferred.
Frosting: Cream cheese frosting is the traditional choice when it comes to carrot cakes. You could also frost the cake with buttercream, which would also be delicious. I also have another Homemade Carrot Cake with Cream Cheese Frosting that is SO GOOD! Or, surprise everyone by making my Cream Cheese-Filled Carrot Cupcakes with a cream cheese-filled center!
How to Store Carrot Cake
Frosted carrot cake should be stored in the refrigerator, covered, for up to 3-4 days. For longer storage, freeze the cake for up to 3 months. Be sure to save a piece of cake to make my Carrot Cake Milkshake!
More Popular Cakes
Carrot Cake
Ingredients
Cake
- 2 cups (400 g) granulated sugar
- 1 cup (218 g) vegetable oil
- 2 teaspoons vanilla extract
- 4 large eggs, room temperature
- 2 cups (250 g) all-purpose flour
- 2 teaspoons ground cinnamon
- ยฝ teaspoon ground nutmeg
- 2 teaspoons baking soda
- ยฝ teaspoon kosher salt
- 3 cups (330 g) shredded carrots
- 1 cup (109 g) chopped pecans
- 1 can (8 ounces) crushed pineapple, undrained
Cream Cheese Frosting
- 1 package (8 ounces) cream cheese, softened
- ยฝ cup (1 stick / 113 g) butter
- 1 teaspoon vanilla extract
- 4 cups (500 g) confectioners' sugar
Instructions
Cake
- Preheat oven to 350ยฐF. Spray a 9×13-inch baking dish with nonstick cooking spray.
- In a large bowl, beat the sugar, oil, vanilla, and eggs with a mixer until it is a light yellow, about 3 minutes.
- In a separate bowl sift together flour, cinnamon, nutmeg, baking soda, and salt.
- With the mixer on low speed, slowly and gently add the dry ingredients to the oil mixture. Mix until JUST combined. (Can also mix by hand!)
- Fold in the carrots, pecans, and pineapple. Pour the batter into the prepared pan.
- Bake for 45 minutes, or until a toothpick inserted in the center comes out clean. Cool the cake in the pan on a wire rack.
Cream Cheese Frosting
- In a large bowl, beat the cream cheese, butter, and vanilla with an electric mixer onย medium speed until well blended. Gradually add confectioners' sugar, one cup at a time, beating well after each addition.
- Frost the cooled cake with the cream cheese frosting.
Did you make this recipe?
Thank you for making my recipe! You took pictures, right? Well go ahead and post them on Instagram! Be sure to mention me @iambaker and use the hashtag #YouAreBaker.
I love making carrot cupcakes and a cake rabbit or lamb with nuts.
I make Cheese Cake — flavored with Meyer lemons. Soooo good. Sometimes Carrot Cake. I saw someone say she makes pastel colored Macaroons (or is it Macrons?) — the ones with coconut and egg whites. Got to try that.
I always make either Pineapple Upside down cake or Spice cake. My family loves both so we tend to alternate. This year is a pineapple year, MY favorite!! This year I found a pineapple buttercream recipe I’m thinking of using in a 2 layer pineapple upside down, YUMMY!
Strawberry Shortcakes. (I like to make the biscuits with cinnamon. Yum!)
any type of cake in a mold shaped like a lamb! we usually make it for easter! And I love carrot cake, so I may make this in the mold!
I found a recipe for German Chocolate cupcakes with a chocolate ganache I want to try.
Definitely anything lemon!
I always make a flourless chocolate torte with raspberry sauce for Passover.
I need a piece of this carrot cake. I really, really do!
Chocolate cupcakes with frosting tinted with spring colors. Make some for an office b’day last week.