Candy Cane Cookie Bars Recipe
In this article
Time 45 min total · Serves 24 · The key step press the dough flat and cool the bars fully before cutting so the peppermint stays crisp.
Candy cane cookie bars are a soft, buttery shortbread-style base topped with a white chocolate and crushed peppermint layer. They taste like a sugar cookie crossed with a candy cane: sweet, slightly salty, and cool with mint. They suit a holiday cookie tray, a bake sale, or a lunchbox treat cut into small squares.
What Makes These Bars Work
The base is a simple press-in dough, so there is no rolling or chilling before baking. A 9×13 inch (23×33 cm) pan gives a thin, even layer that bakes in about 20 minutes. The topping sets as it cools, holding the candy cane pieces in place. Crush the candy canes finely but leave a few small shards for texture; large chunks make cutting difficult and can crack the top layer.
Use a metal pan if you have one. Glass pans heat more slowly and can overbrown the edges. Line the pan with parchment, leaving an overhang on two sides, so you can lift the whole slab out before cutting.
Serves 24 · Prep 15 min · Cook 20 min · Total 45 min
Ingredients
- 1 cup (225 g) unsalted butter, softened
- ¾ cup (150 g) granulated sugar
- 1 large egg
- 1 tsp vanilla extract
- 2¼ cups (280 g) all-purpose flour
- ½ tsp baking powder
- ¼ tsp salt
- 1 cup (170 g) white chocolate chips or chopped white chocolate
- 1 cup (about 120 g) crushed candy canes, roughly 8–10 standard canes
Instructions
- Heat the oven to 350°F (175°C). Line a 9×13 inch (23×33 cm) metal baking pan with parchment, leaving an overhang on the long sides.
- In a large bowl, beat the softened butter and sugar with a wooden spoon or electric mixer for 2 minutes, until pale and fluffy. Beat in the egg and vanilla until smooth.
- Stir in the flour, baking powder and salt until just combined. The dough will be soft and slightly sticky.
- Press the dough evenly into the prepared pan with lightly floured fingers or the back of a spoon. Prick the surface all over with a fork.
- Bake at 350°F (175°C) for 18–22 minutes, until the edges are light golden and the center looks set but still soft. A toothpick inserted in the center should come out with a few moist crumbs.
- Set the pan on a wire rack and cool for 10 minutes. Scatter the white chocolate chips over the warm surface and let them soften for 2 minutes, then spread into a thin layer with an offset spatula.
- While the chocolate is still tacky, sprinkle the crushed candy canes evenly over the top and press them in gently with the back of a spatula.
- Cool completely at room temperature for at least 20 minutes, or refrigerate for 15 minutes, until the chocolate is firm. Lift the slab out using the parchment overhang and cut into 24 bars with a sharp knife.
Doneness Cues and Safe Handling
The base is done when the edges are light golden and the center springs back when pressed lightly. It should not brown deeply; overbaking makes the bars dry and crumbly. Because the dough contains egg, the bars should reach a safe minimum internal temperature of 160°F (71°C) according to USDA FSIS guidance, though most home bakers rely on the visual cue of a set center and lightly golden edges. Check with an instant-read thermometer in the thickest part if you want to be certain.
Mistakes That Affect the Bars
Overmixing the dough
Beating the flour too long develops gluten and gives a tough, chewy bar instead of a tender one. Stop as soon as the flour disappears.
Adding candy canes before baking
Candy canes melt and burn in the oven, turning bitter and staining the top. Always add them after baking, pressed into the melted white chocolate.
Cutting while warm
Warm bars smear and the candy topping drags. Cool fully, or chill for 15 minutes, before slicing. Wipe the knife between cuts for clean edges.
Storage and Freezing
Store cut bars in an airtight container at room temperature for up to 5 days. Refrigerate within 2 hours if the room is warm or the chocolate softens. For longer storage, layer bars between sheets of parchment in a freezer-safe container and freeze for up to 2 months. Thaw at room temperature for 30 minutes before serving. Do not leave the bars in direct sunlight or near a heat source, as the chocolate will bloom and the candy canes will turn sticky.
If you want to make the base ahead, bake and cool it completely, then wrap tightly and freeze for up to 1 month. Add the white chocolate and candy canes after thawing so the topping stays crisp.
Swaps and Serving Ideas
Replace the white chocolate with dark or milk chocolate; dark chocolate gives a less sweet bar that balances the candy cane. If candy canes are out of season, use crushed peppermint candies or starlight mints, about 1 cup crushed. For a gluten-free version, use a 1:1 gluten-free flour blend and add ¼ tsp xanthan gum if the blend does not contain it. Cut into 48 small squares for a cookie tray, or serve with hot cocoa for a winter treat.
For a chocolate base, swap ¼ cup (30 g) of the flour for ¼ cup (25 g) cocoa powder and add 2 tbsp (30 ml) milk to keep the dough pressable. The bake time stays the same.