Dinners

Vegan Twix Bars Recipe with Caramel and Chocolate

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
3 hr 15 min
Prep
30 min
hands-on
Cook
45 min
oven or stovetop
Serves
12
as written

Jump to recipe Save

These homemade vegan candy bars combine a crisp shortbread base, a chewy caramel layer, and a smooth chocolate coating. They provide a balance of salty and sweet flavors and are suitable for lunchboxes or as a dessert for a potluck. The texture depends on the ratio of coconut oil to cocoa butter in the chocolate and the reduction of the coconut milk in the caramel.

What ingredients make these vegan candy bars?

The base is a traditional shortbread made with vegan butter and flour. The caramel relies on a reduction of full-fat coconut milk and sugar to achieve a thick, tacky consistency without using condensed milk. The top layer is a blend of vegan chocolate and coconut oil, which ensures the chocolate remains snappy but doesn’t crack when bitten.

Because this recipe uses raw flour in the shortbread before baking and contains no eggs, the flour must be heat-treated if the dough is tasted before it enters the oven. To heat-treat flour, spread it on a baking sheet and bake at 350°F (177°C) until it reaches an internal temperature of 160°F (71°C). This step is necessary because raw flour can contain bacteria; pregnant people, young children, older adults, and those with weakened immune systems should avoid raw flour and raw eggs.

Ingredients

  • For the Shortbread Base:
    • 1/2 cup (113 g) vegan butter, softened
    • 1/4 cup (50 g) powdered sugar
    • 1 1/4 cups (155 g) all-purpose flour
    • 1/4 teaspoon (1.5 g) salt
  • For the Vegan Caramel:
    • 1 cup (240 ml) full-fat coconut milk, canned
    • 1 cup (200 g) granulated white sugar
    • 2 tablespoons (28 g) vegan butter
    • 1/2 teaspoon (3 g) sea salt
    • 1 teaspoon (5 ml) vanilla extract
  • For the Chocolate Coating:
    • 1 cup (170 g) vegan chocolate chips, semi-sweet
    • 2 tablespoons (30 ml) coconut oil, melted

Instructions

  1. Preheat the oven to 325°F (163°C). Line an 8×8 inch (20×20 cm) square baking pan with parchment paper, leaving an overhang on the sides for easy removal.
  2. In a medium bowl, cream together the softened vegan butter and powdered sugar until smooth. Stir in the flour and salt until a crumbly dough forms.
  3. Press the dough firmly and evenly into the bottom of the prepared pan. Bake for 20-25 minutes, until the edges are lightly golden and the center is set. Remove from the oven and let the base cool completely in the pan.
  4. Place the coconut milk and granulated sugar in a medium saucepan over medium heat. Bring the mixture to a simmer, stirring frequently to prevent the sugar from burning.
  5. Reduce the heat to medium-low and simmer for 20-30 minutes. Stir occasionally until the mixture reduces by about half and reaches a thick, syrupy consistency that coats the back of a spoon.
  6. Remove the pan from the heat. Stir in the vegan butter, sea salt, and vanilla extract until the butter is fully melted and the caramel is glossy.
  7. Pour the caramel over the cooled shortbread base and spread it evenly with a spatula. Place the pan in the refrigerator for 1-2 hours, or until the caramel is firm to the touch.
  8. Melt the vegan chocolate chips and coconut oil together using a double boiler or in the microwave in 30-second intervals, stirring between each burst until smooth.
  9. Pour the melted chocolate over the chilled caramel layer and spread it to the edges.
  10. Refrigerate for another 30-60 minutes until the chocolate is fully set.
  11. Lift the bars out of the pan using the parchment paper. Use a sharp knife to cut the block into 12 rectangular bars, approximately 1.3 x 2.6 inches (3.3 x 6.6 cm) each.

Why is the caramel too runny or too hard?

If the caramel is too runny, it is usually because the coconut milk was not reduced enough. The mixture must simmer until the water evaporates and the sugars concentrate. If the caramel does not set after two hours in the fridge, you can reheat it in the saucepan, simmer for another 5-10 minutes, and re-pour it over the base. To check for the correct consistency, place a small spoonful of caramel on a plate and freeze it for 2 minutes; it should be tacky and hold its shape without flowing.

If the caramel becomes too hard or brittle, it has been cooked past the soft-ball stage. This happens if the temperature exceeds 245°F (118°C). To fix this, stir in a tablespoon of warm coconut milk or vegan butter while the caramel is still hot to loosen the texture before pouring it onto the base.

If the shortbread base is too crumbly, it may be due to over-mixing the flour, which develops too much gluten, or using butter that was too melted. Ensure the butter is softened but not liquid. If the base is too dense or hard, ensure you do not overbake it; remove it as soon as the edges are golden.

How do I substitute ingredients for different flavors?

You can swap the semi-sweet chocolate for dark chocolate (70% cocoa or higher) for a less sweet bar. The ratio remains 1 cup (170 g) chocolate to 2 tablespoons (30 ml) coconut oil. For a peanut butter twist, replace 2 tablespoons of the coconut milk in the caramel with 2 tablespoons of creamy peanut butter, stirring it in at the very end with the vanilla.

If you do not have vegan butter, you can use refined coconut oil (solid state) in a 1:1 ratio for the shortbread. This will result in a slightly more coconut-flavored base and a texture that is more prone to melting at room temperature. If using almond flour instead of all-purpose flour for a different texture, use 1.5 cups (150 g) of superfine almond flour and add 1/4 teaspoon of baking powder to help the base lift, though the result will be softer and more fragile than a traditional shortbread.

For those avoiding coconut, substitute the coconut milk in the caramel with a mixture of 1 cup (240 ml) soy milk and 1 tablespoon of cornstarch. Note that soy-based caramel takes longer to thicken and may have a slightly different color and a less creamy mouthfeel than coconut-based caramel.

How long do vegan candy bars keep?

These bars must be stored in the refrigerator because the vegan butter and coconut oil used in the caramel and chocolate can soften at room temperature. Place the cut bars in an airtight container lined with parchment paper between layers to prevent sticking.

Refrigerated bars typically keep for 7-10 days. For longer storage, wrap each bar individually in foil or parchment paper and place them in a freezer-safe bag. They will keep in the freezer for about 3 months. When eating from the freezer, let the bars sit at room temperature for 5-10 minutes to soften the caramel slightly, which prevents the chocolate from cracking too aggressively.

To maintain the best quality, avoid leaving the bars out for more than 2 hours, as the caramel may lose its structure and the chocolate may bloom (develop white streaks), which is a cosmetic change caused by fat crystals migrating to the surface but does not affect safety.

What are the best ways to serve these bars?

These bars are best served chilled. For a presentation suited for a party, arrange them on a platter with fresh berries like raspberries or strawberries, which provide an acidic contrast to the rich caramel. They also pair well with a cup of black coffee or a glass of cold almond milk.

If you prefer a softer texture, you can leave the bars at room temperature for 15 minutes before serving, but be aware that the chocolate will be softer. For a different serving style, you can crumble the set bars over vegan vanilla ice cream to create a candy-bar sundae.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).