Meet Nanaimo bars, a classic Canadian dessert with a chocolate coconut base, creamy custard layer, and smooth chocolate topping. See how to make them at home!!

Bite through a thin layer of dark chocolate, sink into silky vanilla custard buttercream, and finish with a chewy chocolate base full of coconut and toasted walnuts.

These Nanaimo Bars give you all three textures in one small, glorious bite, with just enough salt to keep their sweetness in balance.

They look ready for a bakery display, but you can make them in an ordinary square pan with a little stirring, spreading, and refrigerator patience!


What Makes These Nanaimo Bars Special?

A good Nanaimo bar needs a base that holds together without turning hard, a creamy middle that stays inside your slice, and a chocolate topping thin enough to bite through comfortably.

Here, graham crumbs provide structure, butter and cooked egg bind them together, and a modest chocolate layer finishes everything without overwhelming that vanilla center.

Despite its name, the middle is custard-flavored buttercream, made with custard powder, rather than a spoonable cooked custard.

That is also how the City of Nanaimo’s classic recipe approaches this layer. You get a pale yellow filling that firms in your refrigerator and softens pleasantly as you eat.


Ingredients

For the Chocolate, Coconut, and Walnut Base

  • 1/2 cup walnuts, 60 g, measured before finely chopping
  • 1 1/4 cups fine graham cracker crumbs, 150 g, weighed after crushing
  • 1 cup unsweetened shredded coconut, about 80 g, preferably finely shredded
  • 1/2 cup unsalted butter, 113 g, cut into pieces
  • 1/4 cup granulated sugar, 50 g
  • 5 tablespoons unsweetened cocoa powder, about 25 g, sifted if lumpy
  • 1/4 teaspoon fine salt
  • 1 large egg, about 50 g without its shell, beaten thoroughly
  • 1 teaspoon vanilla extract

For the Vanilla Custard Filling

  • 1/2 cup unsalted butter, 113 g, softened to approximately 65 to 70°F / 18 to 21°C
  • 2 tablespoons regular vanilla custard powder, about 18 g, such as Bird’s Original

Use regular custard powder as a dry ingredient. Do not prepare it with milk according to its package directions before adding it here. Prepared pudding and instant custard mixes have different proportions of liquid, sugar, and starch, so they are not direct replacements for this filling.

  • 2 cups powdered sugar, 240 g, sifted
  • 2 tablespoons heavy cream, 30 ml, plus up to 1 tablespoon more only if needed
  • 1 teaspoon vanilla extract
  • 1/8 teaspoon fine salt

For the Chocolate Topping

  • 4 ounces bittersweet chocolate, 113 g, preferably 60% to 70% cacao, finely chopped

Choose a chopped chocolate bar for the topping. It generally melts more smoothly than chocolate chips. I would use around 60% cacao for a gentler chocolate flavor or 70% if you enjoy a more pronounced bittersweet finish.

  • 2 tablespoons unsalted butter, 28 g
  • A small pinch of flaky salt, optional

Yield: 24 small bars from one 8-inch square pan
Servings: 24, with 1 bar per serving


How to Make Nanaimo Bars

Line your pan with two crossing strips of parchment, leaving enough paper over opposite sides to lift out your finished slab. Press parchment into corners so your base can sit flat rather than folding around bulky creases.

Clear a level space in your refrigerator before you begin; discovering that a jar of pickles has claimed your only suitable shelf is an avoidable plot twist!

Put walnuts in a dry skillet over medium-low heat and toast for about 4 to 6 minutes, stirring frequently, until they smell nutty and their cut surfaces deepen slightly in color.

Move them onto a plate immediately, because a hot skillet keeps cooking even after you turn off your burner. Let them cool for about 5 minutes, chop finely, and stir together with graham crumbs and coconut in a large bowl.

Pour about an inch of water into a saucepan and bring it to a gentle simmer. Set a heatproof bowl over it, making sure its bottom does not touch water, then add base butter, granulated sugar, cocoa, and fine salt.

Stir for about 3 to 4 minutes, until butter melts and everything forms a uniform chocolate mixture. A slightly sandy texture from sugar is fine at this stage; you are looking for evenly dispersed cocoa without dry pockets.

Lift your bowl off heat and slowly whisk about 2 tablespoons of warm chocolate mixture into your beaten egg, adding it in two portions while whisking continuously. Pour this warmed egg mixture back into your chocolate bowl in a thin stream, whisking as you go.

Return your bowl to gently simmering water and cook for approximately 3 to 5 minutes, stirring constantly and scraping around its bottom and sides, until an instant-read thermometer registers 160°F / 71°C.

Keep your thermometer tip in the mixture without touching your bowl. It should look thicker and glossier, but temperature is your reliable guide; the FDA recommends 160°F for dishes containing eggs. Remove from heat as soon as it reaches that point.

Stir vanilla into your cooked chocolate mixture, then scrape it into your bowl of crumbs, coconut, and walnuts. Fold thoroughly until no pale, dry patches remain, checking underneath where crumbs like to hide.

