This 5-Minute Microwave Keto Mayonnaise Cake is a single-serving chocolate dessert made with almond flour, coconut flour, unsweetened cocoa, egg, keto sweetener, and full-fat mayonnaise. Mix the batter directly in a wide microwave-safe mug or ramekin, cook it for 60 to 90 seconds, let it rest for 1 minute, and enjoy a warm low-carbohydrate cake in about 4 to 5 minutes.
The result is soft, moist, lightly rich, and pleasantly chocolatey without a noticeable mayonnaise flavor. Mayonnaise replaces butter or oil and helps keep the quick microwave cake tender, while coconut flour adds structure and almond flour provides a delicate, nutty crumb.
Jump to RecipeWhy You’ll Love This Recipe

There are evenings when a full cake feels like far too much work, but a small warm dessert sounds exactly right. This mug cake answers that craving with one portion, one mixing vessel, and only a brief microwave cooking time.
The mayonnaise may sound unexpected, yet it works beautifully in a cake batter. Because it contains fat and moisture, it helps create a soft crumb that does not feel dry or crumbly, which can sometimes happen with quick almond-flour desserts.
This recipe is also easy to adjust. You can use 1 tablespoon of sweetener for a gently sweet cake or 2 tablespoons for a more dessert-like finish, depending on the sweetness of your cocoa powder and personal taste.
For another savory low-carbohydrate baking idea, take a look at our garlic butter keto bread. It makes a useful companion when you want something baked but are not in the mood for chocolate.
Ingredients You’ll Need

Every ingredient has a practical role in this quick cake, so accurate measuring matters even though the recipe is small. Coconut flour absorbs liquid quickly, and a small amount can change the texture significantly.
- Egg: One large egg binds the batter and gives the cake structure.
- Mayonnaise: Use 2 tablespoons of full-fat mayonnaise, preferably without added sugar. Its flavor becomes very subtle after baking.
- Almond flour: Choose finely ground almond flour for a smooth, tender crumb rather than a coarse almond meal.
- Coconut flour: One tablespoon supplies absorbency and structure. Do not replace it with almond flour by volume.
- Cocoa powder: Unsweetened cocoa gives the cake its deep chocolate taste without adding sugar.
- Keto sweetener: Use 1 to 2 tablespoons of granulated erythritol or another 1:1 keto sweetener.
- Leavening and flavor: Baking powder, vanilla extract, and a pinch of salt round out the batter.
Before mixing, lightly grease the mug or ramekin. This makes the cake easier to spoon out and prevents the edges from clinging to the dish.
If you enjoy compact keto treats, our three-ingredient cheesecake fat bombs are another simple option for keeping small desserts ready in the refrigerator.
How to Make It Step-by-Step

Step 1: Choose a wide microwave-safe mug or small ramekin and lightly grease the inside. A wide vessel allows the batter to spread into a shallow layer, which helps the center cook more evenly than it would in a narrow cup.
Step 2: Add the large egg, mayonnaise, vanilla extract, and keto sweetener directly to the prepared mug. Beat with a small fork until the mixture looks smooth and the mayonnaise is fully blended into the egg.
Step 3: Add the finely ground almond flour, coconut flour, unsweetened cocoa powder, baking powder, and salt. Stir carefully from the bottom and around the sides until no dry pockets remain; the batter will be thick.
Step 4: Place the mug in the microwave and cook on high for 60 seconds. Check the center, then continue in 10- to 15-second intervals if it still looks wet, with most microwaves needing 75 to 90 seconds in total.
Step 5: Remove the cake and let it stand for about 1 minute before eating. The ideal center should be set but still moist, because the cake continues cooking from residual heat while it rests.
Microwave power varies, so the first batch is a useful guide for your appliance. A slightly glossy, moist-looking center is preferable to a completely dry surface, since overcooking makes almond- and coconut-flour cakes rubbery.
Texture, Flavor, and Sweetness Tips

