Search

Dessert Recipes

Nanaimo Slice Recipe (Classic No-Bake Canadian Bars)

This Nanaimo Slice recipe features a chocolate graham cracker and coconut base, a creamy vanilla custard filling, and a smooth dark chocolate topping. These classic Canadian dessert bars are chilled until firm and sliced into irresistible squares.

By ILHAME · Updated November 19, 2026

Front view of Nanaimo Slice bars with chocolate, custard, and dark chocolate layers..webp
Enlarge image

More images

Prep Time
30 minutes
Chill Time
6 hours
Total Time
6 hours 30 minutes
Servings
12
Difficulty
Medium

This Nanaimo Slice recipe is a delicious no-bake dessert made with three irresistible layers: a chocolate coconut biscuit base, a smooth custard-flavored filling, and a rich chocolate topping. Each square is sweet, creamy, and slightly crunchy, making it a lovely treat for holidays, family gatherings, dessert tables, or an afternoon coffee break.

The best part? You don't need to turn on the oven. Simply prepare the layers, let them chill until firm, and slice into squares. Although Nanaimo bars are traditionally associated with Nanaimo, British Columbia, this version includes a few ingredient variations, including walnuts, for a slightly different take on the familiar Canadian dessert.

Ingredients for Nanaimo Slice including chocolate base, custard filling, and dark chocolate topping.

What Is a Nanaimo Slice?

A Nanaimo slice is a layered, no-bake dessert inspired by the famous Canadian Nanaimo bar. It typically has a crumbly chocolate base, a sweet custard-style middle, and a smooth chocolate layer on top.

The dessert takes its name from Nanaimo, a city in British Columbia. Its exact origins are still debated, but the City of Nanaimo shares the dessert's history and an official version of the recipe on its Nanaimo Bars page.

This homemade version keeps the recognizable three-layer combination while using digestive biscuits or graham cracker crumbs, coconut, and chopped walnuts for texture.

Why You'll Love This Recipe

  • No oven needed: All three layers are prepared without baking.

  • Three delicious textures: The base is chocolatey and slightly crunchy, the middle is creamy, and the topping adds a smooth chocolate finish.

  • Make-ahead friendly: The slices need several hours to chill, so you can prepare them ahead of time.

  • Easy to portion: Once fully set, the dessert can be cut into neat squares for sharing.

  • Great for chocolate lovers: Chocolate, coconut, custard-flavored filling, and a rich topping make every bite satisfying.

Tips for Making the Best Nanaimo Slice

Let the base chill before adding the filling. Press the chocolate biscuit mixture firmly and evenly into the lined pan. Chilling it helps create a stable foundation, so the middle layer is easier to spread.

Use softened butter for the filling. Butter that has softened to room temperature blends more easily with the custard powder, cream, and powdered sugar. This helps create a smoother filling without large lumps.

Spread the middle layer evenly. Take your time when covering the base. An even layer gives the finished slices a more attractive appearance and helps each piece hold together.

Don't overheat the chocolate topping. Melt the chocolate gently with the butter, stirring until smooth. Let it cool slightly before spreading so it doesn't soften the custard layer underneath.

Chill before slicing. The chocolate topping needs time to firm up. For cleaner slices, use a sharp knife warmed briefly in hot water and wiped dry between cuts. You can also lightly score the chocolate once it has started to set but is not completely firm.

A Note About the Egg

The base in this version includes a beaten egg. Because eggs can carry Salmonella when raw or undercooked, don't simply stir an uncooked shell egg into the mixture and chill it.

Use a pasteurized egg product and follow safe cooking guidance. The USDA recommends using a food thermometer to make sure cooked egg mixtures reach 160°F. You can read its guidance in the USDA article about using egg products in uncooked foods.

If you are adapting the method or ingredients, make sure the egg is handled safely before the base is chilled. This is especially important when serving children, pregnant people, older adults, or anyone with a weakened immune system.

Ingredient Substitutions

Digestive biscuits: Graham cracker crumbs are a convenient alternative and work well in the chocolate base. Crush them finely so the mixture presses together evenly.

Walnuts: Chopped pecans can be used instead. You can also leave out the nuts, although the base will have a slightly different texture.

Dark chocolate: Milk chocolate can be used for a sweeter, milder topping. Keep in mind that the finished dessert will taste sweeter.

Custard powder: Custard powder gives the middle layer its familiar custard-style flavor. If you cannot find it, choose a suitable alternative carefully, as replacing it with another powder may change both the flavor and consistency.

How to Store Nanaimo Slice

Keep the slices in an airtight container in the refrigerator for up to 5 days. Separate layers with parchment paper if you need to stack them.

For longer storage, freeze individual portions in a freezer-safe container for up to 3 months. Thaw them overnight in the refrigerator before serving. Keeping the slices chilled helps the filling and chocolate topping maintain their shape.

