Birthday Mug Cake

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published August 28, 2021 • Updated March 8, 2026

Reader Rating
5 Stars (6 Reviews)

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.

Youtube
640K+ subscribers
Discover More Keto Recipes on Our Channel

Explore 683+ keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.

Recipe
Print Pin

Birthday Mug Cake

5 (6) Prep 5m Cook 2m Total 7m 2 servings

Keto Birthday Mug Cake Ingredients

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

1
Make cake batter

To a small bowl, add egg, almond flour, butter, sweetener, coconut flour, baking powder and flavoring.

mixing cake batter in a small pyrex bowl with a fork
2
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

cake batter in a white ramekin next to sprinkles and candles
3
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.

a spatula with creamy white frosting over a bowl of frosting with candles near
4
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.

piping vanilla frosting on top of a small cake
Nutrition Per Serving
645 Calories
67.3g Fat
5.1g Protein
1.5g Net Carbs
3.1g Total Carbs
2 Servings
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 →

Get weekly keto recipes from Annie.

Join the list and get new recipes delivered to your inbox every week.

Birthday Mug Cake

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.

Similar Recipes

Others looking for “Birthday Mug Cake” also liked:

Keto Birthday Mug Cake Recipe

a pink candle stuck into a vanilla cake with white frosting

I started making this when I realized I could have actual birthday cake on keto without baking a full-size cake that would sit in my fridge for a week. Everything goes into one bowl, then into a ramekin, then into the microwave for about 90 seconds. That’s it. The almond flour and coconut flour combination gives you a texture that’s close to regular cake, soft in the middle with just a little structure around the edges.

For the flavor, I use vanilla cupcake flavor drops from One-on-One Flavors (10% off with my code Ketofocus-10). They make this taste like the vanilla cake mix I grew up eating. Vanilla extract works as a substitute, but the drops really do something special here. Top it with a sugar free vanilla buttercream and sprinkles, and you have a real birthday moment. I keep the ingredients stocked because someone in my house always needs a last-minute cake.

a two tiered small cupcake birthday cake with a candle

What Is a Mug Cake?

A mug cake is a single serve cake that you mix and bake in one container, usually a mug or ramekin. I like it because when I want one slice of cake, I don’t need to make an entire cake and stare at leftovers for three days. You mix the batter, microwave it, and eat it warm. For a low carb dessert, it doesn’t get simpler than this.

For this recipe, I mix everything in a small bowl first because it’s easier to get a smooth batter that way, then transfer to an 8 oz ramekin. After baking, I flip the cake out onto a plate. It looks like a small layer cake or a large cupcake once you pipe the frosting on top, which is a lot more fun than eating out of a mug.

How to Make the Buttercream Frosting

I don’t skip the frosting on this one because the buttercream is half the experience. You need softened butter, powdered sweetener (I use an erythritol blend), heavy cream, and vanilla. Cream the butter first for 2-3 minutes until it’s light and almost white. That step matters because under-creamed butter gives you dense, greasy frosting instead of the fluffy kind.

The amount of heavy cream controls your texture. I go with 2 tablespoons for a thick frosting that pipes well and holds its shape. If you want something lighter and more spreadable, add up to 4 tablespoons. For a chocolate spin, stir a tablespoon of cocoa powder into the butter before adding the sweetener. I’ve done it a few times and it makes a solid chocolate buttercream without a separate recipe.

a mug cake frosted with sprinkles on top

Can I Bake This in the Oven Instead?

I include oven instructions because not everyone uses a microwave. Preheat to 350 degrees and bake for 5-10 minutes in an oven-safe ramekin until the cake is set and springs back when you touch the center. I recommend the ramekin over a mug for oven baking because the wider shape lets the heat reach the center more evenly.

It takes longer than the microwave, but the result is the same. I’ve done it both ways and honestly can’t tell the difference once the frosting goes on.

Ingredient Substitutions

