These classic No-Bake Nanaimo Bars are a beloved Canadian dessert made of three irresistible layers: a chocolate-coconut crust, a light and creamy custard filling, and a glossy chocolate topping. They’re easy to make ahead, require no oven, and are perfect for potlucks, holidays, or casual gatherings.

A Cozy Story Behind This Nanaimo Bars Recipe
This recipe takes me back to my college years in Canada. I grew up in Montana and had never heard of Nanaimo bars until a Canadian friend introduced me to them. I loved them immediately and brought the recipe home to share with my mom. They quickly became a favorite—simple to make, rich in flavor, and delightfully nostalgic.
Traditional Nanaimo bars call for vanilla custard powder, a common ingredient in Canada but harder to find elsewhere. Don’t worry if you can’t find it—you can substitute it easily with common pantry items (see the tips section). The finished bars have three distinct textures: a chewy, coconut-studded base, an airy custard layer, and a smooth chocolate top.
Why You’ll Love This Recipe
- Three complementary layers: a chocolate-coconut base, a fluffy custard center, and a rich chocolate glaze.
- No baking required—great for hot days or when you want a quick dessert without the oven.
- Makes ahead beautifully—ideal for parties, holidays, or packed lunches.
- A classic Canadian treat that’s familiar yet special enough for celebrations.
- Flexible pan sizes and easy substitutions make this an accessible recipe for every kitchen.

Ingredients
(See the recipe card below for exact measurements and an easy printable version.)
You’ll need the following ingredients, divided by layer:
For the bottom layer (crust):
- Butter
- Granulated sugar
- Cocoa powder
- One beaten egg
- Graham cracker crumbs
- Shredded coconut (fine or medium)
- Finely chopped almonds
For the middle (custard) layer:
- Butter, softened
- Milk
- Vanilla custard powder (or see substitution below)
- Sifted icing (confectioners’) sugar
For the top layer:
- Semi-sweet chocolate (squares or chips)
- Butter
Classic Nanaimo Bars
16 squares
20 minutes
Chill time included
These Nanaimo bars are a no-bake, layered dessert that’s easy to prepare and perfect for sharing. Layers set in the fridge, then slice easily into squares for serving.
Ingredients (detailed)
- Bottom Layer:
- 1/2 cup butter
- 1/4 cup granulated sugar
- 5 tablespoons cocoa powder
- 1 egg, beaten
- 1 3/4 cups graham cracker crumbs
- 3/4 cup shredded coconut
- 1/2 cup finely chopped almonds
- Middle Layer:
- 1/2 cup butter, softened
- 3 tablespoons milk
- 2 tablespoons vanilla custard powder (or substitute: 2 tbsp cornstarch + 1 tsp vanilla extract + pinch of yellow food coloring)
- 2 cups sifted icing sugar
- Top Layer:
- 4 oz semi-sweet chocolate (or 2/3 cup chips)
- 2 tablespoons butter
Instructions
- Line an 8×8-inch pan with parchment paper, leaving an overhang for easy removal. (A 9×9 pan works too; bars will be slightly thinner.)
- Prepare the bottom layer: In the top of a double boiler or a heatproof bowl set over simmering water, melt the butter with the sugar and cocoa powder.
- Remove from heat briefly and whisk in the beaten egg slowly, stirring constantly until the mixture becomes thick, glossy, and fully cooked.
- Remove from the heat and stir in the graham cracker crumbs, coconut, and chopped almonds until evenly combined.
- Press the mixture firmly into the prepared pan to form an even base. Chill while you make the middle layer.
- Make the custard layer: Beat the butter until light, then add half the milk, the custard powder (or substitution), and half the sifted icing sugar. Mix to combine, then add the remaining milk and icing sugar and whip until the filling is smooth, light, and spreadable.
- Spread the custard layer evenly over the chilled base. Return to the refrigerator until firm.
- For the top layer, melt the chocolate and butter together in a double boiler until smooth. Allow to cool slightly so it remains pourable but not too hot.
- Pour the chocolate over the chilled custard layer and spread to an even thickness.
- Chill the bars until the chocolate is set. To serve, use the parchment overhang to lift the slab from the pan, then slice into 16 squares (or more, for smaller portions).
Notes
A 9×9-inch pan will work if that’s what you have—the bars will be a little thinner but just as delicious. For clean slices, dip a long knife into hot water, wipe it dry, and slice straight down; wipe the blade between cuts.
Step-by-Step Instructions for Nanaimo Bars
Before you begin, line your 8×8 or 9×9 pan with parchment paper and leave a slight overhang on two sides. This creates a handy sling for lifting the bars from the pan after chilling.
For the Bottom Layer:
-

1. Melt butter, sugar, and cocoa; whisk in the egg until glossy. -

2. Stir in crumbs, coconut, and nuts. -

3. Press firmly into the pan and chill.
For the Middle Layer:
-

Whip butter, milk, custard powder (or substitute), and sifted icing sugar until fluffy. -

Spread evenly over the chilled base and refrigerate.
For the Top Layer:
-

Melt chocolate with butter until smooth. -

Spread the slightly cooled chocolate over the chilled custard layer. -

Chill until set and cut into squares.
Helpful Tips When Making These Bars
- Custard powder substitute: If you don’t have vanilla custard powder, use 2 tablespoons cornstarch, 1 teaspoon vanilla extract, and a small pinch of yellow food coloring to mimic color and flavor.
- Sift your icing sugar before measuring to avoid lumps and ensure a smooth, airy filling.
- Chill the layers between steps so the bars cut cleanly and the chocolate layer doesn’t sink into the custard.
- For neat slices, heat a long knife in hot water, dry it, and slice in a single smooth motion; wipe the blade between cuts.

Substitutions and Variations
- Pan size: Use an 8×8 or 9×9 pan. A 9×9 yields thinner slices that are easier to portion for larger groups.
- Portion size: For smaller, bite-sized pieces, slice into 32 squares instead of 16—these bars are rich, and smaller pieces are perfect for dessert trays.
- Swap the almonds for walnuts or pecans, or leave them out for a nut-free version.
Pin It Now, Make It Later
Save this recipe so you can make it when you’re ready—these Nanaimo bars hold up well in the fridge and are a welcome addition to cookie trays, dessert tables, or weekday treats.








