Nanaimo Bars

How to make classic Nanaimo bars! These famous Canadian dessert bars have a chocolate coconut base, a custard filling, and chocolate topping!

4.73 from 18 vote(s)52 comments
Jump to Recipe Saved Save RecipeSave to FavoritesPin Recipe Rate Recipe Cookbooks

This post may contain affiliate links. Please read our privacy policy for additional information.

Why You’ll Love My Recipe

This buttercream custard-filled bar is a dessert lover’s dream and a staple of Canadian desserts. Build up a stockpile in your freezer for the holiday season, or just for a quick sweet treat.

Except perhaps for the butter tart, there is nothing quite as famous as a Nanaimo bar when it comes to Canadian dessert cuisine. Why not pair yours with an Espresso Martini or a Classic Rum Runner Cocktail?

Karlynn’s Recipe Notes

  • Skill Level: This recipe is very easy.
  • Total Time: Making these Nanaimo bars will take you approximately 3 hours, depending on how long you chill them for. The actual work of preparing and assembling them only take 15 minutes or so.
  • Variations: Nanaimo bars are so basic that they don’t really do well with changes. You can try different sort of chocolate chips for the top layer though. Try some dark chocolate to cut the sweetness, or use milk chocolate for a creamier flavour. Remove the coconut or walnuts from the base layer if you need to, but be sure to find a substitution that will add crunch and chewiness.
  • Tools Needed: For this recipe, you’ll need a hand mixer, a whisk, a large pot, a glass measuring cup, a 9×9 baking pan, a sharp knife, and some parchment paper.

What You’ll Need For Ingredients

Bottom: This chewy crust is a yummy combination of ingredients that you likely have in your pantry. If you are allergic to coconut or walnuts, you can omit them, but you may want to find alternatives to keep the chewy and crunchyb texture.

Middle: This fluffy, and vibrant middle layer is made from icing sugar (aka powdered sugar), butter, heavy cream, and custard powder. Look for custard powder in the baking section of your grocery store. If it isn’t near the flour and sugar, it may be by the pudding mixes and gelatin. The most commonly available brand here in Canada is Bird’s Custard Powder, but depending on your store you may have more options.

Top: The delicious top layer of Nanaimo bars is a simple mixture of chocolate chips and butter, melted and spread across the top of the chilled custard layer.

How To Make Nanaimo Bars

This is a brief overview of the recipe. The full list of ingredients and step-by-step instructions are in the recipe card below.

  1. Line 9×9 pan with parchment paper, leaving some paper overhanging the edges.
  2. In a large pot over medium heat, melt the butter, sugar, and cocoa. Mix together until smooth. Remove from heat. Mix a small amount of the hot mixture with the beaten egg, whisking quickly to avoid lumps. Whisk the tempered egg into the the hot mixture.
  3. Add the graham cracker crumbs, coconut, and walnuts. Press the mixture into the bottom of the pan and put in the fridge to chill.
  4. Cream the icing sugar, butter, cream, and custard powder with a hand mixer. Spread onto the chilled bottom layer in the pan.
  5. Melt chocolate chips and butter and pour over middle layer. Spread evenly and cool in fridge for a few hours.
  6. Remove from pan as a slab. Slice and serve while the bars are still cold.

Karlynn’s Tips and Tricks for Making Nanaimo Bars

Custard Alternative: Custard powder is one of the distinctive ingredients in Nanaimo bars, and it’s readily available in the baking aisle of most grocery store. However, if you can’t find custard powder or just really don’t like it, you can use vanilla pudding mix instead. It won’t give you the same bright yellow colour, but otherwise it should turn out almost the same.

Keep it Chill: Nanaimo bars need to be kept cold. If they’re left at room temperature, they soften and start to melt. Keep them in the fridge or freezer until you’re ready to eat them. Keeping them nice and cold also helps make them easier to slice, especially if you heat up your knife before cutting. To keep the chocolate from cracking, be sure to gently score lines in it before it fully hardens. They’ll help guide your knife.

close up 3 pieces nanaimo bars, mint leaves and walnuts

Storage Instructions

Store these in the fridge until just before you plan to eat them, otherwise the chocolate will soften and melt. You can keep them in the fridge in a sealed container for up to 5 days.

Freeze Nanaimo bars in individual bars or as a frozen slab, in a sealed container for up to 3 months.

More Delicious Bar and Square Recipes

Looking for more easy bar recipes to add to snack platters this holiday season?

