Nanaimo Bars are a classic Canadian dessert that combines layers of chocolate, custard, and coconut. Named after the city of Nanaimo in British Columbia, these sweet treats are as delicious as they are easy to make.
Line a 9x9-inch square pan with parchment paper or aluminum foil, leaving some overhang on the sides to easily lift the bars out later.
Lightly grease the parchment paper or foil with a bit of butter or non-stick spray.
Prepare the Bottom Layer:
In a saucepan, cook the butter, sugar, and cocoa powder over medium-low heat until the butter is melted, and the sugar is dissolved. Mix well.
1/2 Cup Butter, 1/4 Cup Granulated Sugar, 1/3 Cup Unsweetened Cocoa Powder
In a small bowl, whisk a small amount of the butter mixture into the beaten egg.
1 Large Egg
Then add the egg mixture back into the butter mixture and continue cooking for 2-3 minutes whisking constantly. The mixture will thicken. When it coats a metal spoon or a thermometer reads 160°, remove from the heat.
Stir in the vanilla extract, graham cracker crumbs, and shredded coconut. Mix until combined.
1 Teaspoon Vanilla Extract, 2 Cups Graham Cracker Crumbs, 1 Cup Sweetened Shredded Coconut
Press the mixture firmly into the bottom of a 9x9-inch baking dish. Chill in the refrigerator for 30 minutes.
Prepare the Custard Layer:
In a large bowl, using a handheld electric mixer, beat the softened butter until creamy.
1/2 Cup Butter
Gradually add powdered sugar and custard powder, beating until smooth.