01 -
Preheat oven to 350°F. Grease and flour two 9-inch round cake pans. Finely shred carrots and chop nuts if using.
02 -
In a large bowl, whisk together flour, baking powder, baking soda, salt, and cinnamon until well combined.
03 -
In a separate bowl, beat together granulated sugar, vegetable oil, eggs, and vanilla extract until smooth and emulsified.
04 -
Gradually add the dry ingredients to the wet mixture, mixing just until incorporated. Fold in shredded carrots and nuts if desired.
05 -
Divide batter evenly between prepared pans and bake for 30 to 45 minutes, or until a toothpick inserted in the center comes out clean. Cool in pans briefly before turning onto wire racks to cool completely.
06 -
Beat softened cream cheese and butter together until smooth. Gradually add powdered sugar and vanilla extract; continue beating until mixture is creamy and spreadable.
07 -
Once cake layers are fully cooled, spread frosting evenly between layers and over the top and sides. Chill for at least 30 minutes before slicing for tidier portions.