Decadent Layered Dessert Bars: Sex in a Pan Recipe

This easy Sex in a Pan is a chilled, pudding-based layered dessert built on a crisp pecan crust. A tangy-sweet cream cheese layer is topped with vanilla and chocolate pudding, finished with fluffy Cool Whip and white chocolate shavings for a quick crowd-pleaser.

Pecans and white chocolate shavings top a slice of sex in a pan.

This dessert delivers three layers of cool, creamy sweetness on a buttery, nutty base. It’s simple to assemble — instant puddings and store-bought whipped topping keep the process fast and foolproof. Serve cold for a refreshing treat that’s ideal for warm weather or potlucks.

This version was a hit at a recent bridal shower and is a family favorite — it disappears fast, so plan accordingly if you’re bringing it to a gathering.

Why You’ll Love This Layered Dessert

  • Effortless. Aside from baking the pecan crust, this recipe mainly uses instant pudding and Cool Whip, so no complicated steps or heavy whipping are required.
  • Attractive layers. The contrasting vanilla and chocolate layers with a creamy topping make an appealing presentation — perfect for parties.
  • Served cold. Almost no-bake and chilled, this dessert is a refreshing choice for summer and warm-weather entertaining.

What Is Sex in a Pan?

Sex in a Pan is a cold layered dessert featuring a pecan-based crust topped by three sweet layers: a cream cheese and Cool Whip filling, a vanilla pudding layer, and a chocolate pudding layer. The final touch is more whipped topping, a sprinkle of cocoa, and white chocolate shavings for texture and visual appeal.

Use instant puddings for speed, or substitute homemade pudding if you prefer.

A side view of sex in a pan dessert with all the layers showing.

Recipe Ingredients

Here’s an overview of the ingredients used in this sex in a pan recipe. Exact amounts are shown in the recipe card below.

Sex in a pan crust ingredients are shown: sugar, butter, pecans, flour, salt.
Crust Ingredients.
Cream cheese layer ingredients are shown: cream cheese, powdered sugar, cool whip.
Cream Cheese Ingredients.
Vanilla pudding ingredients
Vanilla Layer.
Chocolate pudding layer ingredients are shown: instant chocolate pudding and milk.
Chocolate Layer.

Crust

  • Pecans – Toasty pecans give the crust flavor and crunch.
  • All-purpose flour – Helps bind the crust.
  • Granulated sugar – Adds a touch of sweetness.
  • Butter – Use unsalted butter so you can control the overall saltiness.

Cream Cheese Layer

  • Cream cheese – Full-fat gives the creamiest texture; bring it to room temperature.
  • Powdered sugar – Sift first to avoid lumps.
  • Cool Whip – Or homemade whipped cream for a lighter texture.

Vanilla Pudding Layer

  • Instant vanilla pudding mix – Speedy and reliable.
  • Milk – Whole milk produces a richer pudding, 2% works as well.

Chocolate Pudding Layer

  • Instant chocolate pudding mix – Choose your preferred brand.
  • Milk – Whole or 2% milk.

Toppings

  • Cool Whip – Or another whipped topping.
  • Cocoa powder – Unsweetened for a subtle finish.
  • White chocolate – Shavings add a pretty garnish.
A layered chocolate and vanilla no-bake dessert called sex in a pan served on a plate.

Recipe Tips for Success

  • Chill thoroughly. Refrigerate the assembled dessert for at least 2 hours, or overnight if possible, so the layers set and slice cleanly.
  • Room-temperature cream cheese. Softened cream cheese mixes smoothly and prevents lumps in the filling.
  • Switch up puddings. If you prefer homemade puddings, replace the instant mixes with your favorite scratch recipes, or try different flavors like butterscotch or banana.
  • Alternative crusts. If nuts aren’t preferred, substitute crushed graham crackers, cookies, or other nuts such as almonds or walnuts.

Serving Suggestions

Serve Sex in a Pan as a stand-alone dessert with coffee, iced coffee, or a sweet dessert wine. It also pairs well after a simple dinner—fresh salads and roasted mains keep the meal balanced before such a rich dessert. For special occasions, garnish with themed sprinkles or seasonal candies.

A layered no-bake dessert called sex in a pan served on a plate.

More Dessert Recipes To Try

  • Peanut Butter Rice Crispy Treats
  • Blueberry Crisp
  • Easy Tres Leches Cake
  • White Chocolate Chip Cookies
  • Sour Cream Banana Bread
A side view of sex in a pan dessert with all the layers showing.

Sex in a Pan

