

Sometimes I create recipes with a specific outcome in mind. And sometimes I throw together some ingredients on a whim and hope for the best. This keto mug cake recipe falls into the latter category!
But while it was rather slapdash in its creation, it quickly became a fan favorite recipe. And a family favorite too! I often whip these little keto cakes up when we need a quick treat.
You know that I take peanut butter and chocolate very seriously. And many of my recipes are quick and easy, like Keto Peanut Butter Bars and easy Peanut Butter Protein Balls. So you can rest assured that these easy mug cakes are good stuff!

Why you will love this recipe
Mug cakes have appeal because they are so easy to make. But they can also have a bit of an odd texture from the fast cooking method. They tend to end up a bit spongy.
These keto peanut butter mug cakes differ in that regard. There is something about the addition of peanut butter that gives them a proper cake texture. And yet they take only about 5 minutes to make.
They really are super family friendly and since this recipe makes six, you can feed the littles and yourself. You can also scale the recipe back and make only three servings, which is more appropriate for those who live alone or are doing keto alone.
And these easy cakes store quite nicely. I do recommend cooking them all at once, as the batter thickens if it sits too long. But you can store the finished keto mug cakes in fridge and re-warm them easily when you want another serving.
Reader Reviews
“These are the Creme de la Creme of mug cakes….my all time favorite (and I am beginning to be way too familiar with mug cakes). But the peanut butter adds some density so that these are not just fluff on a spoon. There is just the right amount of substance….and the flavor is FABULOUS. Caroline, you are amazing. You obviously put a lot of testing into your recipes because they are the gold standard in my opinion. thank you for putting food worth eating on our low carb table.” — Deborah
“I was skeptical to try this because I am in South Africa and we have limited choice of ingredients. Well, they cam out perfectly and I am so happy I made the effort, thank you! It was so easy to make and I will definitely make it again!”– Linda
“Wow! Easy and delicious ! I’m addicted! I don’t usually like the texture of mug cakes, but these are wonderful. Thanks again for another winner!”– Joan
Ingredients needed

- Peanut butter: I recommend a good natural peanut butter like Santa Cruz. But you can use any nut butter here if you are allergic to peanuts.
- Butter: I like to use salted butter because the salt brings out a little flavor. You can also use coconut oil if you want to be dairy-free.
- Almond flour: As always, the finer your almond flour, the better the texture of your cakes. I have been using Blue Diamond lately and find it works quite well.
- Sweetener: Use your favorite granular sweetener. I really like the flavor that Swerve Brown adds here, but you can also use allulose or BochaSweet.
- Dark chocolate chips: Both ChocZero or Lily’s work nicely in this mug cake recipe. You can also skip the chips to save on a few carbs, if you like.
- Kitchen staples: Eggs, baking powder, and vanilla extract.
Step-by-step directions

1. In a microwave safe bowl, melt the peanut butter and butter together in short bursts, stirring until smooth.
2. In a medium bowl, whisk together the almond flour, sweetener, and baking powder.
3. Stir in the eggs, vanilla extract, peanut butter mixture, and water until well combined. Stir in the chocolate chips.
4. Divide among 6 ramekins or mugs and microwave each for about 1 minute, until puffed and set. Serve warm.

Expert tips
Peanut butter tends to thicken cake batters the longer it sits, so you need to work relatively quickly on this one. Try to get it into the mugs as soon as it’s all mixed together and then cook them straight away.
Several readers have asked if they can prepare the batter and then refrigerate the cakes until they are ready to make them. This doesn’t work well because the batter can thicken and the cakes won’t rise properly. You are better off cooking all of the cakes and then re-warming it when you are ready to eat.
We like to eat them right out of the mugs but if you want to remove them, be sure to grease your mugs or ramekins very well.
Oven Baked Method: If you prefer to make these in your oven, try baking them at 350ºF for 12 to 15 minutes.
Nut-Free Version: You can make these with sunflower butter and sunflower seed flour. But you will want to replace 1 tbsp of the water with some lemon juice to offset the green reaction that occurs between sunflower seeds and baking powder.

Frequently Asked Questions
Cover extra mug cakes tightly and store at room temperature for 1 day. You can also store them in the refrigerator for up to 5 days. To reheat, place it in the microwave for 15-20 seconds until just warm.
You can also freeze extra mug cakes. Wrap them tightly in plastic wrap or foil and freeze for 3-6 months. If freezing, it is best to remove them from the mug first, then wrap and freeze.
This keto mug cake recipe has 6.7g of carbs and 3g of fiber per serving. That comes to 3.7g net carbs per mug cake.

