Classic Nanaimo Bars

jump to recipe
05 March 2026
3.8 (73)
Classic Nanaimo Bars
60
total time
16
servings
420 kcal
calories

Introduction

A piece of Canadian baking history
These no‑bake squares are a triumphant trio: a crunchy base, a silky custard middle, and a glossy chocolate top. As a professional food writer I see Nanaimo bars as the kind of treat that sparks smiles across generations — they travel well, keep their structure in cool conditions, and translate beautifully across seasons.
Here I’ll lead you through how to make them with confidence, plus practical notes on texture, temperature, and finishing touches. Expect tactile contrasts in every bite and a balance of sweet, toasty, and chocolatey notes.
What makes these bars irresistible is how each component is crafted to play a role: the base holds a toasted crunch that contrasts the pillowy filling while the top snap of chocolate gives a satisfying finish. I’ll also cover smart shortcuts and troubleshooting cues so you can reproduce crisp layers consistently.
Read on for clear ingredient organization, a stepwise assembly guide, and pro tips for clean cutting and elegant presentation. Whether you’re bringing them to a holiday platter or making a nostalgic batch at home, this guide aims to make the process effortless and enjoyable.

Why You’ll Love This Recipe

Versatile, nostalgic, and crowd‑pleasing
There are plenty of reasons bakers return to Nanaimo bars: they require no oven time, assemble quickly, and keep well — making them ideal for parties, bake sales, and potlucks. The texture play is compelling and reliable when you follow assembly and chilling cues.
From a practical standpoint, the recipe is forgiving: components can be made ahead, and the bars travel without losing structure. From a flavor perspective, they offer layers of contrast that deliver on every forkful. Both beginner bakers and seasoned home cooks find satisfaction in the clear steps and visible progress as layers set in the refrigerator.
If you appreciate desserts that are part technique and part ritual — melting chocolate to the perfect gloss, beating a filling to silky consistency, packing a base firmly — this recipe will reward attention to those small acts. Ultimately, you’ll love the balance of textures and the showstopping look once the top is sliced into gleaming squares, ready to delight any dessert table or casual coffee hour gathering.
Keep reading for ingredient specifics, assembly order, and smart storage methods that keep the bars tasting fresh.

Flavor & Texture Profile

What to expect on the palate and how each layer behaves
Nanaimo bars are layered to deliver distinct sensations. The base provides a nutty, toasted crunch punctuated by the toffee‑like depth of melted butter and cocoa. The middle is a rich, creamy custard that offsets the base’s density with an airy, spreadable softness that still holds shape. The top chocolate forms a shiny, slightly firm surface that gives a clean snap as you bite.
Texture-wise, you’ll notice three main contrasts: a compact, chewy crunch below; a smooth, light, almost mousse-like center; and a thin, tempered chocolate cap that resists slightly before yielding. Flavor layers are complementary — the base contributes toasty, coconut and graham notes; the filling supplies bright vanilla and buttery sweetness; and the top brings bittersweet chocolate depth to balance the overall sweetness.
In a well-executed bar the custard won’t ooze and the chocolate won’t fracture into jagged pieces; both will present a neat profile on the cut edge. If your filling seems too soft, a short chill will firm it; if the chocolate sets dull, gentle warming and re-leveling will restore shine. These nuances are worth watching for repeatable, bakery-style results every time.

Gathering Ingredients

Gathering Ingredients

Shop for quality components
Start with the best basics you can find: good butter, a flavorful semisweet chocolate, and fresh graham crackers produce the most authentic results. If you keep pantry staples like powdered sugar and custard powder on hand, assembly is straightforward and quick.
Below is a clear, structured ingredient list so you can prep everything before you begin:

  • 115g unsalted butter (base)
  • 50g granulated sugar
  • 2 tbsp unsweetened cocoa powder
  • 1 large egg
  • 150g crushed graham crackers (about 1 1/2 cups)
  • 50g shredded unsweetened coconut
  • 50g chopped almonds or walnuts (optional)
  • Pinch of salt
  • 75g unsalted butter (filling)
  • 2 tbsp custard powder or instant vanilla pudding mix
  • 250g powdered sugar (about 2 cups)
  • 2–3 tbsp milk
  • 1 tsp vanilla extract
  • 170g semisweet chocolate (top)
  • 1 tbsp unsalted butter (top)

