This carrot cake recipe with a homemade cream cheese frosting is my favorite, and I have tried many carrot cakes! It’s moist, easy to make with grated carrots, and so delicious!

Carrot Cake
This carrot cake recipe with a homemade cream cheese frosting is my favorite, and I have tried many carrot cakes! It's moist, easy to make with grated carrots, and so delicious!
Ingredients
Cake:
- 2 cups white sugar
- 1 ¼ cups vegetable oil
- 4 large eggs
- 2 teaspoons vanilla extract
- 2 cups all-purpose flour
- 2 teaspoons baking soda
- 2 teaspoons baking powder
- 2 teaspoons ground cinnamon
- ½ teaspoon salt
- 3 cups grated carrots
- 1 cup chopped pecans Optional
Frosting:
- 4 cups confectioners’ sugar
- 8 ounces cream cheese softened
- ½ cup butter softened
- 1 teaspoon vanilla extract
- 1 cup chopped pecans Optional
Instructions
- Gather all ingredients. Preheat the oven to 350 degrees F (175 degrees C). Grease and flour a 9×13-inch pan.
- Beat white sugar, oil, eggs, and 2 teaspoons vanilla together in a large bowl with an electric mixer until well combined.
- Mix in flour, baking soda, baking powder, cinnamon, and salt; stir in carrots, then fold in 1 cup pecans.
- Pour into the prepared pan.
- Bake in the preheated oven until a toothpick inserted into center comes out clean, about 40 minutes. Cool in the pan for 10 minutes, then turn out onto a wire rack and cool completely.
- Beat confectioners’ sugar, cream cheese, butter, and 1 teaspoon vanilla together in a large bowl with an electric mixer until frosting is smooth and creamy.
- Stir in 1 cup chopped pecans.
- Frost cooled cake. Serve and enjoy!