Carrot Cake Nanaimo Bars Recipe — Moist Spiced Dessert Bars

These layered carrot cake Nanaimo bars feature a spiced graham cracker crust, a creamy custard filling, and a silky white chocolate top. They’re an ideal no-bake dessert for spring or Easter when you want the flavors of carrot cake without turning on the oven.

Make them whenever you crave carrot cake but prefer an easy, chilled treat.

Sliced carrot cake bars on a white plate with a glass milk bottle in the background

Yes—these carrot cake bars are inspired by classic Canadian Nanaimo bars. I used the familiar three-layer format as a starting point but swapped chocolate and coconut emphasis for warm carrot cake spices and a creamier middle layer.

Growing up near Nanaimo, British Columbia, Nanaimo bars were a frequent treat on family outings. I’ve long loved the contrast of a chewy base, a smooth center, and a firm top. This recipe keeps that satisfying texture contrast while delivering carrot cake flavor in an approachable, no-bake format.

The result is a spring-ready, fridge-set dessert that looks elegant and tastes like carrot cake in bar form.

Ingredients

FOR THE CRUST

Graham crackers – About 155 g (1 1/4 cups, roughly 10 full sheets) finely ground. Use a food processor for the best fine crumbs, or crush in a sealed bag with a rolling pin.

Unsweetened shredded coconut – 72 g (about 3/4 cup). Use unsweetened (desiccated) coconut so the base isn’t overly moist.

Toasted pecans – 60 g (1/2 cup), finely chopped. Toasting is optional but adds flavor. Walnuts or almonds can be substituted.

Almond flour – 32 g (about 1/3 cup) to add richness and help bind the base. You can substitute additional graham crumbs if needed.

Brown sugar – 50 g (1/4 cup) for caramel notes.

Salt and warm spices – Kosher salt, cinnamon, ground ginger, nutmeg, and ground cloves to create a carrot-cake spice profile.

Vanilla – 1 teaspoon for depth of flavor.

Unsalted butter – 113 g (1/2 cup, 4 oz), melted. Brown the butter for extra nuttiness if desired; it’s optional but adds a lovely depth.

Finely grated carrots – 55 g (about 1/2 cup). Use a microplane or the smallest grater setting so the carrots distribute evenly and the base holds together.

FOR THE FILLING

Unsalted butter – 113 g (1/2 cup) at room temperature.

Cream cheese – 56 g (1/4 cup), full fat and at room temperature for a smooth, tangy base.

Custard powder – 35 g (2 tablespoons). Traditional in Nanaimo bars and adds flavor and structure. If unavailable, substitute the same amount of instant vanilla pudding mix (regular, not sugar-free).

Powdered sugar – 240 g (2 cups), sifted for a smooth filling.

Vanilla extract – 1/2 teaspoon.

Heavy cream – 1 tablespoon to thin the buttercream to a thick but spreadable consistency. Full-fat milk can be used as a substitute.

FOR THE TOPPING

White chocolate – 227 g (8 ounces), finely chopped. Use good-quality white chocolate with simple ingredients for the best texture and flavor.

Neutral vegetable oil – 1 tablespoon (grapeseed, canola or other neutral oil). It thins the melted white chocolate so it pours evenly and forms a glossy, smooth top.

A grouping of bar cookies on a white marble background cut into slices with some turned on their side to show the layers

Frequently asked questions

How do I slice these bars cleanly?

Chill the finished bars in the refrigerator for at least an hour so all layers are firm. Use a long, sharp chef’s knife; warm the blade under hot water, dry it, then slice with steady pressure so the heat helps melt through the white chocolate without cracking it. Wipe and re-warm the knife between cuts for the cleanest slices.

Storage

Store: Keep bars in an airtight container in the refrigerator for up to 7–10 days.

Freeze: Freeze in an airtight container with parchment paper between layers. Thaw overnight in the refrigerator before serving.

Sliced carrot cake bars on a white plate surrounded by carrots, a bowl of coconut on a white marble background

No-bake caveats

This is primarily a no-bake recipe, though there are two optional stovetop steps: toasting pecans and browning butter. Both enhance flavor but are not required for success. The recipe otherwise comes together without using an oven, making it great for warm weather or when you prefer chilled desserts.

A row of sliced carrot cake bars turned on their side and lined up like dominos on a white marble surface with a glass bottle of milk in the background

Top tip

Chill each layer before adding the next. Firm layers prevent mixing and keep sharp separation between the crust, filling, and topping.