Gathering these components and measuring them out before you start will streamline the tempering and layering steps. Keep small bowls ready for the cocoa, coconut, and chopped nuts so incorporation into the base is quick and tidy. If you choose to omit the nuts, have a little extra shredded coconut or more graham crumbs on hand to maintain the right base texture.

Preparation Overview

Organization before execution
Successful Nanaimo bars hinge on sequencing and temperature control. Begin by lining the pan so you can lift the slab cleanly later — a parchment overhang is the small detail that makes slicing effortless. Prep bowls for dry mix-ins and have chilled surfaces available for setting layers quickly.
Work in stages: prepare and press the base, chill it to firm up, make and spread the custard filling, then finish with the chocolate. Each chill interval is doing essential work: it stabilizes the base, prevents mixing at the layer junctions, and allows the filling to reach a spreadable yet settable consistency.
Tools matter: a small saucepan for melting, a whisk for tempering the egg into the hot butter mixture, a flat spatula for pressing the base evenly, an offset or straight spatula for leveling the filling, and a heatproof bowl for melting chocolate. Keep a clean towel and a bowl of hot water nearby for warming and drying your knife when you cut.
This methodical approach reduces stress and ensures the clean lines that make Nanaimo bars so visually appealing.

Cooking / Assembly Process

Cooking / Assembly Process

Step-by-step instructions
Follow these steps in order and use the chilling cues to achieve crisp layers.

  1. Line a 9x9 inch pan with parchment paper leaving an overhang for easy removal.
  2. For the base, melt 115g butter with 50g granulated sugar and 2 tbsp unsweetened cocoa powder in a small saucepan over low heat, stirring until combined.
  3. Temper in 1 beaten egg by removing the saucepan from the heat, whisking the egg quickly into the mixture, then returning the pan to very low heat and stirring constantly for about 1 minute until slightly thickened; remove from heat immediately.
  4. Stir in 150g crushed graham crackers, 50g shredded unsweetened coconut, 50g chopped nuts if using, and a pinch of salt until evenly mixed. Press this mixture firmly and evenly into the prepared pan and chill in the refrigerator to set.
  5. Prepare the custard filling by beating together 75g butter and 2 tbsp custard powder (or instant vanilla pudding mix) until smooth. Gradually add 250g powdered sugar, then 2–3 tbsp milk and 1 tsp vanilla extract, beating until creamy and spreadable. Adjust milk to reach a pipeable or spreadable consistency. Spread this filling evenly over the chilled base and return to the fridge to firm up.
  6. For the chocolate topping, melt 170g semisweet chocolate with 1 tbsp butter in a heatproof bowl over simmering water or in short microwave bursts, stirring until glossy. Pour the melted chocolate over the chilled custard layer and spread evenly with a spatula.
  7. Chill the pan until the chocolate is fully set. Use the parchment overhang to lift the slab from the pan and cut into squares, warming a sharp knife under hot water, drying it, and slicing cleanly between cuts.

These steps prioritize stability and texture. Chilling between layers preserves the crisp boundaries that define a classic Nanaimo bar, and careful tempering of the egg during the base step prevents curdling while building structure.

Serving Suggestions

Presenting and pairing
Nanaimo bars are best served chilled or at a cool room temperature where the chocolate cap remains set but not brittle. For a simple presentation, cut them into uniform squares and arrange them on a parchment-lined tray; their glossy tops and distinct layers make for an attractive display without extra adornment.
If you want to elevate the experience for guests, consider a small dusting of finely grated chocolate or a light sprinkling of toasted coconut just before serving. Be sparing with garnishes — the bars’ visual strength is the clean tri-layer look. Pair them with robust coffee, a malty tea, or a dessert wine that can stand up to the sweetness.
For events where a plated presentation matters, place a single square alongside a few fresh berries to add brightness and contrast. That said, these bars shine most as a casual, shareable treat where the tactile bite and layered textures take center stage. Keep serving ware cool if possible to prevent the chocolate top from softening in warm environments.
When transporting, use a rigid container and a single layer to preserve the glossy finish and clean edges.

Storage & Make-Ahead Tips

