This Keto Chocolate Peanut Butter Cake is over-the-top delicious. Three layers of tender low carb chocolate cake with sugar-free peanut butter frosting and a rich chocolate glaze. It’s a peanut butter lover’s dream!
Allow me to introduce myself. My name is Carolyn and I have an all-consuming obsession with chocolate and peanut butter. It’s genetic and I’m pretty sure I’ve had this condition since birth.
It’s actually a very common affliction that affects many people worldwide. Chances are good that you have it too! Otherwise you probably wouldn’t even be reading this post.
You know the best cure for this affliction? Cake. A really amazing cake that tastes like eating keto peanut butter cups. Keto Chocolate Peanut Butter Cake is almost always the answer, no matter what the question!
If this flavor combo is your obsession, be sure to check out my Keto Peanut Butter Balls too.
You will love this cake!
I originally dreamed up this beautiful Keto Chocolate Peanut Butter Cake back in 2014. It was delicious back then but my keto baking skills have vastly improved and I decided it needed an update.
I made the cake similarly to my Keto Devil’s Food Cake, as it’s so wonderful and chocolatey. I also re-vamped peanut butter frosting by folding in whipped cream to give it lightness and structure. It was both airy and luscious, and reminiscent to Keto Peanut Butter Mousse.
Finally, I created a chocolate glaze to decorate the cake. It was the perfect consistency to drip down the sides decoratively.
The final cake is just as delicious as the original, but with even fewer carbs! It’s definitely worthy of all your special occasions.
Ingredients you need
This post may contain Amazon or other affiliate links. As an Amazon Associate I earn from qualifying purchases.
- Almond flour: Make sure to use a good finely ground almond flour for the best cake texture. You can also use sunflower seed flour for a nut-free version.
- Sweetener: I used granular Swerve in the cake and powdered Swerve in the frosting and glaze. I also used a little allulose in the glaze to keep it shiny and soft. See the Expert Tips section for other sweetener options.
- Cocoa powder: If you want a dark chocolate cake, use dark cocoa powder.
- Protein powder: Added dry protein like whey protein powder gives keto cakes a lighter texture and more structure. I don’t recommend skipping it, although you can also use egg white or plant-based protein. Do not use collagen as it will make the cakes gummy and hard to cook through.
- Sour cream: Full fat sour cream adds wonderful tenderness to keto cakes and muffins.
- Peanut butter: Any creamy natural peanut butter should work for the frosting. I really like the Santa Cruz brand.
- Cream cheese: Cream cheese gives the frosting more structure without having to add copious amounts of powdered sweetener.
- Whipping cream: Folding whipped cream into the frosting gives it a luscious mousse-like texture.
- Unsweetened chocolate: The chocolate drip glaze really is the perfect finish to a cake like this. Unsweetened chocolate is not the same thing as sugar-free chocolate like ChocZero or Lily’s. Those have been sweetened already.
- Kitchen staples: Eggs, butter, baking powder, vanilla, salt.
Step by Step Directions
1. Prepare the batter: In a medium bowl, whisk together the almond flour, sweetener, cocoa powder, protein powder, baking powder, and salt. Stir in the sour cream, eggs, and vanilla. Stir in the water one tablespoon at a time until the batter is thick but pourable.
2. Bake the layers: Divide batter evenly among 3 greased 8-inch cake pans and bake at 325ºF for 15 to 20 minutes, or until just firm to the touch. Remove and let cool completely in the pans.
3. Prepare the frosting: In a large bowl, beat the peanut butter, cream cheese, and butter together until very smooth, about 2 minutes. Beat in the sweetener and vanilla extract. In a separate bowl, whip the cream until it holds stiff peaks. Fold into the peanut butter mixture until no streaks remain.
4. Frost the cake: Place one layer of cake on a serving platter and spread with about one quarter of the frosting. Top with another layer of cake and another quarter of the frosting. Add the remaining layer of cake and spread the top and sides with the remaining frosting. Refrigerate for one hour to firm up.
5. Prepare the glaze: In a small saucepan over medium heat, bring the cream to a simmer. Remove from heat and add the chopped chocolate. Let sit a few minutes to melt. Add the sweeteners and whisk to combine. Let cool a few minutes to thicken.
6. Decorate the cake: Drizzle the glaze over the top of the cake along the edges, letting it drip down the sides. Smooth the remaining glaze over the top of the cake. Top with keto peanut butter cups and sprinkles, if desired.
Expert tips
Always make sure to prep your cake pans properly. This includes greasing the pan and lining them with parchment paper circles. And then greasing the parchment as well. This ensures that your cakes flip easily out of the pans.
Don’t overbake those cake layers! It’s easy to do and they will end up dry. I touch the tops of my cakes multiple times during baking. The minute they feel dry on top with a little bounce underneath, I get them out of the oven. Watch my video for the Best Tips on Baking Keto Cakes.
Sweetener Options
You can use almost any granular sweetener in the cake layers, but the baking time may change so keep your eye on them. Additionally, any confectioners-style sweetener should work in the frosting. I do find that allulose can make things a little softer so allow it to firm up properly in the fridge before adding the glaze.
Frequently Asked Questions
Not all peanut butter is created equal. Some of the commercial brands are highly processed and full of sugar and preservatives. But natural peanut butter that has no added sugar has only about 5 to 6 grams of carbs per 2 tablespoon serving. Most people find they can use it sparingly on a keto diet without issue.
Keto friendly cake like this Chocolate Peanut Butter Cake is made with alternative flours and sweeteners. In this case, almond flour forms the base of the cake, along with protein powder and sweetener.
If you want to prepare this keto cake ahead, make the cake up to the point of adding the chocolate glaze. Then wrap carefully and refrigerate for up to 5 days. Add the glaze a few hours before serving.
Keto Chocolate Peanut Butter Cake
Equipment
- 3 8-inch metal baking pans
Ingredients
Cake
- 2 cups almond flour
- ¾ cup Swerve Sweetener or other granular sweetener
- 6 tablespoon dark cocoa powder or Dutch process
- ⅓ cup unflavoured whey protein powder or egg white protein powder
- 2 ½ teaspoon baking powder
- ½ teaspoon salt
- ½ cup sour cream softened
- 3 large eggs
- 1 teaspoon vanilla extract
- 2 to 4 tablespoon water
Peanut Butter Frosting
- ¾ cup creamy peanut butter
- 4 ounces cream cheese softened
- ½ cup butter softened
- ¾ cup Swerve Confectioners or other powdered sweetener
- 1 teaspoon vanilla extract
- ¾ cup heavy whipping cream
Chocolate Glaze
- ¼ cup heavy whipping cream
- 1 oz unsweetened chocolate chopped
- 1 tablespoon Swerve Confectioners
- 1 tablespoon allulose granular
Instructions
Cake
- Preheat oven to 325ºF and grease three 8-inch round cake pans well. Line the bottom of the pans with circles of parchment and grease the parchment.
- In a medium bowl, whisk together the almond flour, sweetener, cocoa powder, protein powder, baking powder, and salt.
- Stir in the sour cream, eggs, and vanilla. Stir in the water one tablespoon at a time until the batter is thick but pourable.
- Divide batter evenly among prepared cake pans and bake 15 to 20 minutes, or until just firm to the touch.
- Remove and let cool completely in the pans.
Peanut Butter Frosting
- In a large bowl, beat the peanut butter, cream cheese, and butter together until very smooth, about 2 minutes. Beat in the sweetener and vanilla extract.
- In a separate bowl, whip the cream until it holds stiff peaks. Fold into the peanut butter mixture until no streaks remain.
To Assemble
- Place one layer of cake on a serving platter and spread with about one quarter of the frosting. Top with another layer of cake and another quarter of the frosting.
- Add the remaining layer of cake and spread the top and sides with the remaining frosting. Refrigerate for one hour to firm up.
Chocolate Glaze
- In a small saucepan over medium heat, bring the cream to a simmer. Remove from heat and add the chopped chocolate. Let sit a few minutes to melt.
- Add the sweeteners and whisk to combine. Let cool a few minutes to thicken, and then slowly drizzle over the top of the cake along the edges, letting it drip down the sides.
- Smooth the remaining glaze over the top of the cake. Top with keto peanut butter cups and sprinkles, if desired.
Suzan says
Can I use gluten instead of the whey protein? How much? Thanks.
Carolyn says
I don’t know, I don’t use it. Maybe 1/4 cup?
Kimberly says
Can you tell me what the carb count is for just the cake? I don’t want the peanut butter frosting or ganache. Thank you!
Carolyn says
I am sorry, I didn’t run the numbers on just the cake. I don’t have that handy at the moment. But you can run the ingredients through something like MyFitnessPal and it should give you correct results.
Jennifer says
I am dying to try this! But there’s one teensy problem….I’m allergic to coconut (but not coconut oil thank goodness) is there anything you can suggest to safely replace the coconut flour?
Carolyn says
Try adding another 3/4 cup of almond flour instead of the coconut flour.
Cheri says
Hi there, this looks soooooo awesome. Just wondering, if I have plain Collagen protein powder (Great Lakes), do you think that would work in place of whey? Thanks for all the great recipes!
Carolyn says
I am not sure, I’ve never used collagen to replace the whey. But it’s worth a try!
LeSann says
I just made this cake but the layers didn’t rise at all. They are not even half the thickness as shown in the picture, actually no thicker than the raw dough was when I put it in the pan. I followed the recipe to a T..using the baking soda, cream of tartar & apple cider vinegar. What could be wrong that the layers didn’t rise. I also used the Swerve powdered sweetener (not the granular) as directed in the Chocolate Ganache but it doesn’t melt into the chocolate & butter to make a smooth Ganache. Any suggestions? Haven’t tasted it yet. That will happen tomorrow for our Mother’s Day dessert.
Carolyn says
A couple of possibilities in the cake…what kind of almond flour did you use? If it was a coarser almond meal, that might be the problem. It’s also possible that your baking soda was old and had no “power”. I am sorry that happened but I can’t really pin point the issue because others have made the cake without a problem.
Not sure about the ganache as I have made that ganache many, many times and have no problems getting the swerve to mix in. It’s not as perfectly smooth as something made with sugar but it does make a great ganache.
Jennifer says
Made this for Easter and everyone loved it! I didn’t do the ganache because I ran out of time and energy…I chopped up a Choco Perfection bar and tossed it on top. Worked great but I still want to try the ganache, good excuse to make another one!
Carolyn says
Glad you liked it!
Lee B says
I made the cake into 18 cupcakes. The taste was great and they were moist, but I was disappointed they were very crumbly. I did use the baking powder (vs. baking soda, cream of tartar and vinegar). Do you think that made the difference? Is there something else I could try to make them less crumbly?
Carolyn says
Hi Lee…it might have made a difference, I can’t say for sure because I haven’t tried it. My whole layers were not overly crumbly. There are so many factors here I can’t identify the issue but it can be brand of cocoa powder, coconut flour, almond flour, etc. Maybe next time, try 3/4 tsp of xanthan gum to help bind them a bit more. I didn’t feel I needed it in my recipe but it sounds like you might?
Raquel says
Can I use vanilla soy protein powder instead of unflavoured? Should I reduce the amount of liquid sweetener to compensate the additional sweetness? Thanks!!
Carolyn says
Sure, that protein should work fine. I think you will find that the cake is not overly sweet so probably no need to reduce the other sweeteners.
Rachel says
Hey, this recipe looks perfect for what I’m planning for my friends birthday (Low carb diet, and is diabetic), but he’s allergic to tree nuts! Is there a substitute you can recommend for the almond flour?
Carolyn says
Not a good sub for this recipe, no. But you can use another recipe for the cake and then do the frosting and chocolate ganache. I have a coconut flour recipe here and you can use vanilla extract and coconut milk or plain milk in place of the almond milk: https://alldayidreamaboutfood.com/2011/03/chocolate-hazelnut-crunch-cake-low-carb-and-gluten-free.html
Melissa says
I had the same problem as a couple of other posters. It is like the cake just didn’t rise. It was n’t smooth on the surface at all and it cracked b/c the layers were so thin. Could this simply be b/’c of the almond flour or could it be that you need the cream of tarter/vinegar mixture (I used the baking powder)….flavour was fine but not strong at all, a little on the bland side. Peanut butter frosting was great. I used coconut cream instead of heavy whipping cream and it didn’t really affect flavour at all.
Carolyn says
No, it’s not the baking soda/baking powder at issue here because I’ve done this same recipe with both leavening agents and it’s fine. What kind of almond flour did you use?
DancingD says
Hi Carolyn, I am making this tonight. I just realized that his didn’t have Greek yogurt, hmmmm… I was looking at your chocolate bundt cake that had Greek yogurt and I thought I didn’t have it and wondered what I would use.
I just made the high carb black magic cake and it was delicious so I decided to make this one instead. I have to stop falling off of the wagon.
Anyway, I do have stevia extract but its not sweet enough, I really like xylitol too much. What is the conversion, the recipe above calls for 1/4 tsp of stevia.
Last question, I only have vanilla whey, can I use that instead of unflavored? Will the flavor be off too much?
I’ll follow-up to let you know how it came out, I am so excited. Thank you in advance for your response.
Carolyn says
Go ahead and use the vanilla whey and skip the vanilla extract. And 1/4 tsp of my stevia extract is about 1/4 cup of sugar so use xylitol in whatever amount you think equals 1/4 cup of sugar.
DancingD says
What couldn’t I figure that out? So simple and sensible… Thank you for taking time to respond.
DancingD says
I made the cake last night. I used a 9×13 cake pan and baked it for 40 mins. I kept checking it every 5 mins. after 25 mins. until the toothpick was clean. It is a very yummy cake. I topped it with a whipped cream cheese frosting. I do not like coffee at all and there is really no heavy coffee taste. It reminded me of a devils food cake and like a brownie somewhat with no frosting. Thanks for sharing.
Carolyn says
Glad you liked it!
Judith says
I’ve never heard of Swerve. Went to look it up & the package doesn’t look like anything I can recall seeing on the shelves locally. Can I sub Xylitol? That is readily available here.
Also, what do you mean by a “cooling effect?” That it feels cold in the mouth?
Carolyn says
Yes, you can sub xylitol in the cake and frosting but you really need powdered sweetener for the frosting to make it smooth. And yes, cooling effect as in mint gum.
mel says
Hi there. I plan to try it with natural peanut butter tomorrow since that’s all I have. Do I whip the frosting after adding the cream and vanilla so that the cream thickens?I hesitate because I know that overwhipping cream cheese cab make it too runny… But it just says to beat until smooth… can you advise? Thanks
Carolyn says
Beat until smooth, don’t whip. Yours won’t be completely smooth if you’re using natural PB, though.
Sheena says
Hi!
I just made this cake yesterday and it is SO good!! One of my favorite things ever, thanks for sharing! I have a question though – my layers cracked something awful and once the filling was in, it split… Do you know what I did wrong? I am thinking I may have to turn it into a trifle next time if I make a mess of layers again, lol!
Thanks!! :-)!
Carolyn says
Did you follow the recipe as written or change anything up? Next time, you could try spritzing the oven every so often with water to add some moisture while baking. That could help.
DancingD says
Hi Carolyn,
Thank you for the wonderful recipes. I have tried so many of your recipes and its because of you, I now know how to cook 🙂 I do have a question and please forgive me if you have answered this question at some point.
Why do you use two different sweeteners? Is it for texture in cakes? I have tried Swerve and like the sweetness but not the cooling. I found that I love Xylitol, maltitol and Ideal sweetener. I just bought NuNaturals liquid stevia yesterday because others have said that it is less bitter than the others that I have tried.
Anyway, if I use the NuNatural and xylitol would I use the same conversion as you used above for instance? I keep making food but more desserts using real sugar to determine if the flavor is good before I use these very expensive bags of sweeteners on the “for real” low carb version. I need to find the correct balance so that I can stop going back and forward. Thank you again for the great instructions, clear and easy web site and your funny stories.
Carolyn says
I use two in part because I used to use regular erythritol and I found that using some stevia enhanced the sweetness with less cooling effect. I don’t get a cooling sensation from Swerve, so I can use it full strength but it’s also expensive. A bottle of stevia lasts a loooooong time so it is much more cost effective. So that way, people can stretch out their erythritol for longer.
But Xylitol and stevia would also work just fine and you can use it the way I use swerve and stevia. And you can always taste test your batter to see if it’s sweet enough and then add more. Use pasteurized eggs if you’re worried but taste-testing the batter saves a lot of time and energy! 🙂 And I’ve found my recipes very forgiving…I can add something more at the end and mix it in without any change to the consistency of the result.
DancingD says
Not only can you cook but you are a mind reader. I don’t taste test because of the fear of consuming raw eggs 🙂 Great information. Thank you so much for taking the time to respond.
Carolyn says
If they have Safest Choice eggs any where in your area, get those. They are in the shell but their pasteurized. It’s been good for a inveterate taste tester like me!
Angela says
I’d like to make this for my dad’s birthday tomorrow, but my nephew is allergic to both coconut and tree nuts. I wonder if I could just use all-purpose flour in place of the almond and coconut flours and regular milk for the almond milk? Would I have to change any of the proportions? Some day, when the little bundle of allergies isn’t around, I’ll have to make it the regular way too, it sounds and looks delicious!
Carolyn says
No, the proportions won’t be the same at all using regular flour. I’d suggest following a traditional chocolate cake recipe, subbing the sugar for Swerve, and then using my frosting and chocolate ganache recipes.
Angela says
Awesome — thank you so much for the quick response!
Carolyn says
Welcome! 🙂
Cathy says
Hi,
Just wanted to let you know I am sharing your wonderful recipe tomorrow in my Gluten-Free Recipe RoundUp with a link back to your original post!
Have a terrific weekend!
Cathy from APeekIntoMyParadise.com
Eileen s Thomas says
I have all the ingredients to make this cake I only have whey chocolate protein powder can I use that.
Carolyn says
Yes, I think that will be fine.
Amy says
This was delicious! I didn’t want to make the three-layer cake, since that would be a lot for us to eat, so I made all three cakes but planned to freeze two and just use them later. One of them stuck, though (I didn’t use parchment like you recommended), so I took the pieces that stuck and mixed them into the extra frosting I had. They were like little frosting balls- and they were amazing!!!
Also, I did use natural peanut butter and I thought it tasted fine. It probably wasn’t as smooth/fluffy, but I didn’t mind.
camae says
Your site is now my favorite! i’ve made some of your recipes and they blew me away! I’m so amazed with the texture and taste to think that its low carb. I’ll definitely try this soooooon! I can’t bake it today though because I have lots of treats stock in my fridge for the whole week. haha! This will be my next target. Thanks! 🙂
Carolyn says
Hope you like it!