Decadent Carrot Cake Bars

Featured in: End Your Meal on a High Note

These bars are crazy soft and baked with shredded carrots, sweet spices, and your favorite extras like chopped walnuts or dried fruit. On top, there's a thick and smooth cream cheese spread. They're simple enough for quick weekends but special enough for get-togethers or holidays. You can stash the leftovers in the fridge for five days, or pop them in the freezer for later. Seriously easy and super tasty.

A woman in a kitchen taking a selfie.
By Rosa Rosa
Updated on Sat, 24 May 2025 18:00:27 GMT
Piece of carrot cake topped with walnuts. Pin it
Piece of carrot cake topped with walnuts. | letscookiteasy.com

Chunky, rich carrot cake bars take all the nostalgia of the classic cake and pack it into easy-to-carry squares loaded with cozy spices and slathered with creamy frosting. You get perfect moistness and a dreamy topping in every bite. I whip these up for everything from low-key weekends to big family parties, and they always vanish fast.

These bars first hit our table at my daughter's birthday bash with a butterfly theme. Since then, they're the one treat my family asks for again and again. Even my husband, who usually says he can't stand carrot cake, sneaks seconds.

Irresistible Ingredients

  • Walnuts: Crunchy and full of rich taste, plus you get some healthy fats in the deal
  • Cream cheese: Go for full-fat—this is what makes the frosting so silky and satisfying
  • Fresh carrots: Seriously, grab whole carrots and shred them yourself—pre-cut doesn't cut it on taste or moisture
  • Brown sugar: Deep, caramel sweetness that keeps the bars soft
  • Vegetable oil: Locks in that lasting moisture
  • Cinnamon, nutmeg, ginger: These bring the warm, sweet-spicy backbone everyone expects
  • Baking powder, baking soda: Both do some heavy lifting to make sure the bars are light and fluffy
  • All purpose flour: The simple base that keeps each bar soft without making them heavy

Simple Step-by-Step

Make the frosting magic:
Let your butter and cream cheese hang out on the counter until soft, then blend them smooth. Add your powdered sugar and keep going until you get a nice, creamy swirl.
Chill the bars:
Give the bars a full hour to cool off in the pan before you bring out the frosting gear. Warm bars will melt your hard work fast.
Bake it all up:
Pour the batter into your ready pan, even out the top, and bake about 25 to 30 minutes. You'll know it's done when the center bounces back after a gentle poke.
Stir in the extras:
Fold in your shredded carrots, nuts, and those raisins if you're using them. Work gently so you don't squash all the air out.
Combine the wet with the dry:
Mix the dry mix into your wet mix in three takes. Just stir until you stop seeing streaks. Don't keep going—overmixed bars get tough.
Whip up your wet mix:
Beat together oil, sugars, eggs, and vanilla until a bit pale and smooth, about 2 minutes by hand or 1 minute if you're using a mixer.
Mix your dry bowl:
Stir flour, spices, baking powder, soda, and salt separately to make sure every bite tastes the same. A whisk helps break up any stubborn clumps, especially the spices.
Line your pan:
Sling parchment paper into a 9x13 pan, letting the edges hang over for easy lifting. A little cooking spray under the parchment keeps it from slipping around.
Finish with style:
Smooth on a thick layer of frosting with an offset spatula, swirling the top if you feel fancy. Make the frosting about a quarter-inch tall for the best bite.
A slice of cake with walnuts on top. Pin it
A slice of cake with walnuts on top. | letscookiteasy.com

The way these spices work together totally makes the bars. When it's chilly, I don't hold back on the cinnamon for extra comfort. My grandma always tossed in a little black pepper too—it somehow makes all the other flavors pop, while staying undercover.

Smart Storage Ideas

If you can save any for later, they're even tastier the day after baking. Pop them in a sealed box in the fridge, and you've got five days to enjoy them. The cold gives the frosting a super rich, cheesecake kind of vibe—some of my friends say that's the best way to eat them.

Need to save them for way later? Freeze the bars without any frosting for up to three months. Wrap each square up in plastic wrap and drop them in a zip bag. Let them thaw in the fridge overnight and frost just before you serve—they'll taste brand new.

Swaps and Switch-Ups

These bars are super flexible if you need to tweak them. For gluten-free eaters, use a 1:1 gluten-free flour that has xanthan gum in it. Dairy-avoiders can swap in plant-based cream cheese and butter for the topping—they'll come out nearly the same.

Switch up the veggies too. In the summer, swap out half a cup of carrot for shredded zucchini—makes the bars ultra-moist. Or, lighten the batter by trading half your oil for applesauce. You'll still get that signature tenderness everyone loves.

Fun Ways to Serve

