Ivys Recipes

  • About
  • Recipe Index
  • Recipes by Meals
    • Appetizers and Snacks
    • Desserts
    • Side-Dish
    • Soups
    • Drinks
  • Recipes by Meal Time
    • Breakfast
    • Dinner
menu icon
go to homepage
  • About
  • Recipe Index
  • Recipes by Meals
    • Appetizers and Snacks
    • Desserts
    • Side-Dish
    • Soups
    • Drinks
  • Recipes by Meal Time
    • Breakfast
    • Dinner
search icon
Homepage link
  • About
  • Recipe Index
  • Recipes by Meals
    • Appetizers and Snacks
    • Desserts
    • Side-Dish
    • Soups
    • Drinks
  • Recipes by Meal Time
    • Breakfast
    • Dinner
×

Nanaimo Bars Recipe

Published: Oct 28, 2026 by Ivy · This post may contain affiliate links · Leave a Comment

Jump to Recipe· 4.2 from 29 reviews

If you have a sweet tooth and are on the hunt for a truly indulgent treat, this Nanaimo Bars Recipe is going to become your new best friend in the kitchen. Originating from Canada, these bars are a perfect harmony of textures and flavors, with a rich, crunchy base, a smooth, custardy middle, and a glossy, chocolate topping that simply melts in your mouth. Each bite offers a delightful combo that satisfies your cravings without being overwhelmingly sweet, making Nanaimo Bars an irresistible classic you won't want to miss sharing with friends and family.

Ingredients You'll Need

A flat lay of baking ingredients arranged on a white marbled surface. At the center, a small wooden tray holds a few pieces of dark chocolate wrapped partially in white paper. Surrounding this are bowls and scoops with different ingredients: a large clear glass bowl with white powdered sugar at the top right, a white bowl with finely ground nuts at the top left, and smaller metal measuring cups holding shredded coconut, a white solid fat, and another ingredient in powder form. On the right side, four wooden scoops hold cocoa powder, milk, white sugar, and flour, with scattered whole almonds placed around the scene. A turquoise cloth with a white pattern is draped below the metal cups, covering part of the surface. Photo taken with an iphone --ar 4:5 --v 7

Making Nanaimo Bars might sound fancy, but the ingredients are surprisingly simple, straightforward, and all play key roles in crafting those layers of flavor and texture everyone loves. From the buttery crunch of the base to the silky custard filling and luscious chocolate topping, each ingredient is essential for that perfect balance.

  • ½ Cup unsalted butter (at room temperature): Provides richness and helps bind the base together beautifully.
  • ¼ Cup granulated sugar: Adds sweetness and helps set the texture of the base layer.
  • 5 Tablespoons cocoa powder (unsweetened): Gives the base a deep chocolate flavor without overpowering.
  • 1 egg: Acts as a natural binder in the base, ensuring everything holds firm.
  • 1 ¾ Cups graham cracker crumbs (regular or gluten free): Creates that signature crunchy, slightly sweet foundation.
  • 1 Cup sweetened coconut flakes: Adds a lovely chewiness and tropical nuance to the base.
  • ½ Cup almonds (very finely chopped): Imparts subtle nuttiness and a delicate crunch; chopping finely helps the bars hold together better.
  • ½ Cup unsalted butter (at room temperature): For the middle custard layer, lending creaminess and softness.
  • 3 Tablespoons heavy cream: Ensures the custard is smooth and lush without being too dense.
  • 2 Tablespoons custard powder: This is crucial for that authentic creamy filling with its signature flavor and texture.
  • 2 Cups icing sugar: Sweetens and thickens the custard layer to perfection.
  • 8 Ounces semi-sweet chocolate: Offers a rich, glossy finish on top that’s not too sweet but completely decadent.
  • 4 Teaspoons unsalted butter: Mixed with the chocolate, this gives the topping a silky shine and easier spreading consistency.

How to Make Nanaimo Bars Recipe

Step 1: Make the First Layer

Begin by melting ½ cup of the unsalted butter, granulated sugar, and cocoa powder together in the top of a double boiler. Stir occasionally until the mixture is smooth and melted. The gentle heat will help meld these flavors perfectly while keeping the mixture silky. Next, beat in the egg carefully to avoid curdling—tempering it can help if you're worried about that. Once thick and glossy, remove from heat and mix in the graham cracker crumbs, coconut flakes, and finely chopped almonds. Press this mixture very firmly and evenly into the bottom of an ungreased 8-inch square pan. This dense, chocolatey base is the sturdy foundation Nanaimo Bars are famous for!

Step 2: Make the Middle Layer

While the base cools, it’s time to whip up the luscious custard middle. Cream together the remaining ½ cup of butter, heavy cream, and custard powder until light and fluffy—this airy texture makes all the difference in how the bars feel when you bite into them. Gradually mix in the icing sugar until everything is smooth and velvety. Spread this creamy custard over the hardened bottom layer, and be sure to chill it until it sets completely. This chill time creates that perfect firm-yet-creamy middle that’s pure magic.

