It's the perfect keto chocolate mug cake! It's rich, chocolatey, gooey, and ready in five minutes.
It's one of the best solutions I have found for when I crave something sweet and chocolatey, and I love the built-in portion control!

I've been working on this keto chocolate mug cake recipe for six months now. I wanted it to be just right. A deep chocolate flavor, a tender crumb, and - just as important - I wanted it to be easy!
I finally achieved perfection when I decided to use nut butter instead of flour as the base for the cake. The result is heavenly: rich, tender, and moist. Plus, it's ready in just five minutes (including mixing the ingredients). I think it's one of my favorite keto desserts! (These keto donuts are on the list too).
Jump to:
Ingredients
You'll only need a few simple ingredients to make this cake. The exact measurements are included in the recipe card below. Here's an overview of what you'll need:
- Almond butter: I use natural almond butter. The only ingredient is almonds, and you need to mix it and then refrigerate it to prevent oil separation. You can also use creamy peanut butter.
- Egg: I use large eggs in most of my recipes, this one included.
- Sweetener: I use stevia glycerite. You can use 2 tablespoons of a granulated sweetener instead.
- Salt: Just a little bit to enhance the chocolate flavor. If your nut butter contains salt, you should omit the salt.
- Unsweetened cocoa powder: It's best to use Dutch-processed cocoa powder. It's milder and less acidic than natural cocoa powder.
- Baking powder: Make sure it's fresh. And if needed, also make sure it's gluten-free.
Variations
- As mentioned above, you can experiment with different kinds of nut butter, as long as they are creamy and unsalted.
- You can use 2 tablespoons of granulated sweetener instead of stevia.
- Try adding 2 tablespoons of dark chocolate chips for an extra indulgent cake! This is my husband's favorite version.
Instructions
Making this keto chocolate mug cake is so easy! Scroll down to the recipe card for detailed instructions. Here are the basic steps:
- Whisk the ingredients together in a 12-oz mug, in the order listed. I usually start with the liquid ingredients, then add the dry ones. The baking powder is added last, to make sure it doesn't lose its potency.
- Microwave the cake until it's puffy and cooked through but still moist. The top should still be very gooey, but not completely liquid. As you know, microwave ovens vary, so it's difficult to say with certainty how long you should microwave the cake. But in my microwave oven, on 100% power, it takes 40 seconds.
Expert Tip
One of the best things about this cake is that you can make it the night before, cover and refrigerate it, then quickly microwave it in the morning.
Recipe FAQs
I usually make this cake with creamy almond butter. But I've tried creamy unsalted peanut butter, and that worked too. If you use salted peanut butter, you should omit the salt.
If you try different types of nut butter, you might need to adjust the liquids, depending on their thickness. I once made this cake with tahini (sesame butter) which was very thick. So I had to add a tablespoon of water to the batter.
You'll know it's too thick if it's difficult to stir. The batter should be thick but smooth and velvety and easy to stir.
Although natural cocoa powder will work in this recipe, I think it won't be as tasty. Dutched cocoa powder is darker, milder, and less acidic. It creates a better, smoother chocolate experience.
As with all microwave cakes, you will need to experiment to find exactly how long to microwave the cake in your microwave and when using your mug.
I use a 12-ounce mug in this recipe. Try to stick with a similar size mug. Using a much larger mug (such as a 16-ounce mug) could dry out the cake. A smaller mug could result in the cake spilling out of it while in the microwave.
As for how long to microwave this cake, I would start with 30 seconds, then check to see how it looks. Your goal is to keep it soft and gooey, but not liquid.
It's definitely better to err on the side of microwaving too little than too much. You can always keep microwaving in 10-second increments, but you can't un-microwave a dry cake!
Serving Suggestions
This cake is excellent as it is, and that's how I usually enjoy it. It's so moist and chocolaty! Truly a wonderful treat. But if you'd like to add something, here are a few ideas:
- Top it with keto whipped cream or with keto chocolate whipped cream.
- Dust it with a powdered sweetener.
- After the initial 30 seconds in the microwave, scatter a few chocolate chips on top and then microwave for the additional 10 seconds.
- Top it with a keto cream cheese frosting or with the peanut butter frosting I use in these keto chocolate cupcakes.
- This is the perfect summer dessert because you don't need to heat the oven. In the summer, I serve this cake with a tall glass of chilled almond milk, iced coffee, or iced tea.
Storing Leftovers
The entire idea behind a mug cake is a single serving and no leftovers (unlike this almond flour chocolate cake, for example).
But if you have leftovers, you can keep them in the fridge, in an airtight container, for up to 4 days. Reheat them in the microwave at 50% power.
More Mug Cake Recipes
👩🏻🍳 I publish a new or updated recipe every month. Want these recipes in your inbox? Subscribe today! You can unsubscribe at any time.
Recipe Card
Keto Chocolate Mug Cake
Ingredients
- 2 tablespoons creamy roasted almond butter (32 grams)
- 1 large egg
- ½ teaspoon stevia glycerite (scant; equals about 2 tablespoons sugar)
- Dash salt (omit if your nut butter is salted)
- 1 tablespoon unsweetened cocoa powder
- ½ teaspoon baking powder gluten-free if needed
Instructions
- In a 12-oz microwave-safe mug, using a small hand whisk or a fork, mix the almond butter and the egg until smooth. This will take some time - about 2 minutes until completely smooth - so try to be patient.
- Add the sweetener and salt (if using), whisking to incorporate.
- Whisk in the cocoa powder, then add the baking powder. Mix well, making sure there's no nut butter residue in the bottom of the mug. The batter should be smooth and uniform.
- At this point, the batter should fill the mug about halfway to the top. The cake will rise dramatically as it cooks, so the mug you use needs to accommodate that.
- Place the mug in the microwave. Microwave it, uncovered, for 30 seconds. Check to see if the cake is still very liquid on top - if so, microwave it for 10 more seconds. It should still be very gooey and soft on top when you remove it from the microwave (see the video below), but not completely liquid. Resist the temptation to microwave more (unless the batter is still completely liquid) – a chocolate cake is always better gooey than dry.
- Remove the mug from the microwave and allow the cake a few seconds to settle before digging in.
Video
Notes
Add Your Own Notes
Nutrition per Serving
❤️ Let's connect! Follow me on Pinterest, Facebook, TikTok, YouTube, Instagram, or Twitter.
Molly B
I used peanut butter and added chocolate chips. This cake is AMAZING. I want another one lol.
Vered DeLeeuw
I'm so glad you liked this mug cake, Molly! Thank you for leaving a comment.
jenna
How long and at what temperature would you bake this? I don't like to use the microwave.
Vered DeLeeuw
I recommend baking it in a 350°F oven for 12 minutes, then checking to see if it needs more time in the oven. Make sure to use an oven-safe ramekin.