A little mixture cooled on a spoon should hold together when pressed. Transfer it to your lined pan and distribute it across the surface before pressing firmly and evenly with a spatula or a flat-bottomed glass over a small piece of parchment.

Give corners some attention, but stop once everything forms a compact layer; you want a bar you can bite, not a chocolate floor tile. Refrigerate for about 30 minutes, until cool and firm.

While your base chills, beat softened filling butter for 1 to 2 minutes until smooth. In a small bowl, stir custard powder with 2 tablespoons cream and vanilla to make a lump-free paste, then beat that into your butter with salt.

Add powdered sugar in two additions, starting at low speed so it stays in your bowl, then beat at medium speed for about 2 minutes, scraping sides once. Your filling should look creamy and hold soft ridges.

If it is too stiff to spread without pulling at crumbs, add extra cream 1 teaspoon at a time, using no more than 1 additional tablespoon. Stop as soon as it spreads easily; it should never pour.

Drop small spoonfuls of filling across your chilled base, then gently join them with a spatula, working from one area to the next. Starting with several dollops means you need less pressure, which helps keep chocolate crumbs out of your pale filling.

Smooth right into corners and refrigerate for about 45 minutes, or until a light touch leaves very little indentation. Don’t skip this chill: firm filling stays in place when you add chocolate, while soft filling can smear into it.

Put chopped chocolate and topping butter in a clean, completely dry heatproof bowl over gently simmering water. Stir for about 2 to 3 minutes, then remove from heat when only a few small chocolate pieces remain and keep stirring until smooth.

Let it cool for roughly 5 to 10 minutes, stirring occasionally, until fluid but barely warm, approximately 85 to 90°F / 29 to 32°C. Keep your filling refrigerated while you wait. Hot chocolate can soften buttercream, but chocolate that has cooled into a thick paste will be difficult to spread.

Pour chocolate over your chilled filling and immediately tilt your pan gently to encourage it toward edges, using a spatula for just a few light finishing strokes. Work promptly because cold filling starts setting chocolate on contact.

Add a small pinch of flaky salt if you like, then refrigerate for about 10 to 15 minutes, checking after 8 minutes. Once chocolate loses its wet shine but still yields to a knife, lightly score just through that top layer into a grid of 4 columns and 6 rows.

If it flows back together, wait another few minutes. These shallow guides help your final slices follow tidy lines.

Return your pan to the refrigerator for another 45 to 60 minutes, until all three layers are firm. Lift out your slab using parchment and let it stand for about 5 to 10 minutes, just long enough to take the brittle edge off cold chocolate while keeping filling firm.

Warm a sharp knife in hot water, wipe it completely dry, and cut along your scored lines with steady downward pressure.

Clean, warm, and dry your blade between cuts. If chocolate starts cracking, give it another minute or two; if filling begins squashing outward, return your slab to the refrigerator before continuing.


Small Fixes for Common Problems!!

  • Your base crumbles when sliced. Check that crumbs were fine, mixture was thoroughly combined, and your base was pressed evenly into corners.
  • Weighing crumbs helps, since tightly packed measuring cups can introduce more dry ingredients than intended. A warm, clean knife also moves through a chilled base with less tearing.
  • Your filling feels greasy or slides around. Butter may have been too warm, extra cream may have loosened it, or it may need more chilling.
  • Before spreading, refrigerate a warm filling for 10 to 15 minutes and briefly beat it again. Once assembled, chill until firm before attempting another cut.
  • Your chocolate looks streaky or rough. It may have started setting while you were spreading it.
  • For your next batch, have a spatula ready, use chocolate while still fluid, and stop fussing once coverage is even. A few spatula marks have never made chocolate taste less delicious!

Serving Suggestions

Serve these bars chilled, or let individual portions sit for about 5 minutes before eating so vanilla filling softens slightly while chocolate still holds its shape.

Arrange them in a single layer on a plain platter, leaving a little space between pieces so guests can lift them without nudging their neighbors.

Coffee, unsweetened black tea, and cold milk all work beautifully alongside rich chocolate and sweet custard filling. For a dessert plate, add fresh raspberries or sliced strawberries; their tartness gives your next chocolate bite a fresh contrast without needing another sauce.

For a holiday tray or potluck, place each small bar in a paper candy cup and keep extra portions refrigerated until needed. These are particularly handy after a generous dinner, when everyone announces they are too full for dessert and then notices chocolate!

A chilled tray of Nanaimo bars brings plenty to look forward to: buttery vanilla filling, toasted walnut crunch, chewy coconut, and dark chocolate that melts as you take a bite.

Give each layer time to firm, warm your knife before slicing, and set out a few small pieces with your favorite drink.

Those neat little layers make an everyday afternoon feel like you saved something especially good for it!

Discover more from Soulitinerary

Subscribe now to keep reading and get access to the full archive.

Continue reading