Keto Valentines Day Cake
Published February 11, 2021 • Updated February 28, 2026
This post may contain affiliate links. See my disclosure policy.
Two round pans, one simple cut, and you have a keto valentines day cake with dark chocolate layers and white chocolate cream cheese frosting. I've made this every February since 2018.
I started making this for Valentine’s Day back in 2018. My husband isn’t a flowers-and-card person, but put a chocolate cake in front of him and he pays attention. This is the recipe that stuck.
The cake itself is dark chocolate with a soft, dense crumb that comes from my 4:1 almond-to-coconut flour ratio. I landed on that mix after too many rounds of pure coconut flour cakes that came out like bricks. The quarter cup of coconut flour gives structure without drying things out, and the almond flour keeps the texture right where it should be.
For the frosting, I use a white chocolate cream cheese base. Cream cheese, butter, vanilla, melted sugar-free white chocolate chips, and powdered erythritol. If you’ve made my keto vanilla birthday cake frosting, this is the same idea with white chocolate folded in. It sets firm enough to hold the heart shape together but stays creamy when you bite through.
The heart shape is the part that scares people, but it shouldn’t. You don’t need a specialty pan. I use two standard 6-inch round pans, bake the layers, then cut a V from the bottom of each round and flip those pieces to the top. The frosting glues everything together. I’ve done this dozens of times and the method is forgiving, even if your cuts aren’t perfectly symmetrical.
A few things I’ve dialed in over the years. Pull the cakes at 22 minutes, even if the center looks barely set. They firm up as they cool, and waiting longer dries out the edges before the frosting can rescue them. If you want richer chocolate flavor, swap in Dutch process cocoa. It works here because the recipe uses baking powder (not baking soda), so the acid balance stays intact.
You can bake the layers a day or two ahead and keep them wrapped tight in the fridge. I frost the morning of. That way the cake is cold and firm when you’re cutting and stacking, which makes the whole process cleaner.
The decoration is where you make it yours. I pipe a conversation heart message on top with the remaining frosting (tint it with food coloring for the classic pastel look). If piping letters isn’t your thing, freeze-dried strawberry powder over white frosting gives you a pink tint that looks great without any skill.
If you want more keto desserts for a special occasion, my easy keto chocolate cake is a simpler single-layer version. For something lighter, the keto strawberry shortcake works in warmer weather. And for a quick treat without the full production, try my keto red velvet mug cake.
Explore hundreds of keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.
Sugar Free Keto Chocolate Cake Ingredients
1 cup almond flour
1/4 cup coconut flour
1/4 cup 100% unsweetened cocoa powder
2 teaspoons baking powder
1/4 teaspoon salt
1/2 cup unsalted butter, softened
1/4 cup monkfruit blend sweetener
4 eggs
1/2 cup heavy cream
Sugar Free White Chocolate Cream Cheese Frosting Ingredients
8 oz cream cheese, softened
3/4 cups unsalted butter, softened
1 tablespoon vanilla extract
1 cup sugar-free white chocolate chips, melted
1 cup powdered erythritol
food coloring, optional
Step by Step Instructions
Step by Step Instructions
Preheat oven
Preheat the oven to 350 degrees. Grease two 6 inch cake pans with cooking spray and line the bottom with a circle of parchment paper. Set aside.
Combine dry ingredients
To a medium bowl, combine flours, cocoa powder, baking powder and salt. Set aside.
Cream wet ingredients
In a large bowl, cream the butter and sweetener until smooth and fluffy. Add in eggs and heavy cream. Mix until combined.
Add dry ingredients to wet ingredients
Slowly mix in dry ingredients into the wet ingredients using an electric mixer. Mix until fully combined.
Bake the cakes
Pour equal amounts of cake batter into the greased cake pans. Bake at 350 degrees for 17-22 minutes or until the cake has risen in the middle and is set. Remove from oven and let cool in the cake pan for 5-10 minutes before loosening the edges using a butter knife and flipping over onto a wire rack to cool further.
Prepare the frosting
In a large bowl, cream together cream cheese, butter and vanilla until smooth and fluffy. Pour in melted chocolate and mix until combined. Slowly add in the powder erythritol and mix until light and fluffy. Color with food coloring if using.
Make a heart shaped cake
To cut your cake into a heart shape, cut the bottom edges of the cake on both sides to form the bottom V shape of the heart. Move those cut piece to the top to form the M shape of the heart. Use frosting to glue these edges on.
Let's make a two-tiered cake
Spread a thick layer of frosting on the top of your heart cake. Repeat the method above with your second cake round and place on top to form a two tiered cake.
Crumb coat
Add a thin layer of frosting all around the side and sides of cake to form a crumb coat. Freeze for 15 minutes to let set.
Frost your heart out
Once the crumb coat is set, continue frosting your entire cake. Turn it into a conversation heart by piping a saying on the top.
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 Dutch process cocoa instead of regular cocoa powder?
I tested this swap and it works. Dutch process gives you a richer, less bitter chocolate flavor. The reason it's safe here is that my recipe uses baking powder, not baking soda, so the reduced acidity in Dutch process cocoa doesn't affect the rise. I actually prefer it now.
Can I make this cake ahead of time?
I bake the layers a day or two ahead and wrap them tightly in the fridge. Cold layers are easier to cut and stack into the heart shape. I frost the morning I plan to serve it. The assembled cake holds well in the fridge for up to 3 days, and the frosting actually tastes better after it firms up overnight.
Do I need a heart-shaped pan, or can I use round pans?
Round pans are all you need. I've been using two 6-inch rounds for years. You cut a V from the bottom of each layer and flip those pieces to the top to form the heart. The frosting glues it all together. I find this method more forgiving than a dedicated heart pan because you can adjust the proportions as you go.
Why is my cake still soft in the center after baking?
That's actually normal. I pull mine at 22 minutes even when the center still looks slightly underdone. It firms up as it cools. If you wait until the center looks fully set in the oven, the edges dry out. Give it a full 10 minutes in the pan before flipping onto a wire rack. If yours was truly liquid after cooling, add 3-5 minutes next time, but most of the time what looks underdone is just right.
Can I make this dairy-free?
I've tested this with coconut oil in place of butter and coconut cream instead of heavy cream. The cake layer works well either way. The frosting is trickier since cream cheese carries most of the texture. I'd use a firm dairy-free cream cheese alternative and make sure your coconut oil is solid, not melted, when you cream it. The chocolate flavor still comes through.
What should I pipe on top for a conversation heart look?
I tint the frosting with a drop of food coloring and pipe short phrases: BE MINE, XOXO, LOVE. My best tip is to sketch the letters with a toothpick first so you have guide lines. If piping isn't your thing, I've also dusted freeze-dried strawberry powder over the white frosting for a pink tint that looks great without any lettering at all.
What can I substitute for monkfruit blend sweetener?
I've used both erythritol and allulose in this cake. Erythritol gives a slightly cooler taste but works 1:1. Allulose browns more like sugar and keeps the crumb softer, which I prefer for this recipe. Stevia works too, but you'll need much less since it's concentrated. I'd start with half the amount and taste the batter before pouring.
How should I store leftovers?
I keep leftover slices in an airtight container in the fridge for up to 5 days. The cream cheese frosting actually improves after a night in the fridge. You can freeze individual slices too. I wrap each one in plastic wrap, then foil, and they keep for about a month. Let them thaw in the fridge overnight before serving.





Fourth batch. Started adding a half-teaspoon of instant espresso to the dry ingredients on batch two. Annie, the frosting is the part I kept expecting to improve on, but I've stopped trying. The espresso doesn't register as coffee, it just amplifies the cocoa.
Layer cakes were off my list for three years. Gummy center, frosting that wouldn't set. Made this on a Saturday with nothing riding on it. The dry ratio is different here, more cocoa, and the texture bakes clean. 4.2 net carbs. That number kept stopping me after the first slice. White chocolate cream cheese against the dark layers just works. I'm not filing this one away.
The cocoa ratio is what I spent the most time on with this one. Gummy center is where almost every almond flour cake goes wrong, and it took a lot of testing to get past it. Three years is a long time to write off a category, Josh.
Makes sense on the ratio. That's exactly where every other version I've tried falls apart.
Almost made something else for my friend's birthday because I couldn't picture an almond flour layer cake looking right on a proper dessert table. Brought this anyway, and the dark chocolate rounds with the white chocolate cream cheese between them came out looking more put-together than expected. The texture surprised me too, dense and fudgy where I thought it might crumble. The friend who bakes professionally spent a full minute on the frosting and then said 'okay what's actually in this' in that way where she's genuinely recalculating. Everyone else at the table treated it exactly like a regular birthday cake, which is really all you're asking for. Double batch next time.
That baker friend spending a full minute on it and still having to ask is what I was going for. Jennifer, getting that reaction at a proper dessert table is everything. Double batch is right.
That white chocolate frosting against the dark layers though. Gone.
Same every time. The cream cheese cuts the sweetness just enough that you can't stop.
Made a double batch of that frosting thinking I'd have leftovers. Gone before I even got the layers stacked.
Cut this into 8 slices and refrigerated the whole week. Still moist on day five, almond flour holds up way better than regular cake. Making this again soon.
Day five and still moist is better than most wheat cakes I've made. Almond flour carries enough fat that it just doesn't dry out the same way.
The frosting was half gone before I got to assembly. My daughter had been sneaking spoonfuls of the white chocolate cream cheese the whole time I was leveling the layers, so I ended up working with what was left for the crumb coat. She watched me plate it and her first question was whether we could make it for her birthday. I mean, yes, kid, obviously yes.
Double the frosting for the birthday batch. You already know what's going to happen.
Spread a thin layer of sugar-free raspberry preserves on the bottom layer before stacking. The tartness cuts through the white chocolate cream cheese frosting and keeps the whole thing from getting too heavy. About two tablespoons is enough. Not mandatory, but it's the version I keep coming back to.
Raspberry and white chocolate together and I've somehow never done this on the cake. Two tablespoons, filing that away for February.
I only have 8 inch rounds, so wondering if the batter still works or if the layers end up too thin to cut into that heart shape.
8-inch rounds will work but the layers spread thinner. More surface, less height. That makes the V cut more finicky since you want something to cut into. Two options: bake as-is and do shallower cuts (heart still reads, just flatter), or run 1.5x the batter if you want full height. Either way pull them earlier, closer to 18-19 minutes instead of 22. Thinner layers set faster. Refrigerate before you cut, I do this every time. Cold layers don't crumble.
Thought I was done with real chocolate cake after going keto, then I made this. The white chocolate cream cheese frosting hit so hard I had to just sit with it for a minute.
That pause is earned. The frosting contrast against the dark chocolate layers is exactly why this one stayed in the rotation. I've made it every February since 2018 and it still lands.
One thing I wish I had known the first time: let the cream cheese sit out for at least two hours, not just thirty minutes. Mine was still slightly cold and the frosting had little lumps I couldn't beat out no matter how long I ran the mixer. Second attempt with fully softened cream cheese and it came together so smooth, completely different texture. I also tried powdered erythritol instead of the monkfruit blend in the frosting and it dissolved better, zero grittiness at all.
Powdered erythritol does dissolve cleaner in the frosting. I usually reach for the monkfruit blend but gritty frosting is a dealbreaker. Worth the swap.
Third time making this and switched to Dutch-process cocoa for the cake layers. The difference is real. Darker, more intense, and the white chocolate cream cheese frosting goes from good to embarrassingly good next to it. Not waiting until February next year.
That frosting contrast is so much more obvious with Dutch process. Good call not saving it for February.
First time making a keto cake and I honestly did not think the almond flour layers would hold when I cut it, but they did (mine came out a bit dense, though the cream cheese frosting made up for it).
Dense usually means cold eggs. Room temp matters more than you'd think with almond flour, it's how the fat emulsifies into the batter and gives you lift.
Pull your cream cheese out at least two hours before you start, not just one. I rushed it the first time and the frosting had tiny lumps no matter how long I beat it, which was frustrating on something this pretty. Fully softened, it whips into this smooth, glossy consistency that spreads beautifully over the chocolate layers. I also stirred a splash of vanilla into the white chocolate frosting and it balanced the sweetness really nicely against the cocoa in the cake.
Cold cream cheese lumps no matter how long you beat it. Two hours is honest. Vanilla in the white chocolate frosting is a good call, that sweetness needs something.
I substituted Dutch-process cocoa for the unsweetened and the layers came out so much richer and darker than I expected. The white chocolate cream cheese frosting balanced it out, which genuinely surprised me. I still want to try it as written to see what I was missing, but this was a satisfying first attempt at a keto cake.
Dutch process is safe here since the leavening is baking powder, not baking soda. The darker color is a side effect I like. Curious if the original wins you back.
Dark chocolate layers were solid. Cream cheese frosting was tangy in a way I wasn't expecting (good surprise), but I'd dial back the monkfruit a touch. Came out sweet even for a dessert. Making it again for Easter.
Monkfruit does run sweet. Drop it by a tablespoon in the frosting and see how that lands. The tang is the cream cheese, that's just how that ratio works, and I like it there.