Keto Peanut Butter Pie
Published November 12, 2021 • Updated August 21, 2026
This post may contain affiliate links. See my disclosure policy.
I make this keto peanut butter pie more than any other dessert on my site. Chocolate cookie crust, creamy filling, sugar-free whipped cream, and only 5g net carbs per slice.
I’ve made dozens of desserts for this site, and this peanut butter pie is the one I keep coming back to. The chocolate cookie crust has a real snap when you cut into it (that’s the xanthan gum holding the almond flour together), the filling is thick without being heavy, and the whipped topping balances everything out. 5g net carbs per slice. I’ve served it at holidays, weeknight dinners, and potlucks where I didn’t mention the macros and just let people eat.
What makes this recipe different from others is the texture layering. The crust bakes for just 9-10 minutes and comes out with a cookie-like crunch. The filling sits on top with a silky, airy quality because of how I fold the whipped cream in. Then the whipped topping adds a light, cloud-like layer that contrasts with the denser filling underneath. Every bite has three distinct textures and that’s what keeps me making it.
The trick to the filling is folding in the whipped cream in two stages. The first fold loosens the cream cheese mixture so it’s workable. The second fold is gentle to keep all that air trapped inside. This two-step method is what gives the filling that mousse-like lightness. I haven’t seen other recipes do this and the difference is noticeable, especially after the pie sets in the fridge overnight.
For the crust, press the dough firmly and evenly into the pan before baking. I use the flat bottom of a measuring cup to compact it. Give the crust a full 9-10 minutes in the oven, then let it cool completely before adding the filling. A warm crust will cause the filling to slide and it won’t set right. I learned that the hard way my first time making it, and now I always give the crust at least 30 minutes on the counter before I start on the filling.
Readers tell me this pie tastes even better the next day, and I agree completely. Another reader, AZ Roadrunner, told me it became her husband’s annual birthday tradition. That kind of feedback is why I keep developing low-carb recipes like this one.
If you love this flavor combination, try my mousse version for a lighter single-serving take. My coconut cream pie uses the same crust technique, and chocolate mousse is great if you want to skip the crust entirely. For more keto desserts, my no-bake cookies are an easy starting point.
Explore hundreds of keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.
Chocolate Pie Crust Ingredients
1 1/4 cups almond flour
3 tablespoons coconut flour
1/4 cup Cacao Bliss or 2 tablespoons unsweetened cocoa powder
1/2 teaspoon baking powder
1/2 teaspoon xanthan gum
1/4 teaspoon salt
4 tablespoons butter, cubed and chilled
1 teaspoon vanilla extract
cooking spray
Sugar Free Peanut Butter Filling Ingredients
2/3 cup powdered sugar-free sweetener
3/4 cup no sugar creamy peanut butter
6 oz cream cheese, softened
3/4 cup heavy whipping cream
Keto Whipped Cream Ingredients
1 cup heavy whipping cream
2 tablespoons powdered sugar-free sweetener
1 teaspoon vanilla extract
Step by Step Instructions
Preheat the oven and prepare pie plate
Preheat oven to 350 degrees and spray a 9 inch pie pan with cooking spray. Set aside.
Make chocolate pie crust dough
In a food processor, add almond flour, coconut flour, cocoa powder, baking powder, xanthan gum and salt. Give a few pulses to combine then add cubed butter and vanilla extract. Pulse until coarse crumbles form.
Press crust into pie plate
Pour chocolate pie dough into the prepared pie plate and press to cover the bottom and sides uniformly.
Bake pie crust
Bake pie crust in a 350 degree oven for 9-10 minutes. Let cool completely.
Cream peanut butter with sweetener
In a large bowl, combine sweetener, peanut butter, and cream cheese until fluffy using an electric mixer.
Make whipped cream
In a separate medium bowl, beat heavy cream with an electric mixer until stiff peaks form. Fold half of the whipped cream into the peanut butter until combined. This will help loosen up the peanut butter mixture. Gently fold in the remaining whipped cream. Fold gently to keep the mixture airy.
Assemble pie
Spread peanut butter mixture on top of the cooled pie crust.
Make whipped topping
In a large bowl, add 1 cup heavy cream. Beat with an electric mixer until mixture starts to thicken. Add in powdered sweetener and vanilla. Continue beating until stiff peaks form.
Refrigerate
Add whipped topping on top of the peanut butter layer. Spread evenly. Refrigerate pie for 2 hours to set. Top with crushed peanuts and melted chocolate if desired.
Nutrition disclaimer
The nutrition information provided is an estimate and is for informational purposes only. I am a Doctor of Pharmacy (Pharm.D.); however, this content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician or other qualified health provider before making any lifestyle changes or beginning a new nutrition program.
Your Macros. Your Recipes. Calculated in 60 Seconds.
Get personalized keto macros and instantly see which recipes fit your targets. No more guessing what to eat.
Get My Macros + Recipes →Frequently Asked Questions
Can I use a springform pan instead of a pie plate?
I haven't tried a springform specifically for this recipe, but I've used a 9-inch one for similar crusts and it works fine. Press the crust up the sides about an inch and bake the same amount of time. The only thing to watch is that springform pans can have a slightly different base thickness, so check the crust a minute early. I'd chill it a full 3-4 hours before removing the ring so the filling is completely set.
Can I make this pie dairy-free?
I've made a dairy-free version by swapping butter for coconut oil in the crust and using coconut cream in place of heavy cream for both the filling and the topping. The flavor shifts a little toward coconut (which I actually like with the chocolate crust), but the texture holds up the same. Use full-fat coconut cream from a can, not the carton kind.
What can I use instead of the filling if I have a nut allergy?
I haven't tested sunflower seed butter myself, but readers have told me it works as a 1:1 swap for the filling. The flavor is earthier and you might need a touch more sweetener to balance it. If you try it, I'd love to hear how it turns out. One important note: the crust uses 1 1/4 cups almond flour, which is a tree nut, and the optional garnish is crushed peanuts, so skip both of those too if the allergy covers tree nuts as well as peanuts.
Do I need a food processor for the crust?
I've made the crust both ways. A food processor is faster and gets a more even crumb, but you can mix by hand. Cut the cold butter into small cubes and work it into the dry ingredients with a fork or pastry cutter until you get coarse crumbles. It takes a few more minutes but my results have been the same either way.
Can I freeze individual slices for later?
I wrap individual slices in plastic wrap and freeze them for up to a month. They thaw in the fridge in about 2-3 hours and the texture comes back almost exactly. My system is to slice the whole pie after it sets, freeze what I'm not eating that week, and pull slices out one at a time. It's the best method I've found to keep from eating the whole thing in two days.
What sweetener do you recommend for the filling?
I use a powdered sugar-free sweetener, and I prefer allulose-based blends for the smoothest texture. Granular sweetener can leave a gritty feel since the filling isn't cooked. If you only have granular, pulse it in a blender for 30 seconds to powder it first. I've tested erythritol, allulose, and monk fruit blends in this recipe and they all work. Allulose gives the creamiest result.
How do I prevent the crust from crumbling when I slice?
I never skip the xanthan gum in this crust because that's what gives it structure. I also press the dough firmly into the pan using the flat bottom of a measuring cup, which compacts it better than fingers. Let the pie chill a full 2-3 hours minimum before slicing. If you're still getting crumbles, add another half tablespoon of butter to the dough. My crust has a clean snap when it's done right.
Is peanut butter ok for ketosis?
Yes, in moderation. A quarter cup of peanuts has around 2.79g net carbs, and the 3/4 cup of peanut butter in this pie spreads across 12 slices, so each slice stays at 5g net carbs. Check your label, because a lot of brands add sugar. I use a no sugar added creamy peanut butter every time.
How many carbs are in a peanut butter pie?
One slice of my keto peanut butter pie has 8.8g total carbs and 5g net carbs, with the chocolate cookie crust and whipped topping included. A traditional peanut butter pie made with real sugar runs several times higher, which is why I built this filling around a powdered sugar-free sweetener.
Can I make a keto dessert with peanut butter?
Yes. Peanut butter is one of my favorite keto dessert bases. This pie uses 3/4 cup no sugar creamy peanut butter across 12 slices, so each slice lands at 5g net carbs and 399 calories. When I want something lighter with no crust, I make my peanut butter mousse instead.
Can you make peanut butter pie without sugar?
Yes. I make this entire pie with zero sugar. The filling uses 2/3 cup powdered sugar-free sweetener and the whipped topping gets 2 more tablespoons, which keeps a slice at 8.8g total carbs and 5g net carbs. Powdered sweetener matters here because granular leaves a gritty feel in an uncooked filling.