The finished cake should have a tender, brownie-like texture with a soft middle. It will not have the tall, airy crumb of a conventional wheat-flour layer cake, but it should feel moist and satisfying when eaten warm.
Full-fat mayonnaise gives the best result because lower-fat versions may not provide the same richness. Choose a brand without added sugar, and the small quantity used here should blend into the chocolate flavor rather than taste like mayonnaise.
Sweetener choice can affect the final flavor and mouthfeel. Granulated erythritol or another 1:1 keto sweetener is convenient, but different products vary in sweetness, so begin with 1 tablespoon if you prefer a less sweet dessert and add more next time if needed.
If the batter seems unusually stiff after mixing, stir in 1 teaspoon of unsweetened almond milk. Add only that small amount at first, because coconut flour continues absorbing liquid for a short time.
For a richer bite, fold in 1 tablespoon of sugar-free chocolate chips or a few chopped nuts before microwaving. Keep additions modest so the small cake still cooks through in the stated time.
When you want a more traditional chocolate baking project, you can also browse this classic chocolate cake inspiration. This microwave version is much faster, but both are made for serious chocolate cravings.
Easy Variations and Toppings
To make a vanilla cake, omit the 1 tablespoon of cocoa powder and add another 1 tablespoon of almond flour. Keep the vanilla extract and salt, and taste the batter before cooking if you want to decide whether the full 2 tablespoons of sweetener suit you.
A simple topping can make the mug cake feel like a plated dessert without adding much work. Try a spoonful of unsweetened whipped cream, a dusting of cocoa powder, a few chopped pecans, or a small scattering of sugar-free chocolate chips.
For a contrast of color and flavor, add a few fresh berries only after cooking. A lemony topping is especially pleasant with the vanilla variation, while chocolate cake pairs nicely with unsweetened cream and toasted nuts.
Do not overcrowd the mug with toppings before microwaving. Heavy additions can weigh down the batter and make it harder to judge when the center is properly set.
If you prefer a different small-format dessert, our no-bake vanilla cake pops offer a fun alternative for serving bite-sized sweets.
Serving, Storage, and Reheating

This cake is at its best warm, about 1 minute after it leaves the microwave. Eat it directly from the mug with a spoon, or loosen the edges with a knife and turn it onto a small plate for a more finished presentation.
Because this is a single-serving cake designed for immediate enjoyment, the texture is most tender right after cooking. If you have leftovers, cover the ramekin and refrigerate it, then reheat gently in short intervals until just warm.
Reheating too long can dry the cake and make the coconut flour crumb firm. A small amount of unsweetened whipped cream or a spoonful of keto-friendly topping can refresh the texture when serving it later.
For the most reliable result every time, measure the flours with level spoons, use a wide dish, and watch the cooking time closely. The difference between moist and rubbery can be just 15 seconds in a powerful microwave.
Common Questions About Microwave Keto Cake
Does the cake taste like mayonnaise? No, not when full-fat, unsweetened mayonnaise is blended well with the egg, cocoa, vanilla, and sweetener. It mainly contributes moisture and richness.
Can almond flour replace coconut flour? Not by volume. Coconut flour absorbs liquid much more quickly, so replacing it directly can produce a dense or wet cake; use the stated amounts for the intended texture.
Why is my center still wet? Microwave wattage, mug shape, and batter depth all affect cooking. Continue in 10- to 15-second intervals, checking after each interval, rather than adding a long cooking period all at once.
Why did my cake become rubbery? It was likely overcooked. Microwave cakes continue setting during the 1-minute rest, so remove the cake when the center is set but still moist instead of waiting for it to look completely dry.
Can I double the recipe? This formulation is written for one serving and is easiest to control as written. For multiple portions, mix and cook separate cakes so the batter depth and timing remain predictable.
For a fruit-forward baking idea beyond this chocolate mug cake, you may enjoy our blueberry cake with lemon frosting. It takes more time, but it is a lovely choice when you are serving several people.

5-Minute Microwave Keto Mayonnaise Cake
Ingredients
Method
- Lightly grease a wide microwave-safe mug or small ramekin. Beat the egg, mayonnaise, vanilla extract, and sweetener directly in the mug until smooth.
- Add the almond flour, coconut flour, cocoa powder, baking powder, and salt. Stir thoroughly until no dry pockets remain.
- Microwave on high for 60 seconds. Check the center, then continue in 10- to 15-second intervals until the cake is set but still moist; most microwaves take 75 to 90 seconds.
- Let the cake stand for about 1 minute before eating. Residual heat will finish setting the center without requiring the cake to be cooked completely dry.
Notes
Final Thoughts
This 5-Minute Microwave Keto Mayonnaise Cake is proof that a homemade dessert does not need a long ingredient list, an oven, or a stack of mixing bowls. With one egg, a few spoonfuls of keto-friendly flours, cocoa, sweetener, and mayonnaise, you can create a warm single-serving cake in just minutes.
Remember the three details that matter most: use a wide mug or ramekin, avoid substituting coconut flour by volume, and stop cooking while the center is still moist. That short rest after microwaving completes the texture and keeps the cake tender.
Serve it plain for a quick chocolate fix, or add sugar-free chips, chopped nuts, whipped cream, or a little cocoa for a more special finish. Once you know how your microwave behaves, this recipe becomes an easy dessert to make whenever a keto-friendly sweet craving arrives.