If there’s one dessert that feels like a full-on celebration in every bite, it’s a Nanaimo Bar. These Canadian classics are layers of pure joy—crunchy, creamy, and chocolaty all at once. Seriously, once you taste one, you’ll find yourself sneaking another (or three) before anyone notices. These bars have it all: a buttery, slightly nutty base, a smooth custard middle, and a rich chocolate topping that snaps when you cut it. It’s basically dessert engineering at its finest, and yes—trust me, you’re going to love every second of making and eating them.
Disclosure: This post contains affiliate links.If you click and make a purchase, I may earn a small commission at no extra cost to you.
Perfect for holidays, potlucks, or anytime you want to impress friends (or just treat yourself), Nanaimo Bars are indulgent but surprisingly approachable. And the best part? You can make them ahead of time—they actually taste even better after chilling for a few hours.
Why You’ll Love This Recipe
Layered Perfection
From the crunch of the base to the creamy custard middle and finally the snap of chocolate on top, each bite is a symphony of textures and flavors.
Make-Ahead Friendly
You can assemble them in advance and store them in the fridge. Ideal for parties or gifting, they travel well and keep their integrity.
Crowd-Pleasing
Everyone loves these bars—kids, adults, chocolate lovers, even those who usually pass on desserts. One pan is never enough!
Customizable
Want extra nuts? More coconut? Dark chocolate instead of semi-sweet? Go for it. These bars are flexible while still delivering the classic flavor profile.
Elegant but Easy
They look like a fancy dessert, but the steps are simple enough for any home baker. No intimidating techniques here—just layers of deliciousness.
Print
Nanaimo Bars
- Prep Time: 20 minutes
- Cook Time: 10 minutes
- Total Time: 2 hours 30 minutes including chilling
- Yield: 16 bars
- Category: Dessert
- Method: No-Bake
- Cuisine: Canadian
- Diet: Vegetarian
Description
Nanaimo Bars are a classic Canadian no-bake dessert with three distinct layers: a rich chocolatey base, a creamy custard middle, and a smooth chocolate top. They are indulgent, easy to make, and perfect for special occasions or sweet cravings.
Ingredients
-
Bottom Layer:
- 1/2 cup (113 g) unsalted butter
- 1/3 cup (34 g) unsweetened cocoa powder
- 1/3 cup (67 g) granulated sugar
- 1 large egg, room temperature
- 1 sleeve graham crackers, crushed
- 1 cup sweetened shredded coconut
- 1/3 cup chopped nuts (pecans, almonds, or walnuts)
-
Middle Layer:
- 1/4 cup (60 ml) heavy cream (double cream in the UK)
- 3 tablespoons custard powder (like Bird’s Custard or vanilla instant pudding)
- 1/2 cup (113 g) unsalted butter
- 1 1/2 cups powdered sugar
-
Top Layer:
- 8 ounces (225 g) semi-sweet chocolate
- 3 tablespoons (39 g) butter, salted or unsalted
Instructions
- Line an 8×8-inch baking pan with parchment paper, leaving an overhang for easy removal.
- For the bottom layer, melt butter in a saucepan over low heat. Whisk in cocoa powder and sugar until smooth. Remove from heat and quickly whisk in the egg until fully incorporated.
- Stir in crushed graham crackers, shredded coconut, and chopped nuts. Press mixture firmly into the prepared pan to form an even layer. Chill in the refrigerator while preparing the middle layer.
- For the middle layer, beat together butter and powdered sugar until fluffy. Gradually add custard powder and cream, mixing until smooth. Spread evenly over the chilled bottom layer.
- For the top layer, melt chocolate and butter together over a double boiler or in short bursts in the microwave, stirring until smooth. Pour over the middle layer and spread evenly.
- Refrigerate for at least 2 hours, or until the top layer is set.
- Lift bars from the pan using the parchment overhang. Cut into squares using a sharp knife, wiping the knife clean between cuts for neat edges.
Notes
- Use a warm knife to cut chocolate cleanly without cracking the top layer.
- Substitute nuts with your favorite choice or omit if preferred.
- Store Nanaimo Bars in an airtight container in the refrigerator for up to 5 days.
- Allow bars to sit at room temperature for 5–10 minutes before serving for easier slicing and softer texture.
Nutrition
- Serving Size: 1 bar
- Calories: 320
- Sugar: 28g
- Sodium: 90mg
- Fat: 20g
- Saturated Fat: 12g
- Unsaturated Fat: 7g
- Trans Fat: 0g
- Carbohydrates: 32g
- Fiber: 3g
- Protein: 3g
- Cholesterol: 45mg
Kitchen Tools You’ll Need
- 9×9-inch or 8×8-inch baking dish
- Saucepan for base
- Mixing bowls
- Electric mixer or hand whisk for custard filling
- Measuring cups and spoons
- Spatula for spreading layers
- Knife for cutting bars
- Double boiler or microwave-safe bowl for melting chocolate
Ingredients in Nanaimo Bars
This dessert shines because each layer brings something unique, but together they’re a masterpiece. (Note: the full ingredients list, including measurements, is provided in the recipe card directly below.)
Bottom Layer
- Unsalted Butter: Gives richness and structure.
- Unsweetened Cocoa Powder: Adds deep chocolate flavor.
- Granulated Sugar: Sweetens the base perfectly.
- Large Egg: Binds the ingredients and makes the base tender.
- Crushed Graham Crackers: Provide crunch and classic flavor.
- Sweetened Shredded Coconut: Adds texture and subtle sweetness.
- Chopped Nuts: Pecans, almonds, or walnuts for a nutty crunch.
Middle Layer
- Heavy Cream (Double Cream in the UK): Adds smoothness to the custard filling.
- Custard Powder: The classic flavor that makes this layer so iconic.
- Unsalted Butter: Rich and creamy, blending with the custard.
- Powdered Sugar: Sweetens and thickens the custard filling.
Top Layer
- Semi-Sweet Chocolate: Forms the glossy, indulgent top layer.
- Butter (Salted or Unsalted): Ensures a silky, smooth chocolate finish.
Instructions
Let’s turn these layers into a stunning dessert masterpiece:
Prepare the Bottom Layer
In a medium saucepan, melt butter over low heat. Stir in cocoa powder, sugar, and egg, cooking until smooth and thickened. Remove from heat and fold in crushed graham crackers, shredded coconut, and chopped nuts. Press this mixture firmly into your prepared baking dish to create the base.
Make the Middle Layer
In a mixing bowl, beat together softened butter, custard powder, powdered sugar, and heavy cream until smooth and creamy. Spread evenly over the cooled base.
Add the Chocolate Topping
Melt chocolate and butter together using a double boiler or microwave, stirring until smooth. Pour over the custard layer and spread evenly with a spatula.
Chill & Set
Refrigerate for at least 2 hours or until the chocolate is firm. This allows the layers to meld and makes slicing much easier.
Slice & Serve
Use a sharp knife to cut into squares or rectangles. Pro tip: warm the knife slightly in hot water and wipe dry between cuts for cleaner slices.
Chef’s Pro Tips for Perfect Results
- Press the base firmly so it holds together when sliced.
- Chill the custard layer before adding chocolate if you want the cleanest layers.
- For extra flair, sprinkle toasted coconut or crushed nuts on top of the chocolate before it sets.
- Keep the bars refrigerated until serving—they hold up best cold.
Nutrition Facts
Servings: 16 bars
Calories per serving: [insert]
Prep Time: 30 minutes
Cook Time: 10–12 minutes for base
Chill Time: 2+ hours
Total Time: ~3 hours