Step 3: Make the Top Layer

While your middle layer chills, melt the semi-sweet chocolate and 4 teaspoons of butter gently together in a double boiler or over low heat. Avoid microwaving to prevent cracking later on. Once melted, spread this silky chocolate evenly over the cold custard layer. Here’s a neat trick: score the chocolate very lightly as it starts to set. This scoring prevents cracking when you cut your bars, helping you serve up those neat, beautiful squares everyone will admire.

Step 4: Slice and Serve

Allow the chocolate topping to set fully before slicing into your Nanaimo Bars. Cutting them when chilled leads to cleaner edges, especially if you use a warm knife and wipe it clean between cuts. This results in bars that look as good as they taste, perfect for sharing or gifting to loved ones.

How to Serve Nanaimo Bars Recipe

The image shows two stacked dessert bars with three clear layers. The bottom layer is dark brown with a rough, chunky texture, filled with small bits of coconut or nuts. The middle layer is thick and creamy, pale yellow in color, looking smooth and soft. The top layer is a glossy, dark chocolate layer with a slightly uneven surface, giving a rich and smooth appearance. The bars sit on a white marbled surface with a soft blue background, highlighting the dessert's colors. Photo taken with an iphone --ar 4:5 --v 7

Garnishes

While these bars are stunning on their own, a little sprinkle of extra coconut flakes or a few chopped almonds on top right after spreading the chocolate can add a pretty, textured finish. For a fun flair, you can dust lightly with cocoa powder or add a drizzle of white chocolate for contrast. These small touches make each bar look more inviting and feel extra special.

Side Dishes

Nanaimo Bars are decadently rich, so pairing them with something light balances the experience well. Consider serving alongside fresh berries or a dollop of whipped cream to add freshness. For a warm contrast, a simple cup of black coffee or smoky Earl Grey tea perfectly complements the layers of chocolate and custard without overwhelming your palate.

Creative Ways to Present

Get creative by cutting your Nanaimo Bars into bite-sized squares or rectangles and arranging them on a pretty platter for parties or potlucks. They also work beautifully as elegant finger food at celebrations. You might even try layering them in clear serving glasses with whipped cream and fresh fruit for a layered dessert parfait that’s a visual and tasty delight!

Make Ahead and Storage

Storing Leftovers

Once you've made this Nanaimo Bars Recipe, leftovers keep very well in an airtight container in the refrigerator for up to a week. The cool environment helps maintain the integrity of the custard and prevents the chocolate from melting or becoming sticky. Just be sure to keep them covered to avoid absorbing any fridge odors.

Freezing

If you want to prepare them well before a special occasion, Nanaimo Bars freeze beautifully. Wrap them tightly in plastic wrap and place them inside a freezer-safe container or bag. They can be frozen for up to 2 months. When ready to enjoy, thaw in the refrigerator overnight for best texture and flavor preservation.

Reheating

It’s best to enjoy Nanaimo Bars chilled or at room temperature, so reheating isn’t usually necessary. If you prefer them slightly softer, let them sit out for 15-20 minutes after removing from the fridge. Avoid microwaving, which can cause the chocolate to become grainy and the custard to lose its creaminess.

FAQs

Can I use different nuts in the base?

Absolutely! While almonds are traditional, walnuts, pecans, or hazelnuts finely chopped also work wonderfully and can add your personal touch to the Nanaimo Bars Recipe.

Is it possible to make Nanaimo Bars gluten-free?

Yes, simply swap out the graham cracker crumbs for a gluten-free variety or crushed gluten-free cookies. This small adjustment keeps the texture and flavor intact while accommodating dietary needs.

What is custard powder, and can I substitute it?

Custard powder is a cornstarch-based base with flavoring that gives the filling its characteristic taste and texture. You can substitute cornstarch combined with a bit of vanilla extract, but the flavor won't be exactly the same as authentic Nanaimo Bars.

Why do I need to temper the egg in the base layer?

Tempering the egg prevents it from curdling when added to the hot butter mixture. This step ensures a smooth, thick filling without any lumpy bits, critical for the base’s texture.

How can I prevent the chocolate topping from cracking?

Melting chocolate gently over low heat or in a double boiler and scoring the surface lightly as it sets are key tricks. Avoid microwave melting and sharp cuts on fully hardened chocolate to keep the toppings smooth and crack-free.

Final Thoughts

There’s something truly special about the Nanaimo Bars Recipe that combines nostalgia with pure indulgence in every bite. Whether it’s a dessert for a casual gathering or a sweet surprise for yourself, these bars never fail to impress with their layers of flavor and texture. Give this recipe a try and watch it become a beloved staple in your dessert rotation—you’ll be thankful you did!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Nanaimo Bars Recipe

