Decadent Twix Bar Cake Recipe with Caramel and Chocolate

This Twix cake is a rich chocolate layer cake filled with homemade salted caramel and chopped Twix bars, finished with chocolate cream cheese frosting and a caramel drip for an indulgent, candy-bar inspired dessert.

Slice of twix cake on a plate.

If you love Twix, this cake turns that favorite candy bar into a show-stopping cake with crunchy chopped Twix in the filling and plenty of salted caramel. It’s perfect for birthdays or any celebration where you want a homemade, nostalgic dessert. The recipe includes helpful tips, step photos, and straightforward instructions to guide you through the process.

Side view of twix cake on a cake stand.

Tips for making the cake

A few practical tips will help the cake turn out moist, stable, and beautifully finished.

  • Measure flour correctly: Spoon flour into the measuring cup and level it off rather than scooping. Scooping can compact flour and lead to a dry cake.
  • Watch the caramel closely: Caramel can change color quickly once the sugar melts. Keep the heat moderate and remove it from the heat as soon as it reaches an amber color to avoid burning.
  • Match ingredient temperatures for frosting: Make sure the butter and cream cheese are both at the same room temperature before mixing to prevent the frosting from splitting.
Chocolate cake batter in a bowl.
Use a whisk to remove any lumps for a smooth batter.
Cake layer on wire rack.
Trim domes with a serrated knife for even layers.
Chocolate cream cheese frosting in a bowl.
Make the frosting just before you need it for best texture.

Assembling the cake

Caramel on top of cake.
Spread frosting, pipe a border to hold the filling, then top with caramel.
Chopped twix on top of cake.
Add chopped Twix over the caramel for crunch and flavor.
Decorated cake on a cake stand.
Pipe caramel drips, add extra caramel on top, chill briefly, then finish with more chopped Twix.
Bite missing from piece of cake on a plate.

For more candy-inspired cakes, try similar recipes from the same baker to explore different flavor combinations.

Close up of the side of cake.

If you enjoyed this recipe, please leave a star review and tag the creator on Instagram. Sharing your photos helps others find and try the recipe.

Recipe Video

Slice of twix cake on a plate.
5 from 13 reviews

Twix Cake

Stephanie Rutherford
A chocolate layer cake filled with salted caramel and chopped Twix, frosted in chocolate cream cheese and finished with a caramel drip.

Print Recipe

Prep Time: 1
Cook Time: 25
Decorating Time: 1
Total Time: 2 25
Servings: 16 slices

Ingredients

Chocolate Cake

  • 2 1/2 cups All-purpose flour
  • 1 cup Unsweetened cocoa powder
  • 1 3/4 cups White granulated sugar
  • 2 tsp Baking powder
  • 1 tsp Baking soda
  • 1 tsp Salt
  • 3/4 cup Oil
  • 1 tsp Pure vanilla extract
  • 4 Large eggs, room temperature
  • 1 cup Buttermilk, room temperature
  • 1 cup Hot water, steaming

Salted Caramel

  • 1 cup White granulated sugar
  • 4 TBSP Unsalted butter
  • 1/2 cup Heavy cream
  • 1 tsp Pure vanilla extract
  • 1/2 tsp Salt

Chocolate Cream Cheese Frosting

  • 1 1/2 cups Unsalted butter, room temperature
  • 8 oz Cream cheese, room temperature
  • 5 cups Powdered sugar, sifted
  • 1 cup Unsweetened cocoa powder
  • 1 tsp Pure vanilla extract
  • 3 cups Chopped Twix

Instructions

Chocolate Cake

  • Preheat oven to 350°F. Spray two 8-inch cake pans with nonstick spray, line the bottoms with parchment, and spray again.
  • Sift flour, cocoa powder, baking powder, baking soda, salt, and sugar together; set aside.
  • Heat water until steaming. In a large bowl combine oil, vanilla, eggs, and buttermilk. Slowly add hot water and mix until just combined; the batter will be thin.
  • Fold the dry ingredients into the wet until just combined. Divide batter evenly between the pans.
  • Bake 32–36 minutes, or until a toothpick comes out clean. Cool in pans 10 minutes, then transfer to a rack and cool completely before decorating.

Salted Caramel

  • Start the caramel while the cakes bake or ahead of time. In a saucepan over medium heat, melt the sugar and whisk until crystals dissolve.
  • When the sugar turns amber, remove from heat. Work quickly—the color can change in seconds.
  • Add half the cubed butter and whisk vigorously, then add the rest. Heat the cream until hot and slowly whisk it in. Stir in vanilla and salt.
  • Return to heat and simmer 5–7 minutes to thicken. Pour into a glass bowl and cool.

Chocolate Cream Cheese Frosting

  • Sift powdered sugar and cocoa. Beat butter on high for 2 minutes, add cream cheese and beat 1 minute.
  • Scrape the bowl, add half the powdered sugar and mix on low until smooth. Add the rest, mix until smooth, then add vanilla.

Assembly

  • Trim domes from the cake layers so they sit flat.
  • Place the first layer on a board. Spread 3/4 cup frosting over it and pipe a frosting border around the edge. Spread 1/2 cup caramel inside the border and add about 1 1/2 cups chopped Twix. Pipe a few small frosting dollops over the Twix to secure the top layer.
  • Place the remaining layer on top, with its bottom facing up, and freeze 10 minutes to set the filling.
  • Frost the cake smoothly with the chocolate cream cheese frosting.
  • Optional caramel drip: chill the frosted cake 10 minutes, then use a piping bag to create caramel drips around the edge, spread extra caramel on top, and finish with more chopped Twix.

Notes

Flour: Spoon and level or use a scale. Compacting flour can dry out the cake.

High altitude: Add an extra 2 TBSP flour.

Dairy: Remove butter and cream cheese from the fridge about 2 hours before baking to reach room temperature.

Calories: 585kcal, Carbohydrates: 96g, Protein: 6g
Did you make this recipe?Please leave a star rating and review below to let others know how it turned out!