4.75 from 4 reviews

Carrot Cake Bars

Jump to RecipeVideoPrintRate

This post may contain affiliate links. Please read our disclosure policy.

If you’ve ever found yourself craving carrot cake but not in the mood to commit to the whole layer-cake situation, these Carrot Cake Bars are your answer!

They’ve got all the warm spices, sweet carrot flavor, and the soft, moist texture you love in a classic carrot cake, but in a low-effort, one-pan bar form. Speaking of, I love this 9×9-inch baking pan for this recipe!

You’ll love my Carrot Cake Bread, Carrot Cake Cookies, or my Carrot Cake Oatmeal, too!

These Carrot Cake Bars fit the bill for really any Spring occasion. Whether you’re baking for a spring brunch, a cozy fall afternoon, or just need something sweet to go with your coffee, these bars deliver. They’re rich, moist (thanks to melted butter and fresh carrots), and come together in under an hour—no mixer, no fancy tools, and no fuss. Can I get an Amen?!

Plus, they’re easy to dress up with a swirl of cream cheese frosting, a sprinkle of cinnamon, and crushed walnuts.

So grab your grater and let’s get baking—your kitchen is about to smell amazing!

Single slice of carrot cake bar on a rustic green plate with a fork, topped with frosting, walnuts, and cinnamon, with flowers in the background.
Close-up of creamy cream cheese frosting swirled over carrot cake bars, topped with walnut pieces and a dusting of cinnamon.

Ingredient Notes

(For the full recipe, scroll down to the recipe card below)

Flat lay of ingredients for carrot cake bars including shredded carrots, brown sugar, melted butter, eggs, cream cheese, flour, spices, vanilla, and powdered sugar.
  • Flour: Spoon and level your flour (don’t pack it in!) for the most accurate results. I have not tested this recipe with a gluten-free flour, but I usually have success with a 1:1 gf flour.
  • Spices: the usual suspects: cinnamon, nutmeg, ginger, cloves, allspice, and salt. It gives the bars the nostalgic, warm, and cozy flavors. Adjust the spices to your preferences.
  • Melted butter: I love using melted butter in this recipe, as opposed to softened butter, because it gives the bars a rich and moist texture. They’re more dense and buttery like a brownie/blondie than cake-like, in the best way. I also make a lot of my cookie recipes with melted butter for a fudgy, chewy texture like these really good chocolate chip cookies and my viral chocolate chipless cookies.
  • Eggs: The eggs help bind everything together and give the bars structure. Make sure they’re at room temperature for best results—they mix in more easily and help the batter bake evenly.
  • Carrots: Finely grated fresh carrots melt right into the batter, giving you that classic carrot cake flavor and moisture without chunky bits. Pro tip: Skip the bagged pre-shredded kind—they’re often dry and too thick to bake down properly. (I love those bagged carrots for my chopped chicken salad, though! So convenient!)
  • Other ingredients needed: powdered sugar, cream cheese, and brown sugar.
Carrot cake bars cut into squares on parchment paper, topped with cream cheese frosting, cinnamon, and chopped walnuts, surrounded by fresh flowers and cinnamon sticks.

Step by Step Directions

(For the full recipe, scroll down to the recipe card below)

Expert Tips

  • Finely grated carrots: I like to use the small holes on the box grater or even a microplane to grate the carrots finely. The ultra-fine shred is great, so the carrots are evenly distributed throughout the bars instead of big chunks.
  • Add-ins: Feel free to add raisins or walnuts. I am more of a purist when it comes to carrot cake, so I don’t usually like to fold anything into the batter, but a few chopped walnuts on top of the cream cheese for texture is always a good idea.
  • Allow the bars to cool: As with most cakes and bars, these carrot cake bars should be cooled completely before adding the cream cheese frosting.
  • Decorate: use orange and green frosting to make cute little carrots on top of the cream cheese frosting if you’re feeling creative!

Variations / Substitutions

  • Chopped Nuts – Add ½ cup of walnuts or pecans to the batter for crunch and classic flavor.
  • Raisins or Golden Raisins – Add up to ⅓-½ cup for a chewy, lightly sweet surprise.
  • Pineapple – Mix in ¼ cup well-drained crushed pineapple for extra moisture.
  • Dairy-Free – Use plant-based butter and vegan cream cheese for a fully dairy-free version.
  • Gluten-Free – Substitute a 1:1 gluten-free flour blend. Look for blends with xanthan gum for best results.
Close-up of a carrot cake bar with a bite taken out, revealing moist crumb texture, cream cheese frosting, and walnut topping.

Storage / Freezing

  • Fridge: Store in an air-tight container in the fridge for up to 5 days. Bring the bars to room temperature before serving.  
  • Room temperature: Technically, the cream cheese frosting has sugar, which acts as a preservative and prevents the frosting from spoiling as quickly, which is why some say it can be kept at room temperature for a couple of days. The safe answer is to refrigerate, but you do what you feel best!
  • Freezer: It’s better to freeze the bars unfrosted and add the cream cheese topping after thawing. Freeze for up to 2 months.

Do you like raisins in your carrot cake?

Before You Begin! If you make this, please leave a review and rating letting us know how you liked this recipe! This helps our business thrive & continue providing free recipes.

4.75 from 4 reviews

Carrot Cake Bars

Prep: 15 minutes
Cool time: 30 minutes
Cook: 20 minutes
Total: 1 hour 5 minutes
Servings: 9 bars (or you can make them smaller)
My Carrot Cake Bars are a no-fuss recipe that are perfectly spiced, super soft and chewy, and made with a cream cheese frosting!

Ingredients

