Carrot cake is a timeless dessert loved for its moist texture, warm spices, and naturally sweet flavor. Originally inspired by medieval carrot puddings, this classic cake has evolved into the rich, comforting dessert we know today—often finished with a smooth cream cheese frosting. With fragrant cinnamon, nutmeg, and ginger, plus tender carrots and pineapple for extra moisture, this carrot cake is both nostalgic and irresistible.
2 cups all-purpose flour
2 cups granulated sugar
2 teaspoons baking powder
1½ teaspoons baking soda
1 teaspoon salt
1 teaspoon ground cinnamon
½ teaspoon ground nutmeg
¼ teaspoon ground ginger
1 cup vegetable oil
4 large eggs
3 cups grated carrots
1 cup crushed pineapple, drained
2 teaspoons vanilla extract
1 cup chopped walnuts (optional)
Use gluten-free flour for a gluten-free version
Replace granulated sugar with coconut sugar for a lower glycemic option
Swap walnuts for raisins to make it nut-free
Preheat the Oven
Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
Mix Dry Ingredients
In a large bowl, whisk together flour, sugar, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger.
Combine Wet Ingredients
Add the vegetable oil and eggs to the dry ingredients. Mix until smooth and well combined.
Add Flavor and Texture
Stir in grated carrots, crushed pineapple, vanilla extract, and walnuts if using.
Divide the Batter
Evenly pour the batter into the prepared cake pans.
Bake
Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean.
Cool
Let cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.
Frost and Serve
Frost with cream cheese frosting once fully cooled. Slice and enjoy.
Finely grate the carrots for a smoother texture
Drain pineapple well to avoid excess moisture
Do not overmix once the flour is incorporated
Chill before slicing for cleaner cuts if frosted