If you’ve never experienced the sheer delight of a Nanaimo Bars Recipe, get ready to meet your new favorite treat. This Canadian classic is a luscious no-bake dessert boasting a perfectly layered combination of a crumbly cocoa base, a silky custard filling, and a smooth chocolate topping that melts in your mouth. It’s indulgent yet approachable, simple yet sophisticated—an absolute showstopper that’s guaranteed to charm your friends and family with every bite.

Ingredients You’ll Need
This Nanaimo Bars Recipe calls for straightforward ingredients that each play a pivotal role in crafting those iconic layers. From the crunchy base to the creamy custard and glossy chocolate top, every component has its own special job to elevate the dessert’s flavor and texture.
- Unsalted butter (base and custard layers): Adds richness and a tender crumb to the bars.
- Granulated sugar: Sweetens the base and balances the cocoa’s bitterness.
- Unsweetened cocoa powder: Imparts a deep chocolate flavor to the base layer.
- Large egg (beaten): Binds the base ingredients together for perfect consistency.
- Graham cracker crumbs: Provide a crunchy, slightly sweet foundation.
- Shredded sweetened coconut: Adds texture and a hint of natural sweetness.
- Chopped walnuts: Bring a nutty crunch and earthy flavor.
- Vanilla custard powder or instant vanilla pudding mix: The secret to that classic creamy custard filling.
- Powdered sugar: Ensures the custard layer is smooth and sweet.
- Milk: Lightens the custard to a silky, spreadable consistency.
- Semi-sweet chocolate: For that glossy, decadent chocolate topping.
How to Make Nanaimo Bars Recipe
Step 1: Prepare the Base Layer
Begin by melting the butter gently over low heat in a medium saucepan. To this, whisk in the sugar and cocoa powder until fully combined. Slowly add the beaten egg while stirring constantly—this part takes a little patience, but it’s crucial to cook until the mixture thickens slightly, about 1 to 2 minutes. Remove from the heat, then fold in the graham cracker crumbs, shredded coconut, and walnuts. Press this mixture firmly into a greased or parchment-lined 8×8-inch pan, creating an even, compact base. Pop it into the fridge to chill while you prepare the next layer.
Step 2: Prepare the Custard Layer
The custard filling is where this recipe really shines. In a medium bowl, beat the softened butter together with the vanilla custard powder and powdered sugar until silky smooth. Gradually add milk and keep beating until the mixture transforms into a light, fluffy cream. Spread this luscious custard evenly over the chilled base and return the pan to the fridge for at least 20 minutes. This step gives the custard time to set perfectly.
Step 3: Prepare the Chocolate Topping
The pièce de résistance is the glossy chocolate layer. Melt the semi-sweet chocolate and butter together, by either using a microwave in short bursts or a double boiler, stirring to a smooth finish. Allow the mixture to cool slightly so it won’t melt the custard below, then pour it over the set custard layer. Tilt your pan gently to spread the chocolate evenly into a sleek top coat. Refrigerate one last time until the whole bar is firm, at least one hour.
How to Serve Nanaimo Bars Recipe

