This post may contain affiliate links, view our disclosure policy.

These cream cheese frosted Carrot Cake Bars are homemade & soft-baked, with walnuts, fresh shredded carrots, and warm spices. Top them off with a whipped cream cheese frosting and more walnuts for a delicious springtime or Easter dessert. 

If you’re wanting to serve a crowd then check out my Sheet Pan Carrot Cake Bars or this amazing homemade layered Carrot Cake. 

Cut carrot cake bars with walnuts on top. Some tuned on their side to show the inside of the bars.

Cream Cheese Frosted Carrot Cake Bars

You’re going to love the combination of warm perfectly spiced carrot cake bars topped off with homemade cream cheese frosting.

This recipe yields a 9×13 cake pan of from-scratch carrot cake bars with chunks of chopped walnuts, freshly grated carrots, and warm spices like ginger, cinnamon, and brown sugar.

Overhead shot of the sliced carrot cake bars on a white background.

Ingredients Needed

  • Carrot Cake Bars Ingredients

    • All-Purpose Flour – I prefer using unbleached flour in all my baking. 
    • Cinnamon
    • Baking Soda & Baking Powder – These two work magic together helping the cake bake up tall and thick, and soft-baked. 
    • Salt – Any type of salt will work fine. Kosher salt, sea salt, or regular iodized table salt are all popular options. 
    • Ground Ginger
    • Butter – You can use salted butter or unsalted butter. If using unsalted butter then you’ll want to double the salt measurement. I always use salted butter in all my baking and cooking. 
    • Granulated Sugar
    • Light Brown Sugar – This is packed meaning that you pack it into the measuring cup to measure it out. When you dump it into the mixing bowl it should keep the measuring cup shape (that’s how you know it was packed properly). 
    • Large Eggs
    • Vanilla Extract – For the best flavor use pure vanilla extract.
    • Freshly Grated Carrots – You will need about 6 whole carrots for this recipe. Shred it on the finer side of a cheese grater. Do not buy the pre-shredded carrots at the store! They are too large and thick and won’t work well in this recipe. Shred the carrots yourself. 
    • Chopped Walnuts – These are optional but I highly recommend using them. 
  • Cream Cheese Frosting Ingredients

    • Butter
    • Cream Cheese – For the best taste and texture use full-fat cream cheese and not the reduced-fat or lite options. 
    • Powdered Sugar
    • Vanilla Extract
    • Chopped Walnuts – Optional but I highly recommend using them. 

Labeled ingredients for this recipe

How To Make Carrot Cake Bars in a 9×13 Baking Pan

The ingredients list may be long but it’s actually fairly simple to make these carrot cake bars with the simple to follow steps below. Be sure and read to the bottom of the page where there is a detailed recipe card, a printable option, and a pin it button. 

  • Prep : Spray a 9×13 baking pan with cooking spray OR line it with parchment paper. I prefer lining with a pre-cut parchment paper sheet. Spray the pan first and then that way the parchment paper adhered to the pan better. Heat the oven to 350 degrees F. 
  • Step 1 : Whisk together the dry ingredients in a small mixing bowl until combined well. Set aside. 
  • Step 2 : Cream the butter and sugars together with a hand mixer in a mixing bowl (you can also use a stand mixer) until light in color & fluffy. About 1-2 minutes. Add the eggs, one at a time, mixing after each. Then mix in the vanilla extract. 
  • Step 3 : Add the dry flour mixture and mix on low speed just until incorporated. 
  • Step 4 : Stir in the shredded carrots and walnuts with a spatula or wooden spoon. 
  • Step 5 : Evenly spread the batter into the prepared pan. Bake for 23-25 minutes or until a toothpick inserted into the center comes out clean. Allow the cake to cool completely, inside the pan, before frosting it. 
  • Make The Frosting : Beat the butter and cream cheese until combined. Add the powdered sugar and vanilla extract and beat until mixed well. 
  • Serve : Spread the frosting over top the cooled carrot cake bars and sprinkle on the chopped walnuts. Enjoy!

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Carrot Cake Bars with Cream Cheese Frosting FAQ’s

  • My Bars Came Out Hard. What Did I Do Wrong?

    • There are two reasons that any baked good (like a cake, brownies, or bars) would turn out dense, hard, or more firm. 
      • Over Baked : The most common reason is that the bars or cake was over-baked. The best way to test for doneness is to use a toothpick and poke it into the middle of the bars. If it comes out with wet batter then they’re not done. If the toothpick comes out with moist crumbs or nothing at all, then you’re good to go. The edges of these bars will be golden and look cooked, while the center might still be paler in color and look softer. That’s good! Also, as the bars cool in the warm pan they will cook slightly more – don’t rely on this to actually cook the bars if you take them out of the oven raw cause it won’t work. The cooling time will just help the bars come together and firm up. 
      • Too Much Mixing : The other common reason is that once the flour was added, you beat it or mixed the batter too much. You only need to mix the batter just until the flour is incorporated and no flour streaks or pockets remain. The batter might be lumpy and that’s ok.
  • How To Store Frosted Carrot Cake Bars

    • Because of the cream cheeses frosting these bars need to be stored in the fridge. Cover the pan with plastic wrap or a lid. 
    • Carrot cake bars will keep well in the fridge for up to 5 days. 
  • Why Is There More Butter Than Cream Cheese In The Frosting?

    • I wanted the frosting to be on the firmer side for these bars so that the frosting would keep well on top of the bars, rather than be softer and not keep it’s shape once you cut the bars. Using more butter than cream cheese allows the frosting to be firmer and keep it’s shape and form even after cutting the bars. 
  • Can These Bars Stay at Room Temperature For a Party?

    • Because of the cream cheese in the frosting I don’t recommend keeping these bars out for too long. They will get softer (especially the frosting) as they are out at room temperature. 
    • I only recommend leaving the bars out for up to 1 hour if needed. Otherwise, store them in the fridge and eat/serve them chilled for the best flavor and texture of the bars. 
  • Can I Make This Recipe Ahead of Time?

    • Yes! This is the perfect make-ahead dessert because the bars need to stay cold and they’re best served chilled. 
    • I always make the carrot cake bars and then frost them (once cooled) and cover the pan with a lid. I then keep the bars in the fridge for 8 hours or even up to overnight. 
    • Make these up to 24 hours ahead of serving them. 
    • I think the bars taste much better when eaten chilled. 
    • I do recommend leaving the chopped walnuts off of the frosting until right before serving. 