Try some Pecan Pie Bars or Pumpkin Pie Bars for more seasonal flavours.

How about making Saltine Toffee Squares and Chewy Chocolate Puffed Wheat Squares for some classic childhood snacks?

There you go. Sweet, simple, and easy to freeze for later. Try this classic Canadian recipe and let me know what you think.

Happy Baking!

Karlynn

Save This Recipe to your Email!
Enter your email below to save this recipe to your email so you don’t lose it and get new recipes daily!

Nanaimo Bars

How to make classic Nanaimo bars! These famous Canadian dessert bars have a chocolate coconut base, a custard filling, and chocolate topping!
4.73 from 18 votes
Prep: 10 minutes
Cook: 15 minutes
Servings: 16 bars
Calories: 347

Ingredients 

Bottom Layer

  • ½ cup salted butter
  • cup sifted cocoa
  • ¼ cup granulated sugar
  • 1 large egg, beaten (this can be omitted)
  • 1 ¾ cups graham cracker crumbs
  • ¾ cup shredded coconut, sweetened
  • ½ cup finely chopped walnuts

Middle Layer

  • 2 cups icing sugar, (powdered sugar)
  • ½ cup salted butter, room temperature
  • 3 tablespoons heavy cream
  • 3 tablespoons custard powder

Top Layer

  • 1 cup semi-sweet chocolate chips
  • 2 tablespoons salted butter

Instructions 

  • Line a 9×9 pan with parchment paper, leaving some parchment paper hanging over the edge for handles.
  • In a large pot over medium heat, melt the butter, sugar, and cocoa together until it's smooth. Heat until the mixture is steaming hot.
  • Temper the egg by adding a large tablespoon of the hot butter mixture into the beaten egg, whisking rapidly. Once you have whisked it in completely, pour the beaten egg into the hot butter and cocoa mixture, whisking rapidly to ensure that there are no lumps. This will cook the egg in the hot mixture.
  • Mix in the graham crumbs, coconut, and walnuts. Firmly press into the bottom of the prepared 9×9 pan. Chill in the refrigerator while you get the middle layer ready.
  • Get your middle ingredients together.
  • Cream the icing, butter, cream, and custard powder together with a hand mixer, then spread onto the bottom layer.
  • Melt the cup of chocolate chips and 2 tbsp of butter together in a microwave-safe glass measuring cup, heating on high power in 20-second increments, making sure to stir after heating each time.
  • Once the chocolate is smooth, spread the chocolate on top of the middle layer evenly, then cool in the fridge for a few hours. The middle layer will set and the top layer will harden.
  • Remove the slab of bars from the pan once chilled by lifting the parchment paper. Slice the bars on the paper and serve.
  • Keep the bars refrigerated in a closed container for up to 5 days, or freeze for up to 3 months.

Notes

  • This is a very old-fashioned recipe and has a raw egg in the base. For food safety reasons you can temper the egg in step three, and then make sure to cook it in the hot butter and cocoa mixture. 
  • Try dark, semi-sweet or milk chocolate for the topping!
  • If you want to cut the sweetness, you can use unsweetened coconut in the bottom layer.

Nutrition

Calories: 347kcal | Carbohydrates: 36g | Protein: 3g | Fat: 22g | Saturated Fat: 12g | Cholesterol: 51mg | Sodium: 194mg | Potassium: 98mg | Fiber: 2g | Sugar: 27g | Vitamin A: 445IU | Vitamin C: 0.2mg | Calcium: 40mg | Iron: 1.1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

Karlynn Johnston

I’m a busy mom of two, wife & cookbook author who loves creating fast, fresh meals for my little family on the Canadian prairies. Karlynn Facts: I'm allergic to broccoli. I've never met a cocktail that I didn't like. I would rather burn down my house than clean it. Most of all, I love helping YOU get dinner ready because there's nothing more important than connecting with our loved ones around the dinner table!

Learn more about me

Site Index Bars and squares Canadian recipes Christmas Christmas baking

Reader Interactions

Comments & Recipe Tips Share a tip or comment!

  1. Sue says

    it was actually a recipe contest in the newspaper the Vancouver sun that someone from Nanaimo won the original recipe has almonds not walnut
    it is supposed to be unsweetened coconut or its too sweet

4.73 from 18 votes

Leave a Comment or Recipe Tip

Recipe Rating




EMAIL YOURSELF THIS RECIPE!
Enter your email to get this recipe emailed to you, so you don’t lose it and get new recipes daily!