For the bars

  • 1 1/4 cups all purpose flour, spooned and leveled
  • 2 tsp. ground cinnamon
  • 1/2 tsp. salt
  • 1/4 tsp. ground nutmeg
  • 1/4 tsp. ground ginger
  • 1/4 tsp. ground cloves
  • 1/4 tsp. ground allspice
  • 3/4 cup unsalted butter, melted and slightly cooled
  • 1 1/4 cup dark brown sugar, packed
  • 2 large eggs, room temperature
  • 2 tsp. vanilla extract
  • 1 1/4 cup loosely packed finely grated carrots (~1-2 large carrots grated on the small holes of a box grater) 

For the frosting

  • 4 oz. softened cream cheese
  • 4 Tbsp. softened unsalted butter
  • 2 cups powdered sugar
  • 1/2 tsp. vanilla extract
  • pinch of salt

Last step! If you make this, please leave a review and rating letting us know how you liked this recipe! This helps our business thrive & continue providing free recipes.

Instructions 

  • Preheat and Prep: Preheat the oven to 350°F and line a 9×9-inch pan with parchment paper. Ensure there is a litte overhang to make lifting the bars out of the pan easier.
  • Whisk dry ingredients: in a mixing bowl, whisk together the dry ingredients and set aside. 
    1 1/4 cups all purpose flour, spooned and leveled, 2 tsp. ground cinnamon, 1/2 tsp. salt, 1/4 tsp. ground nutmeg, 1/4 tsp. ground ginger, 1/4 tsp. ground cloves, 1/4 tsp. ground allspice
  • Whisk butter and sugar: in another bowl, whisk the brown sugar and melted butter together, being sure it’s smooth and breaking up any brown sugar pieces.
    3/4 cup unsalted butter, melted and slightly cooled, 1 1/4 cup dark brown sugar, packed
  • Add eggs & vanilla: whisk in eggs, one at a time, followed by the vanilla extract.
    2 large eggs, room temperature, 2 tsp. vanilla extract
  • Fold in dry ingredients and carrots: careful not to over mix, batter will be thick. This is perfect!
    1 1/4 cup loosely packed finely grated carrots (~1-2 large carrots grated on the small holes of a box grater) 
  • Spread in pan: Spread evenly in prepared pan. I know it's a little tricky with thick batter & parchment, but the parchment helps lift the bars out once it bakes!
  • Bake: bake for ~18-20 minutes. Do no over bake or bars will be dry. They will continue to cook more once the pan is removed from the oven, so take out sooner than you think! (All ovens vary, so if they are still very gooey, bake a little longer).
  • Cool & frost: cool completely then make frosting. Using a hand mixer, beat together the softened cream cheese and butter until smooth. Then add in the powdered sugar, vanilla, and salt, beating again until smooth and creamy. If it’s too thick, you can add a splash of milk.
    4 oz. softened cream cheese, 4 Tbsp. softened unsalted butter, 2 cups powdered sugar, 1/2 tsp. vanilla extract, pinch of salt
  • Enjoy: Spread evenly on top of cooled bars, garnish with cinnamon and/or chopped walnuts. Slice & enjoy! 

Video

Notes

  • Mix-ins: Add in nuts or raisins if desired. (~1/2 cup is perfect)
  • Storage: store in an air-tight container in the fridge for up to 5 days. Bring the bars to room temperature before serving.  
 
 
 

Nutrition Information

Serving: 1bar, Calories: 234kcal (12%), Carbohydrates: 32g (11%), Protein: 4g (8%), Fat: 16g (25%), Sodium: 294mg (13%), Sugar: 17g (19%)

Nutritional information is provided as a courtesy and is automatically calculated. It should only be construed as an estimate rather than a guarantee. Ingredients can vary and Kroll’s Korner can’t make any guarantees to the accuracy of this information.

📸 Photos by Megan McKeehan of The Broke Girl Table

This recipe was originally published April 2019, and was updated with a revised recipe and new photos April 2025. Feel free to comment below if you’d like the old recipe and I’d be happy to email it over to you.

Krolls Korner

Krolls Korner

Welcome to my tiny “korner” on the Internet! I am a Registered Dietitian Nutritionist who loves cookies as much as kale. (OK, maybe I like cookies a little bit more but shh, don’t tell anyone). I am so glad you’re here! Follow along for hassle free, realistic and approachable recipes.

Read More
4.75 from 4 votes (2 ratings without comment)
guest
Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

19 Comments
Filter By : All
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Katja

Thank you Tawnie for another amazing recipe!! Super easy to make and so delicious, very moist!

Comment Type
Comment
Jessica

Easy to make and tastes great but the baking time of 26min was no where close to enough for me. I followed the recipe exactly and the entire inside was still dough after 29th of baking. I had to bake it for nearly double the amount of time.

Neha

I am so not over Easter and carrots yet! 😉 Sighting your recipe in the perfect time. Need to try thrm out, they look so tempting!

Tammy

Wow these look fabulous! So thick and loaded with flavor…definitely craving one right now 😀

Kristina

So chock full of flavors that those nuts won’t be missed! This looks like a keeper! Delish!

Jen

This was my first attempt at carrot cake and I’m so happy how it turned out! Will make again this Spring.

Deanne

Yum! I love all things carrot cake and these make me watch to dive right in! Thanks for sharing, I can’t wait to try them out.

Tara | Treble in the Kitchen

YUMMMMM! I love carrot cake 🙂 These sound SO good 🙂

Christina

I like that this is a no-frills recipe with the same delicious taste as fancy carrot cake!

Serena

I ADORE carrot cake from a good bakery. But I’ll admit, I’ve rarely made it. This recipe will change that. Pinning!