Classic Nanaimo Bars (No-Bake)
Ask a Canadian about holiday cookie trays and Nanaimo bars will come up within seconds. Named after the city of Nanaimo on Vancouver Island, these no-bake squares stack three distinct layers: a chewy chocolate base packed with graham crumbs, coconut and almonds, a thick custard-flavored buttercream in the middle, and a snappy chocolate top. Each bite goes from crunchy to creamy to crisp, which is exactly why a single pan never lasts long.
Despite the “no-bake” label, there is a little stovetop work. The base is cooked gently over simmering water so the egg thickens it into a fudgy glue that holds the crumbs together. After that, it is just beating, spreading and chilling. The bars are rich, so we cut them small, and the recipe below makes 12 from an 8×8-inch pan.
Why you’ll love it
Why You’ll Love This Recipe
- Three textures: Chewy, coconutty base, silky custard filling and a firm chocolate shell in every square.
- No oven needed: Everything happens on the stove and in the fridge, which frees up oven space during the holidays.
- Make-ahead friendly: The bars hold beautifully in the fridge, so you can prepare them days before a party.
- Classic Canadian flavor: Custard powder gives the middle layer its signature yellow color and vanilla-custard taste.
- Clean slices: A thorough chill and a warm, clean knife give you neat, bakery-style edges.
What you need
Ingredients You’ll Need
Each layer relies on a few key ingredients. You’ll find the complete list with measurements in the recipe card.
- Cocoa powder: Gives the base its deep chocolate flavor without adding extra fat.
- Egg: Whisked into the warm butter mixture and cooked gently, it thickens the base and binds the crumbs. The egg is only lightly cooked.
- Graham cracker crumbs: Provide structure and a toasty, honeyed crunch.
- Sweetened shredded coconut: Adds chew and sweetness to the base.
- Almonds: Finely chopped for nutty crunch. This recipe contains tree nuts.
- Vanilla custard powder: The essential flavor of the middle layer. It is a cornstarch-based powder sold in the baking or international aisle.
- Semisweet chocolate: Melted with butter so the top sets firm but still cuts without cracking.
The method
How to Make Classic Nanaimo Bars
Step 1: Prepare the Pan
Line an 8×8-inch pan with parchment or foil, leaving some overhang on two sides. Those handles make it easy to lift the whole slab out for slicing later.
Step 2: Cook the Chocolate Base
Melt the butter in a heatproof bowl set over simmering water. Off the heat, whisk in the cocoa, sugar and salt, then slowly whisk in the beaten egg. Adding it slowly keeps it from scrambling. Return the bowl to the simmering water and stir until the mixture thickens to a glossy, pudding-like consistency.
Step 3: Add the Crumbs and Press
Fold in the graham crumbs, coconut and almonds until everything is evenly coated. Press the mixture firmly into the pan, using the bottom of a measuring cup to compact it. A firm press means the base holds together when cut. Refrigerate while you make the filling.
Step 4: Whip the Custard Filling
Beat the softened butter, powdered sugar, custard powder and cream on high for about 4 minutes, until light and fluffy. The long beating dissolves the sugar and incorporates air for a smooth, spreadable layer. Spread it evenly over the chilled base and return the pan to the fridge.
Step 5: Add the Chocolate Top
Melt the chocolate and butter together until smooth. Let it cool slightly so it doesn’t melt the filling, then spread it over the custard layer in a thin, even coat. Chill until fully set.
Step 6: Slice
Lift the slab out and cut it into bars with a sharp knife, wiping the blade clean between cuts. Running the knife under hot water and drying it first helps the chocolate top cut without shattering.
Tips & common mistakes
Expert Baking Tips
- Keep the water at a simmer: A gentle simmer thickens the base slowly; a rolling boil can overcook the egg.
- Chill each layer: A cold base and filling keep the layers distinct instead of smearing together.
- Use soft, not melted, butter for the filling: Melted butter makes a greasy filling that won’t whip up.
- Score the chocolate: Lightly mark cut lines on the top when it is almost set to prevent cracking later.
- Chop the almonds finely: Large pieces make the base crumbly and hard to slice cleanly.
Make it your way
Variations and Substitutions
- Nut-free: Leave out the almonds and add a little more graham crumb. The base will be slightly less crunchy.
- Vanilla pudding mix: Instant vanilla pudding powder can stand in for custard powder, but the flavor and color will be milder.
- Mint Nanaimo bars: Add a few drops of peppermint extract and green coloring to the filling for a festive twist.
- Different crumbs: Chocolate wafer or digestive biscuit crumbs work, each giving a slightly different flavor.
- Dark chocolate top: Use a bittersweet chocolate for a less sweet finish that balances the rich filling.
Serving
Serving Suggestions
Serve Nanaimo bars chilled or just slightly below room temperature, cut into small squares on a holiday cookie platter. They pair well with coffee or tea, and they hold up nicely next to other no-bake treats like our no-bake cheesecake bars. If you love the chocolate and coconut combination, our raw chocolate coconut cashew bars are worth a try too.
Storage
Storage, Freezing and Reheating
Keep leftover Nanaimo bars covered in the refrigerator, since the butter-rich filling softens quickly at room temperature. They keep well for several days chilled. For longer storage, freeze the bars in a single layer, then wrap them well and freeze for up to 3 months. Thaw in the refrigerator. No reheating is needed; serve them cold.
Questions
Frequently Asked Questions
What is custard powder and where can I find it?
Custard powder is a cornstarch-based mix flavored with vanilla and colored yellow, traditionally used to make quick custard. Look for it in the baking aisle or the British or international foods section of larger grocery stores.
Is the egg in Nanaimo bars safe to eat?
The egg is cooked gently over simmering water until the base thickens, but it is only lightly cooked. If you are serving young children, pregnant guests or anyone with a weakened immune system, consider using pasteurized eggs.
Why is my chocolate top cracking when I cut it?
Cold chocolate is brittle. Let the bars sit at room temperature for a few minutes before cutting, and use a warm, dry knife wiped clean between cuts.
Can I make Nanaimo bars without coconut?
Yes, though coconut is traditional. Replace it with extra graham crumbs or finely chopped nuts. The base will be less chewy and slightly drier.
Why are they called Nanaimo bars?
The bars are named after Nanaimo, a city on Vancouver Island in British Columbia, where they became popular in the mid-twentieth century. They are now a beloved Canadian classic.
Recipe Card
All three layers, with exact measurements, are in the recipe card below.
Classic Nanaimo Bars (No-Bake)
Ingredients
Equipment
Method
- Line an 8×8-inch pan with parchment or foil.
- Melt the butter in a heatproof bowl set over simmering water. Off the heat, whisk in the cocoa, sugar and salt, then slowly whisk in the egg.
- Return the bowl to the simmering water and stir until the mixture thickens.
- Fold in the graham crumbs, coconut and almonds, press firmly into the pan and refrigerate.
- Beat the butter, powdered sugar, custard powder and cream on high for about 4 minutes until light and fluffy.
- Spread evenly over the chilled base and return to the fridge.
- Melt the chocolate and butter together, spread over the filling and chill until fully set.
- Cut into bars with a sharp knife, wiping it clean between cuts.