Welcome to the delightful world of Nanaimo bars! This iconic Canadian dessert offers an irresistible combination of textures and flavors, making it a beloved treat across North America and beyond. Featuring a rich, chocolatey coconut crumb base, a creamy, luscious custard filling, and a smooth, decadent chocolate ganache topping, Nanaimo bars are a triple-layered marvel that requires no baking at all. Perfect for sharing at parties, holiday gatherings, or simply indulging your sweet tooth, this recipe promises an easy-to-follow guide to creating these elegant, no-bake squares right in your own kitchen.

Table of Contents
- The Allure of Nanaimo Bars: A Canadian Legacy
- Why This Nanaimo Bar Recipe Stands Out
- Mastering the Ingredients: What You’ll Need and Smart Substitutions
- Step-by-Step Guide: Crafting Classic Nanaimo Bars
- Expert Tips for Perfect Nanaimo Bars
- Frequently Asked Questions About Nanaimo Bars
- More Irresistible Cookie Bar Recipes
Jump to Recipe
No-bake Nanaimo bars are truly the ultimate classic Canadian treat! This layered dessert, celebrated for its unique blend of textures and flavors, features a delightfully chewy chocolate coconut base, a creamy, sweet custard filling, and a soft, glossy chocolate ganache topping. Remarkably easy to prepare without ever needing an oven, these bars are a fantastic choice for any occasion – from casual family potlucks to elegant holiday dessert tables. Their convenient no-bake nature and impressive presentation make them a perennial favorite.
The history of Nanaimo bars traces back to Nanaimo, British Columbia, a charming city on Vancouver Island, where the recipe is widely believed to have been first published in the early 1950s. While their exact origin remains a friendly debate, what is undeniable is their rapid ascent to fame. These deliciously addictive bars have since captured the hearts and palates of dessert lovers not just across Canada, but around the globe, establishing themselves as a true culinary icon.
The Allure of Nanaimo Bars: A Canadian Legacy
There’s something uniquely captivating about Nanaimo bars that makes them an enduring favorite. Perhaps it’s the magical combination of three distinct layers, each contributing its own charm, that culminates in a harmonious symphony of flavor and texture. The bottom layer, a robust mix of chocolate, graham cracker crumbs, coconut, and nuts, provides a satisfying chewiness and rich foundation. Resting atop this is the signature middle layer: a smooth, buttery custard cream that delivers a delightful sweetness and unparalleled richness. Finally, a silky, melt-in-your-mouth chocolate ganache caps it all off, adding a touch of elegance and a final burst of chocolate.
Beyond their exquisite taste, Nanaimo bars are renowned for their ease of preparation. The fact that they are entirely no-bake makes them an ideal dessert for warm weather, busy schedules, or when you simply want to avoid turning on the oven. Their triple-layered structure, revealed in a beautiful cross-section when sliced, makes them visually stunning and a guaranteed showstopper on any dessert platter. Whether you’re a seasoned baker or a novice in the kitchen, these bars offer a rewarding experience with spectacular results.
Why This Nanaimo Bar Recipe Stands Out
Our Nanaimo bar recipe is meticulously crafted to ensure perfect results every time, highlighting what makes this classic Canadian dessert so special:
-
Perfect Harmony of Layers: This recipe delivers a base that is perfectly chewy and rich, harmonizing exquisitely with the smooth, sweet custard filling and the soft, decadent chocolate ganache. Each layer retains its distinct identity, creating a delightful textural contrast with every bite.
-
Effortless No-Bake Preparation: Embrace the convenience of a dessert that requires no oven time. Each layer is simple to assemble, making this an incredibly easy recipe that minimizes fuss and maximizes enjoyment. Ideal for busy days or when you want to impress without the stress of baking.
-
Show-Stopping Presentation: When sliced, these Nanaimo bars reveal their beautiful three-tiered structure, showcasing the dark base, pale yellow filling, and glossy chocolate topping. This makes them an exceptionally attractive addition to any cookie tray, dessert spread, or holiday platter, sure to garner compliments.
-
Excellent Make-Ahead and Storage Options: Planning ahead is a breeze with these bars. They can be stored in the refrigerator for up to one week, allowing you to prepare them well in advance of an event. For longer storage, they freeze exceptionally well for up to three months, making them a fantastic treat to keep on hand for unexpected guests or future cravings.
Mastering the Ingredients: What You’ll Need and Smart Substitutions

