These homemade Twix bars have crisp, buttery shortbread, chewy salted caramel, and a smooth dark chocolate topping. All the candy-bar flavor without dipping individual pieces!
Prepare the pan. Preheat the oven to 350°F (175°C). Line an 8 × 8-inch baking pan with parchment paper, leaving enough overhang to lift the bars out later.
Make the shortbread. Add the flour, softened butter, sugar, and salt to a food processor. Pulse until the mixture resembles large crumbs. Press the mixture firmly and evenly into the prepared pan, then prick the surface several times with a fork.
Bake and cut the shortbread. Bake for 35–40 minutes, until lightly golden. Cool for approximately 5 minutes, then carefully cut the shortbread into 12 bars while it's still warm. Leave the pieces in the pan to cool.
Prepare the caramel. In a very large, heavy-bottomed saucepan, combine the sugar, corn syrup, heavy cream, and salt. Stir to combine before heating.
Cook the caramel. Heat over medium-high heat without stirring once the mixture begins boiling. Use a damp pastry brush to wash down any sugar crystals along the sides of the pan. Continue cooking until the caramel reaches 248°F (120°C), approximately 8–10 minutes. Use the temperature rather than the cooking time to determine doneness. Be careful, as the mixture can bubble up considerably.
Finish the caramel. Remove the saucepan from the heat and carefully stir in the butter and vanilla. The caramel will be extremely hot and may bubble when the ingredients are added.
Add the caramel layer. Pour the caramel evenly over the cooled shortbread, spreading it into the corners. Allow the caramel to cool and set before continuing.
Add the chocolate. Melt the chocolate over a double boiler, then stir in the refined coconut oil until smooth. Spread evenly over the cooled caramel.
Set and cut. Allow the chocolate to harden at room temperature, or refrigerate briefly to speed up setting. Once firm, cut through the caramel and chocolate, following the original cuts in the shortbread. If the chocolate is too cold and brittle, let it stand briefly at room temperature before cutting.
Notes
Cut the shortbread while warm: Wait about 5 minutes after baking, then cut it into bars without removing the pieces from the pan.
Use a candy thermometer: Cook the caramel to 248°F (120°C) for the proper chewy texture.
Choose a large saucepan: The caramel bubbles up significantly as it cooks.
Avoid crystallization: Don't stir once the caramel begins boiling. Use a damp pastry brush to wash sugar crystals from the sides of the pot.
Keep the corn syrup: Regular corn syrup isn't the same as high-fructose corn syrup. It's important for the texture of this caramel and shouldn't be substituted.
Use refined coconut oil: It has a neutral flavor, unlike unrefined coconut oil.
Let the layers cool: The shortbread should be cool before adding caramel, and the caramel should be cool before spreading the chocolate.
Setting the chocolate: Room-temperature setting is fine, although it takes longer than refrigeration.
Storage: Keep the finished bars in an airtight container in a cool, dry place for up to four days. If your kitchen is particularly warm, refrigerate as needed and bring toward room temperature before serving.