Birthday Mug Cake
Published August 28, 2021 • Updated March 8, 2026
This post may contain affiliate links. See my disclosure policy.
I made this keto birthday mug cake the night before my daughter's party and ended up eating it myself. Two minutes in the microwave, a swirl of vanilla buttercream, and sugar free sprinkles on top. That's the whole thing.
I keep all the ingredients for this cake in my pantry at all times because birthday emergencies are real. Someone in my house has a birthday, a friend stops by, or honestly I just want cake on a Tuesday night. This single serve vanilla cake goes from bowl to plate in under five minutes, and it tastes like actual birthday cake, not a sad keto substitute.
The base is a mix of almond flour and coconut flour, which I landed on after testing a bunch of ratios. Almond flour alone made it too dense. Coconut flour alone was dry. The combination gives you that light, springy crumb you want in a birthday cake without any grittiness. I add an egg, melted butter, and a monkfruit sweetener blend to the dry ingredients, then stir in vanilla cupcake flavor drops from One-on-One Flavors (use my code Ketofocus-10 for 10% off). If you don’t have the drops, half a teaspoon of vanilla extract works fine.
I mix the batter in a small bowl, then transfer it to an 8 oz ramekin sprayed with cooking spray. Microwave at 70% power for 90 to 120 seconds. You want it set on top and springy when you press the center. If your microwave runs at 900W or higher, start checking at 75 seconds because overcooking dries it out fast. I learned that one the hard way.
The buttercream frosting is what makes this feel like a real celebration. I cream softened butter for a solid 2-3 minutes until it’s pale and fluffy, then slowly beat in powdered sweetener. The heavy cream controls the thickness. I use about 2 tablespoons for a thick, pipeable frosting, but you can go up to 4 tablespoons if you want it lighter. A hit of vanilla at the end pulls it all together.
Once the cake cools, I run a knife around the edges of the ramekin, flip it onto a plate, and pipe the frosting on top. If you want to go all out, slice the cake in half horizontally and stack it with frosting in between for a two-tier mini birthday cake that looks like you spent way more effort than you did. Sugar free sprinkles on top and you’re done.
If you love these as much as I do, try my chocolate mug cake, red velvet mug cake, or chocolate chip mug cake. For a full-size version, I have a keto birthday cake that feeds a crowd. And if you want a fun spin, my birthday cake chaffle hits the same flavor in waffle form.
Explore 683+ keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.
Keto Birthday Mug Cake Ingredients
1 egg
2 tablespoons almond flour
2 tablespoons butter, melted
1 1/2 tablespoons monkfruit blend or sweetener of choice
2 teaspoons coconut flour
1/2 teaspoon baking powder
1 dropperful vanilla cupcake flavor drops or 1/2 teaspoon vanilla extract
Sugar Free Vanilla Buttercream Frosting Ingredients
1/2 cup unsalted butter, softened
2/3 cup powdered erythritol blend sweetener
2-4 tablespoons heavy cream
2 teaspoons vanilla extract
sugar free sprinkles
Step by Step Instructions
Step by Step Instructions
Make cake batter
To a small bowl, add egg, almond flour, butter, sweetener, coconut flour, baking powder and flavoring.
Bake the birthday mug cake
Spray cooking spray in an 8 oz ramekin or large mug. Add batter to the ramekin and bake in the microwave at 70% for 90-120 seconds or until cake is set and springs back when you lightly touch the top. Oven instructions: Bake in an oven safe ramekin at 350 degrees for 5-10 minutes or until set. Let cake cool while you move onto the frosting
Make buttercream frosting
To a medium bowl, add softened butter and cream for 2-3 minutes until light in color and fluffy. Slowly add in powdered sweetener and mix until combined. Add 2-4 tablespoons of heavy cream until desired consistency is achieved. Add vanilla and cream until fluffy.
Pipe the frosting & add birthday sprinkles
Slide knife around the edges of the ramekin to loosen the cake. Place a plate over the ramekin and flip to place cake on a plate. Add buttercream frosting to a piping bag and pipe frosting on the cake. You can cut your cake in half to make two cakes in order to make a two tiered cake. Top with sugar free sprinkles.
Nutrition disclaimer
The nutrition information provided is an estimate and is for informational purposes only. I am a Doctor of Pharmacy (Pharm.D.); however, this content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician or other qualified health provider before making any lifestyle changes or beginning a new nutrition program.
Your Macros. Your Recipes. Calculated in 60 Seconds.
Get personalized keto macros and instantly see which recipes fit your targets. No more guessing what to eat.
Get My Macros + Recipes →Frequently Asked Questions
Can I use a different sweetener instead of monkfruit blend?
I've made this with erythritol, allulose, and a stevia-erythritol blend, and they all work. My preference is the monkfruit blend because it measures like sugar and doesn't have that cooling aftertaste I get from straight erythritol. If you use a concentrated sweetener like pure stevia, start with a fraction of the amount and taste the batter before baking.
How do I store this cake after baking?
I store mine in an airtight container in the fridge, and it stays good for about 2 days. I microwave it for 10-15 seconds before eating because the texture bounces back once it warms up. The frosting holds up well in the fridge too, which surprised me the first time.
Is there a dairy-free option?
I swap the butter for coconut oil, same amount. For the frosting, I use coconut oil in place of butter and coconut cream instead of heavy cream. The texture is a little different (more of a glaze than a fluffy buttercream) but I actually like it that way.
Can I add mix-ins like chocolate chips or nuts?
I fold in sugar free chocolate chips sometimes and they melt into little pockets that are really good. Chopped pecans or walnuts work too. I keep the add-ins to about a tablespoon so the batter still cooks through evenly in the microwave.
Can I make this in a coffee mug instead of a ramekin?
I've done it both ways. A standard 12 oz coffee mug works fine for the microwave version. The cake rises taller and narrower instead of spreading out, so it looks more like a traditional single serve cake. I prefer the ramekin because I can flip it out and frost it like a mini layer cake, but if you're eating straight from the mug with a spoon, go for it.
Can I mix sprinkles into the batter for a funfetti effect?
I've tried this and it works. I fold in about a teaspoon of sugar free sprinkles right before transferring the batter to the ramekin. The colors bleed a little in the microwave, but when you flip the cake out you can see the sprinkle pockets through the crumb. My daughter calls this the 'party version' and it does make it feel more festive than just sprinkles on top.
Can I freeze this cake?
I've frozen the cake without frosting and it holds up for about a month. I wrap it tightly in plastic wrap, then foil, and thaw it in the fridge overnight. Microwave for 15-20 seconds to bring the texture back. I wouldn't freeze it with the buttercream on top because the frosting gets grainy when it thaws. I just make fresh frosting when I'm ready to eat.
Can I bake this as a full-size cake?
I haven't scaled this specific recipe to a 13x9 yet because the ratios don't translate directly. You can't just multiply everything equally or you end up with too many eggs and a rubbery texture. For a full-size version, I have a keto birthday cake recipe that's designed for a larger pan.



