Step-by-step instructions
- Preheat your oven to 350°F (175°C). Grease and flour a 9×13-inch baking pan.
- In a medium-sized bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger.
- In a separate large bowl, beat the softened butter, granulated sugar, and brown sugar until the mixture is light and fluffy.
- Add the eggs one at a time, ensuring each is well incorporated before adding the next, followed by vanilla extract.
- Gradually mix the dry ingredients into the wet mixture until just combined. Then, fold in the grated carrots, crushed pineapple, and walnuts (if using).
- Pour the batter into your prepared baking pan, spreading it evenly.
- Bake for 30-35 minutes or until a toothpick inserted into the center comes out clean. Allow the cake to cool completely in the pan on a wire rack.
- For the frosting, beat together the softened cream cheese and butter until smooth. Gradually add the powdered sugar, mixing until creamy and smooth. Stir in the vanilla extract.
- Once the cake is completely cool, spread the frosting evenly over the top. Cut into bars and, if desired, garnish with additional chopped walnuts.
How to plate and pair
These carriage cake bars are fantastic all on their own, but you can elevate your serving game! Consider serving them with a dollop of whipped cream or a scoop of vanilla ice cream for an indulgent dessert. A sprinkle of cinnamon or nutmeg can add a lovely touch. They’re also delightful when paired with a cup of tea or coffee, making them the perfect afternoon pick-me-up.
Keeping leftovers fresh
To ensure the best flavor and texture, store any leftovers in an airtight container in the refrigerator, where they will stay fresh for up to a week. If you want to keep them longer, consider freezing them. Just make sure to wrap each bar tightly in plastic wrap and then in foil before placing them in the freezer. They can last up to three months frozen; just thaw them in the fridge overnight before enjoying.
Pro chef tips
- Ensure your ingredients are at room temperature, especially the butter and cream cheese. This promotes better mixing and a smoother frosting.
- Don’t overmix the batter once you’ve added the dry ingredients. Mixing just until combined preserves the cake’s tender texture.
- Try refrigerating the frosted bars for an hour before serving. This allows the frosting to firm up, and they taste even better!
Creative twists
Feel free to experiment with variations! Add raisins or dried cranberries for an extra burst of flavor, or switch out the walnuts for pecans. Want to mix it up further? Try using coconut flakes in the batter or adding an orange zest to the frosting for a citrusy lift! You can even try a vegan version using flax eggs and plant-based butters.

Common questions
How long will it take to prepare these carrot cake bars?
From start to finish, you can expect approximately 1 hour and 15 minutes—about 15 minutes for preparation and 30-35 minutes for baking.
Can I substitute the flour with a gluten-free option?
Absolutely! Many all-purpose gluten-free flours will work well in this recipe.
How can I safely store leftovers?
Keep your leftover carrot cake bars in an airtight container in the refrigerator for up to a week, or freeze them wrapped tightly for up to three months. Always allow baked goods to cool completely before storing.
Embrace the joy of baking these decadent carrot cake bars with cream cheese frosting! They promise to be a delightful addition to any occasion or just a sweet moment for yourself. Enjoy!