More Dessert Recipes to Try

If you enjoy easy homemade desserts, try another no-bake favorite such as our Philadelphia No-Bake Cheesecake. It is another chilled dessert that makes a lovely addition to a dessert table.

For more chocolate treats, take a look at our Rocky Road Recipe or Chocolate Cornflake Cakes. You can also browse our collection of Dessert Recipes for more sweet ideas.

Frequently Asked Questions

Do Nanaimo slices need to be baked?

No. Nanaimo slices are a no-bake dessert. The layers are prepared separately and chilled until firm. However, if your version contains egg, handle and cook the egg mixture safely before chilling.

How long do Nanaimo slices take to set?

Allow around 6 hours in total for chilling, depending on your refrigerator and the thickness of the layers. The base and topping each benefit from about 2 hours of chilling, with additional time if needed for the filling and chocolate to firm up.

Can I make Nanaimo slice ahead of time?

Yes. This dessert is well suited to making ahead because it needs several hours to chill. Store it covered in the refrigerator until you're ready to serve.

Why is my Nanaimo slice too soft?

It may need more chilling time, or the base may not have been pressed firmly enough into the pan. Make sure the butter and chocolate layers are not too warm when assembling, and allow the dessert to become fully firm before cutting.

Can Nanaimo slices be frozen?

Yes. Cut the chilled dessert into portions, place them in a freezer-safe container, and freeze for up to 3 months. Thaw overnight in the refrigerator before serving.

This Nanaimo Slice is a lovely make-ahead dessert when you want something chocolatey, creamy, and easy to share. Keep the layers even, give the dessert enough time to chill, and cut it into small squares for a sweet treat everyone can enjoy.

Ingredients

Original recipe (1×) yields 12 servings

Chocolate Coconut Base

  • 1/2 cup Unsalted butter — 115 g
  • 1/4 cup Light brown sugar — 55 g, packed
  • 1/2 cup Unsweetened cocoa powder — 55 g, approximate
  • 1 cup Graham cracker crumbs — 115 g, approximate
  • 1 1/3 cups Unsweetened shredded coconut — 115 g, approximate
  • 1 cup Chopped walnuts — 115 g, approximate
  • large 1 Egg — Beaten; use pasteurized egg and heat the mixture safely

Custard Filling

  • 7 tbsp Unsalted butter — 100 g, softened
  • 1/4 4 tbsp Heavy cream — 4 tbsp
  • 3 tbsp Custard powder
  • 2 cups Powdered sugar — 250 g, approximate

Chocolate Topping

  • 7 oz Dark chocolate — Approximately 200 g
  • 2 tbsp Unsalted butter

Instructions

  1. 1

    Prepare the Pan.

    Line an 8 × 8-inch square baking pan with parchment paper, leaving some overhang on the sides to make removing the finished bars easier.

  2. 2

    Prepare the Chocolate Base.

    In a heatproof bowl set over a saucepan of gently simmering water, combine the butter, brown sugar, and cocoa powder. Stir until melted and smooth. Add the beaten pasteurized egg gradually, stirring continuously. Continue heating the mixture, checking with a food thermometer, until it reaches 160°F. Do not allow the mixture to boil or scramble.

  3. 3

    Add the Crumbs and Coconut

    Remove the bowl from the heat. Stir in the graham cracker crumbs, shredded coconut, and chopped walnuts until everything is evenly coated and combined.

  4. 4

    Press and Chill the Base

    Transfer the mixture into the prepared pan. Press firmly into an even layer, reaching all four corners. Allow it to cool, then refrigerate for approximately 2 hours or until firm.

  5. 5

    Make the Custard Filling

    Sift the powdered sugar and custard powder into a large mixing bowl. Add the softened butter and heavy cream. Beat until smooth, light, and creamy.

  6. 6

    Spread the Custard Layer

    Remove the chilled base from the refrigerator. Spread the custard filling evenly over the chocolate base, smoothing it all the way to the edges. Return the pan to the refrigerator while preparing the topping.

  7. 7

    Melt the Chocolate Topping.

    Melt the dark chocolate and butter together using a double boiler or short microwave intervals, stirring frequently until smooth. Allow the mixture to cool slightly while remaining pourable.

  8. 8

    Add the Chocolate Layer

    Pour the melted chocolate over the custard filling. Spread gently into an even layer, covering the surface and reaching the edges. Refrigerate for approximately 2 hours or until set.

  9. 9

    Slice and Serve.Slice and Serve

    Allow the bars to stand briefly if the chocolate topping is too firm. Score the chocolate before cutting if necessary. Use a sharp knife to cut into 12 even squares, wiping the blade clean between cuts. Serve chilled.

Related Recipes

Reviews

No reviews yet. Be the first to review this recipe!

Write a review

Not published. Used only to verify your review.

0/2000 characters