
Free Printable: Low Carb & Keto Food List
Get It NowThis post may contain affiliate links, which help keep this content free. (Full disclosure)
When I first heard about “sex in a pan dessert”, I thought the name was some kind of joke. Was this really a thing? Apparently, it’s been around for years, under many different names. I’m not really sure what the origin is.
Intrigued by all the flavors in a chocolate layer dessert, I set out to find how to make sex in a pan my way. Of course, that meant low carb, gluten-free, and healthy healthier.
Layers in Sex in a Pan Dessert
Traditionally, sex in a pan dessert contains six layers. These include:
- Pecan shortbread crust
- Cream cheese
- Vanilla pudding
- Chocolate pudding
- Whipped cream
- Shaved chocolate
All the versions that I know of are made with sugar and wheat flour. In fact, a couple of the layers usually include instant pudding. For me, these would be no, no, and definitely not.
I knew there was a way to make it better and low carb – without sacrificing the sinfully delicious taste and texture.
My take on chocolate layer dessert isn’t exactly healthy, but at least it is gluten-free, sugar-free, and made without questionable ingredients.
It does include similar basic layers:
- Pecan shortbread crust
- Cream cheese
- Chocolate
- Whipped cream
- Shaved chocolate
Okay, it’s not quite identical. (Maybe I should call it gluten-free chocolate lasagna instead?) But, it’s close enough that I’m still declaring it sex in a pan. 😉
Best of all, none of my extended family could tell the difference when I served it. Yay! (Yes, I served a dessert called “sex in a pan” for family. I’ll get to how that went in a minute.)
A (Healthier) Easy Sex in a Pan Recipe
An easy sex in a pan recipe is a challenge when you are trying to keep it to real food ingredients and somewhat healthy. I’m not going to lie, it’s definitely calorie dense and on the heavier side. But, at least there are no artificial ingredients. And, it’s still pretty simple to make – no processed pudding mix required!
The other aspect I struggled with was keeping the sex in a pan recipe under ten ingredients total. After all, “ten ingredients or less” is my thing. Definitely not easy with a six layer dessert!
Fortunately, I was able to repeat many of the ingredients among the different layers, so it worked out. It actually came out to nine ingredients, although my original version had ten.
I skipped the vanilla pudding layer, because patience isn’t my strong suit. Waiting for each layer to set already took long enough with five layers! It’s totally worth it though, I promise.
Anyway, the other layers are so decadent that I don’t think you’ll miss the one I omitted. If you really like vanilla pudding, feel free to add a layer of your favorite kind before the chocolate layer.
In fact, I was so determined to make this low carb dessert a little faster than traditional sex in a pan recipes, that I decided to modify the chocolate layer from the original. (I’m pretty sure that most of us don’t want to spend hours upon hours making our low carb or no carb desserts!)
The older version required making chocolate pudding using xanthan gum, and waiting hours for it to set. Some people reported issues with the pudding setting, and the xanthan gum was less readily available for many.
More importantly, it was So. Much. Waiting. I cut that out and replaced it with a chocolate whipped cream instead. So much faster, and just as delicious!
… UPDATE: Okay, apparently I didn’t realize how many of you preferred the pudding version with the xanthan gum! I’m adding it back in, so you can decide which version you want. 😉
Another option is to swap the pudding layer with your favorite low carb pudding recipe. You can even try adapting this vegan chocolate pudding recipe by using low carb sweetener and xanthan gum to thicken.
One of the Best Low Carb Desserts for Any Occasion
Despite the conflict between the name and the fact that I had family coming for New Year’s, I made this sex in a pan dessert for the celebration. I wanted something that looked cool, tasted extra rich, and it had to be something I wouldn’t make every day.
Fortunately, even with multiple steps, it turned out to be a lot easier than it looks! And, the rave reviews were worth the effort.
I’ll admit, I couldn’t bring myself to tell my family what this thing was called. And they did all ask, because it doesn’t look like any other dessert people have seen before. I just said it’s “chocolate layer dessert”. Feel free to do the same if you’re in the same boat!
You may be wondering why I’m sharing this chocolate layer dessert recipe now, toward the end of January. Isn’t this month supposed to be all about healthy eating for many people? Well, yes. But like I said, this low carb dessert is definitely healthier than traditional sex in a pan.
The other reason is, Valentine’s Day is coming up! What better time than that to make this sugar-free sex in a pan dessert? It’s special, it’s chocolate, and you won’t have to come up with an alternate name like I did.
The Trick with Keto Chocolate Layer Dessert
Now, I already fixed the majority of the first problem with layered low carb desserts – the waiting! I say majority because I still recommend refrigerating it for an hour or two at the very end before serving. But, unlike other chocolate layer dessert recipes, at least you don’t have to wait between layers.
So, the only slight challenge that’s left with a treat like this? Apparently, a creamy six layer dessert (or five layer dessert) can be tricky to remove from the pan. It always falls apart on me! The first piece definitely won’t look pretty, so be prepared for that.
After that one piece, make sure you’re cutting all the way through the crust layer and use a thin, sturdy spatula to remove each piece from the pan. I love this silicone cookie spatula, which is the perfect size.
Just remember, it will still taste delicious even if you mess up on the serving process. And if you love chocolate and whipped cream, it will be one of the best low carb desserts you’ve ever had.
More Sugar-Free Dessert Recipes
If you’re looking for more crowd pleasing sugar-free desserts, try these:
Tools To Make Sex in a Pan Dessert
Tap the links below to see the items used to make this recipe.
- 9×9 baking dish – This is the one I used.
- Medium saucepan – This one is a good size if you’re making the old version of the chocolate layer.
- Hand mixer – For beating the whipped cream.
- Sugar-free dark chocolate – This one is sweetened with stevia. Don’t confuse it with unsweetened baking chocolate!
Sex in a Pan Dessert Recipe (One of the Best Low Carb Desserts)
Reader Favorite Recipes
The recipe card is below! Readers that made this also viewed these recipes:
Sex in a Pan Dessert Recipe (Sugar-free, Low Carb, Gluten-free)
Learn how to make sex in a pan dessert - easy and sugar-free! And, this chocolate sex in a pan recipe is one of the best low carb desserts ever. If you're looking for delicious keto desserts that everyone else will love too, this is for you.
Recipe Video
Tap on the image below to watch the video.Like this video? Subscribe to my YouTube cooking channel for healthy recipes weekly! (Click the bell icon to be notified when I post a new video.)
Ingredients
Tap underlined ingredients to see where to get them. Please turn Safari reader mode OFF to view ingredients.
Pecan Crust
Cream Cheese Layer
Chocolate Layer - Option 1 (Old Version)
Chocolate Layer - Option 2 (New Version)
Whipped Cream Layer

