
Mom’s Nanaimo Bars – Our Authentic Canadian Dessert
This post may contain affiliate links. Please read our disclosure policy.
Nanaimo bars are a classic Canadian dessert. This is Mom’s recipe, and it is a bit less sweet than most, which is a good thing! They are made with a graham-crumb, coconut, and nut crust, topped with a layer of buttery custard, and finished with chocolate. You’ll love this no-bake dessert!

It’s no surprise that Nanaimo bars hold a special place in my heart. As a Canadian, I’ve eaten my fair share over the years, and I can confidently say that nothing compares to a homemade Nanaimo bar. With their chocolate-coconut base, creamy custard filling, and glossy chocolate topping, they’re one of Canada’s most iconic desserts for good reason.
This recipe comes from my mom, and it’s the one I come back to every holiday season, potluck, and family gathering. The layers are perfectly balanced, the custard filling is silky and rich, and the texture is exactly what a Nanaimo bar should be. In my opinion, they’re miles better than the pre-made versions you’ll find in bakery cases around British Columbia.
If you’ve never made authentic Nanaimo bars before, don’t worry. The ingredients are simple, the steps are straightforward, and the results are absolutely worth it. Once you’ve tasted a homemade Nanaimo bar with real custard powder and that classic chewy-crunchy base, it’s hard to go back.
The ingredients are classic and traditional. Cocoa powder, graham cracker crumbs, coconut, and walnuts create the signature base, while powdered sugar, butter, and Bird’s Custard Powder make the creamy middle layer. A simple mixture of chocolate and butter finishes everything off with the glossy topping that makes Nanaimo bars instantly recognizable.
What is a Nanaimo bar?
A Nanaimo bar is one of my favorite classic Canadian desserts. While it’s spread all over Canada, it originated in the city of Nanaimo on Vancouver Island in British Columbia—just a hop away from The Endless Meal headquarters! These no-bake tasty treats are made by layering three distinct tiers: a crumbly base, a creamy custard middle, and a chocolate topping. The result is like a layered bar cookie. They are loved year-round and hold a special place as a festive-season staple in Canada.

Tips for making the best Nanaimo bars
Nanaimo bars are surprisingly easy to make, but a few simple tips will help ensure perfect layers every time:
- Line the pan: Parchment paper makes it easy to lift the bars out for clean slicing.
- Use softened butter: For the custard layer, make sure your butter is at room temperature so it blends smoothly.
- Keep the layers even: Press the base down firmly, smooth the custard layer with a spatula, and gently tap the pan after adding the chocolate topping to level it out.
- Chill between layers: Let each layer set before adding the next so they stay distinct.
- Melt the chocolate gently: Chocolate can be finicky, so melt it slowly with the butter over low heat.
- Slice while the chocolate is just set: This helps prevent cracking. For the cleanest cuts, dip a sharp knife in hot water and slice rather than pressing straight down.
Store and freeze
How do I store Nanaimo bars? Place these in a covered container on your counter for several days or in your fridge for up to a week.
Can you freeze Nanaimo bars? Yes – store in the freezer in an airtight container for up to three months. To thaw, put them in the fridge overnight. Or simply let one sit on your counter for about 10 minutes – they don’t take long to thaw!

Mom’s Nanaimo Bars Recipe
Ingredients
Bottom Layer
- ½ cup butter
- 5 tablespoons cocoa powder
- ¼ cup granulated sugar
- 1 large egg
- 1 ¾ cup Graham cracker crumbs
- ¾ cup fine coconut
- ¼ cup chopped walnuts
Middle Layer
- 3 cups powdered sugar
- ¾ cup butter (softened)
- ¼ cup milk
- ¼ cup Bird's vanilla custard powder
Top Layer
- 8 ounces shaved dark chocolate or chocolate chips
- 4 tablespoons butter
Instructions
Bottom layer
- Lay a piece of parchment paper in a 9×11-inch pan, letting some hang over the sides. (This makes it easier to remove the Nanaimo bars.)
- Melt the butter in a medium-sized pot over medium heat. Whisk in the cocoa powder and sugar. Remove the pot from the heat then add the egg and whisk until it has thickened, about 30 seconds. Stir in the Graham cracker crumbs, coconut, and walnuts. Press the crust firmly into the prepared pan.½ cup butter, 5 tablespoons cocoa powder, ¼ cup granulated sugar, 1 large egg, 1 ¾ cup Graham cracker crumbs, ¾ cup fine coconut, ¼ cup chopped walnuts
Middle layer
- Add all the middle layer ingredients to a large bowl and cream them together using electric beaters. Pour the custard over the first layer and smooth the top.3 cups powdered sugar, ¾ cup butter, ¼ cup milk, ¼ cup Bird's vanilla custard powder
- Place the pan into your fridge for at least 20 minutes, or until the custard is firm.
Top layer
- Add the chocolate and butter to a medium-sized pan over low heat and let both melt. Whisk to combine and then pour the chocolate over the custard. Smooth the top first with a spatula then by gently tapping the pan on your counter.8 ounces shaved dark chocolate or chocolate chips, 4 tablespoons butter
- Chill in your fridge for about 20 minutes, or until the chocolate is soft-set. Cut the Nanaimo bars into bars then place them back in your fridge until they are completely set. (Cutting the bars first prevents the chocolate from cracking.)
- Store the bars in a covered container in your fridge for a week or up to three months in your freezer. The bars can be eaten cold or at room temperature – they take about 10 minutes to warm once out of the fridge.
Video
Nutrition
We have thoroughly tested this recipe for accuracy. However, individual results may vary. See our full recipe disclosure here.

