Carrot Cake Bars are a delicious and moist dessert. They combine the classic flavors of carrot cake in easy-to-make bars. These bars are perfect for any event and topped with creamy cheese frosting and crunchy nuts. When you make these carrot cake bars, everyone will want more!
Table of Contents
Why You’ll Love These Carrot Cake Bars
- Simple to make – No complicated steps.
- Super moist – Thanks to shredded carrots and pineapple.
- Rich cream cheese frosting – Complements the spiced cake wonderfully.
- Suitable for any occasion – Whether a get-together, snack, or just because!

Ingredients You’ll Need
For the Cake:
- 2 cups all-purpose flour
- 1 ½ teaspoons baking powder
- 1 teaspoon baking soda
- 1 teaspoon cinnamon
- ½ teaspoon nutmeg
- ½ teaspoon salt
- 1 cup white sugar
- ½ cup brown sugar
- 1 cup vegetable oil
- 3 large eggs
- 1 ½ teaspoons vanilla extract
- 2 cups finely grated carrots
- ½ cup crushed pineapple, drained
- ½ cup chopped pecans or walnuts (optional)
For the Cream Cheese Frosting:
- 8 oz cream cheese, softened
- ½ cup unsalted butter, softened
- 2 cups powdered sugar
- 1 teaspoon vanilla extract
How to Make Carrot Cake Bars

Step 1: Make the Cake Batter
- Preheat your oven to 350°F (175°C) and grease a 9×13-inch baking pan.
- In a bowl, mix flour, baking powder, baking soda, cinnamon, nutmeg, and salt.
- In another bowl, combine the sugars and oil, then add eggs one by one, mixing well.
- Stir in vanilla, grated carrots, pineapple, and nuts if using.
- Gradually mix dry ingredients with the wet mixture until just combined.
Step 2: Bake the Cake
- Pour the mixture into the prepared pan and spread it evenly.
- Bake for 30–35 minutes. Insert a toothpick in the center to check if it comes out clean.
- Allow the cake to cool completely in the pan.
Step 3: Make the Frosting
- In a bowl, beat the cream cheese and butter until smooth.
- Slowly add in the powdered sugar, beating until fluffy.
- Add vanilla for extra flavor.
Step 4: Frost and Serve
- Spread the frosting over the cooled cake evenly.
- Sprinkle extra nuts or add caramel sauce on top if desired.
- Cut into bars and enjoy!

More Recipes to Try
FAQs
How can I make them healthier?
Use whole wheat flour, reduce the sugar, or try natural sweeteners.
How do I store carrot cake bars?
Store them in an airtight container in the fridge for up to five days. Let them sit at room temperature for 15 minutes before serving.
Can I make these bars without nuts?
Yes, you can leave out the nuts or replace them with raisins for a chewier texture.
Can I freeze carrot cake bars?
Yes, freeze unfrosted bars in an airtight container for up to three months. Thaw them and frost before serving.
How can I make them even healthier?
Try using whole wheat flour, reducing sugar, or replacing half the oil with applesauce.

Carrot Cake Bars
Ingredients
- 1 ½ cups all-purpose flour
- 1 tsp baking powder
- ½ tsp baking soda
- 1 tsp cinnamon
- ¼ tsp nutmeg
- ¼ tsp salt
- ½ cup vegetable oil
- ½ cup granulated sugar
- ½ cup brown sugar
- 2 large eggs
- 1 tsp vanilla extract
- 1 ½ cups grated carrots
- ½ cup chopped pecans optional
- ½ cup raisins or crushed pineapple optional
- Cream Cheese Frosting:
- 8 oz cream cheese softened
- ¼ cup unsalted butter softened
- 1 cup powdered sugar
- ½ tsp vanilla extract
- Topping:
- ¼ cup caramel sauce
- ¼ cup chopped pecans
Instructions
- Preheat oven and grease a baking pan.
- Whisk dry ingredients together in a bowl.
- Beat oil, sugars, and eggs until smooth. Stir in vanilla and carrots.
- Gradually mix in dry ingredients, then fold in pecans.
- Pour batter into pan and bake until a toothpick comes out clean.
- Cool, then frost with cream cheese frosting.
- Drizzle caramel and sprinkle pecans on top.