These classic Nanaimo Bars are a rich, no-bake Canadian dessert featuring three delicious layers: a crunchy chocolate-coconut graham base, a smooth and creamy custard-flavored buttercream center, and a glossy chocolate ganache topping. Sweet, satisfying, and delightfully nostalgic, these bars are perfect for holidays, potlucks, or whenever you're craving a treat that’s both indulgent and easy to prepare.

Whether you grew up with Nanaimo Bars or are trying them for the first time, you’ll love how quickly they come together and how decadent they taste. They require no oven time and can be made in advance, making them a go-to recipe for busy seasons or whenever you want to wow a crowd. Plus, the layers offer plenty of room for customization, so you can make them as classic or creative as you like.
Why You'll Love These Nanaimo Bars
- Three indulgent layers. Each layer brings something special — the crunchy cocoa-graham base, the smooth custard buttercream, and the silky chocolate top come together in perfect harmony. The combination of textures and flavors creates a balanced and rich dessert.
- No baking required. This dessert is entirely no-bake, which means less time in the kitchen and no need to heat up your oven! This is ideal for summer months or busy holiday baking. It’s perfect when you want something impressive without turning on the oven.
- Great make-ahead treat. These bars store well in the fridge or freezer, making them perfect for prepping ahead of time for parties, holidays, or gifts. They hold their shape beautifully, making them easy to transport and serve. No stress!
- Rich, nostalgic flavor. A beloved Canadian favorite, Nanaimo Bars deliver deep chocolate flavor, creamy vanilla custard, and a satisfying texture in every bite. They’re both decadent and familiar, often reminding people of special occasions or family traditions.
- Crowd-pleasing dessert. Whether you’re serving kids or adults, everyone loves these sweet, layered bars. They're easy to slice and even easier to enjoy. One batch serves many, making them ideal for gatherings and potlucks.
Ingredient Notes
To make these delicious Nanaimo Bars, you will need the following ingredients (full measurements in recipe card below):
- butter – unsalted butter is required in all 3 layers. It can be substituted with a neutral oil in the chocolate topping though.
- sugar – white sugar is needed in the chocolate-coconut graham base, while confectioners' sugar is needed in the custard layer.
- cocoa powder – for a deep chocolate flavor in the base. You can substitute with Dutch-processed cocoa for a richer color and smoother taste.
- vanilla – enhances the overall flavor in both the base and custard layers.
- egg – helps hold the base together and adds richness. Substitute with flax egg for an egg-free option.
- graham cracker crumbs – forms the crunchy base. Feel free to substitute with digestive biscuits or crushed cookies.
- shredded coconut – unsweetened coconut adds texture and a coconut flavor to the base. If you want to use sweetened coconut instead, make sure to reduce the amount of the sugar in the base as it will be too sweet.
- custard powder – custard powder gives the filling its signature yellow hue and flavor. you can also substitute with instant vanilla pudding mix if needed.
- heavy cream – softens the custard filling to the right texture.
- semi-sweet chocolate – melted for the glossy top layer. You can use other kinds of chocolate such dark or milk chocolate depending on your sweetness preference.
You will also need measuring cups and spoon, 9-inch square baking pan, parchment paper, mixing bowls, electric mixer, spatula, and a microwave or stovetop for melting chocolate.
How to Make the Best Nanaimo Bars
First, make the chocolate-coconut graham base.
- Prep. Prepare a 9x9-inch square baking pan with cooking spray and 2 sheets of parchment, leaving an overhang on 2 sides for easy removal.
- Melt butter. In a medium saucepan, add butter and cook over medium-low heat, until melted but not hot.
- Stir in ingredients. Stir in the sugar, cocoa powder, vanilla, and beaten egg, whisking until smooth. Continue to heat over medium-low heat, while stirring constantly, until the mixture is very warm but not bubbling.
- Add graham crackers and coconut. Remove the saucepan from the heat, then add in the graham cracker crumbs and shredded coconut. Stir until smooth and fully combined.
- Shape the base. Transfer into the prepared pan. Use the back of a measuring cup or flat bottomed glass and press down evenly to create a uniformly thick base.
Next, make the custard filling.
- Whip the filling. In the bowl of a stand mixer (in a large mixing bowl with a hand mixer), add the unsalted butter, custard powder, confectioners' sugar, 1 tablespoon heavy cream and vanilla. Beat with the paddle attachment until combined, then decide if you need more cream. The final texture of the custard filling should be like a thick frosting. If more cream is needed, add 1 teaspoon at a time, until the consistency is achieved.
- Spread filling. Spread the custard filling evenly over the chocolate base.
- Chill. Cover lightly and place into the fridge to harden for at least 2 hours.
Lastly, make the chocolate topping and let it set.
- Melt chocolate. Place the chocolate and butter (or oil) into a microwave safe bowl. Microwave in 30 second intervals, stirring in between, until smooth.
- Add layer. Pour the melted chocolate over the hardened custard filling layer. Use a spatula to smooth it out until the layer is fully covered.
- Chill. Place back into the fridge to harden for at least 4 hours, or preferably overnight.
- Serve. Once fully hard, slice into 36 squares and serve.
Recipe Variations
- Add chopped nuts. Fold in a handful of chopped walnuts or pecans to the base layer for extra crunch and nutty flavor that balances the sweetness.
- Make them gluten-free. Use gluten-free graham crackers or cookies in the crust to make this dessert celiac-friendly without sacrificing taste, texture, or the classic Nanaimo bar experience.
- Change the filling flavor. Swap custard powder with flavored pudding mixes like chocolate, butterscotch, or coconut to give your bars a unique twist while keeping the texture smooth and creamy.
- Use white chocolate topping. For a lighter look and sweeter finish, top your bars with melted white chocolate instead of semi-sweet chocolate, or try a swirl of both for visual interest.
- Add a pinch of sea salt. Sprinkle a bit of flaky sea salt on the chocolate layer for a sweet-salty contrast that enhances the overall richness and cuts through the sweetness.
How to Serve
Slice the chilled Nanaimo Bars into small squares or rectangles using a warm knife for clean edges. Serve them slightly chilled or at room temperature for the best texture. They pair perfectly with:
- Coffee or espresso
- Hot tea or chai lattes
- A glass of cold milk
- Fresh berries or a berry compote
- A scoop of vanilla ice cream
- Dessert trays with brownies, lemon bars, or shortbread cookies
Recipe Tips and Tricks
- Use parchment paper. Lining your baking dish with parchment makes it easy to lift out the bars for cleaner cutting and serving. It also helps prevent the layers from sticking to the pan.
- Chill between layers. Let each layer set in the fridge before adding the next to keep the layers defined and the bars neat. This makes slicing and presentation much easier.
- Melt chocolate slowly. Use a double boiler or microwave in short bursts to avoid scorching the chocolate topping. Stir frequently to achieve a smooth, glossy consistency.
- Score the top layer. Lightly score the chocolate layer before it fully sets to prevent cracking when slicing the bars later. This ensures neater, more professional-looking squares.
Storing and Freezing Instructions
How to Store
Store Nanaimo Bars in an airtight container in the fridge for up to 5 days. Place parchment between layers if stacking to prevent them from sticking together.
How to Freeze
Freeze Nanaimo Bars once they chilled in the fridge until fully set. Then slice into bars and place in a single layer on a parchment-lined tray to freeze until firm. Transfer to an airtight container or freezer bag, placing parchment between layers to prevent sticking. Thaw in the fridge overnight before serving
FAQ
Custard powder is a dry mix used to make custard desserts, typically flavored with vanilla and colored yellow. It's a key ingredient in traditional Nanaimo Bars and can be found in the baking or international aisle of many grocery stores, especially brands like Bird’s. If unavailable, instant vanilla pudding mix is a common substitute that mimics the flavor and texture well.
Absolutely. In fact, Nanaimo Bars are even better when made ahead. You can prepare them a day or two in advance and keep them chilled until you’re ready to serve. This helps the layers set up perfectly, enhances the flavors as they meld together, and makes slicing easier. They’re a great dessert to prepare in advance for gatherings.
Yes, you can double the recipe and use a 9x13-inch pan. Just be sure to chill each layer thoroughly and allow extra time for the bars to set before slicing. Doubling the recipe works well for large gatherings, bake sales, or freezing half for later. Be mindful of the chocolate layer’s thickness when spreading to keep it easy to cut.
More Dessert Bar Recipes
- Millionaire's Shortbread
- Strawberry Crumb Bars
- Oreo Brownies
- Pumpkin Pie Bars
- Chocolate Chip Cookie Bars
- Blondies
Did you make this recipe? I would greatly appreciate a comment and rating below, letting me know what you thought of the recipe. You can also snap a picture and tag me on Instagram @aheadofthyme or share it on the Pinterest pin so that I can follow along.
Don't forget to sign up for my email newsletter so that you don't miss any recipes. You can also follow along on Instagram, Pinterest, and Facebook for more recipe updates.
Recipe
Nanaimo Bars
- Total Time: 6 hours 28 minutes
- Yield: 36 squares
- Diet: Vegetarian
Description
These classic Nanaimo Bars are a rich, no-bake Canadian dessert featuring three delicious layers: a crunchy chocolate-coconut graham base, a smooth and creamy custard-flavored buttercream center, and a glossy chocolate ganache topping. Sweet, satisfying, and delightfully nostalgic, these bars are perfect for holidays, potlucks, or whenever you're craving a treat that’s both indulgent and easy to prepare.
Ingredients
For the chocolate-coconut graham base:
- ½ cup (114 grams) unsalted butter
- ¼ cup (50 grams) white sugar
- 3 tablespoons (18 grams) cocoa powder
- 1 teaspoon vanilla
- 1 large egg, beaten
- 2 cups (240 grams) graham cracker crumbs
- 1 cup (100 grams) unsweetened shredded coconut
For the custard filling:
- ⅔ cup (150 grams) unsalted butter, softened
- 2 ½ tablespoons (25 grams) custard powder
- 3 cups (360 grams) confectioners sugar
- 1-3 tablespoons heavy cream
- 1 teaspoon vanilla
For the chocolate topping:
- 6 ounces (180 grams) semi sweet chocolate, chopped
- 4 tablespoons (56 grams) unsalted butter (or neutral oil)
Instructions
Make the chocolate-coconut graham base:
- Prepare a 9x9-inch square baking pan with cooking spray and 2 sheets of parchment, leaving an overhang on 2 sides for easy removal.
- In a medium saucepan, add butter and cook over medium-low heat, until melted but not hot. Stir in the sugar, cocoa powder, vanilla, and beaten egg, whisking until smooth. Continue to heat over medium-low heat, while stirring constantly, until the mixture is very warm but not bubbling.
- Remove the saucepan from the heat, then add in the graham cracker crumbs and shredded coconut. Stir until smooth and fully combined.
- Transfer into the prepared pan. Use the back of a measuring cup or flat bottomed glass and press down evenly to create a uniformly thick base.
Make the custard filling:
- In the bowl of a stand mixer (in a large mixing bowl with a hand mixer), add the unsalted butter, custard powder, confectioners' sugar, 1 tablespoon heavy cream and vanilla. Beat with the paddle attachment until combined, then decide if you need more cream. The final texture of the custard filling should be like a thick frosting. If more cream is needed, add 1 teaspoon at a time, until the consistency is achieved.
- Spread the custard filling evenly over the chocolate base. Cover lightly and place into the fridge to harden for at least 2 hours.
Make the chocolate topping:
- Place the chocolate and butter (or oil) into a microwave safe bowl. Microwave in 30 second intervals, stirring in between, until smooth.
- Pour the melted chocolate over the hardened custard filling layer. Use a spatula to smooth it out until the layer is fully covered.
- Place back into the fridge to harden for at least 4 hours, or preferably overnight.
- Once fully hard, slice into 36 squares and serve.
Notes
How to store: Store Nanaimo Bars in an airtight container in the fridge for up to 5 days. Place parchment between layers if stacking to prevent them from sticking together.
How to freeze: Freeze Nanaimo Bars once they chilled in the fridge until fully set. Then slice into bars and place in a single layer on a parchment-lined tray to freeze until firm. Transfer to an airtight container or freezer bag, placing parchment between layers to prevent sticking. Thaw in the fridge overnight before serving
- Prep Time: 25 minutes
- Chill Time: 6 hours
- Cook Time: 3 minutes
- Category: Dessert
- Method: No Bake
- Cuisine: Canadian
Leave a Comment