Keeping bars fresh and travel-ready
Nanaimo bars store exceptionally well when kept cool and covered. An airtight container in the refrigerator is the best environment to preserve texture and gloss; this prevents the chocolate top from sweating and keeps the custard layer from softening. For longer storage, bars can be frozen — wrap individual squares in plastic wrap and place them in a freezer-safe container to protect against freezer burn. Thaw in the refrigerator to maintain the layered structure.
Make-ahead strategies: prepare the base and chill it the day before assembly, then make and spread the custard layer the next day and finish with the chocolate just before serving day to keep the top glossy. Alternatively, fully assemble and chill; finished bars will still hold up well for events and can be transported chilled.
When slicing ahead of time, try to use a warmed, dry knife for each cut to keep edges smooth; wipe the knife between cuts for the cleanest results. If bars are left at room temperature for serving, monitor ambient temperature: prolonged warmth will soften the custard and chocolate. With a little planning, you can stage the work across two days and deliver consistent, bakery-style squares with minimal stress.

Frequently Asked Questions

Answers to common concerns and helpful clarifications
Q: Can I skip the nuts?
A: Yes — the nuts are optional. If omitted, slightly increase the graham crumbs or coconut to preserve base texture.
Q: What if my filling is too runny?
A: Chill it briefly until it firms to a spreadable consistency; you can also add a touch more powdered sugar to stiffen if needed.
Q: How do I keep the top chocolate shiny?
A: Melting gently and stirring until glossy, then pouring over a well-chilled filling helps the chocolate set with a sheen. If the chocolate dulls, reheat gently and smooth again.
Q: Can I make these ahead for a party?
A: Absolutely — they keep well refrigerated and can be frozen for longer storage.
Q: Best way to cut clean squares?
A: Warm a sharp knife under hot water, dry it thoroughly, and slice in a single smooth motion, wiping between cuts.
If you have other questions about adapting flavors, scaling the recipe, or troubleshooting texture issues, ask away — I’ll share pro tips to help you get bakery-style bars at home.

Classic Nanaimo Bars

Classic Nanaimo Bars

Indulge in classic Nanaimo Bars: three-layer, no-bake squares with a crunchy graham-coconut base, creamy custard middle and shiny chocolate top. Perfect for sharing 🍫🥥🍪

total time

60

servings

16

calories

420 kcal

ingredients

  • 115g unsalted butter (base) 🧈
  • 50g granulated sugar 🍚
  • 2 tbsp unsweetened cocoa powder 🍫
  • 1 large egg 🥚
  • 150g crushed graham crackers (about 1 1/2 cups) 🍪
  • 50g shredded unsweetened coconut 🥥
  • 50g chopped almonds or walnuts (optional) 🥜
  • Pinch of salt 🧂
  • 75g unsalted butter (filling) 🧈
  • 2 tbsp custard powder or instant vanilla pudding mix 🥄
  • 250g powdered sugar (about 2 cups) 🍬
  • 2–3 tbsp milk 🥛
  • 1 tsp vanilla extract 🌿
  • 170g semisweet chocolate (top) 🍫
  • 1 tbsp unsalted butter (top) 🧈

instructions

  1. Prepare an 9x9 inch (23x23 cm) pan by lining it with parchment paper, leaving an overhang for easy removal.
  2. Make the base: in a small saucepan, melt 115g butter with 50g granulated sugar and 2 tbsp cocoa over low heat, stirring until combined.
  3. Temper in 1 beaten egg: remove from heat, whisk in the egg quickly and return to very low heat for 1 minute while stirring constantly until slightly thickened. Remove from heat immediately.
  4. Stir in 150g crushed graham crackers, 50g shredded coconut, 50g chopped nuts (if using) and a pinch of salt until evenly mixed.
  5. Press the mixture firmly and evenly into the prepared pan. Chill in the refrigerator for about 20 minutes to set.
  6. Prepare the custard filling: beat together 75g butter and 2 tbsp custard powder until smooth.
  7. Gradually add 250g powdered sugar, then 2–3 tbsp milk and 1 tsp vanilla, beating until creamy and spreadable. Adjust milk to reach a pipeable/ spreadable consistency.
  8. Spread the custard filling evenly over the chilled base. Return to the fridge for about 15–20 minutes to firm up.
  9. Make the chocolate topping: melt 170g semisweet chocolate with 1 tbsp butter in a heatproof bowl over simmering water (double boiler) or gently in short bursts in the microwave, stirring until glossy.
  10. Pour the melted chocolate over the chilled custard layer and spread evenly with a spatula.
  11. Chill the pan in the refrigerator for at least 30 minutes, or until the chocolate is fully set.
  12. Using the parchment overhang, lift the slab from the pan and cut into 16 squares. For clean cuts, warm a sharp knife under hot water, dry it, then slice.
  13. Store Nanaimo bars in an airtight container in the refrigerator for up to 5 days. Serve chilled or at cool room temperature.