I slice it up right when it's done and keep pieces wrapped in the fridge all week. The filling firms up a little more each day, which honestly makes it easier to grab one without it falling apart. Learned that by batch three, now I let it chill a full extra hour before cutting.
You had that figured out by batch three, Tamika. I slice mine ahead too but never thought to give it the extra hour before cutting. Thank you for sharing that!
I handed her a slice expecting a shrug. Wrong.
I've been planning to make this since I first saw it and this weekend is finally happening. My one problem is I don't own a food processor. Can I cut the butter into the almond flour and coconut flour by hand the way you would with a regular pie crust, or does the food processor actually change the texture in a way that matters for the cookie crust?
I've made the crust both ways. Cold butter, small cubes, worked into the dry mix with a fork, same as any pie crust. Food processor gives a slightly more even crumb but not the kind of thing you'd notice. Just don't let the butter warm up while you work.
Came out exactly right. Made it twice this week already.
Thanks Paige! Twice in one week says a lot. I'm so glad it came out right for you!
Making this for a dinner party Friday night and want to get ahead of it. Can I bake the chocolate crust Thursday, refrigerate overnight, then add the peanut butter filling the next day? Also wondering about the whipped cream, can it go on a few hours before serving or does it need to wait until right before?
Alex, the crust holds up great overnight. I've made it the day before plenty of times. Actually, it comes out firmer. Fill it Friday morning and give it at least 3-4 hours to set before the party. Whipped cream I'd hold until right before, or an hour out. Sugar-free cream gets weepy faster than regular.
Made this twice now and it's genuinely my favorite thing on this site.
Cream cheese needs to actually be room temp, not 'I left it out for 20 minutes' room temp. Full hour on the counter, minimum. Everything comes together smooth with zero graininess. Don't skip it.
Full hour minimum. I've started pulling mine out the night before if I'm baking in the morning. Filling comes together so much better when the cream cheese is actually soft.
Walked in expecting to compromise somewhere (almond flour, xanthan gum, all of it felt like a gamble for my first keto dessert) and then I beat the cream cheese into the peanut butter and it went actually fluffy. Like a real mousse. Five grams net carbs and it tastes like that. The math doesn't work. Already planning the next one.
The math never works on this one. Try powdered allulose in the filling next time, it gets even smoother.
Oh, powdered not granular. That might explain the slight graininess I got. Trying it on the next one.
Birthday dinner Saturday and I'm making this Thursday to get ahead of it. Will the chocolate crust go soggy after two days, or does the peanut butter filling mess with it?
The almond flour crust doesn't go soggy. Xanthan gum holds it, and the filling is thick enough that it won't seep through. Thursday to Saturday is fine, honestly, mine actually slices cleaner on day two.
There was this peanut butter pie my grandmother made every Thanksgiving, and going keto a few years back meant quietly accepting I'd probably never have anything close to it again. Made this on a Sunday with no real expectations, and the filling completely changed that. The cream cheese gives you that same dense, not-too-sweet texture I remember, without the sugar fog that used to come after. The chocolate crust is different from hers but works better with the filling than I expected (she used graham crackers, which I always picked off anyway). I keep coming back to the 5g net carbs because nothing about how rich this sits suggests that number is real. Grateful for this one more than I thought I'd be.
Picked off the graham crackers as a kid too. That dense cream cheese ratio took me a few tries to nail.
Fourth time making this pie and the chocolate crust is what keeps pulling me back. That almond flour and cocoa powder combination gives it this almost brownie-like density I wasn't expecting the first time around. Made it for a pool day last week and it sliced cleanly straight from the fridge, held together perfectly. Batch five is already on the calendar.
The cocoa in that crust really does something. I've had people ask if it's a brownie base and I don't correct them. Fridge-cold is my preference for this one anyway, the filling gets almost fudge-like.
Brought this to a cookout on Saturday and two people who aren't doing keto at all kept coming back for another slice, convinced it came from a bakery. The chocolate crust really threw them off. Giving it 4 stars because mine came out softer than I expected, but that could just be the summer heat.
The non-keto test is the best one. Summer heat will get it every time - this filling just needs to stay cold. I keep it in a cooler for outdoor stuff and slice right before serving.
Batch five and I still get a little giddy seeing how that peanut butter filling sets up perfectly.
Five batches is commitment. That set is still the best part for me too - I check on it in the fridge way more than necessary.
My crust came apart the second I tried to slice it (probably a me problem, not a recipe problem). But the peanut butter filling was so creamy and rich I just scooped it with a spoon and didn't care. Planning round two to get the crust right.
The filling is worth eating with a spoon, no shame there. For round two, press the crust in with the flat bottom of a measuring cup instead of your fingers, and don't shortchange the xanthan gum. That's the binder.
I added a teaspoon of espresso powder to the chocolate crust on a whim, and the contrast with the peanut butter filling became so much more pronounced. The bitterness in the crust pulls out a kind of richness in the filling that wasn't there before. I was worried it would taste too coffee-forward, but it doesn't register as coffee at all, just deeper chocolate. One practical note for anyone making this: the crust needs to be completely cool before the filling goes in. Not just room temp cool, actually cool. I rushed it on my second batch and the filling softened at the edges and didn't set as cleanly. Worth the extra wait.
Espresso powder in the crust, never would've thought of that spot. The bitterness sharpening the peanut butter without reading as coffee is exactly how it works in brownies too. I've rushed that cooling before and the filling goes soft at the edges.