Garnishes
While these bars are stunning as is, a light dusting of cocoa powder or a sprinkle of toasted coconut flakes over the chocolate top adds a lovely touch and extra texture. For a festive occasion, consider decorating with mini chocolate chips or chopped nuts to hint at the flavors inside.
Side Dishes
Nanaimo Bars pair beautifully with a scoop of vanilla ice cream or a dollop of whipped cream to balance their richness. Fresh berries or a berry compote also provide a pleasant tang and color contrast, making your dessert plate irresistible.
Creative Ways to Present
Try serving these bars in individual mini tart pans or as layered parfaits by crumbling a base and layering custard and chocolate separately in glasses. For parties, bite-sized squares on a pretty platter with edible flowers make for an eye-catching centerpiece.
Make Ahead and Storage
Storing Leftovers
One of the best things about this Nanaimo Bars Recipe is how well the bars keep. Simply cover them tightly with plastic wrap or store in an airtight container in the refrigerator. They remain fresh and delicious for up to 5 days, making them a perfect make-ahead dessert for any occasion.
Freezing
If you want to keep these bars longer, they freeze wonderfully. Wrap them tightly in plastic wrap and then aluminum foil or place them in a freezer-safe container. When properly stored, they’ll maintain their flavor and texture for up to 2 months.
Reheating
Since Nanaimo Bars are best served chilled, reheating isn’t necessary. Instead, just let frozen bars thaw completely in the refrigerator overnight. For cleaner slicing, bring them to room temperature for 5 to 10 minutes before cutting with a sharp, warm knife.
FAQs
Can I use a substitute for graham cracker crumbs?
Absolutely! Digestive biscuits or vanilla wafer crumbs can replace graham crackers if needed. They’ll offer a similar texture and sweetness that’s essential for the base layer’s structure and flavor.
Is custard powder necessary or can I use vanilla pudding mix instead?
Both work well in this Nanaimo Bars Recipe. Traditionalists prefer custard powder for authentic flavor, but instant vanilla pudding mix is a convenient substitute that yields similarly delicious results.
Can I make this recipe gluten-free?
Yes, just swap the graham cracker crumbs for gluten-free graham-style crumbs. Double-check that other ingredients like custard powder or pudding mix are gluten-free as well to keep this dessert friendly to gluten-sensitive eaters.
How do I get perfectly clean slices?
Patience is key! Let the bars sit at room temperature for a few minutes before slicing. Run your knife under hot water, dry it, and then cut in smooth, deliberate strokes for neat bars without crumbling or smudging.
Can I customize the walnuts in the base layer?
Of course! Feel free to swap walnuts for pecans, almonds, or even hazelnuts, depending on your preference. Each nut brings a different flavor profile that works wonderfully with the cocoa and coconut.
Final Thoughts
This Nanaimo Bars Recipe is truly a gem to add to your dessert repertoire. With its beautiful layers and luscious flavors, it never fails to impress and satisfy. Whether you’re celebrating a special occasion or just craving a sweet treat, these bars are guaranteed to brighten your day and delight your taste buds. Give them a try—you’ll wonder how you ever lived without them.
Print
Nanaimo Bars Recipe
- Prep Time: 30 minutes
- Cook Time: 5 minutes
- Total Time: 1 hour 35 minutes
- Yield: 16 bars
- Category: Dessert
- Method: No-Cook
- Cuisine: Canadian
- Diet: Vegetarian
Description
This classic Nanaimo Bars recipe features a rich, layered dessert originating from Canada, with a chocolatey crumb base, a creamy custard middle, and a smooth chocolate topping. These no-bake bars are perfect for holiday treats or any sweet occasion, combining textures of crunchy, creamy, and fudgy in every bite.
Ingredients
For the base layer:
- 1/2 cup unsalted butter (melted)
- 1/4 cup granulated sugar
- 5 tablespoons unsweetened cocoa powder
- 1 large egg (beaten)
- 1 3/4 cups graham cracker crumbs
- 1 cup shredded sweetened coconut
- 1/2 cup chopped walnuts
For the custard layer:
- 1/2 cup unsalted butter (softened)
- 2 tablespoons vanilla custard powder or instant vanilla pudding mix
- 2 cups powdered sugar
- 2 tablespoons milk
For the chocolate topping:
- 4 ounces semi-sweet chocolate (chopped)
- 2 tablespoons unsalted butter
Instructions
- Prepare the base layer: In a medium saucepan over low heat, melt the butter, then stir in the sugar and cocoa powder. Slowly whisk in the beaten egg and cook, stirring constantly, until the mixture thickens slightly—about 1–2 minutes. Remove from heat and stir in graham cracker crumbs, coconut, and walnuts. Press the mixture firmly into the bottom of a greased or parchment-lined 8×8-inch pan. Chill in the refrigerator while you make the next layer.
- Prepare the custard layer: In a medium bowl, beat the softened butter with custard powder and powdered sugar until smooth. Add milk gradually and beat until light and fluffy. Spread evenly over the chilled base and return to the fridge for at least 20 minutes.
- Prepare the chocolate topping: Melt the semi-sweet chocolate and butter together in a microwave or double boiler, stirring until smooth. Let cool slightly, then pour over the custard layer. Tilt the pan gently to spread the chocolate evenly. Refrigerate until fully set, at least 1 hour.
- Slice and serve: To slice cleanly, let the bars sit at room temperature for 5–10 minutes and use a sharp knife heated under hot water.
Notes
- Custard powder is traditional in Nanaimo bars, but instant vanilla pudding mix can be substituted.
- These bars can be made up to 5 days in advance and kept refrigerated, or frozen for longer storage.
- Using a sharp knife warmed under hot water helps achieve clean slices.
- Chilling between layers is essential to maintain structure and texture.