Get Keto Sweetener For This Recipe
GET BESTIInstructions
Tap on the times in the instructions below to start a kitchen timer while you cook.
Crust
-
Preheat the oven to 350 degrees F. Line a 9x9 in (23x23 cm) baking dish with parchment paper.
- In a large bowl, stir together almond flour, pecan meal, and powdered erythritol. Stir in melted butter until a crumbly dough forms. Press evenly into the lined baking dish.
-
Bake for 12-15 minutes, until golden and firm. Set aside to cool.
Cream Cheese Layer
- While the crust is baking, make the cream cheese layer. Use a hand mixer to beat the cream, vanilla extract, and powdered erythritol together, until stiff peaks form. Gradually beat in the softened cream cheese, a bit at a time, until well combined.
- Once the crust has cooled, spread the cream cheese mixture evenly over it.
Chocolate Layer - Option 1 (old version, like pudding)
-
While the crust is cooling, make the chocolate pudding layer. In a medium saucepan, combine the heavy cream, almond milk, sugar-free dark chocolate, butter, and powdered erythritol. Cook over medium-low to low heat, stirring frequently, until the chocolate is melted and sweetener dissolves (about 5-10 minutes). Be careful not to get the heat too high to avoid burning the chocolate.
-
Gradually sprinkle the xanthan gum into the saucepan a little at a time (don't just dump it in) and immediately whisk to incorporate. Continue to heat for about 5 minutes, whisking constantly. Remove from heat, then whisk in the vanilla extract.
-
Cool the chocolate pudding for 15 minutes (it will thicken, but still be liquid). You can add more xanthan gum if needed, but don't add too much or it will get slimy. Stir/whisk again after cooling, then pour it over the cream cheese layer.
-
Cover with plastic wrap, making sure it's directly against the surface to prevent a film forming. Refrigerate for at least 2 hours.
Chocolate Layer - Option 2 (new version, faster)
- While the crust is cooling, make the chocolate layer. Beat the heavy cream, powdered sweetener, and vanilla until stiff peaks form. Beat in cocoa powder gradually.
- Spread the chocolate whipped cream over the cream cheese layer.
Whipped Cream Layer
- Use a hand mixer to beat the cream, vanilla extract, and powdered erythritol together, until stiff peaks form.
- Spread the whipped cream over the chocolate layer. Sprinkle chocolate shavings on top.
-
Refrigerate for 1-2 more hours (or as long as needed until serving) to fully set.
Last Step: Leave A Rating!
Share your recipe picture by tagging @wholesomeyum and hashtag it #wholesomeyum on Instagram, or in our Facebook support group, too - I'd love to see it!
Recipe Notes
Update: The old version of the chocolate pudding layer is back by popular demand! I've posted both options above, so you can decide which one you want. The older version takes longer and sometimes people have issues with thickening, but tastes more like pudding when you get it right. The newer version is faster but more like a chocolate whipped cream layer.
Serving size: 2.25" square, or 1/16 recipe
This video shows how to make sex in a pan dessert using the newer version of the chocolate layer.
Nutrition facts are provided as a courtesy. Have questions about calculations or why you got a different result? Please see our nutrition policy.
Want to save this recipe?
Create a free account to save your favorite recipes!
Sign Up To Save Recipes© Copyright Maya Krampf for Wholesome Yum. Please DO NOT SCREENSHOT OR COPY/PASTE recipes to social media or websites. We'd LOVE for you to share a link with photo instead. 🙂
485 Comments
Lisa
I don’t have a 9 x 9 pan so I used a 9″ springform pan. I think it’ll work. It’s in the refrigerator now setting up. All layers taste amazing so I bet it will be wonderful all together. Thank you for those of us who love dessert and don’t have a lot of great choices. Looking forward to my dessert tonight.
Amber
If you place the parchment paper up the sides of the pan (cut the corners vertically so it stays) then when the dessert is done, you can remove the whole thing in one piece, peel off the parchment, trim the edges and have every piece perfect.
My modifications: Couldn’t get the pudding to set enough after 5 hours of chilling so scraped it off to eat with a spoon and went with option 2, with 1/4 cup powdered erythritol instead of 1/3 cup. Definitely did not need to be sweeter.
Also halved the sweetener in the top whip layer. Nice to have a layer that is more subtle.
Next time I will omit some of the vanilla or at least decrease it. I think the vanilla further adds to the cold ethyritol taste.
Maya | Wholesome Yum
Thank you so much for sharing, Amber! Great idea with the parchment paper.
Tammy L Tanksley
I found this recipe to be exactly as the writer states, simple and delicious! I am not a fan of a lot of low carb desserts but this one tastes amazing. I did have a little trouble cutting the first piece but all the rest cut out beautifully and even my teenage grandsons loved it! Thanks for this awesome LOW CARB dessert!
Georgia
It’s the best keto desert!!!!!!!
Thanks for sharing.
Kandi
Do you have to use almond flour? Can you just use all pecan instead?
Maya | Wholesome Yum
Hi Kandi, Yes, you can do that, but it stays together a little better with some almond flour in there since it’s finer.
Jessica
Hi, can you use a different sized baking dish or just the 9×9? Thanks in advance
Maya | Wholesome Yum
Hi Jessica, You can use a smaller one if you’d like. The baking time for the crust would increase.
Louann
This is my second time making this, taking this one to church study tomorrow. Folks don’t realize how delicious KETO can be.
Jennifer
I have made this twice and love every bit of it. I took it to a family get together, and only came back with one serving. I was highly disappointed that everybody liked it so much that they ate almost all of it. I did make some changes… I don’t like the grittyness of almond flour, so I add in coconut flour. I sub 1/4 of any almond flour recipes with coconut flour. I also added 4 oz more of cream cheese. This gave me a slightly thicker cream cheese layer. It also raised the carbs a little, so I had a smaller portion. Hands down this is my favorite Keto recipe.
Deborah
Absolutely loved this! Delicious keto dessert. I did the option 1 for the chocolate layer and forgot to cover it. It still turned out perfect. Thanks for another great recipe
Danielle
Hello, I just finished making this dessert and when I got to the second and third layer it didn’t whip up like the first layer… It is very runny. Not sure what happened??? And I followed everything exactly like the recipe. Really bummed about it!
Maya | Wholesome Yum
Hi Danielle, Sorry you had issues with it. Which version did you try to make?
Karen
Most delicious dessert I’ve ever tasted. Pure decadense. Family favorite
John
I want to try this, but with instant espresso added to the chocolate layer and cocoa powder instead of the nuts for the crust….
Scott Danison
My wife made me the newer version of this dessert for my birthday and it was wonderful. Thank you so much. Your site is a valuable resource for all low “carbers”
Kate Bosworth
I made this today and super yum. I read about the version 1 being temperamental. So I tempered in a egg yolk after the chocolate melted and it set up great! (No other changes)
Noshin
Hi- I’m planning on making this for a party. Can I make it day before ? And add shavings before serving ?
Ty
Maya | Wholesome Yum
Yes, you can!
Renee
I didn’t have any xanthan gum so I substituted 1/2 pack of unflavored gelatin and it came out perfect!
Maya | Wholesome Yum
That’s great to hear, Renee! So glad to hear that worked!
Tj
Are the carbs based on old version or new version?
Maya | Wholesome Yum
Hi Tj, They are for the new version. Both versions are low carb, though.
Janine
I am totally going to make this! Its a family favourite for years! When my Mom introduced it when we were younger she called it “Fun in a Pan”
Bea
Wonderful dessert for a sweet tooth craving when you’re on Keto! The cake is even better the next day, I’ve been eating mine all week as my after dinner dessert. 🙂
Catalina
Question, can I substitute coconut flour for almond flour?
Maya | Wholesome Yum
Hi Catalina, No, sorry, that won’t work.
Christy
A lady in a comment above used a 1/4 cup of coconut flour instead of almond and it worked.
Krystal
I would recommend using truvia instead of the stevia powder. I can’t stand the tingly feeling stevia powder gives. Definitely an amazing chocolate craving crushers. Love it
Estelle Essex
This dessert is absolutely delicious! It took me a long time to make it. I’m not much of a cook. Worth it. The only mistake was when preparing the first layer ( cream cheese layer), I put all of the sweeteners in with heavy cream at once which stopped my cream from whipping up. Didn’t make that mistake again. Definitely recommend it!!!! (I used a new method, chocolate whipped cream). Thank you.
Angela
This is one of the BEST keto dessert recipes I’ve made! Omg! And I’ve made tons! I used the original pudding recipe! The only thing I subbed was pecans for the crust, ran out so used walnuts instead! Also used a little xylitol (powdered) for whipped layer bc I ran out of erythritol ! Soooooo creamy, light, and delish!
Theresa
OH MY! This is fantastic, we loved it, and I’m relatively sure this recipe is dangerous to my waistline! I made this for my husband to take to work to share with nonketo coworkers. It was a hit. Half the pan was gone. I used monk fruit sweetener since nonketo people seem to prefer it over swerve. In my experience anyway. I also made the quick method for the chocolate layer. This is a winner thank you! Perfect as is, I wouldn’t change a thing! Will be making it again and again.
Kelly
This looks so amazing, you have so many great recipes!
Rebecca
This is a great recipe! I did have to add a a few more tablespoons of sweetener to the chocolate layer for those with a serious sweet tooth but otherwise it was very good, and very easy to make.
Janine Volpati
Great recipe! For pudding lovers such as myself, also try using homemade avocado pudding! The chocolate is decent and you can also make vanilla (the vanilla will be green though if you can get past that lol)
Melanie
This is delicious! My kids even said it was good.
Carol Bergdahl
Where do you get unsweetened chocolate? I have unsweetened bakers chocolate but I don’t think that is what these dessert recipes is asking for.
Maya | Wholesome Yum
Hi Carol, This recipe calls for sugar-free chocolate but not unsweetened – it’s no sugar but is sweetened with natural sweeteners. You can get it here – that’s a 12 pack for the best value but from that page you can find smaller amounts too.
Michaela
We didn’t have pecans so I used unsweetened coconut flakes and it turned out fantastic!! Thanks for a great recipe!
Suzanne
This is awesome! The name of the dessert caught my eye on Pinterest and then the fantastic images drew me in. It looks AMAZING! Thanks for the great recipe!
Elisa
I just made it with #1 chocolate pudding can’t wait to try it and very easy to make
Monique
We are trying to be dairy free but are willing to splurge for the cream cheese but wondered how it would taste with coconut milk instead of heavy cream? Would coconut milk fluff up like HWC? I wonder?
Maya | Wholesome Yum
Hi Monique, You should be able to whip coconut cream. You can buy coconut cream in a can, or if you have canned coconut milk, place cans in the fridge overnight and you can skim off the cream in the morning.
Sonya
I am making this today for my sister’s birthday. I just noticed that I have sugar-free milk chocolate instead of dark chocolate. Should I use less erythritol?
Maya | Wholesome Yum
Hi Sonya, The amount of sweetener would be the same. The end result will be less chocolate-y if using milk chocolate, though. You could try using more of the chocolate.
Bev Walls
Can you not use the sugar free Jello cook and serve?
Maya | Wholesome Yum
Hi Bev, Sugar-free jello is made with artificial sweeteners and other artificial ingredients, so I prefer not to use it, but you can depending on your preferences.
Sarah Swift
I would love to make this for my T1D daughter, but she is sensitive to the Swerve “cold” chemical taste in a lot of keto desserts. Do you notice that with this dessert? Any chemical taste? Thank you!
Maya | Wholesome Yum
Hi Sarah, I haven’t noticed that, but you could try decreasing the sweetener to be sure. A blend like a monk fruit blend or stevia blend might also help in cutting any cooling effect of erythritol.
Dezarae Gaines
I made this recipe for a dinner party where there would be non-Keto guests in attendance. It turned out lovely, but the pudding layer was slimy and pretty much ruined it for me. I wish I had made Option 2. It was a lot of effort to make and I hated throwing it away, but I just couldn’t deal with the texture of the pudding.
Maya | Wholesome Yum
Hi Dezarae, It was likely too much xanthan gum. You can try using less next time, or just make the 2nd option.
Pamela Bills
This sounds fabulous and I think its close to “The next best thing to Robert Redford” . LOL . Question: could you use stevia?
Maya | Wholesome Yum
Hi Pamela, Yes, you can use any sweetener you like. Check the sweetener conversion calculator here.
Kati
If I wanted to use packaged sugar free pudding for the chocolate layer, what ratio of heavy cream would you recommend? I’ve made a mouse with just 1pkg pudding mix to 2 cups of heavy cream.
Maya | Wholesome Yum
Hi Kati, Sorry, I’m not sure. I never use pre-packaged pudding as it’s filled with artificial ingredients.
Taylor
The name we call it here in TX is “Better than Sex Cake” I first heard of it when my daughter a senior in highschool was asked to bring on in.Lol! I didn’t bother getting offended cause it’s just not worth it. As a mother you have to choose your battles and this wasn’t one of them.
Maya | Wholesome Yum
Ha! That’s funny, Taylor!
Donna
Can you make this ahead and freeze it?
Maya | Wholesome Yum
Hi Donna, Yes, you can!
Randy
I found the chocolate layer to be quite bitter. I used Hershey Cocoa Powder. I added 2 more tablespoons of erythritol and 1/2 cup more of heavy cream. Chocolate taste was dimished though. What brand of Cocao Powder did you use?
I also added a couple packs of “True Lemon” packets to the cream cheese layer. Less than a carb each. It adds a tart taste which I enjoy.
Maya | Wholesome Yum
Hi Randy, The brands I use are linked on the recipe card – tap the ingredients and it will take you to them. The lemon packets sound yummy, too!
Wendy
I made this for my sisters birthday today and it turned out amazing.
Maya | Wholesome Yum
I am so happy to hear that, Wendy! Thank you!
June Strong
Hi, I would love to make this nut free for my son with food allergies. Any tips for substitutions? Thanks!
Maya | Wholesome Yum
Hi June, You could make the crust similar to the crust in these cupcakes.
batmom
This looks really good, I have never tried it.
I do think that you should maybe call it ”Chocolate Lasagna” or something besides ”Sex In A Pan” which, In my opinion, doesn’t sound very palatable.
Your recipes are AMAZING, Including the Almond Flour crackers, and Coconut cookies.
My birthday is coming soon, and this looks perfect, thank you.
Maya | Wholesome Yum
Thank you! This has a lot of names so you could call it anything you like. 🙂
Carmen
My mother-in-law made this for the family get-togethers and she called it “oh so good”! It is still a favorite for my kids; who are now adults and my husband! I can’t wait to try your keto version
Tom
You may be doing it wrong. LOL. The church social name for this is normally Chocolate Lasagna.
Annette
My cousin and a friend of ours were all looming for a healthy version of my Aunt’s Sex in a Pan recipe. Hers was the absolute best. She made a Graham wafer crust instead of the pecan one, and she had two versions: one with vanilla, chocolate and butterscotch puddings, and another with vanilla and pistachio.
I wonder if I use some ground pistachios with my almond flour it might give me something closer in taste to hers. The challenge has been given to me by the Family to use all 4 flavours, and I thimk putting the pistachio in the crust might make this work.
Funny thing – my aunt was fairly religious. She would throw large family parties, and all the local priests would up in us for dinner. This was the favourite dessert of everyone. And she always called it Sex in a Pan. Except for the Church cookbook where she renamed it heavenly delight.
Maya | Wholesome Yum
Thank you for sharing, Annette! Yes, you could use some ground pistachios in place of the almond flour.
Jackie
This looks amazing!! Do you think I could use peanut butter powder instead of the pecan meal? I don’t have any pecans and I want to make this now!
Thanks!
Maya | Wholesome Yum
Thank you, Jackie! I haven’t tried it with peanut butter powder but it should work. The texture would probably be a little different or you might need to adjust the amount a little since the peanut butter powder is a finer consistency.
mca
Which version should I make? I can’t decide.
Maya | Wholesome Yum
They are both good! Let me know which one you went with and how you liked it!
Kim
Could I use agar agar instead of xanthan gum?
Maya | Wholesome Yum
Hi Kim, Possibly, but I haven’t tried it. Let me know if it works for you!
Nancy J Ryan
Is there anything you can do to fix the pudding if it gets slimy??
Maya | Wholesome Yum
Hi Nancy, You might be able to try adding more of the other ingredients to taste, to try to adjust the ratio.