Sliced carrot cake bar cookies stacked up on a white plate and a white marble background

Love this recipe? Please
leave a comment and star rating.
★★★★★ Your feedback and adaptations help other bakers!

📖 Recipe

Sliced bars on a white plate with carrots and a jug of milk in the background

Carrot Cake Nanaimo Bars

Three-layer carrot cake flavor without baking: a spiced graham cracker base with toasted pecans and shredded carrots, a creamy custard filling, and a smooth white chocolate topping.
Prep time1 hour
Chilling time1 hour
Total time2 hours
Servings24 bars from an 8 inch square pan

INGREDIENTS

SPICED GRAHAM CRACKER BASE

  • 113 grams unsalted butter, melted (or browned)
  • 60 grams pecans, finely chopped (toasted optional)
  • 155 grams graham crackers, finely ground
  • 72 grams unsweetened shredded coconut
  • 32 grams almond flour
  • 50 grams brown sugar
  • ¼ teaspoon kosher salt
  • 1 teaspoon ground cinnamon
  • ½ teaspoon ground ginger
  • teaspoon ground nutmeg
  • teaspoon ground cloves
  • 1 teaspoon vanilla extract
  • 55 grams carrots, peeled and finely grated

CREAMY CUSTARD FILLING

  • 113 grams unsalted butter, room temperature
  • 56 grams cream cheese, full fat, room temperature
  • 240 grams powdered sugar, sifted
  • 35 grams custard powder (or instant vanilla pudding mix)
  • ½ teaspoon vanilla extract
  • 1 Tablespoon heavy whipping cream (or full-fat milk)

WHITE CHOCOLATE TOPPING

  • 227 grams white chocolate, finely chopped
  • 1 Tablespoon neutral vegetable oil

INSTRUCTIONS

SPICED GRAHAM CRACKER BASE

  • Line an 8-inch (20 cm) square pan with parchment paper, leaving overhang to lift the bars out later.
  • Melt butter in a small pot over medium heat. Optional: continue a bit longer to brown the butter, whisking and watching carefully until it turns golden and smells nutty. Remove from heat and let cool slightly.
  • Optional: Toast chopped pecans in a skillet over medium-low heat until fragrant, 2–5 minutes. Set aside to cool.
  • In a large bowl combine graham cracker crumbs, shredded coconut, chopped pecans, almond flour, brown sugar, salt, and spices. Stir to blend evenly.
  • Add melted butter, vanilla, and finely grated carrots. Mix until the crumbs are completely moistened and the mixture resembles wet sand.
  • Press the mixture firmly and evenly into the prepared pan using the bottom of a measuring cup. Chill in the refrigerator while you make the filling.

CREAMY CUSTARD FILLING

  • In a stand mixer fitted with the paddle (or with a hand mixer), beat room-temperature butter and cream cheese until smooth and fully combined, scraping the bowl as needed.
  • On low speed add powdered sugar, custard powder (or vanilla pudding mix), and vanilla. Mix until incorporated, then add heavy cream and increase speed to high for about one minute until the filling is thick but spreadable.
  • Spread the filling evenly over the chilled crust using an offset spatula. Return the pan to the refrigerator to firm up while you prepare the topping.

WHITE CHOCOLATE TOPPING

  • Melt the chopped white chocolate in a microwave-safe bowl in 15–30 second bursts, stirring between intervals, until just melted and smooth. Alternatively, melt over a double boiler.
  • Stir in the vegetable oil gently until fully incorporated, avoiding introducing air.
  • Pour the melted white chocolate over the chilled filling and quickly tilt the pan to let the chocolate flow into the corners. For the smoothest finish avoid using a tool to spread it.
  • Tap the pan firmly on a towel-covered countertop several times to release any air bubbles, then refrigerate until the chocolate is set, at least one hour.
  • To cut, lift the chilled slab from the pan using the parchment overhang. Run a large chef’s knife under hot water, dry it, then slice slowly and firmly. Wipe and re-warm the knife between cuts for clean edges.

EQUIPMENT

  • 8-inch square metal pan

NOTES

If you don’t have custard powder, use an equal amount of instant vanilla pudding mix (regular, not sugar-free).

The most important step is chilling each layer before adding the next to ensure clean, distinct layers.

Store bars in an airtight container in the refrigerator. If stacking, place parchment between layers.

More bar cookies

  • Raspberry White Chocolate Blondies
  • Lemon Rhubarb Bars
  • Caramel Pecan Shortbread Bars
  • No Bake Key Lime Cheesecake Bars