Crafting the perfect Nanaimo bar begins with understanding each ingredient’s role. Here’s a detailed look at what you’ll need, along with useful substitution tips:
- Unsalted Butter: Used in all three layers, unsalted butter is crucial as it allows precise control over the overall saltiness of your Nanaimo bars. If you only have salted butter, simply omit the added kosher salt in the base and custard layers, or reduce it to a tiny pinch.
- Graham Crackers: These form the crunchy, sweet foundation of the chocolate coconut base. Their mild sweetness and texture are key. For a different flavor profile, you can substitute with digestive biscuits, vanilla wafers, or even shortbread cookies, ensuring they are crushed into fine crumbs.
- Sweetened Coconut Flakes: These add a delightful chewiness and natural sweetness to the base layer. If you prefer less sweetness or a more intense coconut flavor, unsweetened coconut flakes can be used, though you might consider a slight increase in sugar in the base to compensate.
- Pecans: Providing a wonderful nutty crunch and rich flavor to the base, pecans are a classic choice. Walnuts or almonds make excellent substitutes, offering similar texture and complementary flavors. Ensure nuts are finely chopped for even distribution.
- Kosher Salt: A small amount of salt is essential to balance the sweetness and enhance the depth of flavor in both the chocolate base and the custard filling. Do not skip this!
- Unsweetened Cocoa Powder: This brings the intense chocolate flavor to the base. For the best results, use a high-quality unsweetened cocoa powder. Dutch-processed cocoa will yield a darker color and milder chocolate flavor, while natural cocoa powder will have a slightly fruitier, more acidic note.
- Granulated Sugar: Sweetens the rich chocolate coconut base, contributing to its overall deliciousness.
- Large Egg: Lightly beaten, the egg acts as a vital binding agent in the base, helping the crumbs set into a cohesive layer. Crucially, it is cooked gently over a double boiler, ensuring it is safe to consume in this no-bake recipe.
- Powdered Sugar (Confectioners’ Sugar): Essential for the creamy, smooth texture of the custard filling. Sifting it is highly recommended to prevent lumps and achieve a truly silky consistency.
- Custard Powder: This is the secret ingredient for authentic Nanaimo bars, giving the middle layer its distinctive pale yellow color and rich, creamy custard flavor. Bird’s Original Custard Powder is the traditional choice and can often be found in international grocery stores, specialty food markets like World Market, or conveniently online. If unavailable, a vanilla pudding mix (instant, not cook-and-serve) can be used as a substitute, although the flavor will be slightly different.
- Vanilla Extract: A splash of vanilla enhances the sweet, creamy notes of the custard icing, adding depth and warmth. Use pure vanilla extract for the best flavor.
- Heavy Cream: Used minimally in the custard filling to achieve its luxurious creaminess and significantly in the chocolate ganache topping to create a smooth, pourable consistency and a softer bite once set. Ensure it has at least 36% milk fat for optimal results.
- Semi-Sweet Chocolate: Recommended for the ganache topping to provide a balanced sweetness that complements the rich base and filling. High-quality semi-sweet chocolate chips or chopped baking chocolate work best. For a darker, more intense chocolate flavor, you could opt for dark chocolate (60-70% cocoa), or for a sweeter ganache, milk chocolate can be used, though it may be softer.
Step-by-Step Guide: Crafting Classic Nanaimo Bars
Making Nanaimo bars is a straightforward process, divided into three simple no-bake layers. Follow these detailed steps to create your perfect batch:
Begin by preparing your pan: Line a 9-inch square baking pan with parchment paper, leaving enough excess on the sides to create “handles.” This will make it much easier to lift the finished bars out of the pan. Lightly spray the parchment paper with cooking spray to prevent sticking.
Next, prepare the base mixture: Add the graham crackers, pecans, and coconut to the bowl of a food processor. Blitz them until they form fine, even crumbs. It’s okay if a few slightly larger pieces of graham cracker remain, as they add a nice textural element. Set this mixture aside.