I’ve tested most of these swaps myself, so here’s what works:

  • Almond Flour: If you have a nut allergy, sunflower seed flour measures cup for cup and I’ve used it with good results.
  • Coconut Flour: There are only 2 teaspoons in the whole recipe, so it won’t taste like coconut. But if you’d rather skip it, add 2 more tablespoons of almond flour instead.
  • Heavy Cream: I’ve subbed in almond milk and coconut milk. Both work. Macadamia nut milk is another option.
  • Butter: Coconut oil makes this dairy free. I use the same amount.
  • Frosting: If vanilla buttercream isn’t your thing, cream cheese frosting or whipped cream both work on this. I’ve also topped it with a simple glaze made from powdered sweetener and a splash of cream.

More Keto Mug Cake Recipes

I have a bunch of flavors if you want to mix things up. The chocolate one is my go-to for weeknights, and the pumpkin version is what I make every fall.

About the Author
Annie Lampella, Pharm.D.

Annie Lampella, Pharm.D.

Annie is a Doctor of Pharmacy, mom, and the recipe creator behind KetoFocus. With a B.S. in Genetics from UC Davis, she has over 14 years of experience developing family-friendly keto recipes based on the science of human metabolism.

More Dessert Recipes

keto chocolate chip cookie stack
145 Mins
Keto Almond Flour Chocolate Chip Cookies
4.8 Stars (36 Reviews)

I accidentally invented these while making butter bars, and they turned out to be the chewiest almond flour chocolate chip cookies I've ever baked....

See the Recipe
five golden brown chocolate chip cookies on the table with dark chips spread around
16 Mins
Best Keto Chocolate Chip Cookies
4.8 Stars (29 Reviews)

Almond flour and coconut flour together create a keto chocolate chip cookie that's close to Toll House. 1.2g net carbs per cookie. Crispy edges, soft...

See the Recipe
A keto pretzel chocolate chip cookie broken open to show a soft center filled with melted chocolate chips and crunchy pretzel pieces.
20 Mins
Keto Pretzel Chocolate Chip Cookies
4.3 Stars (4 Reviews)

These thick, chewy keto pretzel chocolate chip cookies land at about 2g net carbs each. I skip chill time so the pretzel pieces stay crunchy, and six...

See the Recipe
pretty fluted edges on a pie crust
65 Mins
Keto Pie Crust
4.9 Stars (27 Reviews)

I've been refining this recipe since I started keto in 2012. Almond flour, coconut flour, cold butter, and one secret ingredient create a flaky,...

See the Recipe
chewy keto chocolate chip cookie with melted chips
3 Mins
Keto Chocolate Chip Cookie for One
4.6 Stars (36 Reviews)

A soft, chewy keto chocolate chip cookie I make in under 10 minutes with no eggs. Bake it in the oven, air fryer, or microwave. Just 2.5g net carbs.

See the Recipe
A slice of coconut cream pie placed on a white plate with a pie spatula.
75 Mins
Keto Coconut Cream Pie
4.7 Stars (9 Reviews)

I've made a lot of low carb pies, and this keto coconut cream pie is the one I keep coming back to. Flaky almond flour crust, silky coconut custard,...

See the Recipe
Reviews 13
5 Stars (6 Reviews)
  1. J
    Jason Mar 13, 2026

    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?

  2. B
    Brian N. Feb 26, 2026

    My daughter ate hers in about 45 seconds and then tried to grab the buttercream off mine.

    1. Annie Lampella
      Annie Lampella Mar 3, 2026

      Ha. The buttercream is dangerous. I make a double batch and still somehow run out.

  3. T
    Tamara F. Feb 17, 2026

    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.

    1. Annie Lampella
      Annie Lampella Feb 17, 2026

      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.

  4. E
    Eric Feb 16, 2026

    quick birthday fix, worked great

    1. Annie Lampella
      Annie Lampella Feb 16, 2026

      Birthday emergencies are real. I keep the ingredients on hand just in case.

  5. T
    Tracey Ulrich Feb 2, 2025

    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.

    1. Annie Lampella
      Annie Lampella Apr 18, 2025

      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.

  6. N
    Nina Jun 9, 2023

    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!

    1. Annie Lampella
      Annie Lampella Jun 13, 2023

      You could add a tablespoon of cocoa powder. The consistency of the batter should still be fine.

  7. N
    Nicolette Jan 7, 2022

    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.

    1. Annie Lampella
      Annie Lampella Jan 9, 2022

      You're welcome! These are always fun.

Leave a Review