Great recipe and instructions as they really do matter when it comes to the chocolate especially. Thank you
Thank you!
Excellent. The cutting technique worked perfectly, and I’ve never made better Nanaimo bars!
That’s wonderful! Thank you for coming back to let us know!
Hi, where do you purchase Callebaut chocolate? Ty
I either buy it in bunk from a local grocery store, Price Smart Foods. Or I get it in large bricks from another local store, Gourmet Warehouse. 🙂
My kids won’t eat coconut. Can I just omit it without changing the rest of the bottom layer?
I haven’t tried it without the coconut. Maybe add a few more nuts instead.
Absolutely the best!
Splurge and buy really good quality chocolate it’s definitely worth it
Thanks, Peggy!
I’ve made these a few times now (with extra walnuts instead of coconut, as some of my target eaters don’t like coconut) – they’re so delicious that I have friends and coworkers requesting them for special occasions. Multiple people have told me they’re the best Nanaimo bars they’ve ever had! Thanks so much for sharing your mom’s wonderful recipe, it’s made many people very happy!
That is fantastic! Really happy to hear they are a hit!
Thought I would give this recipe a whirl, since it seemed to have just the right amount of icing sugar for the middle layer. I am always having to double it, and it ends up being too much. I used a 9x 13 pan, since I didn’t have a 9×11. The instructions were wonderful. The parchment paper which I thought was silly, was the BEST idea ever. These are by far the best Nanaimo bars I have made! Thanks!
That makes me so happy to hear! Hooray!
FIne coconut – is it fresh, or more like prebought coconut flakes? Just thinking that the fresh would probably be a bit more moist.
We use desiccated coconut, from a package. 🙂
I liked the bottom layer but the middle custard layer was really sweet and didn’t set up properly. The chocolate was okay but it never really hardened either unfortunately.
I’ve wanted to make these for years,but do not like coconut. Is the flavor prevalent?Or can I leave out?
Thank you,
Susan
I don’t find that the coconut is very prevalent in taste but you can notice it in texture. I would recommend adding additional nuts instead of the coconut. 🙂
This recipe was great! Best nanaimo bars ever! .
Yay! I’m so happy to hear that!
My 11 year old son and I made these last night for an International food taste for school. He is so proud of himself for how great they turned out. They are definitely sweet, but so good. Thank you for the recipe.
IMG_5305.jpg
That makes me so happy to hear! I love hearing about kids in the kitchen. It’s so awesome!
Hi kristen!
Can’t wait to try your Nanaimo bar recipe. Never heard of them b4 I started to follow & write to quite a few Canadian bakers on IG. Your recipe calls for all the ingredients that @cakedbykatie mentioned to me. I just got the Birds custard recently & plan to get the coconut tomorrow!
I’m also an RN ( Ortho/Neuro tele ). Didyou attend a chef school or self taught?
Thanks again,
Jan
I hope you love the recipe as much as my family does! I am self-taught. 🙂
Thanks again for the recipe!! Delicious ?
You are so welcome!
Great Recipe!! I’m excited to share these at our “Passport around the world” night at our local school. I’m a Canadian living in Ga. I did a trial run and shared them with some neighbors who LOVED them. Thanks for posting!!
That makes me so happy to hear!
When in British Columbia last year with friends, we purchased Nanaimo Bars from a bakery and they were delicious. My friend sent me the recipe when we got home which I tried.and the top was a mess. I looked on the internet and found your recipe. You gave wonderful instructions re how much time to allow for each step. I made them and they turned out great. Thank you so much!!! And, I ordered custard power from Amazon, no charge for shipping.
I’m so happy to hear they were a hit!
I have a question about the custard powder. Custard powder recipes that I have seen call for it to be cooked. Since the filling in this recipe is basically a frosting, not sure why it is included. Should it have read instant custard powder. Using the measured ingredients for the chocolate topping, it came out quite thick and was not pourable.
This is the custard powder that I use in the recipe. If the chocolate is heated too quickly it can thicken. Perhaps that is what happened?
The custard does not go in with the chocolate.