Step 1: Preparing the Chocolate Coconut Base Mixture. In the top bowl of a double boiler, combine the ½ cup unsalted butter, cocoa powder, granulated sugar, and ¼ teaspoon salt. Place this bowl over a pot of simmering water, ensuring the bottom of the bowl does not touch the water. Whisk constantly, stirring gently but continuously, until the butter is completely melted and all ingredients are smoothly combined. Next, carefully add the lightly beaten egg to the mixture. Continue whisking constantly for approximately 1 minute, or until the mixture visibly thickens and achieves a smooth consistency. The heat from the double boiler gently cooks the egg, ensuring food safety.

Step 2: Forming and Chilling the Base. Once the chocolate mixture has thickened, remove it from the heat. Immediately stir in the pre-prepared graham cracker, pecan, and coconut crumb mixture until everything is thoroughly combined and evenly moistened. Transfer this mixture into the bottom of your prepared 9-inch baking pan. Using the back of a spoon, your fingers, or a flat-bottomed glass, press the mixture down firmly and evenly to create a compact, uniform layer. This firm pressing is key to a stable base. Place the pan into the refrigerator to chill and set while you move on to making the creamy custard filling.

Step 3: Preparing the Custard Filling. In the bowl of a stand mixer (or using a hand mixer) fitted with the paddle attachment, combine the ½ cup room temperature unsalted butter, powdered sugar (preferably sifted to avoid lumps), custard powder, vanilla extract, and 3 tablespoons of heavy cream. Start mixing on a low speed to gently combine all the ingredients and prevent the powdered sugar from flying out of the bowl. Once combined, increase the speed to medium and beat for about 2-3 minutes, or until the mixture becomes wonderfully light, fluffy, and creamy. Ensure there are no lumps and the consistency is smooth.

Step 4: Layering the Custard Filling. Remove the pan containing the chilled chocolate coconut base from the refrigerator. Carefully and evenly spread the prepared creamy custard filling over the firm base layer. An offset spatula works best for achieving a smooth and uniform layer from edge to edge. Once the custard is spread, return the pan to the refrigerator for at least 30 minutes, or place it in the freezer for 15 minutes. This chilling time is crucial for the custard layer to firm up properly, preventing it from mixing with the warm ganache and ensuring perfectly distinct layers.

Step 5: Preparing the Chocolate Ganache Topping. In the top bowl of a double boiler, combine the chopped semi-sweet chocolate, 2 tablespoons of unsalted butter, and 2 tablespoons of heavy cream. Place this bowl over simmering water, again ensuring the bottom of the bowl does not touch the water. Stir constantly and gently until the chocolate is completely melted and the mixture is entirely smooth, glossy, and uniform. Be careful not to let any water get into the chocolate, as this can cause it to seize. Once smooth, remove from heat.

