Whether you’re indulging in a cozy night at home or just looking for a quick yet satisfying treat, a keto mug cake can truly be pure comfort. This one-person dessert is not only simple to throw together but also satisfies those sweet cravings without the guilt. It’s a delightful solution for anyone, especially if you are following a low-carb diet or just want a little something special.
At the heart of this recipe are a few simple yet essential ingredients: 3 tablespoons of almond flour, 1 tablespoon of cocoa powder, 1 egg, 2 tablespoons of your preferred sweetener, and 1 tablespoon of melted butter. A dash of baking powder helps it rise, while a pinch of salt enhances the flavor. For those who adore peanut butter, adding 1 tablespoon gives it an even richer taste. The final product boasts a heavenly chocolate flavor, with a slightly gooey texture that makes it irresistible.
Making the keto mug cake is as easy as pie. Start by whisking together the dry ingredients in a microwave-safe mug. Then add your egg and melted butter, mixing until fully incorporated. If you’re on Team Peanut Butter, gently swirl in that creamy goodness next. In just 60 to 90 seconds in the microwave, you’ll have a dessert that’s perfectly set but still slightly moist in the center. Let it cool for a minute, and you’ve got a quick, single-serving low-carb dessert ready in under five minutes.
This mug cake is perfect for those chilly nights spent at home or even for a last-minute dessert to impress guests. Whether you’re enjoying it solo or sharing it, it’s bound to become a favorite go-to treat.

Why You’ll Love This Keto Mug Cake Three Ways
- Quick: This dessert takes less than five minutes from start to finish, making it perfect for last-minute cravings.
- Simple Ingredients: With just a handful of pantry staples required, you can whip this up any time.
- Low-Carb Comfort Food: It satisfies your sweet tooth while keeping your carb count low.
- Customizable: With three delicious variations, you can enjoy different flavors every time.
- Single-Serving: No need for leftovers or wasted ingredients.
Almond Flour Tips
Almond flour is a key ingredient in this keto mug cake, providing a nutty flavor and a grain-free alternative to traditional flours. When selecting almond flour, look for finely ground options to ensure a smoother texture in your mug cake. Some brands offer blanched almond flour, which has the skins removed; this option gives a lighter color and a more delicate flavor in your baked goods. If you’re new to using almond flour, start slowly, as it can absorb more moisture than all-purpose flour.
Options for Substitutions
- Cocoa Powder: Swap unsweetened cocoa for carob powder for a different flavor profile.
- Sweetener: Use erythritol, stevia, or monk fruit for various sweetness levels and flavors.
- Butter: Coconut oil can replace butter if you prefer a dairy-free option.
- Egg: For a vegan alternative, use flaxseed meal mixed with water or unsweetened applesauce.
- Peanut Butter: Almond butter or sunflower seed butter is a great nut-free alternative.
- Baking Powder: If you’re out of baking powder, a mixture of lemon juice and baking soda can be a substitute.
Watch Out for These Mistakes
When making your keto mug cake, there are a few common pitfalls you should avoid. First, be mindful of the cooking time. Overcooking can turn your mug cake rubbery and dry. Always start with 60 seconds and add more time in 15-second intervals if you need it.
Secondly, don’t skip the salt. A pinch of salt enhances the sweetness and brings out the flavors in the cake.
Lastly, if you choose to use peanut butter, be cautious not to add it too early. Swirling it in after the basic ingredients ensures it remains rich and creamy.

What to Serve With Keto Mug Cake Three Ways?
While this keto mug cake is delightful on its own, it can be enjoyed with a few tasty side additions. Pair it with a dollop of whipped cream for added richness, or serve with a sprinkle of unsweetened shredded coconut for texture. A handful of berries adds a fresh, juicy touch, and a scoop of sugar-free ice cream can elevate the dessert even further.
Storage Instructions
Store: If you have any leftovers (though it’s unlikely), keep your mug cake stored in an airtight container in the fridge for up to two days.
Freeze: You can freeze the uncooked batter for up to three months. Just transfer it into a microwave-safe mug before you’re ready to cook it.
Reheat: To reheat, simply pop it back into the microwave for 15-20 seconds until warmed through. If frozen, allow it to thaw in the refrigerator overnight before reheating.
Recipe Info
- Preparation Time: 3 minutes
- Cooking Time: 1-2 minutes
- Total Time: 5 minutes
- Level of Difficulty: Easy
- Servings: 1
Estimated Nutrition
Estimated nutrition for the whole recipe (without optional ingredients):
- Calories: 250-300
- Protein: 10-12 grams
- Fat: 20-25 grams
- Carbohydrates: 6-8 grams
Ingredients
- 3 tbsp almond flour
- 1 tbsp cocoa powder
- 1 egg
- 2 tbsp sweetener
- 1 tbsp melted butter
- 1/4 tsp baking powder
- 1 tbsp peanut butter (optional)
- pinch of salt

Step-by-Step Instructions
Step 1: Prepare the Dry Ingredients
In a microwave-safe mug, begin by whisking together the almond flour, cocoa powder, sweetener, baking powder, and salt. Ensure that all the dry ingredients are well mixed to avoid clumps.
Step 2: Add Wet Ingredients
Next, add the egg and melted butter to the dry mixture. Whisk everything together until the batter is smooth and free of lumps. This should take just a minute.
Step 3: Incorporate Peanut Butter (Optional)
If you’re making the peanut butter variation, now is the time to swirl in 1 tablespoon of peanut butter. Use a fork or a knife to gently mix it in, creating a marbled effect.
Step 4: Microwave the Cake
Place your mug in the microwave and cook for 60 to 90 seconds. Keep an eye on it as every microwave operates differently. You want it set but still slightly moist in the center.
Step 5: Cool and Serve
After microwaving, let the mug cake cool for about a minute. It’ll be hot, so give it time to cool off before you dig in. Enjoy your quick and delicious keto treat!
In summary, this keto mug cake offers an excellent balance between indulgence and mindful eating. It’s quick to make and easy to customize, making it perfect for any occasion. I encourage you to try this recipe yourself and experience the joy of a warm and satisfying dessert in no time at all. Don’t forget to share your experiences and explore more delicious recipes on my blog!

Keto Mug Cake
Ingredients
Method
- In a microwave-safe mug, whisk together the almond flour, cocoa powder, sweetener, baking powder, and salt until well mixed.
- Add the egg and melted butter to the dry mixture, whisking until the batter is smooth and free of lumps.
- If you’re making the peanut butter variation, swirl in 1 tablespoon of peanut butter at this stage.
- Microwave the mug for 60 to 90 seconds, checking periodically. It should be set but slightly moist in the center.
- Let the mug cake cool for about a minute before serving.