Nanaimo Bars
Nanaimo Bars Say it: na-NYE-mo bars
Nanaimo bars are a no-bake layered Canadian dessert that originated in the city of Nanaimo on Vancouver Island, British Columbia. They consist of a crumbly coconut-walnut base, a creamy custard-flavored middle layer, and a glossy chocolate top. Sweet, rich, and satisfying, these bars are a beloved treat at potlucks, holiday gatherings, and coffee shops across Canada, prized for their distinctive texture contrast and nostalgic flavor.
Nanaimo Bars
Nanaimo Bars
Pronounced na-NYE-mo bars
- Serves
- 16
- Prep
- 25 min
- Cook
- 10 min
- Total
- 35 min
- Level
- Easy
Allergens: contains gluten, milk, egg, nuts. Check labels on packaged ingredients.
Ingredients
Amounts are scaled. Cooking times and pan sizes stay the same.
Filling
Topping
Method
Line an 8-inch (20 cm) square baking pan with parchment paper, leaving overhang on two sides.
In a medium heatproof bowl set over a saucepan of simmering water, melt the butter, sugar, and cocoa powder, stirring until smooth. Remove from heat and whisk in the beaten egg and vanilla. Return to low heat and cook, stirring constantly, until the mixture thickens slightly, about 2 minutes.
Stir in the graham cracker crumbs, shredded coconut, and chopped walnuts until evenly combined. Press the mixture firmly and evenly into the bottom of the prepared pan. Chill in the refrigerator while preparing the filling.
For the filling, beat the softened butter with an electric mixer until creamy. Add the powdered sugar, 2 tablespoons (30 ml) heavy cream, custard powder, and vanilla. Beat on medium-high speed until light and fluffy, about 3 minutes. If needed, add the remaining 2 teaspoons (10 ml) cream to reach a spreadable consistency.
Spread the filling evenly over the chilled base. Refrigerate for at least 30 minutes until firm.
For the topping, melt the chopped chocolate and butter together in a heatproof bowl set over simmering water, stirring until smooth. Remove from heat and let cool for 5 minutes.
Pour the chocolate mixture over the chilled filling layer and spread gently into an even layer. Refrigerate until the chocolate is completely set, at least 1 hour.
Using the parchment overhang, lift the slab out of the pan and cut into 16 squares with a sharp knife, wiping the blade clean between cuts.
Regional variants
Some bakers add a few drops of peppermint extract to the middle layer for a mint version, or substitute almonds or pecans for the walnuts. Modern twists sometimes include espresso powder in the base or a white chocolate top.
Cook's notes
- Custard powder is traditional and gives the classic flavor and color; if unavailable, substitute with cornstarch plus a few drops of vanilla and a pinch of turmeric for color.
- Keep the bars chilled until ready to serve as they soften at room temperature.
- For clean cuts, run a large knife under hot water and dry it before slicing.
Serve with
Strong coffee or tea; traditionally enjoyed as an afternoon sweet treat.
Make ahead and storage
Store in an airtight container in the refrigerator for up to 1 week. The bars can also be frozen for up to 2 months; thaw overnight in the fridge.