They're tasty straight from the pan, but you can fancy them up. Serve chilled bars with a scoop of vanilla ice cream and a drizzle of caramel for a seriously special dessert.

For a group brunch, cut tiny squares and pair with coffee and fresh fruit. Or wrap bars in parchment, tuck them in a cute tin, and hand them out as edible gifts for birthdays and holidays.

A slice of cake with walnuts on a plate. Pin it
A slice of cake with walnuts on a plate. | letscookiteasy.com

Frequently Asked Questions

→ Can I make these bars ahead of time?

Sure thing! Bake them a day before, then frost when you’re ready to serve. Keep them chilled in the fridge until it’s time to dig in.

→ Can I substitute the vegetable oil?

Go ahead and use applesauce for half the oil to lighten things up, or swap in melted coconut oil if you want a different taste.

→ What add-ins work well with these bars?

Raisins, chopped pecans, or walnuts are a win. For something different, try adding shredded coconut or even cranberries.

→ How do I ensure the bars are moist?

Don’t overbake. Just poke the center with a toothpick—it should come out a bit sticky but not wet.

→ Can I freeze these bars?

Absolutely! Freeze without the topping in a tight container. After thawing, spread the frosting on right before serving.

→ What variations can I try with the frosting?

Add some orange zest for a zing, or mix in cinnamon if you’re into that extra spice kick in the cream cheese frosting.

Decadent Carrot Cake Bars

Fluffy bars made with carrots and spices, slathered with smooth cream cheese topping. Just right for sharing or treating yourself.

Prep Time
20 Minutes
Cook Time
30 Minutes
Total Time
50 Minutes
By Rosa: Rosa

Category: Sweet Desserts

Difficulty: Intermediate

Cuisine: American

Yield: 12 Servings (12 bars)

Dietary: Vegetarian

Ingredients

→ Carrot Cake Bars

01 150 g shredded carrots, finely grated (from about 3 average-sized carrots)
02 100 g white sugar
03 1 teaspoon vanilla essence
04 1/2 teaspoon salt
05 60 g chopped pecans or walnuts, optional
06 1/2 teaspoon baking soda
07 1 teaspoon cinnamon, ground
08 100 g packed brown sugar
09 1/4 teaspoon ground nutmeg
10 75 g raisins, optional
11 190 g plain flour
12 2 large eggs
13 120 ml any vegetable oil of choice
14 1 teaspoon baking powder
15 1/4 teaspoon ground ginger, optional

→ Cream Cheese Frosting

16 240 g powdered sugar
17 57 g room-temperature unsalted butter
18 1 teaspoon vanilla essence
19 225 g softened cream cheese

Instructions

Step 01

Crank up your oven to 175°C and let it preheat. Meanwhile, grease a 23×33 cm pan and line it with parchment paper.

Step 02

Grab a medium-sized bowl and whisk together the flour, salt, baking powder, baking soda, nutmeg, cinnamon, and (if using) ginger.

Step 03

In a big bowl, stir the oil, both sugars (white and brown), vanilla, and eggs until you have a smooth mixture.

Step 04

Slowly add the dry mixture into the wet until it's just blended. Then, fold in the shredded carrots along with the optional nuts and raisins if using.

Step 05

Transfer the batter into the prepared pan and smooth it out. Bake for 25–30 minutes until a toothpick in the center comes out clean, then let the whole thing cool completely in the pan.

Step 06

Beat the cream cheese and butter together until smooth as can be. Gradually stir in the powdered sugar and vanilla until it's light and fluffy.

Step 07

Once the bars are fully cooled, spread the cream cheese icing over the top. Use a spatula to smooth or make swirly designs.

Step 08

Slice the bars into squares and enjoy! Store any leftovers in a sealed container in the fridge for up to five days.

Notes

  1. To make it healthier, swap out half the oil for unsweetened applesauce.
  2. Mix in a little orange zest with the frosting for a refreshing citrus kick.
  3. They freeze great! Keep the bars unfrosted when freezing and frost them after thawing.

Tools You'll Need

  • 9×13-inch pan for baking
  • Parchment sheet
  • Bowls for mixing
  • Whisk for blending
  • Silicone spatula
  • Electric hand mixer or stand mixer

Allergy Information

Please check ingredients for potential allergens and consult a health professional if in doubt.
  • Has gluten (due to the plain flour).
  • Includes dairy (butter, cream cheese).
  • Contains eggs.
  • May include nuts if pecans or walnuts are added.

Nutrition Facts (Per Serving)

It is important to consider this information as approximate and not to use it as definitive health advice.
  • Calories: 320
  • Total Fat: 18 g
  • Total Carbohydrate: 40 g
  • Protein: 4 g