This easy sex in a pan features layers of sweet cream cheese filling, vanilla, and chocolate puddings on a pecan crust for a simple, impressive dessert.
Prep Time: 25 minutes
Cook Time: 15 minutes
Resting Time: 2 hours
Total Time: 2 hours 40 minutes
Servings: 12 servings

Ingredients

For the crust:

  • 1 cup pecans, chopped
  • 1½ cup all-purpose flour
  • 2 tablespoons granulated white sugar
  • ¾ cup unsalted butter, melted

For the cream cheese layer:

  • 8 ounces block cream cheese, softened
  • ½ cup powdered sugar
  • 1 cup Cool Whip

For the Vanilla pudding layer:

  • 5.1 ounces instant vanilla pudding mix
  • 2 cups milk

For the Chocolate Pudding layer:

  • 5.9 ounces instant chocolate pudding mix
  • 2 cups milk

For the Toppings:

  • 2 cups Cool Whip
  • 1 tablespoon sifted cocoa powder
  • white chocolate shavings

Instructions

Make the crust:

  • Preheat the oven to 350°F.
  • In a medium bowl, combine chopped pecans, all-purpose flour, and sugar. Pour in melted butter and mix until combined.
  • Press the pecan mixture into the bottom of a 9×13-inch baking dish in an even layer.
  • Bake about 15 minutes or until lightly golden. Remove and let cool completely.

Prepare the cream cheese layer:

  • Beat softened cream cheese until smooth. Add powdered sugar and beat until combined.
  • Gently fold in 1 cup of Cool Whip until light and fluffy.
  • Spread the cream cheese mixture evenly over the cooled crust.

Prepare the vanilla pudding layer:

  • Whisk instant vanilla pudding mix with 2 cups milk until thickened. Spread over the cream cheese layer.

Prepare the chocolate pudding layer:

  • Whisk instant chocolate pudding mix with 2 cups milk until thickened. Spread over the vanilla layer.

Add the toppings:

  • Spread 2 cups of Cool Whip over the chocolate pudding layer.
  • Sprinkle sifted cocoa powder and white chocolate shavings on top for garnish.

Chill and serve:

  • Refrigerate at least 2 hours or overnight to set.
  • Once chilled, cut into squares and serve.

Equipment

  • 9×13 glass baking dish

Nutrition

Calories: 419 kcal | Carbohydrates: 52 g | Protein: 6 g | Fat: 22 g

Nutritional info is an estimate and provided as a courtesy. Values may vary by ingredients and preparation.

How To Make Sex in a Pan Dessert

Follow the step-by-step photos for a visual guide through the process.

Crust ingredients are added to a glass bowl.
1. Make the pecan crust.
The crust for sex in a pan in a pan.
2. Press the crust into a baking pan and bake 15 minutes.
The cream cheese layer is mixed in a bowl.
3. Make the cream cheese layer.
The cream cheese layer is added to the crust.
4. Spread the cream cheese mixture over the cooled crust.
Instant vanilla pudding in a bowl.
5. Whisk the vanilla pudding.
The vanilla pudding layer is added.
6. Spread the vanilla over the cream cheese layer.
The chocolate pudding is ready to use.
7. Whisk the chocolate pudding.
The chocolate pudding layer is added.
8. Spread the chocolate layer on top of the vanilla.
Cool Whip is spread over the top of the dessert.
9. Top with Cool Whip and chill at least 2 hours or overnight.
img 244515 20
10. Slice and serve.
  • Make the crust. Preheat oven to 350°F. Mix chopped pecans, flour, and sugar. Add melted butter and combine.
  • Bake. Press into a 9×13-inch baking dish and bake 15 minutes. Cool completely.
  • Make the cream cheese layer. Beat cream cheese until smooth, add powdered sugar, fold in Cool Whip, and spread over crust.
  • Prepare the vanilla pudding layer. Whisk vanilla pudding mix with 2 cups milk until thick, then spread over the cream cheese.
  • Prepare the chocolate pudding layer. Whisk chocolate pudding mix with 2 cups milk until thick, then spread over the vanilla layer.
  • Add Cool Whip. Spread 2 cups of Cool Whip over the chocolate pudding layer.
  • Garnish and chill. Sprinkle with sifted cocoa and white chocolate shavings. Refrigerate at least 2 hours before serving.

Proper Storage

Make this dessert up to a day in advance and keep it refrigerated, covered. For leftovers, follow these guidelines:

  • Fridge – Cover tightly with plastic wrap or store in an airtight container for up to 3 days.
  • Freezer – Place in an airtight, freezer-safe container for up to 3 months. Thaw overnight in the refrigerator before serving.