01 -
Preheat your oven to 350°F (175°C). Grease a 9×13 inch baking pan to prevent sticking.
02 -
In a bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger until evenly combined.
03 -
In a large mixing bowl, cream together the softened butter, granulated sugar, and brown sugar until light and fluffy, about 2–3 minutes.
04 -
Beat in the eggs one at a time, ensuring each is fully incorporated before adding the next. Stir in the vanilla extract.
05 -
Gradually add the dry ingredients to the wet mixture, mixing on low speed until just combined. Avoid overmixing to keep the bars tender.
06 -
Gently fold in the grated carrots, crushed pineapple, and walnuts (if using) until evenly distributed.
07 -
Pour the batter into the prepared baking pan and spread it evenly. Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean. Allow the bars to cool completely in the pan.
08 -
In a mixing bowl, beat together the softened cream cheese and butter until smooth. Gradually add the powdered sugar and vanilla extract, mixing until creamy and well combined.
09 -
Spread the frosting evenly over the cooled carrot cake bars. Cut into squares and serve. Enjoy the perfect balance of spice, sweetness, and creaminess!