Nanaimo bars are a Canadian dessert staple! There is probably nothing as famous as a Nanaimo bar when it comes to Canadian cuisine, excepting the butter tart, of course. This buttercream custard filled bar is a sweet-tooth’s dream!

Nanaimo Bars
Nanaimo Bars

Nanaimo Bars The Famous Canadian Dessert

The Nanaimo bar is a no bake bar dessert that is (supposedly) named after the city of Nanaimo, British Columbia on Vancouver Island. There are a few arguments over where it came from, but generally we all agree that it was made famous by Nanaimo at the least.  It consists of a walnut and crumb based bottom layer that is pressed into a pan. That layers is then topped by the middle layer that consists of of custard flavoured buttercream icing (which is the best part!) and then  covered with melted chocolate. The melted chocolate then hardens, creating a hard chocolate topping.

What is in a Nanaimo Bar?

The Nanaimo bar is a relatively easy bar to make since you don’t have to bake it and consists of these layers:

Bottom Layer

  1.  butter
  2.  sifted cocoa
  3. granulated sugar
  4.  egg
  5. 1 graham cracker crumbs
  6. unsweetened coconut
  7. finely chopped walnuts

Middle Layer

  1. icing sugar
  2. butter
  3.  milk
  4.  custard powder

Top Layer

  1.  chocolate chips
  2.  butter
nanaimo bars
Nanaimo bars

The real secret to a nanaimo bar is the custard powder, but what if you don’t have custard powder? If you want to replace the custard powder in a nanaimo bar, you can use instant vanilla pudding instead. It’s not the exact same and the color won’t look the same pale yellow, be warned, but it will be very close!

Can you freeze Nanaimo bars? I am sure that the reason these are so popular is that Nanaimo bars are probably one of the BEST bars that you can freeze! Remember to wrap them up and place them in layers in an airtight container and they will freeze up perfectly for a month or two.

Nanaimo bars
Nanaimo bars

Nanaimo Bar Recipe – Baking Tips & Tricks

  • While I don’t think the original recipe has cooling the crust as a step in it, it IS better to cool the crust in between. While you are making the middle filling pop the bottom crust into the fridge.
  • This is easiest to cut when it’s colder. Scour lines in the top of the chocolate before it hardens, then cut through those exact lines when the bars are cold. You will get perfect squares without cracking chocolate!
  • Keep them chilled as they get melted in the middle a bit when at room temperature!

This nanaimo bar recipe is one that my family has been using for years and I suspect it’s the one from Company’s Coming cookbooks, as a lot of bars are. However, she didn’t invent the nanaimo bar….so I would love to know which recipe is THE original Nanaimo bar recipe. Does anyone know or is it a lost cause to ever truly pin down who came up with Nanaimo bars?

No matter who, a big thank you for inventing my favourite square!

Happy baking!



Nanaimo bars are a Canadian dessert staple! This buttercream custard filled bar is a sweet-tooth's dream! #square #bar #dessert #nanaimobars #sweet #sugar #recipe #nobake #chocolate #easyrecipe

5 from 8 votes
Nanaimo Bars
Prep Time
10 mins
Cook Time
15 mins
Total Time
25 mins
The classic nanaimo bars recipe! 
Course: Dessert
Cuisine: Canadian
Keyword: nanaimo bar
Servings: 16
Calories: 347 kcal
Author: Karlynn Johnston
Top Layer
  • 1/2 cup butter
  • 1/3 cup sifted cocoa
  • 1/4 cup granulated sugar
  • 1 large egg, beaten
  • 1 3/4 cups graham cracker crumbs
  • 3/4 cup unsweetened coconut
  • 1/2 cup finely chopped walnuts
Middle Layer
  • 2 cups icing sugar
  • 1/2 cup butter
  • 3 tbsp milk
  • 2-3 tbsp custard powder
Bottom Layer
  • 1 cup chocolate chips
  • 2 tbsp butter
  1. Start with the bottom ingredients. 

  2. In a large pot, melt the butter, sugar and cocoa together until it's smooth. 
  3. Quickly beat in the egg, making sure there are no lumps. 

  4. Add in the graham crumbs, coconut and walnuts. Firmly press into the bottom of an un-greased 9x9 pan. Chill in the refrigerator while you get the middle layer ready.

  5. Get your middle ingredients together. Custard powder should readily be available in any store and is what gives the middle layer the yellow color. 

  6. Cream the icing, butter, milk and custard powder together with a mixer, then spread onto the bottom layer. 

  7. Melt the cup of chocolate chips and 2 tbsp of butter together. 

  8. Spread the chocolate on top evenly, then cool in the fridge for a couple hours. The nanaimo bars are best chilled, they hold together the best, since the middle layer is well, butter!
Nutrition Facts
Nanaimo Bars
Amount Per Serving
Calories 347 Calories from Fat 198
% Daily Value*
Total Fat 22g 34%
Saturated Fat 12g 60%
Cholesterol 51mg 17%
Sodium 194mg 8%
Potassium 98mg 3%
Total Carbohydrates 36g 12%
Dietary Fiber 2g 8%
Sugars 27g
Protein 3g 6%
Vitamin A 8.9%
Vitamin C 0.2%
Calcium 4%
Iron 6%
* Percent Daily Values are based on a 2000 calorie diet.




Hey guys, I'm Karlynn! Welcome to The Kitchen Magpie, my website full of family friendly recipes, cocktails & homesteading tales of chickens & cows from the family farm! Make sure to check out my bestselling cookbook, Flapper Pie & a Blue Prairie Sky ,stay tuned for info on my second cookbook!


  1. Hello from Winnipeg. Just found your site today when I was looking for the source of whipped “shortbread”. I make traditional Scottish shortbread and wondered where the shipped form began. I think it was in the 30’s or 40’s but no real proof.

    One question: Is it me(?) or is your list of the three levels for Nanaimo bar upside down. You say the bottom layer (of crumbs etc) is the “top layer.” and the chocolate and butter layer is the bottom layer in your recipe. Nanaimo bar has been around for quite a long time before the Bridge cookbooks. Great books. I have all of them. I found Nanaimo Bars in one of my mother’s old church recipe books put out by the women’s auxiliary – c 1940 – and I also have an old CCF cookbook I found a long time ago in a book sale (the CCF is of course, now the NDP.) A terrific book with many local recipes. Not sure of the date, but the CCF cookbook was probably printed at least 50 years ago. I am looking forward to seeing some of your recipes! Love the site.

    • That’s whipped, not “shipped”! Lol. I will try your version of Nanaimo as my old recipe is too dry/ crumbly on the bottom and it falls apart.

  2. These look so good! I’m wondering if I have to cook the base layer for a bit so the sugar will dissolve???


  3. B Hamilton Reply

    I have used this recipe many times. Turns out perfect every single time. A little chilling between layers does help for sure but I usually can’t wait that Also I found it a lot nicer without the walnuts in the crust, i sprinkle them on top of the chocolate instead. Sooooooo good. Way better then store bought variety.

  4. hi great recipe just wondering if base and middle need to be chilled before trying to apply icing my attempt did nothing but smear and mix with the middle…thanx again

Write A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Send this to a friend