Updated August 20, 2026
Nanaimo bar cupcakes bring the chocolate, coconut, almond and creamy custard flavours of the classic Canadian dessert into an easy party-sized bake. The cake starts with a dependable chocolate mix, while coconut and optional almonds echo the traditional crumb layer. A pale vanilla pudding buttercream and a light chocolate drizzle complete the familiar Nanaimo-bar look.
These cupcakes are a playful variation, not the City of Nanaimo’s official bar recipe. The City of Nanaimo explains the dessert’s history and official three-layer recipe, including its chocolate, coconut, almond and custard components. This version uses those flavours in a soft chocolate cupcake that is easier to serve at birthdays, school celebrations and family gatherings.
Why This Nanaimo Bar Cupcake Recipe Works
- Familiar flavour: Chocolate cake, coconut, almonds, creamy vanilla frosting and chocolate topping recall the classic bar.
- Practical shortcut: A boxed cake mix keeps the cupcake base consistent and lets the topping be the star.
- Flexible yield: Most standard cake mixes produce 20 to 24 cupcakes; follow the yield and baking guidance on your package.
- Make-ahead friendly: The cakes can be baked a day early and frosted after they are completely cool.
Ingredients
For the Chocolate Cupcakes
- 1 box chocolate fudge cake mix
- Water, oil and eggs called for on the cake-mix package
- 1 cup sweetened shredded coconut
- 1/2 cup finely chopped slivered almonds, optional
For the Custard-Style Vanilla Frosting
- 1 cup unsalted butter, softened to room temperature
- 1 standard four-serving package vanilla instant pudding mix
- 4 cups icing sugar, sifted if lumpy
- 1/3 cup whipping cream, divided
- 2 teaspoons vanilla extract
- Pinch of fine salt, optional
For the Topping
- 1/3 cup shredded coconut, lightly toasted if desired
- 2 tablespoons finely chopped almonds, optional
- 3 ounces semi-sweet chocolate, melted and cooled slightly
How to Make Nanaimo Bar Cupcakes
- Prepare the pans. Heat the oven to the temperature listed on the cake-mix box and line standard muffin pans with paper liners.
- Mix the batter. Prepare the chocolate cake batter with the water, oil and eggs specified on the package. Fold in the shredded coconut and almonds, if using, just until evenly distributed.
- Fill the liners. Divide the batter among the prepared cups, filling each about two-thirds to three-quarters full. Do not overfill.
- Bake. Bake according to the package timing for cupcakes. They are ready when the tops spring back lightly and a tester inserted in the centre comes out clean or with a few moist crumbs.
- Cool completely. Rest the cupcakes in the pan for about five minutes, then transfer them to a wire rack. Frosting warm cupcakes will cause the buttercream to melt.
- Start the frosting. Beat the softened butter on medium speed until smooth and creamy. Add the dry instant pudding mix and beat until evenly combined.
- Build the buttercream. Add the icing sugar one cup at a time, alternating with small additions of whipping cream. Add the vanilla and optional salt. Beat for two to three minutes until pale and fluffy. Use only as much cream as needed for a pipeable consistency.
- Decorate. Pipe or spread frosting onto each cooled cupcake. Sprinkle with coconut and almonds, then drizzle with a small amount of melted chocolate.
- Set and serve. Let the chocolate firm for 10 to 15 minutes before arranging the cupcakes on a platter.
Helpful Baking Tips
Use room-temperature butter, but do not melt it. Soft butter traps air and gives the frosting a lighter texture. If the frosting becomes too soft, chill it for 10 minutes; if it is too stiff, beat in whipping cream one teaspoon at a time.
Toast the topping coconut in a dry skillet over medium-low heat, stirring constantly, until it is lightly golden. Remove it from the hot pan immediately because coconut can go from toasted to burned very quickly.
Never taste raw cake batter. Flour and eggs can carry harmful bacteria, so bake the cupcakes fully and wash hands, bowls, utensils and work surfaces after handling batter. The Canadian Food Inspection Agency’s raw flour guidance recommends thorough baking and careful cleanup.
Allergy and Storage Notes
This recipe may contain wheat, egg, milk, coconut and tree nuts. Check every package label if you are serving someone with an allergy. Almonds can be omitted, but confirm that the remaining ingredients meet your household’s needs.
Because the frosting contains butter and whipping cream, store finished cupcakes in a covered container in the refrigerator for up to three days. For the best texture, bring them out 20 to 30 minutes before serving. Unfrosted cupcakes can be frozen in an airtight container for up to two months and thawed at room temperature.
More Easy Desserts
For another flexible decorating idea, try our simple spring cupcakes. If chocolate, almonds and an easy shortcut sound good, the cracker toffee in a mug makes a quick single-serving treat.
Frequently Asked Questions
Do Nanaimo bar cupcakes need custard powder?
No. This version uses dry vanilla instant pudding mix to create a custard-style flavour and pale yellow colour. It is an accessible shortcut rather than a direct copy of the official Nanaimo bar filling.
Can I leave out the almonds?
Yes. The cupcakes will still have chocolate, coconut, vanilla and chocolate-drizzle flavours. If allergies are the reason, review all ingredient labels and avoid cross-contact in the kitchen.
Can I make the cupcakes the day before?
Yes. Bake and cool them completely, then store the unfrosted cakes in an airtight container overnight. Frost and decorate the next day for the freshest presentation.