Nanaimo Bars Recipe

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.2 from 29 reviews
  • Author: Ivy
  • Prep Time: 20 minutes
  • Cook Time: 15 minutes
  • Total Time: 1 hour 20 minutes
  • Yield: 16 servings
  • Category: Dessert
  • Method: No-Cook
  • Cuisine: Canadian
Print Recipe
Pin Recipe

Description

Classic Nanaimo Bars with three delicious layers: a crumbly chocolate-graham coconut base, a creamy custard middle, and a smooth semi-sweet chocolate topping. This no-bake treat is perfect for dessert lovers looking for a rich, decadent square that's easy to prepare and sure to impress.


Ingredients

Bottom Layer

  • ½ cup unsalted butter (at room temperature)
  • ¼ cup granulated sugar
  • 5 tablespoons unsweetened cocoa powder
  • 1 egg
  • 1 ¾ cups graham cracker crumbs (regular or gluten free)
  • 1 cup sweetened coconut flakes
  • ½ cup almonds (very finely chopped)

Middle Layer

  • ½ cup unsalted butter (at room temperature)
  • 3 tablespoons heavy cream
  • 2 tablespoons custard powder
  • 2 cups icing sugar

Top Layer

  • 8 ounces semi-sweet chocolate
  • 4 teaspoons unsalted butter


Instructions

  1. Make the First Layer: In the top of a double boiler, combine ½ cup butter, granulated sugar, and cocoa powder. Stir occasionally until melted and smooth.
  2. Cook the Egg: Beat in the egg slowly, tempering if necessary to avoid curdling. Stir continuously for about 2 to 3 minutes until the mixture thickens.
  3. Mix Dry Ingredients: Remove from heat and mix in the graham cracker crumbs, sweetened coconut flakes, and finely chopped almonds. For a finer texture, grind ingredients in a food processor.
  4. Press Base Layer: Firmly and evenly press this mixture into the bottom of an ungreased 8-inch square pan to form the base layer.
  5. Make the Middle Layer: Cream together ½ cup butter, heavy cream, and custard powder until light and fluffy. Gradually mix in icing sugar until smooth.
  6. Chill Middle Layer: Spread this custard mixture evenly over the base layer in the pan. Chill the pan to allow the middle layer to fully set before proceeding.
  7. Make the Top Layer: While the second layer chills, melt the semi-sweet chocolate and 4 teaspoons butter in a double boiler or over low heat. Avoid microwave to prevent cracking.
  8. Spread Chocolate: Evenly spread the melted chocolate mixture over the chilled middle layer. Score the chocolate gently as it starts to set to prevent cracking during slicing.
  9. Slice and Serve: Allow the chocolate topping to fully set. Using a warm knife, cut into 1 or 2-inch squares, cleaning the knife between cuts for neat presentation. Serve slightly chilled for best texture.

Notes

  • Tempering the egg before adding it to the hot butter mixture prevents curdling.
  • Finely chopping or grinding the almonds and graham cracker crumbs helps the base layer to press firmly.
  • Chilling the custard layer completely is crucial to ensure the layers set properly.
  • Melting chocolate in a double boiler prevents overheating and cracking compared to microwaving.
  • Scoring the chocolate topping as it sets helps achieve cleaner cuts.

Have you made this recipe? I'd love to see it!

Click here to Follow me on Pinterest

More Desserts

  • Chocolate Self Saucing Pudding Recipe
    Chocolate Self Saucing Pudding Recipe
  • 3 Ingredient Shortbread Cookie Sandwich w/Dulce De Leche Recipe
    3 Ingredient Shortbread Cookie Sandwich w/Dulce De Leche Recipe
  • Brownie Cookie Sandwich with Peanut Butter Frosting Recipe
    Brownie Cookie Sandwich with Peanut Butter Frosting Recipe
  • Salted Caramel Sauce Recipe
    Salted Caramel Sauce Recipe

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

Hey, I’m Ivy!

I’m a 28-year-old mom to my little prince, Pitter, who loves cooking and exploring flavors from around the world. What started in my home kitchen is now a space where I share simple, global-inspired recipes made with love.

 

Learn more

Popular

  • Cheesymite Scrolls (Cheese & Vegemite!) Recipe
    Cheesymite Scrolls (Cheese & Vegemite!) Recipe
  • Crispy Pea Fritters Recipe
    Crispy Pea Fritters Recipe
  • Nagi's Big, Easy Pasta Salad Recipe
    Nagi's Big, Easy Pasta Salad Recipe
  • Firecracker Beef Recipe
    Firecracker Beef Recipe

Footer

as seen in:

↑ back to top

Explore

  • Appetizers and Snacks
  • Breakfast
  • Soups
  • Dinner
  • Side-Dish
  • Desserts
  • Drinks

About

  • Privacy Policy
  • Terms & Conditions
  • Contact
  • Disclosure
  • DMCA

We may earn from qualifying purchases through affiliate links at no extra cost to you.

Copyright © 2025 Ivys Recipes. All rights reserved.