More keto mug cake recipes




Peanut Butter Keto Mug Cake Recipe
Ingredients
- 1/3 cup (86 g) peanut butter
- 1/4 cup (56.75 g) butter
- 2/3 cup (157.73 g) almond flour
- 1/3 cup (60.67 g) Swerve Sweetener
- 2 tsp baking powder
- 2 large eggs
- 1/2 tsp vanilla extract
- 1/4 cup water
- 3 tbsp (45.65 g) dark chocolate chips, sugar-free
Instructions
- In a microwave safe bowl, melt the peanut butter and butter together in short bursts, stirring until smooth.
- In a medium bowl, whisk together the almond flour, sweetener, and baking powder.
- Stir in the eggs, vanilla extract, peanut butter mixture, and water until well combined. Stir in the chocolate chips.
- Divide among 6 ramekins or mugs and microwave each for about 1 minute, until puffed and set. Serve warm.
Notes
Nutrition
Nutritional Disclaimer
Please note that I am not a medical or nutritional professional. I am simply recounting and sharing my own experiences on this blog. Nothing I express here should be taken as medical advice and you should consult with your doctor before starting any diet or exercise program. I provide nutritional information for my recipes simply as a courtesy to my readers. It is calculated using MacGourmet software and I remove erythritol from the final carb count and net carb count, as it does not affect my own blood glucose levels. I do my best to be as accurate as possible but you should independently calculate nutritional information on your own before relying on them. I expressly disclaim any and all liability of any kind with respect to any act or omission wholly or in part in reliance on anything contained in this website.
Free Bonus: Secrets to Keto Baking!
Sign up for your favorite recipes delivered straight to your inbox plus get our FREE bonus: Secrets to Keto Baking!



Thank you so much Carolyn! These are so good! It’s so important for me to be able to offer my 9 year old daughter a healthy treat on occasion. I’m surprising her with these tonight. She’s going to be over the moon. Thank you so much for helping me make the household LCHF lifestyle easier on her.
I have two of your books and can rely on them for fresh alternatives that always turn out great.
Heartfelt thank you.
Hope she loves them!
Is it possible to just make 1 instead of 6?
No. You can cut it in half, though.
Hi! I love your website but I live in the United Arab Emirates, here we do not have swerve sweetener, only erythritol.
Could you please tell me how to replace it?
Much Love
Lena
Well, I can’t tell you how to replace it unless you can tell me what sweeteners are actually available to you!
Wow! Easy and delicious ! I’m addicted! I don’t usually like the texture of mug cakes, but these are wonderful. Thanks again for another winner!
I never had luck with mug cakes, but figured to try one last time. And I’m so glad I did! These are amazing, even picky husband likes them! Thanks for sharing it. 🙂
Happy to hear it!
This mug cake is the best that I’ve tried!
Could you substitute defatted peanut flour for the peanut butter. I don’t keep peanut butter on hand but do keep the peanut flour
You would have to reconsistute it with liquid first and I am not sure how much.
Thanks. I do keep PB2 so I could add the water to it first. I was thinking of using actual peanut flour but I bet the PB2 would work better.
I love that these are sugar free! It makes it easier for some of my friends to have treats that are sugar free!
My daughter is really going to love this! thanks for the recipe
You had me at Peanut Butter and mug cake!
I love mug cakes – and this one is SO delicious!
Peanut Butter and Chocolate plus low carb =‘s a huge win! A must try for sure.
Question: I have been loving this recipe as I refrigerate leftovers for quick breakfast next several mornings! I started the recipe this morning only to realize I’m out of Almond flour. Can I use THM baking blend? Would it be the same amount? Thanks!
It will probably be a bit more dry so add some butter.
Hi Carolyn
I love your website and recipes.
I noticed you use your microwave a lot and would like to ask if you can give the oven/cooking alternative in your recipes when you use the microwave? I do not have one for health reasons. Many thanks
I am sorry, but this is a microwave based recipe and I didn’t test it in the oven. I cannot give you an oven method if I didn’t test it that way…you will have to experiment on your own. However, if you read through the comments, others have already done so.
Recipe is missing; link appears broken.???
It’s not you. My site is having issues and we are trying to get it fixed ASAP
This is the best low carb dessert I have made yet! I put it all in a loaf pan, baked on 325 for 35 minutes. Next time I will raise the temp to 350, and check on it at about 20 minutes in. At 325, I kept having to add time. The whole family enjoyed this, thank you!
Loaf pan! Great idea!