First mug cake I've ever made and I'm already planning a second batch. Do those vanilla cupcake flavor drops come in other flavors?
My daughter ate hers in about 45 seconds and then tried to grab the buttercream off mine.
Ha. The buttercream is dangerous. I make a double batch and still somehow run out.
My mom used to make me a funfetti mug cake every birthday when I was in college, and seeing the sprinkles on this sent me right back to her kitchen. I swapped the vanilla cupcake drops for straight vanilla extract and the almond and coconut flour base held together better than I expected. The buttercream piped beautifully and the powdered erythritol gave it that real frosting sweetness without the gritty aftertaste I get from some blends. Ate both servings on a cold Tuesday night and it felt like getting something back I thought I'd given up.
My favorite part of this recipe is the vanilla extract swap -- it keeps that classic birthday cake flavor without any fuss. And yes, eating both servings on a cold Tuesday night is absolutely the point.
quick birthday fix, worked great
Birthday emergencies are real. I keep the ingredients on hand just in case.
Annie, I love this recipe! I'd love to make it into a 13x9 sized cake. Do you happen to have instructions for that? Thanks.
I don't have instructions for that yet. A keto white cake is something that I need to come out with. You can't just add equal amounts of the same ingredients because you would end up with too many eggs.
This is the first keto cake I've made that still tasted good 48 hours later. If I want to add cocoa, how much should I add? I don't want to mess up the liquid/dry proportions. Thanks!
You could add a tablespoon of cocoa powder. The consistency of the batter should still be fine.
Hi!
I wanted to say I have made this twice now, and it's so good for a birthday cake replacement. Today I used lemon extract for a twist.
Thanks for your recipes.
You're welcome! These are always fun.