Nanaimo bars are a classic Canadian no‑bake dessert with a crisp chocolate‑coconut base, a sweet buttercream middle, and a glossy chocolate topping. The combination of textures—crunchy, creamy, and smooth—makes them popular at potlucks and holiday gatherings. This version is calibrated for beginners, using simple measurements and clear timing.
Ingredients
The recipe is divided into three layers; each layer has its own short ingredient list so you can prepare them in parallel. All quantities are given in US customary units followed by metric equivalents.
- Base Crust: 1/2 cup (115 g) unsalted butter, melted; 1/4 cup (50 g) granulated sugar; 1/4 cup (30 g) unsweetened cocoa powder; 1 cup (120 g) all‑purpose flour; 1 cup (100 g) sweetened shredded coconut; 1/3 cup (30 g) finely ground almonds (optional).
- Buttercream Filling: 1/2 cup (115 g) unsalted butter, softened; 2 cups (240 g) powdered sugar; 2 tbsp (15 ml) unsweetened cocoa powder; 1 tsp (5 ml) vanilla extract; 2 large egg yolks, pasteurized; 1/4 cup (60 ml) whole milk.
- Chocolate Glaze: 4 oz (115 g) semi‑sweet chocolate, chopped; 2 tbsp (30 g) unsalted butter.
Because the base layer contains raw flour that is not baked, heat‑treat the flour to 160°F (71°C) before measuring, then let it cool. Use pasteurised eggs for the filling; raw eggs and raw flour can harbor harmful bacteria, so keep the batter refrigerated and avoid serving to pregnant people, young children, the elderly, or anyone with a weakened immune system.
Instructions
The method proceeds in three phases: prepare the base, make the buttercream, and finish with the chocolate glaze. Each phase can be completed while another cools, keeping the overall time within the 45‑minute total.
- Pre‑heat the oven to 350°F (177°C). Lightly grease a 9‑inch (23 cm) square baking pan and line the bottom with parchment paper for easy removal.
- Combine melted butter, sugar, cocoa powder, flour, coconut, and almonds in a bowl. Press the mixture firmly into the prepared pan to form an even crust. Bake for 12–15 minutes, until the edges are set but the centre is still soft. Remove from oven and let cool completely, about 10 minutes.
- While the crust cools, beat softened butter in a separate bowl until pale and fluffy, about 2 minutes. Gradually add powdered sugar and cocoa, beating on low speed until smooth.
- Stir in vanilla, pasteurised egg yolks, and milk. Beat on medium speed for 1 minute to create a glossy, thick buttercream. Spread the filling evenly over the cooled crust.
- For the glaze, melt chocolate and butter together in a heat‑proof bowl over simmering water (bain‑marie) or in short 15‑second bursts in the microwave, stirring between bursts until smooth.
- Pour the chocolate glaze over the buttercream, using a spatula to spread it to the edges. Tap the pan gently on the counter to release air bubbles.
- Refrigerate the assembled bars for at least 15 minutes, until the glaze hardens. Use the parchment overhang to lift the slab from the pan, then cut into 12 equal squares.
All baking steps use standard oven performance; the chocolate glaze does not require a specific internal temperature, but it should be fully set before slicing. Allow the bars to sit at room temperature for up to 2 hours before serving; beyond that, keep them refrigerated.
Base Crust
The crust provides the structural foundation and the characteristic chocolate‑coconut crunch. Melting the butter ensures an even texture, while the toasted coconut adds aroma. If you prefer a nut‑free version, omit the ground almonds; the crust will still hold together because the butter and sugar act as a binder.
After mixing, press the dough with the back of a measuring cup to avoid compacting it too tightly; an overly dense crust can become soggy once the filling is added. Let the baked crust cool completely before spreading the buttercream, otherwise the filling may melt and run.
Buttercream Filling
The buttercream is the sweet heart of the bar. Using softened, not melted, butter creates a light, airy texture when creamed. Pasteurised egg yolks add richness without the risk of salmonella; they also help the filling set as it chills.
If the buttercream appears too runny, increase the powdered sugar by ¼ cup (30 g) and beat an additional minute. Conversely, if it is too stiff, add a splash of milk (5‑10 ml) until the desired spreadability is reached. The filling should be thick enough to hold its shape when the bars are cut.
Chocolate Glaze
The glaze gives the final glossy finish and a contrasting bitter note. Melt the chocolate slowly to prevent scorching; a bain‑marie provides gentle, even heat. Adding butter creates a smooth sheen and helps the glaze set quickly when chilled.
For a deeper flavor, use a mix of semi‑sweet and dark chocolate in a 2:1 ratio. If you need a dairy‑free glaze, substitute coconut oil for butter; the texture will be slightly softer but still functional.
Assembly Process
Timing is critical during assembly. The crust should be completely cool before the buttercream is spread; any residual heat will melt the butter and create a soggy layer. Spread the buttercream with an offset spatula, working from the centre outward to achieve an even thickness.
When pouring the chocolate glaze, start in the centre and let it flow outward, using a gentle rocking motion of the pan to cover the edges. After glazing, refrigerate the pan on a flat surface; tilting the pan can cause the glaze to run and create uneven edges.
Serving & Pairing
Serve the bars chilled for a firm bite, or let them sit at room temperature for 10 minutes if you prefer a softer texture. Pair them with a robust black tea, a medium‑roast coffee, or a glass of cold milk. The bars also travel well in a sealed container for lunchboxes or potluck contributions.
For a decorative touch, dust the top with a light sprinkling of cocoa powder or shaved chocolate just before serving. This adds visual contrast without altering the flavor profile.
Variations
To create a caramel‑swirl version, stir ¼ cup (60 g) soft caramel sauce into the buttercream before spreading. The caramel adds a buttery, toasted‑sugar note that complements the chocolate layers.
For a festive holiday twist, replace the shredded coconut with ½ cup (45 g) finely chopped dried cranberries and ¼ cup (30 g) toasted pecans in the crust. The fruit introduces a tart brightness, while the nuts add extra crunch.
Storage & Shelf Life
Refrigerate the bars within 2 hours of preparation; store them in an airtight container for up to 4 days. The chocolate glaze may develop a slight bloom after several days, which is harmless and can be removed by gently warming the bars for a few seconds in the microwave.
For longer storage, wrap the slab tightly in plastic wrap and freeze for up to 2 months. Thaw in the refrigerator overnight before serving; do not thaw at room temperature for more than 2 hours to avoid bacterial growth.
Related
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).