Nanaimo Bars: An Iconic No-Bake Canadian Treat
Discover how to craft classic Nanaimo bars—from their chewy, nutty base to the creamy custard filling and glossy chocolate topping—with expert tips and variations.

Nanaimo bars are cherished Canadian desserts, celebrated for their irresistible layers and remarkable no-bake preparation. With a chewy chocolate-coconut base, fluffy custard-flavored center, and glossy chocolate topping, these bars are a delight at any gathering or holiday table. This guide dives into the traditional Nanaimo bar recipe, expert techniques, ingredient breakdowns, creative variations, and answers to frequently asked questions.
What Are Nanaimo Bars?
Nanaimo bars are striking three-layer no-bake bars originating from Nanaimo, British Columbia. Each layer has its distinct texture and flavor:
- Bottom layer: Chewy, fudgy base made from graham cracker crumbs, cocoa, coconut, and nuts.
- Middle layer: Sweet, creamy custard-flavored frosting.
- Top layer: Smooth, firm dark chocolate ganache.
This classic treat is easy to customize and is beloved for its decadent, creamy richness balanced by the crunch and chew of the base. Originating in the city of Nanaimo, these bars have become a staple in Canadian households and beyond.
Why You’ll Love Nanaimo Bars
- No baking required: Perfect for hot days or busy kitchens without an oven.
- Rich, layered flavor: Every bite offers a satisfying mix of textures and tastes.
- Make-ahead friendly: Bars can be prepared in advance and stored in the fridge or freezer.
- Customizable: Easy to adapt to suit allergies, special occasions, or creative cravings.
Breaking Down the Classic Nanaimo Bar Layers
1. The Chewy Chocolate-Coconut Base
The base is both structural and flavorful, combining cocoa powder, sweetened shredded coconut, graham cracker crumbs, and finely chopped nuts (usually walnuts or almonds). Melted butter and a touch of sugar bind the ingredients together, while egg is added (tempered carefully to avoid scrambling) for richness and stability. The mixture is pressed firmly into the bottom of a baking pan, forming a thick, dense layer that supports the softer upper tiers.
2. The Creamy Custard-Flavored Frosting
The signature middle layer provides much of the bar’s creamy sweetness. It is not an actual custard but rather a custard-powder-flavored frosting, made with unsalted butter, heavy cream, custard powder (e.g., Bird’s), and powdered sugar. Beat until fluffy and light, then spread over the cooled base. This layer can be tweaked with flavor extracts, or colored for festive occasions.
3. The Glossy Chocolate Ganache
The top layer is a simple mixture of melted semi-sweet chocolate and butter. The cooled but still pourable ganache is spread over the frosted middle, creating a thin, shiny cap. Let the chocolate set before slicing for clean, crack-free bars.
How to Make Nanaimo Bars: Step-by-Step Instructions
To create authentic Nanaimo bars, follow these essential steps:
Ingredients
- Bottom layer:
- 1/2 cup unsalted butter, melted
- 1/4 cup sugar
- 5 tablespoons cocoa powder
- 1 egg, beaten
- 1 1/4 cups graham cracker crumbs
- 1 cup sweetened shredded coconut
- 1/2 cup finely chopped walnuts or almonds
- Middle layer:
- 1/2 cup unsalted butter, at room temperature
- 2 cups powdered sugar
- 2 tablespoons plus 2 teaspoons heavy cream
- 2 tablespoons vanilla custard powder (or substitute instant vanilla pudding powder)
- Top layer:
- 4 ounces semi-sweet chocolate
- 2 tablespoons unsalted butter
Instructions
- Prepare the base:
- Melt butter, sugar, and cocoa in the top of a double boiler or a heatproof bowl set over simmering water.
- Gradually whisk a bit of this hot mixture into the beaten egg to temper, then return the egg mixture into the bowl, whisking constantly. Continue cooking for about 3 minutes until thickened (do not scramble!).
- Remove from heat, then stir in graham crumbs, coconut, and nuts. Press firmly and evenly into an ungreased 8″ x 8″ pan. Chill while preparing the next layer.
- Make the filling:
- Cream butter, powdered sugar, custard powder, and cream together until fluffy and smooth (an electric mixer works best). Spread carefully over the base, smoothing the top.
- Finish with chocolate topping:
- Melt chocolate and butter together over low heat or in a microwave. Set aside to cool to room temperature but keep it pourable. Pour over the custard layer, tilting the pan or gently spreading with a spatula to fully cover.
- Refrigerate bars until chocolate is set.
- Slice and serve:
- Score the chocolate top with a warm knife before the chocolate hardens completely to prevent cracking. Cut bars into 1-inch squares for serving. Enjoy slightly chilled.
Pro Tip:
If the chocolate and custard layers start to swirl together, allow the chocolate to cool further before spreading. Some bakers also add a sprinkle of sea salt to the top or a drop of almond extract in the custard for flavor balance.
Ingredient Notes and Substitutions
- Custard powder: Bird’s Custard Powder is traditional and lends distinct flavor and yellow hue. Instant vanilla pudding powder can be substituted if needed.
- Butter: Unsalted is standard, but using salted butter or a pinch of salt can enhance and balance the richness.
- Graham crumbs: Digestive biscuits or shortbread cookies can also work for a slightly different flavor.
- Nuts: Customize with walnuts, pecans, or almonds, or omit for nut-free bars.
- Coconut: Sweetened, shredded provides texture and moisture; unsweetened may be used for a slightly less sweet result.
Tips for Perfect Nanaimo Bars
- When melting and spreading the chocolate topping, let the mixture cool to avoid melting the middle layer.
- Use a hot, clean knife for slicing to create sharp, neat edges without cracking the chocolate.
- Store bars wrapped in the refrigerator for up to a week, or freeze for up to three months. Thaw in the fridge before serving.
- Customize your bars: add espresso powder to the base for mocha flavor, a dash of mint extract to the filling, or swirl in peanut butter for extra indulgence.
Flavor Variations and Add-Ons
Nanaimo bars are highly adaptable, and many families or bakers enjoy experimenting with flavors or toppings. Some classic and modern tweaks include:
- Mint Nanaimo Bars: Add peppermint extract to the middle layer and use green food coloring for a festive twist.
- Peanut Butter Nanaimo Bars: Blend a heaping spoonful of creamy peanut butter into the frosting layer for extra richness.
- Espresso Nanaimo Bars: Mix a teaspoon of instant espresso powder into the chocolate base for a deeper, slightly bitter coffee accent.
- Fruit Variations: Add finely chopped dried cherries, cranberries, or apricots to the base for tartness and color.
- Gluten-Free Nanaimo Bars: Use gluten-free graham cracker crumbs or almond meal instead of regular crumbs.
Common Issues and Troubleshooting
| Problem | Possible Cause | Fix |
|---|---|---|
| Chocolate top cracks | Chocolate set too hard before cutting | Score with a warm knife while chocolate is still slightly soft |
| Layers blend or swirl | Chocolate poured while too hot | Allow chocolate to cool longer before pouring |
| Custard layer too soft | Too much cream or under-mixed | Add more powdered sugar and whip until stiff |
| Bland or overly sweet bars | Lack of salt or flavor variation | Add a pinch of salt or almond/vanilla extract |
Serving and Storing Nanaimo Bars
- Cut Nanaimo bars into small, 1-inch squares; their richness means a little goes a long way.
- Serve slightly chilled: this keeps the layers distinct and bars easy to handle.
- Refrigerate in an airtight container for up to one week, separating layers with wax or parchment paper to prevent sticking.
- To freeze, wrap each bar in plastic wrap and store in an airtight container for up to 3 months.
Frequently Asked Questions (FAQs)
Q: What is custard powder, and do I really need it?
A: Custard powder is a cornstarch-based mix (often flavored with vanilla) that helps provide the yellow color and distinctive taste to the Nanaimo bar’s creamy filling. If you cannot find it, instant vanilla pudding powder or even homemade vanilla sugar can provide a similar effect, though the flavor and color will be slightly different.
Q: Are Nanaimo bars very sweet?
A: Yes, Nanaimo bars are quite sweet and rich, which is why they’re usually cut into small squares. Some find them a bit bland without salt; you can balance the flavor by using salted butter or adding a pinch of sea salt to the chocolate topping.
Q: Can I make Nanaimo bars ahead of time?
A: Absolutely. Nanaimo bars are perfect for making ahead. They need at least a few hours in the refrigerator to set properly, and the flavor improves as they rest.
Q: Can Nanaimo bars be made nut-free?
A: Yes. Simply omit the nuts or substitute with more graham crumbs or coconut for added texture. Ensure all other ingredients are processed in a nut-free facility if allergies are a concern.
Q: What’s the origin of Nanaimo bars?
A: Nanaimo bars take their name from Nanaimo, a city in British Columbia, Canada, where they are believed to have become popular in the 1950s. The recipe quickly spread in community cookbooks and has since become an iconic Canadian dessert.
Q: How do I get clean, neat slices?
A: For perfect slices, let the bars chill fully, then use a hot, sharp knife (dipped in hot water and wiped dry between cuts). You may also score the chocolate topping lightly once set but before it is fully hard to prevent cracking.
Share the Joy: Nanaimo Bar Inspirations
Classic Nanaimo bars are a blank canvas for creativity. Try:
- Decorating with crushed nuts or sprinkles over the chocolate layer.
- Swirling melted white chocolate into the dark chocolate top for a marbled finish.
- Making mini-bar bites or bite-size rounds using silicone molds for party platters.
- Experimenting with alternative fillings, like caramel, matcha, or freeze-dried fruit powder.
Whether you serve Nanaimo bars at a holiday party, bake sale, or weeknight dinner, these bars are sure to impress with their gorgeous layers and indulgent flavor.










