Caramel Shortbread Bars (Homemade Twix Bars)
These caramel shortbread bars stack a buttery shortbread crust, a thick layer of salted caramel made from scratch, and a smooth milk chocolate top, all in one 8×8 pan. If Twix is the candy you dig out of the Halloween bowl first, these homemade Twix bars are the from-scratch, pan-size version!

Three layers, one pan, and no corn syrup or sweetened condensed milk. The shortbread bakes up tender and crumbly like the cookie in the candy bar, the caramel stays soft and chewy, and the chocolate snaps when you bite in. These salted caramel shortbread bars take some chill time between layers, so they’re an easy make-ahead dessert for a family get-together, a holiday cookie tray, or game day.
For more candy bar desserts, be sure to also try my Rolo Cookie Cups, Chocolate Peanut Butter Cup Rice Krispie Treats, or Reese’s Oreo Bat Cookies.
What You’ll Love About These Caramel Shortbread Bars
Twix Cookie Bars Ingredients
You’ll need the following ingredients to make this Caramel Shortbread Bars:
Butter: Use softened unsalted butter for the shortbread so it creams smoothly with the sugar, and cold butter cut into pieces for the caramel. Salted butter works in a pinch, but cut the flaky salt in the caramel down to 1 teaspoon.
Powdered Sugar and Cornstarch: These two make the crust short and sandy, just like the cookie layer in a Twix. Powdered sugar dissolves into the butter without any grit, and the cornstarch keeps the flour from making the shortbread tough.
Granulated Sugar: Plain white sugar melts into a clear amber caramel. Brown sugar already has molasses in it, so it’s harder to see when the caramel is done, and it burns faster.
Heavy Cream: Warm it in the microwave for about 45 seconds before adding it. Warm cream keeps the hot sugar from seizing up into hard lumps.
Flaky Sea Salt: Maldon or any flaky sea salt gives the caramel its salty edge. Save a pinch for the top if you love salted caramel as much as we do.
Milk Chocolate: Chopped milk chocolate bars or milk chocolate chips both work. The spoonful of oil thins the chocolate so it spreads smoothly and cuts without cracking. Coconut oil works in place of vegetable oil.
Homemade Twix Bar Variations
Dark Chocolate: Use semi-sweet or dark chocolate for the top layer if you like a less sweet bar.
Peanut Butter Twix: Spread ⅓ cup creamy peanut butter over the cooled shortbread before adding the caramel.
Vanilla Caramel: Stir 1 teaspoon vanilla extract into the caramel along with the salt.
Giant Twix Bars: Instead of 16 squares, slice the pan into 8 long fingers for a giant Twix bar look.
Club Cracker Shortcut: Skip the shortbread and line the pan with a single layer of Club crackers. Pour the caramel straight over the crackers, then add the chocolate.
How To Make Twix Bars From Scratch
Here are quick visual instructions. Be sure to check out the full instructions with exact ingredients in the printable recipe card below.

Step 1: Cream the Butter and Sugar: Beat the softened butter with the powdered sugar until light and fluffy.

Step 2: Mix in the Dry Ingredients: Add the flour, cornstarch, and salt and mix until a soft dough forms.

Step 3: Press and Bake the Crust: Press the dough into a parchment-lined pan, prick it with a fork, and bake until golden at the edges.

Step 4: Melt the Sugar: Heat the sugar in a saucepan until it melts into a deep amber caramel.

Step 5: Whisk in the Butter: Add the butter and whisk until it melts into the sugar.

Step 6: Add the Cream and Salt: Slowly whisk in the warm heavy cream, then the flaky salt.

Step 7: Pour the Caramel: Spread the caramel over the cooled crust and chill until firm.