Step 6: Finishing with Ganache and Final Chill. Retrieve the pan with the chilled custard layer from the refrigerator or freezer. Carefully pour the warm, smooth chocolate ganache topping evenly over the firm custard layer. Working quickly but precisely, use an offset spatula or the back of a spoon to spread the ganache from edge to edge, creating a smooth and even surface. Return the pan to the refrigerator for at least 1 hour, or until the ganache is completely set and firm. For the cleanest cuts, see the tips below regarding scoring the chocolate layer before the final chill.
Expert Tips for Perfect Nanaimo Bars
Achieving Nanaimo bar perfection is easier with these expert tips and tricks:
-
Efficient Crumb Base Preparation: Utilizing a food processor for the graham crackers, pecans, and coconut is a game-changer. It quickly and uniformly chops and combines these ingredients, ensuring a consistent texture for your base. If you don’t have a food processor, place the ingredients in a large zip-top bag and crush them with a rolling pin.
-
Mastering the Double Boiler Technique: A double boiler is your best friend when making both the base and the ganache topping. It provides gentle, indirect heat, preventing scorching or curdling. To create a makeshift double boiler, simply place a heat-proof mixing bowl snugly over a pot of simmering (not boiling) water, ensuring the bottom of the bowl does not touch the water. Stir continuously for even heating.
-
Crucial Chilling Between Layers: This is arguably the most important tip! It is absolutely essential to chill your Nanaimo bars thoroughly between each layer. This ensures that the layers set firmly and distinctly, preventing them from melting into each other or becoming a messy blur. Patience here yields beautiful, defined layers.
-
Soft Ganache for Flawless Slicing: The addition of butter and heavy cream to the ganache is key to its soft, pliable texture when chilled. This thoughtful blend prevents the chocolate topping from becoming brittle and cracking when you cut into the bars, ensuring clean, appealing slices every time.
-
Preventing Chocolate Cracks: If you’re concerned about the chocolate ganache cracking, here’s a foolproof method. Once the finished bars have chilled for about 20-30 minutes and the ganache is semi-firm but not brittle, remove them from the refrigerator. Using a sharp, thin knife, gently score the chocolate layer along where you intend to cut your bars. Don’t cut all the way through, just score the top layer. Then, return the pan to the refrigerator for another 30-60 minutes for the bars to fully set. When ready to cut, follow your scored lines. For extra clean cuts, wipe your knife with hot water and dry it between each slice.
-
Room Temperature Ingredients for Custard: Ensure your butter for the custard filling is at true room temperature. This will help it cream smoothly with the powdered sugar and custard powder, preventing lumps and ensuring a light, airy, and creamy consistency.
-
Quality Matters: Using good quality ingredients, especially cocoa powder and chocolate, can make a noticeable difference in the final flavor of your Nanaimo bars. Invest in ingredients you enjoy eating on their own.

Frequently Asked Questions About Nanaimo Bars
Yes, absolutely. Due to the egg in the chocolate base and the dairy (butter, heavy cream, custard powder) in the filling, Nanaimo bars are perishable and must be stored in an airtight container in the refrigerator. This not only ensures food safety but also maintains their firm, distinct layers and optimal texture. They will keep well for up to one week.
Yes, Nanaimo bars freeze exceptionally well! To freeze, place the completely chilled and sliced bars in a single layer on a baking sheet and freeze until solid. Once frozen, transfer them to an airtight freezer-safe container or a heavy-duty freezer bag, separating layers with parchment paper to prevent sticking. They can be stored for up to 3 months. When you’re ready to enjoy them, simply allow them to defrost overnight in the refrigerator before serving.
Nanaimo bars are named after Nanaimo, British Columbia, Canada. While the exact origin is debated, the earliest known published recipe for a “Nanaimo Bar” appeared in the 1953 The Nanaimo Hospital Auxiliary Cookbook. They quickly gained popularity across Canada and became a national culinary icon.
Yes, with some careful substitutions! For a gluten-free version, simply use gluten-free graham crackers or a similar gluten-free crumb. For a vegan version, you would need to use plant-based butter (solid, stick-form works best), a vegan egg substitute (ensure it’s suitable for a cooked, binding application), plant-based heavy cream, and dairy-free chocolate. Ensure your custard powder is also vegan-friendly, as some contain dairy.
The best way to prevent cracking is to ensure the ganache layer is not overly hard when you cut it. Chill the bars until the ganache is firm but still slightly pliable (around 20-30 minutes in the fridge). Then, use a very sharp knife to score the top chocolate layer before returning it to the fridge for a final, longer chill. When cutting the fully chilled bars, run your knife under hot water and wipe it clean before each cut. The heat will help the knife glide through the chocolate smoothly, preventing cracks and ensuring perfectly clean slices.
More Irresistible Cookie Bar Recipes
- Chocolate Mint Cookie Bars
- Sugar Cookie Bars
- Chocolate Chip Blondies

