01 -
Set your oven to 350°F (175°C) ahead of time. Coat two 9-inch round cake pans with oil and dust them with flour.
02 -
In a big bowl, stir together flour, sugar, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger until everything looks evenly spread out.
03 -
Pour the oil and crack the eggs into the bowl with the dry mix. Stir it all up until it’s fully blended.
04 -
Toss in the carrots, pineapple, vanilla, and walnuts (if you want). Mix until it’s all spread out in the batter.
05 -
Split the batter evenly between the two greased pans and smooth out the tops.
06 -
Pop the pans into your oven and bake for 30-35 minutes. A toothpick poked in the middle should come out clean—maybe with just a crumb or two.
07 -
Let the cakes sit in the pans for 10 minutes to cool down. Then, carefully take them out and place on a wire rack to cool all the way.
08 -
When both cakes are completely cool, frost with cream cheese frosting and stack one on top of the other.