Step 8: Top With Chocolate: Spread the melted chocolate over the caramel and chill until set.
What Are the Layers in a Twix Bar?
A Twix bar has three layers: a crunchy cookie base, a stripe of soft caramel, and a milk chocolate coating. The “crunchy stuff” people ask about is the cookie, which is a lot like shortbread. That’s why this homemade Twix candy bar recipe starts with a shortbread crust instead of graham crackers or a brownie base.
In the store-bought bar, the cookie is coated in chocolate on every side. Here, the layers stack in a pan like British millionaire shortbread, so these copycat Twix bars give you the same three flavors with a thicker cookie and a lot more caramel in every bite.
Recipe Tips and Tricks
Let the crust cool completely before adding the caramel. Warm shortbread soaks up the caramel and turns soft instead of staying crisp.
Don’t stir the sugar while it melts. Swirl the pan instead. Stirring can make the sugar crystallize into a grainy clump. Here’s why it works: when the sugar melts undisturbed, the crystals dissolve evenly and you end up with a smooth, clear caramel.
Watch the color closely. Pull the pan off the heat when the caramel is the color of a copper penny. Past deep amber, it turns bitter in seconds.
Cut the bars with a hot knife. Run a long, sharp knife under hot water and dry it off, then make one cut at a time, wiping the blade before cutting again. Give the block 10 to 15 minutes on the counter first so the chocolate doesn’t crack.
Make them ahead for a party. These homemade Twix bars keep in the fridge for days, so I make them 1 to 2 days before an event. Cut them while they’re cold, then pack them in a container with parchment between the layers and keep them cool on the way. The chocolate softens if they sit in a warm car.
What to Serve With Caramel Shortbread Bars
These caramel shortbread bars are best on a dessert tray next to something lighter, like fresh berries, apple slices, or a bowl of popcorn. A cold glass of milk or a cup of coffee is a must.
For a full dessert table, set them next to my Peanut butter brownies and a plate of Brown Butter Chocolate Chip Cookies with Homemade Salted Toffee. For even more ideas, browse my 10+ Easy Fall Bars and Brownies for a Crowd.
Frequently Asked Questions
They’re close cousins. Millionaire shortbread, sometimes called caramel shortbread bars, is the British version: shortbread, caramel, and chocolate in a pan. This recipe uses the same three layers with milk chocolate on top, so it tastes like a Twix. Many millionaire shortbread recipes use sweetened condensed milk for the caramel, while this one cooks sugar, butter, and cream.
Yes, it’s a popular shortcut. Line the pan with a single layer of Club crackers and skip the shortbread and the oven. The crackers give you a salty crunch, but they aren’t as thick as the shortbread cookie layer.
Yes. A lot of homemade candy bars use corn syrup to keep caramel from crystallizing, but this Twix bars recipe only needs sugar, butter, heavy cream, and salt. Melting the sugar without stirring and adding warm cream are what keep it smooth.

More Bar and Brownie Recipes
Twix Cookie Bars Recipe
Twix Cookie Bars
Ingredients
For the shortbread crust
- 1 cup (2 sticks) unsalted butter softened
- 3/4 cup powdered sugar
- 2 1/4 cups all-purpose flour
- 1/4 cup cornstarch
- 1 pinch fine salt
For the salted caramel
- 1 cup granulated sugar
- 7 tablespoons unsalted butter cut into pieces
- 3/4 cup heavy cream warmed
- 2 teaspoons flaky sea salt plus more for topping if you’d like
For the chocolate layer
- 10.5 ounces milk chocolate chopped (or about 1 3/4 cups milk chocolate chips)
- 1 tablespoon vegetable oil or other neutral oil
Instructions
- Heat the oven to 340°F. Line an 8×8-inch baking pan with parchment paper, leaving some hanging over two sides so you can lift the bars out later.
- In a large bowl, cream the soft butter and powdered sugar with a mixer until light and fluffy. Add the flour, cornstarch, and fine salt and mix on low just until the mixture comes together into a soft dough.
- Press the dough into an even layer in the pan and dock it all over with a fork, then bake it 20 to 25 minutes. The edges should just turn golden. Let the crust cool completely.
- Add the granulated sugar to a medium saucepan and set it over medium heat. Let it melt without stirring, swirling the pan now and then, until the color deepens to dark amber.
- Take the pan off the heat and whisk in the 7 tablespoons butter until combined. Pour in the warm cream a little at a time, whisking constantly (it will bubble up). Whisk in the 2 teaspoons flaky salt, set the pan back over low heat, bring it to a gentle boil, and let it bubble for a minute or two, until glossy and a little thicker.
- Spread the hot caramel across the cooled crust, all the way to the edges. Refrigerate for 45 to 60 minutes, until the caramel is firm.
- Melt the milk chocolate with the oil in the microwave in 30-second bursts, stirring after each, until smooth. Pour it over the firm caramel and spread it into an even layer. Refrigerate 1 to 2 hours, or until the chocolate has fully hardened.
- Lift the block out of the pan and leave it on the counter for 10 to 15 minutes. Cut into 16 bars with a sharp knife, warming it under hot water and drying it between cuts. Top with a few flakes of sea salt, if you like.