Classic No-Bake Nanaimo Bars
Leave a Review
Ingredients
For the Chocolate Coconut Base
- 1 ½ cups graham crackers, about 12 full sheets, crushed to fine crumbs (180g)
- ½ cup pecans, finely chopped (57g)
- ¾ cup sweetened coconut flakes, finely shredded (90g)
- ½ cup unsalted butter, melted (113g)
- ¼ teaspoon kosher salt
- 6 tablespoons unsweetened cocoa powder, (30g)
- ¼ cup granulated sugar, (50g)
- 1 large egg, lightly beaten
For the Custard Filling
- ½ cup unsalted butter, room temperature (113g)
- 2 cups powdered sugar, sifted (240g)
- 3 tablespoons custard powder
- ½ teaspoon vanilla extract
- 3 tablespoons heavy cream, (45mL)
For the Chocolate Ganache Topping
- 6 ounces semi-sweet chocolate, chopped (170g)
- 2 tablespoons unsalted butter, (28g)
- 2 tablespoons heavy cream, (30mL)
Instructions
How To Make The Chocolate Coconut Base
-
Line a 9-inch square baking pan with parchment paper, allowing excess to extend over the sides of the pan. Lightly spray with cooking spray.
-
Add the graham crackers, pecans, and coconut to the bowl of a food processor and blitz until fine crumbs form. Set aside.
-
In the top of a double boiler, combine ½ cup unsalted butter, cocoa powder, granulated sugar, and salt. Whisk over simmering water, stirring constantly, until the butter is melted and the mixture is smooth. Add the lightly beaten egg and cook, whisking constantly, until thickened and smooth, about 1 minute. Remove from heat.
-
Stir the reserved graham cracker, pecan, and coconut mixture into the chocolate mixture until well combined. Press this mixture firmly into the bottom of the prepared pan. Place in the refrigerator to chill while you prepare the custard filling.
How To Make The Custard Filling
-
In the bowl of a stand mixer, combine ½ cup room temperature unsalted butter, powdered sugar, custard powder, vanilla extract, and 3 tablespoons of heavy cream. Start mixing on low speed to combine ingredients, then increase to medium speed and beat until creamy and smooth, about 2-3 minutes.
-
Remove the chilled base from the refrigerator and evenly spread the custard filling over the layer using an offset spatula.
-
Place the pan back into the refrigerator for at least 30 minutes, or into the freezer for 15 minutes, to allow the custard layer to firm up before proceeding.
How To Make The Chocolate Ganache Topping
-
In the top of a double boiler, combine the chopped semi-sweet chocolate, 2 tablespoons unsalted butter, and 2 tablespoons heavy cream. Melt over simmering water, stirring constantly, until the chocolate is fully melted and the mixture is smooth and glossy.
-
Remove the pan of chilled bars from the refrigerator or freezer. Pour the warm ganache topping evenly over the firm custard layer and quickly spread it from edge to edge with an offset spatula.
-
Chill the finished bars in the refrigerator for at least 1 hour, or until the ganache is fully set. For easier, cleaner slicing, after 20-30 minutes of chilling, remove the bars and use a sharp knife to gently score the top chocolate layer into your desired bar sizes. Return to the refrigerator for another 30-60 minutes. Once completely firm, cut along the scored marks, wiping the knife clean between each cut for the cleanest slices. Enjoy!
Notes
As an Amazon Associate, I earn from qualifying purchases.