Nanaimo bars are a no-bake Canadian classic: a crumbly chocolate-coconut base, a creamy custard-flavored middle, and a firm chocolate top. This egg-free version keeps all three layers intact by using a simple cornstarch slurry in the base and a splash of milk in the filling, so you get the same texture without any egg. The recipe makes a 9×9-inch (23×23-cm) pan, about 16 bars, and takes roughly 30 minutes of active time plus 2 hours of chilling.
As an Amazon Associate we earn from qualifying purchases.
Ingredients
- 1/2 cup (113 g) unsalted butter, melted
- 1/4 cup (50 g) granulated sugar
- 5 tbsp (30 g) unsweetened cocoa powder
- 1 tsp vanilla extract
- 1 3/4 cups (175 g) graham cracker crumbs (about 12 full sheets, finely crushed)
- 1 cup (80 g) sweetened shredded coconut
- 1/2 cup (60 g) finely chopped walnuts or pecans (optional)
- 2 tbsp (15 g) cornstarch
- 3 tbsp (45 ml) cold water
- For the filling: 1/2 cup (113 g) unsalted butter, softened
- 2 tbsp (15 g) custard powder (or 2 tbsp (16 g) vanilla pudding mix)
- 3 tbsp (45 ml) whole milk
- 2 cups (240 g) powdered sugar, sifted
- For the top: 6 oz (170 g) semisweet or bittersweet chocolate, chopped
- 2 tbsp (28 g) unsalted butter
Handy for this recipe: square baking pan, baking sheet, parchment paper (Amazon search)
Instructions
- Prepare the pan. Line a 9×9-inch (23×23-cm) baking pan with parchment paper, leaving an overhang on two sides for easy removal. Lightly grease the paper.
- Make the base. In a medium saucepan over low heat, melt the 1/2 cup (113 g) butter. Whisk in the granulated sugar, cocoa powder, and vanilla until smooth. In a small bowl, stir the cornstarch with the cold water until dissolved, then add to the saucepan. Cook, whisking constantly, for 1–2 minutes until the mixture thickens slightly. Remove from heat.
- Add dry ingredients. Stir in the graham cracker crumbs, coconut, and nuts (if using) until evenly coated. The mixture should hold together when pressed. If it seems dry, add 1 tablespoon (15 ml) of water.
- Press the base. Transfer the mixture to the prepared pan and press firmly and evenly with the back of a measuring cup or your hands. Chill in the refrigerator for 15 minutes while you make the filling.
- Make the filling. In a medium bowl with an electric mixer, beat the 1/2 cup (113 g) softened butter with the custard powder (or pudding mix) until smooth. Add the milk and beat to combine. Gradually add the sifted powdered sugar, 1/2 cup at a time, beating until light and fluffy. If the filling is too stiff, add milk 1 teaspoon at a time; if too soft, add powdered sugar 1 tablespoon at a time.
- Spread the filling. Dollop the filling over the chilled base and spread evenly with an offset spatula. Return to the refrigerator for 30 minutes to firm up.
- Melt the topping. In a heatproof bowl set over a pot of barely simmering water (or in the microwave in 20-second bursts), melt the chocolate and 2 tablespoons (28 g) butter, stirring until smooth. Let cool for 5 minutes.
- Add the top layer. Pour the melted chocolate over the chilled filling and spread evenly. Refrigerate for at least 1 hour, or until the chocolate is set.
- Slice and serve. Lift the bars out using the parchment overhang. Use a sharp knife warmed in hot water and wiped dry between cuts to slice into 16 squares. Serve chilled or at cool room temperature.
Tips
- Cornstarch slurry is key. The cornstarch and water mixture replaces the egg as a binder in the base. Make sure the slurry is fully dissolved before adding; otherwise you may get small lumps. Cook it briefly with the butter mixture to activate the starch.
- Custard powder substitute. If you cannot find custard powder, vanilla pudding mix works well. Use the same amount (2 tablespoons). The flavor will be slightly different but still authentic.
- Chill between layers. Chilling the base before adding the filling prevents the layers from mixing. Likewise, chilling the filling before adding the chocolate ensures a clean line.
- Storage. Store bars in an airtight container in the refrigerator for up to 5 days. For longer storage, wrap individual bars tightly and freeze for up to 2 months.
Serving Suggestions
Serve these egg-free Nanaimo bars chilled or slightly cool for the cleanest layers. They are rich, so cut them small—about 1-inch squares work well for a party tray. Pair with a cup of hot coffee or tea, or a glass of cold milk. For a dessert spread, arrange them alongside fresh berries or a light fruit salad to balance the sweetness. They also make a great addition to a holiday cookie platter.
Variations
- Nut-free: Omit the walnuts or pecans and increase the graham cracker crumbs by 2 tablespoons (15 g) to keep the base binding properly.
- Gluten-free: Use gluten-free graham crackers or digestive biscuits. Check that the custard powder and other ingredients are gluten-free.
- Different toppings: Replace the semisweet chocolate with dark chocolate for a less sweet bar, or add a teaspoon of espresso powder to the melted chocolate for a mocha flavor.
- Filling flavor: Add 1 teaspoon of peppermint extract to the filling for a mint-chocolate version, or substitute orange extract for a citrus note.
Storage and Reheating
Store the bars in an airtight container in the refrigerator for up to 5 days. Keep them away from strong-smelling foods, as the chocolate can absorb odors. For freezing, wrap each bar individually in plastic wrap and then place in a freezer bag; freeze for up to 2 months. Thaw in the refrigerator overnight before serving. Do not reheat Nanaimo bars—they are meant to be served cold or at cool room temperature. If the chocolate topping softens during serving, return the bars to the refrigerator for 15–20 minutes to firm up.
Frequently Asked Questions
Can I use something other than custard powder? Yes, vanilla pudding mix is a common substitute. Use the same amount (2 tablespoons). The flavor will be slightly less custardy but still delicious. You can also use a combination of cornstarch and vanilla extract, but the texture may be slightly different.
Why did my filling turn out grainy? Graininess usually comes from powdered sugar that wasn’t sifted or from butter that was too cold. Sift the powdered sugar before adding and make sure the butter is truly softened at room temperature. Beat the filling until smooth and fluffy.
Can I make Nanaimo bars ahead of time? Absolutely. These bars actually improve after a day in the refrigerator, as the flavors meld. Make them up to 3 days in advance and store covered in the fridge. Add the chocolate topping just before serving if you prefer a glossy finish, but it’s fine to make the whole thing ahead.
How do I get clean slices? Use a sharp knife dipped in hot water and wiped dry between each cut. Press down firmly in one motion rather than sawing. Chilling the bars thoroughly before slicing also helps.
Can I double the recipe? Yes, use a 9×13-inch pan and increase the ingredients by 1.5 times (not double) to fit the larger area. Baking times remain the same since these are no-bake bars. Chill times may need to be slightly longer.
Are these bars safe for people with egg allergies? This recipe contains no egg, making it suitable for those with egg allergies. However, always check the labels of your graham crackers, custard powder, and chocolate to ensure they are produced in an egg-free facility if cross-contamination is a concern.