Side view of these carrot cake cookie bars

Recipe Tips

Here are some of my helpful tips so that you can have success recreating this recipe in your own kitchen ♥

  • Beating Butter + Sugars : It’s important to make sure that this mixture is creamy, fluffy looking, and lighter in color before moving on. You want to really whip lots of air into the butter and sugars which will result in a soft and fluffy bar. about 1-2 minutes. 
  • Cool Completely : Do not frost the bars until they are completely cooled. You can even make the cake the day before and refrigerate it overnight once cooled to room temperature. Make the frosting the next day before it’s time to serve. It’s much easier to frost a cooled cake or a cold cake, and if the cake is cooled it makes the frosting stay on it rather than melt off like it would if the cake was frosted warm. 
  • Don’t Skip The Walnuts : Obviously if there is a nut allergy then please do skip them! But, for anything else, even if you don’t think you like walnuts, use them! They make such a difference in the taste of these bars. That nutty and salty crunch pairs perfectly with the soft cake and soft & sweet frosting. 

Carrot cake bars with some on their side and laid on a parchment paper background.

Overhead close up of this recipe.

More 9×13 Cake Recipes You’ll Love

Cut carrot cake bars with walnuts on top. Some tuned on their side to show the inside of the bars.
Together As Family Logo

Carrot Cake Bars


Author Jessica - Together as Family
Course Cake, Dessert
Cuisine American
Prep Time 25 minutes
Cook Time 25 minutes
Total Time 50 minutes
Servings 20
These cream cheese frosted Carrot Cake Bars are homemade & soft-baked, with walnuts, fresh shredded carrots, and warm spices. Top them off with a whipped cream cheese frosting and more walnuts for a delicious springtime or Easter dessert. 

Ingredients
  

Carrot Cake Bars

  • 2¼ cups all-purpose flour
  • 1 tablespoon ground cinnamon
  • 1 teaspoon baking soda
  • ½ teaspoon baking powder
  • ½ teaspoon ground ginger
  • ¼ teaspoon salt
  • 1 cup (2 sticks) salted butter softened
  • 1 cup granulated sugar
  • 1/2 cup packed light brown sugar
  • 2 large eggs
  • 2 teaspoons vanilla extract
  • 2½ cups finely shredded carrots (about 6 carrots)
  • 1/2 cup chopped walnuts

Cream Cheese Frosting

  • 1 cup (2 sticks) butter softened
  • 4 ounces cream cheese softened
  • 1 pound powdered sugar
  • 2 teaspoons vanilla extract
  • 1/4 cup chopped walnuts

