These homemade candy bars layer a buttery, crisp cookie base with soft, chewy caramel and a smooth chocolate coating—everything you love about a store-bought treat, but made fresh in your own kitchen. The recipe is straightforward, uses simple ingredients, and the result is far more flavorful than anything from a wrapper. Whether you call them Twix-style bars or just “cookie caramels,” they’re a crowd-pleasing dessert that keeps well and is perfect for sharing.
Ingredients
- For the cookie base:
- 1 ½ cups (190 g) all-purpose flour
- ½ cup (115 g) unsalted butter, softened
- ⅓ cup (65 g) granulated sugar
- 1 large egg yolk
- 1 teaspoon vanilla extract
- ¼ teaspoon salt
- For the caramel layer:
- 1 cup (200 g) granulated sugar
- ½ cup (120 ml) heavy cream
- ¼ cup (60 g) unsalted butter, cut into pieces
- 1 teaspoon vanilla extract
- ¼ teaspoon salt (optional, for salted caramel)
- For the chocolate coating:
- 12 oz (340 g) semi-sweet or milk chocolate, chopped (or use chocolate chips)
- 1 tablespoon (15 g) coconut oil or vegetable shortening (optional, for shine)
Instructions
- Preheat and prepare the pan: Preheat your oven to 350°F (175°C). Line an 8-inch (20 cm) square baking pan with parchment paper, leaving some overhang on two sides for easy lifting.
- Make the cookie dough: In a medium bowl, whisk together the flour and salt. In a large bowl, beat the softened butter and sugar with an electric mixer until light and fluffy, about 2 minutes. Add the egg yolk and vanilla, and beat until combined. Gradually add the flour mixture, mixing on low speed until just combined—the dough will be crumbly but should hold together when pressed.
- Press and bake the base: Press the dough evenly into the prepared pan, using your fingers or the bottom of a flat glass to smooth it out. Prick the dough all over with a fork. Bake for 15–18 minutes, until the edges are lightly golden. Let cool completely in the pan on a wire rack.
- Make the caramel: In a medium heavy-bottomed saucepan, spread the sugar in an even layer. Cook over medium heat, swirling the pan occasionally (do not stir) until the sugar melts and turns a deep amber color, about 6–8 minutes. Watch carefully to prevent burning.
- Finish the caramel: Remove the pan from heat and carefully whisk in the heavy cream—the mixture will bubble vigorously. Stir in the butter pieces and vanilla (and salt, if using) until smooth. If any lumps remain, return to low heat and stir until dissolved.
- Pour over the cookie base: Pour the hot caramel over the cooled cookie base, spreading it evenly. Let it cool to room temperature, then refrigerate for at least 1 hour, until the caramel is firm.
- Cut into bars: Once chilled, lift the slab out of the pan using the parchment. Use a sharp knife to cut into 24 small bars (about 1.5 x 1.5 inches each). If the caramel sticks, wipe the knife clean between cuts.
- Melt the chocolate: Place the chopped chocolate and coconut oil (if using) in a microwave-safe bowl. Microwave in 30-second bursts, stirring after each, until smooth and fully melted. Alternatively, melt in a double boiler over simmering water.
- Dip the bars: Using a fork or dipping tool, dip each bar into the melted chocolate, coating completely. Let excess chocolate drip off, then place on a parchment-lined baking sheet. Repeat with all bars.
- Set: Refrigerate the dipped bars for 15–20 minutes, until the chocolate is set. Store as directed below.
Tips
- Use a candy thermometer for the caramel: If you have one, aim for 240°F (115°C) on the thermometer for a firm but chewy caramel. Without a thermometer, the color test (deep amber) works well—just don’t let it go dark brown or it will taste bitter.
- Cut the bars before the caramel fully hardens: If the caramel becomes too hard after chilling, let the slab sit at room temperature for 10 minutes before cutting. This prevents cracking.
- Chocolate coating tips: If the melted chocolate is too thick for dipping, add a teaspoon of coconut oil to thin it. Use good-quality chocolate—chocolate chips often contain stabilizers that make them less fluid.
- Substitutions: For a gluten-free version, use a 1:1 gluten-free all-purpose flour blend. For a dairy-free version, use vegan butter and coconut cream instead of heavy cream; note that the caramel texture will be slightly different.
Serving Suggestions
These candy bars are perfect as a sweet snack with coffee or tea, or as a dessert table centerpiece. For a fancier presentation, drizzle extra melted chocolate over the tops and sprinkle with flaky sea salt. They also make great homemade gifts—wrap a few in a cellophane bag tied with a ribbon.
Variations
- Peanut butter swirl: Add 2 tablespoons of peanut butter to the caramel after removing from heat, and stir until smooth.
- Dark chocolate and sea salt: Use dark chocolate (70% cacao) for the coating and sprinkle a pinch of flaky sea salt on top before the chocolate sets.
- Cookie base with oats: Replace ½ cup (50 g) of the flour with old-fashioned oats for a heartier texture.
- Mint chocolate: Add ½ teaspoon peppermint extract to the chocolate coating for a refreshing twist.
Storage and Reheating
Store the finished bars in an airtight container in the refrigerator for up to 2 weeks—they stay firm and fresh. They can also be frozen for up to 3 months; place them in a single layer in a freezer-safe container with parchment between layers. Thaw in the refrigerator or at room temperature for about 30 minutes before serving. If you prefer a softer caramel, let the bars sit at room temperature for 10–15 minutes before eating. Do not microwave the bars to soften, as this will melt the chocolate.
Frequently Asked Questions
Can I use store-bought caramel instead of making my own? Yes, you can use about 1 cup (about 10 oz / 280 g) of soft caramels, melted with 1 tablespoon of heavy cream, as a shortcut. The texture will be a bit softer and less complex in flavor, but it works well in a pinch.
Why did my caramel turn gritty? Grittiness happens when the sugar crystallizes. To avoid this, make sure your pan and utensils are completely clean, and avoid stirring the sugar while it melts—just swirl the pan gently. If it does seize, you can sometimes save it by adding a little more cream and heating gently while stirring.
Can I make these bars vegan? Yes, with a few swaps: use vegan butter or coconut oil for the cookie base, a flax egg (1 tablespoon ground flaxseed mixed with 3 tablespoons water) instead of the egg yolk, and full-fat coconut cream instead of heavy cream. Use dairy-free chocolate. The texture will be slightly different, but still delicious.
How do I get clean cuts without the caramel sticking? Use a sharp, non-serrated knife and wipe it with a damp paper towel between cuts. For extra ease, dip the knife in hot water and dry it before each cut.
Can I double the recipe? Absolutely. Use a 9×13-inch (23×33 cm) pan and double all ingredients. Baking time for the cookie base may increase by a few minutes—check for golden edges.
Why is my chocolate coating cracking? This usually happens if the chocolate is too cold when you bite into it, or if the bars are moved from fridge to room temperature too quickly. Let the bars sit at room temperature for 5–10 minutes before eating, and always store them in an airtight container to prevent moisture.
Related
- M&M Candy Recipes: Easy M&M Cookie Bars
- M&M’s Chocolate Candy Recipes: Chewy Cookie Bars
- Snickers Bars Recipe: Homemade Peanut Caramel Bars
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).