These no-bake Canadian bars stack a cocoa-coconut crumb base, vanilla custard buttercream and a thin semisweet chocolate top.
Nanaimo bars are named for Nanaimo, British Columbia. This version follows the City of Nanaimo’s published Joyce Hardcastle recipe, so the three layers and proportions remain anchored to the city’s recognised classic.
Research and testing status
The formula was checked directly against the City of Nanaimo’s official recipe. It has not been personally kitchen-tested by the author.
At a glance
- Active time: 35 minutes
- Total elapsed time: 2 hours 35 minutes, including chilling
- Yield: 25 small bars
- Difficulty: Moderate
- Heat level: None.
- Allergens: Milk, egg, almonds, wheat and coconut. Custard powder may contain additional allergens; check the label.
Why this method works
- A cooked egg binds the crumb base without baking the assembled bar.
- Very soft butter lets the custard layer spread without lifting the base.
- Cooling the chocolate slightly before spreading protects the buttercream.
- Scoring the top before it fully hardens helps prevent cracked chocolate.
Ingredient choices and substitutions
- Vanilla custard powder is part of the classic flavour; instant pudding mix is not an exact substitute.
- Finely chopped walnuts can replace almonds, but the flavour will differ.
- Use fine graham crumbs so the base packs cleanly. Digestive crumbs work but are not the official formula.
- For neat slices, use a warmed dry knife and wipe it between cuts.
Equipment and preparation
20 cm square metal tin; baking paper; saucepan; heatproof bowl; hand mixer; offset spatula; sharp knife.
Before you start: Read the full method, measure all ingredients and keep raw animal products separate from ready-to-eat foods.
Recipe and method
Classic Canadian Nanaimo Bars
Course: DessertCuisine: CanadianDifficulty: Moderate25
servings35
minutes5
minutesIngredients
125 g unsalted butter, plus extra for the tin
50 g granulated sugar
30 g unsweetened cocoa powder
1 large egg, beaten
200 g graham cracker crumbs
65 g finely chopped almonds
75 g unsweetened shredded coconut
125 g unsalted butter, very soft
40 ml whipping cream
30 g vanilla custard powder
250 g icing sugar, sifted
115 g semisweet chocolate, chopped
30 g unsalted butter
Method
- Line a 20 cm square tin with baking paper, leaving an overhang.
- For the base, melt 125 g butter with the sugar and cocoa in a heatproof bowl over barely simmering water.
- Whisk in the egg and cook, stirring, for 2–3 minutes until the mixture thickens slightly. Remove from the heat.
- Stir in the graham crumbs, almonds and coconut. Press firmly and evenly into the tin; chill for 20 minutes.
- Beat the 125 g soft butter, cream and custard powder until smooth. Gradually beat in the icing sugar until light. Spread over the base and chill 45 minutes.
- Melt the chocolate and 30 g butter gently. Cool for 5 minutes, then spread over the firm custard layer.
- Chill for 20–30 minutes until the top is set but not rock hard. Score 25 squares, then chill for another hour before cutting.
Recipe notes
- Makes 25 small bars. Active preparation: 35 minutes. Total elapsed time: 2 hours 35 minutes including chilling. Because the base contains egg, cook it until thickened and do not use raw egg. Nutrition has not been calculated. This researched recipe has not yet been personally kitchen-tested by Around the World in Flavours.
Serving and pairings
Serve chilled but not ice-cold. Canadian icewine is a rich alcoholic pairing; black coffee or unsweetened rooibos is the non-alcoholic option.
Storage and reheating
Refrigerate in a sealed container for up to 5 days, separating layers with baking paper. Freeze cut bars for up to 2 months; thaw in the refrigerator. Keep chilled because the middle layer is butter-based.
Frequently asked questions
Why does the chocolate crack?
Cut while the top is set but still slightly pliable, or warm the knife and use gentle pressure.
Can I omit the nuts?
You can replace the almonds with the same weight of extra graham crumbs, but this is an adaptation and the base will be less rich.
Continue cooking around the world
Try Brazilian brigadeiros or Filipino leche flan.
Sources and photo
The photograph shows Nanaimo bars. Photo by Stephanie Spencer, via Wikimedia Commons, licensed CC BY 2.5 / CC BY-SA 3.0.