Instructions

  • Preheat oven to 350℉. Spray a 9x13 baking pan with cooking spray and then line it with parchment paper.
    *I lay down a pre-cut parchment paper sheet inside the pan. The cooking spray helps the parchment paper adhere to the pan and stay in place. You can also just spray the pan and omit the parchment paper if wanted.

Carrot Cake Bars

  • In a small mixing bowl whisk together the flour, cinnamon, baking soda, baking powder, ginger, and salt. Set aside.
    2¼ cups all-purpose flour, 1 tablespoon ground cinnamon, 1 teaspoon baking soda, ½ teaspoon baking powder, ½ teaspoon ground ginger, ¼ teaspoon salt
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.
  • In a large mixing bowl using an electric hand mixer, cream together the butter, granulated sugar, and light brown sugar until creamy, fluffy, and lighter in color. About 1-2 minutes.
    1 cup (2 sticks) salted butter, 1 cup granulated sugar, 1/2 cup packed light brown sugar
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.
  • Beat in the eggs, one at a time, mixing after each. Add the vanilla extract and beat until combined.
    2 large eggs, 2 teaspoons vanilla extract
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.
  • Add the flour mixture into the wet egg mixture and beat on low speed just until the flour is incorporated.
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.
  • Stir in the shredded carrots and chopped walnuts.
    2½ cups finely shredded carrots, 1/2 cup chopped walnuts
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.
  • Spread the batter into the prepared pan in an even layer. Bake for 23-26 minutes.
    * A toothpick inserted into the center should come out clean or with moist crumbs on it. When gently touched with your finger, the cake should be somewhat firm but spring back once your finger is lifted off.
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.
  • Let the cake cool completely inside the baking pan before frosting it.

Cream Cheese Frosting

  • Using an electric hand mixer, beat the butter and cream cheese in a mixing bowl until light & fluffy.
    1 cup (2 sticks) butter, 4 ounces cream cheese
  • Add in the powdered sugar and vanilla extract. Beat on low speed, increase speed as needed, until a thick frosting forms.
    1 pound powdered sugar, 2 teaspoons vanilla extract
  • Frost the cake with the cream cheeses frosting and then sprinkle on the chopped walnuts.
    1/4 cup chopped walnuts
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.
  • Slice into squares and enjoy!
    Step by step process photos for how to make carrot cake bars topped with cream cheese frosting.

Notes

Recipe Tips -
  • Beating Butter + Sugars : It's important to make sure that this mixture is creamy, fluffy looking, and lighter in color before moving on. You want to really whip lots of air into the butter and sugars which will result in a soft and fluffy bar. about 1-2 minutes. 
  • Cool Completely : Do not frost the bars until they are completely cooled. You can even make the cake the day before and refrigerate it overnight once cooled to room temperature. Make the frosting the next day before it's time to serve. It's much easier to frost a cooled cake or a cold cake, and if the cake is cooled it makes the frosting stay on it rather than melt off like it would if the cake was frosted warm. 
  • Don't Skip The Walnuts : Obviously if there is a nut allergy then please do skip them! But, for anything else, even if you don't think you like walnuts, use them! They make such a difference in the taste of these bars. That nutty and salty crunch pairs perfectly with the soft cake and soft & sweet frosting. 
Can I Make The Bars Ahead of Time? : Yes! This is the perfect make-ahead dessert because the bars need to stay cold and they're best served chilled. I always make the carrot cake bars and then frost them (once cooled) and cover the pan with a lid. I then keep the bars in the fridge for 8 hours or even up to overnight. 
  • Make these up to 24 hours ahead of serving them. 
  • I think the bars taste much better when eaten chilled. 
  • I do recommend leaving the chopped walnuts off of the frosting until right before serving. 

Nutrition

Calories: 434kcal | Carbohydrates: 52g | Protein: 3g | Fat: 25g | Saturated Fat: 14g | Polyunsaturated Fat: 3g | Monounsaturated Fat: 6g | Trans Fat: 1g | Cholesterol: 75mg | Sodium: 275mg | Potassium: 127mg | Fiber: 1g | Sugar: 39g | Vitamin A: 3369IU | Vitamin C: 1mg | Calcium: 39mg | Iron: 1mg

Did You Make This Recipe?

I'd love to see it! You can share it with me on @togetherasfamilyblog and follow on Pinterest @together-as-family-blog-recipes or Facebook @togetherasfamilyblog for more!

Did you love this recipe?

Make sure to comment below so we can chat about it! Or follow on your favorite social network for even more family recipes.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating