Keto Cake
This post may contain affiliate links. See my disclosure policy.
My keto birthday cake recipe is light, fluffy, and perfectly moist. With a gorgeous crumb and creamy frosting, it’s the perfect dessert for any occasion! 2 grams of net carbs.

I have a short list of cake recipes that I can whip up at a moment’s notice, and my classic keto cake recipe is one of them. With the same delicate crumb and sweet vanilla flavor as regular ol’ birthday cake, it’s my go-to whenever I need a dependable low carb dessert that does not feel like a compromise- I promise!
Why I love this keto cake recipe

- The perfect texture. I need my cakes to be moist, fluffy, and with a creamy frosting, and this keto cake ticks all the boxes. Many keto cakes can turn out gritty or taste metallic, but not this one!
- Multiple frosting options. I’m a weirdo who prefers vanilla cake with chocolate frosting, but I also tested a few traditional frosting options for you.
- Nobody guesses it’s keto. I’ve made this cake for a few parties where just one person was following a low carb diet, but everyone came back for seconds of the cake- it really does taste like the real thing.
- Naturally gluten-free. No flour or grains are needed.
Table of Contents

Key Ingredients and Notes
- Almond flour and coconut flour. I use a mix of almond and coconut flours to achieve a moist, fluffy texture, which is difficult to achieve with just one flour. With the almond flour, opt for blanched almond flour, which prevents the cake from being gritty or sinking in the middle.
- Butter. I recommend unsalted butter, because I like to add the salt myself, as some brands can be a little inconsistent. Coconut oil can work, but the texture will be a little more ‘bready’ than ‘cakey’.
- Allulose. I recommend using allulose over other keto sweeteners because it dissolves like white sugar and doesn’t leave the cake with a gritty texture or a metallic aftertaste.
- Eggs. Room-temperature eggs work best, as they don’t firm up the butter when added. I usually just remove them from the fridge about 10 minutes before I start baking.
- Milk. I used unsweetened almond milk, but any milk works, and water can also be used in a pinch.
- Baking powder, salt, and vanilla.
Keto frosting options
There are plenty of ways to customize the keto birthday cake with different frostings. Here are some of my favorite keto frosting recipes:
- Keto cream cheese frosting. Beat together softened cream cheese, keto powdered sugar, vanilla extract, and a splash of milk.
- Cashew cream cheese frosting. Boil cashews for 5 minutes, then strain and blend with keto powdered sugar, vanilla, and milk. I recommend cooking it for about 15 minutes to thicken.
- Whipped coconut cream. Beat together canned coconut cream, powdered sugar, and vanilla.
- Chocolate frosting. My favorite (and I’m in the minority here). Beat together softened butter, keto powdered sugar, vanilla, cocoa powder, and milk.
How to make a keto birthday cake
I’ve included step-by-step photos below to make this recipe easy to follow at home. For the full printable recipe instructions and ingredient quantities, scroll to the recipe card at the bottom of this post.
Step 1- Prep. Preheat the oven to 180C/350F and line two 8-inch pans with parchment paper.
Step 2- Mix the dry ingredients. In a mixing bowl, combine the dry ingredients.
Step 3- Make the cake batter. In a stand mixer, cream together the butter and sugar until fluffy. Add the eggs one at a time and beat until fully combined. Add the milk and vanilla and combine. Fold in the dry ingredients and beat until creamy.
Step 4- Bake. Pour the batter evenly into the two cake pans. Bake for 22-25 minutes or until a toothpick comes out clean. Allow the cakes to cool completely.
Step 5- Cool and frost. Once cool, frost the cakes with your favorite frosting.

Arman’s recipe tips
- Don’t overmix the batter. Like a regular cake, overmixing the batter affects how fluffy and moist it turns out.
- Line the cake pans with parchment paper. These cakes a little fragile, and I find doing this guarantees the cakes release cleanly and makes cleanup much easier. A springform pan also works well.
- Don’t overbake the cakes. The tops should be lightly golden and spring back when touched. Remember, the cakes continue cooking as they cool down.
- Let the cakes cool completely before frosting. I’ve made the mistake of rushing this step before, and the frosting slid right off. A fully cooled cake is much easier to frost and decorate.
- Can I make this without eggs? I tried this cake without eggs, using an egg substitute. The texture was not super moist or fluffy but quite dense. If you don’t mind that texture, use a pre-formulated egg substitute (like Ener-G egg replacer) verus chia/or flax eggs.


Keto Cake (Vanilla Cake)
Ingredients
- 1 1/2 cups blanched almond flour 150g
- 1/2 cup coconut flour 56g
- 2 teaspoon baking powder 8g
- 1/4 teaspoon salt
- 3/4 cup butter unsalted, 170g
- 1 cup allulose 200g
- 4 large eggs
- 1/2 cup almond milk
- 1 teaspoon vanilla extract
- 1 serving keto vanilla frosting 240g
Instructions
- Preheat the oven to 180C/350F. Line two 8-inch pans with parchment/baking paper and set aside. You can also use greased sprinform pans.
- In a mixing bowl, add your almond flour, coconut flour, baking powder and salt and mix well. Set aside.
- In a stand mixer or hand mixer, cream your butter and allulose until fluffy, around 8 minutes. Add the eggs in, one at a time, and beat well until fully incorporated. Add the milk and vanilla extract until combined. Add the dry ingredients and beat until creamy.
- Divide the batter evenly amongst the two cake pans, and smoothen out the tops. Bake for around 22-25 minutes, or until a skewer comes out clean. Allow the cakes to cool completely.
- Once cool, frost the cakes with your favorite vanilla frosting.


















Beautiful moist cake
Thanks for the great recipe!
It’s excited to try this recipe. I just have a question about the dairy free butter- would coconut butter or coconut oil work? Or are you referring to a blend of plant based oils sold as a dairy substitute?
This cake recipe is the greatest find on my new journey to a lower carb lifestyle. I have used it to make cake and cupcakes. Can I ask if this can be frozen? And if so how long for?
Lots of thanks for bringing cake back into my world ☺️
I would say try to keep them frozen no longer than 2 months 🙂
I will be making this for my daughter, who is on the Keto diet for seizure control. I would imagine that coconut oil or butter would be much healthier than dairy-free butter because it is promoted for its healthy fats, and once in the cake, it should have the same end result as butter. I have cooked with coconut oil, which has the same texture and consistency as regular butter, which makes me believe it would work. Great idea substituting with coconut and I will be trying the recipe your way!
Love the cake. Texture was very good. Made it for the second time. Recipe is definetly a keeper.
I love your recipe
I make my cake for my birthday and it was delicious
Thank you so much
So welcome, Reem!
My dad is currently doing keto and he is OBSESSED with this cake. Tbh am really happy that my dad likes this cake and how it turned out!
Great
Is this cake gluten free?
Yes!
I think your recipe is awesome!!!!!
Thank you!!
Best cake recipe ever!
I followed the directions very carefully and was pleased with the outcome. The cake is moist and sweet (almost too sweet) I used Besti sugar replacement; with a hint of vanilla. Great Cake will make it again.
This is the BEST cake recipe I’ve tried
Great recipe thank you.
Turned out delicious, super moist and light, can’t stop eating it! Filled it with lemon curd and topped with whipped cream.
One issue I did have is that the cake is extremely fragile and cracks/crumbles/falls to pieces when moved which is challenging when trying to stack one on top of the other – lucky cream hides a multitude of sins. What did I do wrong? Would a to small an egg size cause this? I did use caster sugar as sweetner and cows milk for milk.
WOW this cake is delicious! A very forgiving cake, I made a couple of errors and it was still perfect, I did have to bake for 45 minutes, might just be my oven. Thank you for an amazing cake 🙂