Preheat your oven to 350°F (175°C). Grease and flour a 9×13 inch baking tray.
In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and cloves.
In a large bowl, beat together the vegetable oil, eggs, granulated sugar, brown sugar, and vanilla extract until smooth and well combined.
Gradually add the dry ingredients to the wet ingredients, mixing until just combined. Fold in the grated carrots and walnuts, if using.
Pour the batter into the prepared tray. Bake for 35-40 minutes, or until a toothpick inserted into the center comes out clean.
While the cake is baking, prepare the frosting. Beat together the butter and cream cheese until smooth. Gradually add the powdered sugar and vanilla, beating until creamy and spreadable.
Allow the cake to cool completely in the tray. Once cool, spread the frosting evenly over the top.
Cut into squares and serve. Enjoy your moist and flavorful Carrot Cake Tray Bake!
ADVERTISEMENT