Our Carrot Cake Bars bake cream cheese frosting into the center for a rich, moist, and creamy swirl in every bite. A soft, spiced cake upgrade!

This post may contain affiliate links. Please read our disclosure policy.
Our Carrot Cake Bars take a twist on tradition by baking the cream cheese frosting right into the center instead of layering it on top. The result? A rich, moist cake with a luscious swirl of creamy goodness in every bite. This marbled treat gives classic spiced cake an irresistibly soft, melt-in-your-mouth upgrade!

MY LATEST VIDEOS
Carrot Cake Bars with Cream Cheese Filling
The swirl of cream cheese in this Carrot Cake Bars recipe isn’t just for looks – it’s the secret to making them extra soft and flavorful! As the bars bake, the creamy filling melts into the cake, keeping it moist and adding a tangy sweetness that perfectly complements the spiced carrot cake.
The cream cheese swirl creates pockets of rich flavor throughout, making each bite tender and with a decadent dessert-like taste. Each square is so delicious that you’ll forget you’re sneaking in your daily dose of vegetables!
If you like the concept of a carrot cake recipe that combines the warming spices of carrot cake with the tang of creamy cheesecake, then you will love my carrot cake stuffed cookies, carrot cake cookies, and carrot cake cheesecake bites.
Ingredients for Carrot Cake Bars
 100vw, 800px” data-pin-description=”Carrot Cake Bars ingredients.” data-pin-title=”Carrot Cake Bars – A Soft & Spiced Treat” /></div>
</figure>
<div id=)
- Cream cheese: Make sure that your cream cheese is completely softened to room temperature to achieve a smooth texture swirl. For best results, use full-fat, block-style cream cheese.
- Granulated sugar
- Vanilla extract
- Eggs
- All purpose flour: Feel free to swap the all-purpose flour for gluten-free flour in a 1:1 ratio. I love Bob’s Red Mill but any brand will work.
- Salt
- Baking powder: Be sure to use baking powder and not baking soda.
- Ground cinnamon
- Ground nutmeg
- Unsalted butter
- Light brown sugar
- Carrots
See the recipe card for full information on ingredients and quantities.
How to Make Carrot Cake Bars
- Make The Cream Cheese Mixture: In a medium bowl, use a hand mixer or stand mixer with paddle attachment to beat together the cream cheese and granulated sugar until smooth. Add the vanilla and egg yolk and beat again until smooth. Set aside.
- Make The Dry Mixture: In a separate small bowl, whisk together the flour, baking powder, salt, cinnamon, and nutmeg. Set aside.
- Make The Wet Mixture: In a large bowl, beat together the butter, brown sugar, and granulated sugar until combined. Add the egg and vanilla and beat again.
- Create The Carrot Cake Batter: Add the dry ingredients to the bowl of wet ingredients and mix on low just until fully incorporated. Using a wooden spoon, or offset spatula, fold the shredded carrots into the cake batter.
- Pour In The Pan: Spread half the cake batter into the baking pan. Drop dollops of the cream cheese mixture on top of the batter and cover with the remaining carrot cake batter.
- Start To Swirl: Dollop the remaining cream cheese mixture on top of the batter. Using a butter knife or wooden skewer, swirl the dollops into the carrot cake batter making it marbled, but not mixing the layers.
- Bake The Bars: Bake in the oven at 350 degrees Fahrenheit for 30-35 minutes or until lightly golden around the edges and a toothpick inserted into the center of the cake comes out clean.
- Slice And Serve: Cool completely on a wire rack before slicing and serving. Enjoy!
 100vw, 800px” data-pin-description=”Beat cream cheese, sugar, vanilla, and egg yolk until smooth, mix dry ingredients separately, then combine with wet ingredients and fold in shredded carrots, layer the batter with cream cheese dollops, swirl, and bake until golden.” data-pin-title=”Carrot Cake Bars – A Soft & Spiced Treat” /></div>
</figure>
<div id=)
Tips for Making the Best Carrot Cake Bars
- Pick Your Pan: For best results, line an 8×8 inch, straight-sided metal baking pan with parchment paper and lightly spray with nonstick cooking spray. If using a glass or ceramic baking dish, you may need to adjust the baking time slightly.
- Shred With The Small Side: Be sure to use the fine (or smallest opening) side of a standard box grater for shredding the carrots. This ensures they are mixed well into the batter and the batter bakes up correctly. Preshredded carrots are too thick and large to use in this carrot cake recipe.
- Dessert Is Done: The center of the carrot cake bars should just barely have a little jiggle to them when gently moving the baking pan. If your carrot cake bars are getting a little too dark around the edges before the center is done, you can lightly cover the pan with aluminum foil for the last 5-10 minutes of bake time to prevent the cream cheese swirl from drying out while the carrot cake bars finish baking.
- Create Some Crunch: If desired, you can add ¼ cups finely chopped walnuts or pecans to your carrot cake batter. You will add them when folding in the finely shredded carrots for added flavor and texture to your carrot cake bars.
- Storing Suggestion: When storing sliced carrot cake bars, you can place a piece of parchment paper in between the layers to keep the bars from sticking to each other if stored in a container.
Can You Make Carrot Cake Bars Ahead of Time?
You can absolutely make the bars ahead of time! Simply prepare the batter and cream cheese filling separately, then refrigerate them for up to 24 hours before baking. Allowing the flavors to meld together overnight will enhance the taste and make the baking process quicker when you’re ready. Just make sure to give the mixture a quick stir before assembling and baking.
How to Store and Freeze Carrot Cake Bars
- In The Refrigerator: Once your bars have cooled completely, store them in an airtight container in the fridge for up to 3-4 days. The cream cheese swirl will keep them extra moist and flavorful.
- In The Freezer: For longer storage, wrap the bars tightly in plastic wrap or aluminum foil, then place them in a freezer-safe container or bag. They can be frozen for up to 2 months. When ready to enjoy, simply thaw in the refrigerator overnight. If you’re in a hurry, you can thaw them at room temperature for about 1-2 hours.