How to Serve Nanaimo Bars
- Dessert Platter: Slice into squares and arrange on a platter for a stunning presentation.
- With Coffee or Tea: Pairs perfectly with a hot cup of your favorite beverage.
- Party Treats: Serve at potlucks or gatherings—they’re always the first to disappear.
- Gift Ideas: Package in a decorative box for a thoughtful homemade gift.
- Occasion-Ready: Great for holidays, birthdays, or casual indulgence.
Make-Ahead and Storage Tips
- Prep Ahead: Make the bars the night before—flavors intensify as they chill.
- Storage: Store in an airtight container in the fridge for up to 5 days.
- Freezing: Nanaimo bars freeze well. Wrap individually or as a full tray for up to 2 months. Thaw in the fridge before serving.
Variations to Try
- Add espresso powder to the chocolate layer for a mocha twist.
- Use dark chocolate for a richer, slightly bitter contrast to the sweet custard.
- Swap nuts for toasted coconut flakes or leave them out for nut-free bars.
- Sprinkle a pinch of sea salt on top of chocolate for a sophisticated touch.
Additional Tips
- Use a silicone spatula to spread layers smoothly without tearing the base.
- Chop nuts finely if you want a more uniform texture in the base.
- Room temperature eggs and butter mix more easily into the base and custard layers.
FAQ Section
Q1: Can I make Nanaimo bars without nuts?
A1: Absolutely! Just skip the nuts in the base. The texture will still be great with the coconut and graham crackers.
Q2: Can I use instant pudding instead of custard powder?
A2: Yes! Vanilla instant pudding works perfectly and gives the same creamy, sweet layer.
Q3: How do I get clean chocolate cuts?
A3: Heat a knife slightly in hot water, dry it, and slice. Repeat between cuts for neat edges.
Q4: Can these be made gluten-free?
A4: Yes! Use gluten-free graham crackers and ensure all other ingredients are certified gluten-free.
Q5: Can I make these ahead for a party?
A5: Definitely—chill them overnight. They taste even better once the flavors have melded.
Q6: How long do Nanaimo bars last?
A6: Up to 5 days in the fridge in an airtight container. Freeze for longer storage.
Q7: Can I use milk chocolate instead of semi-sweet?
A7: Yes, though it will be sweeter. Semi-sweet provides the best balance.
Q8: Can I make mini Nanaimo bars?
A8: Yes! Use a mini muffin pan or slice a smaller baking dish. Adjust chilling time as needed.
Q9: Can I add flavored extracts?
A9: Absolutely! Almond or coconut extract in the custard layer adds a delicious twist.
Q10: Can I make this dairy-free?
A10: You can substitute with plant-based butter, non-dairy cream, and chocolate. The flavor will still be rich and satisfying.
Conclusion
Nanaimo Bars are more than just a dessert—they’re a celebration of textures, flavors, and indulgence all in one bite. The crunchy base, creamy custard, and rich chocolate topping make them irresistible. Perfect for parties, gifting, or just treating yourself, these bars are a must-try for anyone who loves a classic, no-fail dessert.
So go ahead, grab your ingredients, layer up, chill, and enjoy the magic of these iconic Canadian bars—you’ll be hooked from the very first bite.