Keto Valentines Day Cake

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published February 11, 2021 • Updated February 28, 2026

Reader Rating
4.8 Stars (5 Reviews)

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.

Youtube
639K+ 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

Keto Valentines Day Cake

4.8 (5) Prep 40m Cook 20m Total 60m 8 servings

Sugar Free Keto Chocolate Cake Ingredients

Sugar Free White Chocolate Cream Cheese Frosting Ingredients

Step by Step Instructions

Step by Step Instructions

1
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.

a small cake pan with a parchment circle inside
2
Combine dry ingredients

To a medium bowl, combine flours, cocoa powder, baking powder and salt. Set aside.

stirring chocolate dry ingredients with a whisk
3
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.

mixing wet ingredients in a bowl
4
Add dry ingredients to wet ingredients

Slowly mix in dry ingredients into the wet ingredients using an electric mixer. Mix until fully combined.

chocolate cake batter with hearts around it
5
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.

two round chocolate cakes on a wire rack
6
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.

mixing pink frosting with a mixer
7
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.

making a heart shaped cake from a round cake
8
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.

spreading pink frosting on a chocolate cake with a spatula
9
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.

heart shaped cake on a cake stand with a thin coat of frosting
10
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.

piping frosting around the edges of a cake
Nutrition Per Serving
522 Calories
49g Fat
8g Protein
4.2g Net Carbs
14.4g Total Carbs
8 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.

Keto Valentines Day Cake

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.

Similar Recipes

Others looking for “Keto Valentines Day Cake” also liked:

Keto Chocolate Heart Cake

a conversation heart shaped cake with hugs and kisses written on it

With Valentine’s Day around the corner, I wanted to share this chocolate heart cake that I make for my family every year.

Rich dark chocolate on the inside, creamy white chocolate cream cheese frosting on the outside. The almond flour base keeps it light and fluffy while staying low carb, and the whole thing comes together in two 6-inch round pans you already own. No specialty heart mold required.

If you’ve tried my keto chocolate trifle, you know I like layering chocolate with cream. This takes that same idea and turns it into something you can bring to the table as a centerpiece.

a slice of cake taken out of a chocolate cake

Why Dark Chocolate Works Here

For the cake, I use 100% unsweetened cocoa powder. No added sugars, minimal carbs. If you want to push the chocolate flavor further, Dutch process cocoa is the upgrade. It’s less bitter and gives a richer, deeper chocolate. I tested the swap and it works cleanly because this recipe uses baking powder, not baking soda, so the acid balance isn’t disturbed.

For the white chocolate frosting, go with a sugar-free brand like ChocZero or Lily’s. Dark chocolate also packs fiber, potassium, and antioxidants, so you’re getting something back beyond flavor. If you like chocolate cakes, my keto sauerkraut chocolate cake is another one worth trying (sounds weird, tastes incredible).

piping white frosting stars along a cake

The Frosting That Holds Everything Together

The frosting is simple: cream cheese, unsalted butter, vanilla, melted sugar-free white chocolate, and powdered erythritol. Whip it all together and you’re done. It’s sweet and creamy but firm enough to act as structural glue for the heart shape.

I use this same cream cheese frosting base on my keto spice cake, just without the white chocolate. The technique is identical: cream the butter and cream cheese first, then fold in the melted chocolate last so it doesn’t seize.

cutting the edges off a chocolate cake

How to Shape a Heart (No Special Pan)

I use two 6-inch round cake pans for this. Once baked and cooled, you cut a V-shape from the bottom of each layer, then flip those cut pieces to the top to form the rounded humps of the heart. The frosting holds the pieces in place.

Most recipes say you need a heart-shaped pan. You don’t. I’ve been doing it this way for years with equipment every home baker already owns. Even if your cuts are a little uneven, the crumb coat and final frosting layer smooth everything out. That’s the whole point of the two-coat method.

conversation heart cake with xoxo on it
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
holding a spoonful of fluffy jello dessert over a bowl of pink creamy pudding
5 Mins
Jello Whip
4.8 Stars (5 Reviews)

Jello whip is a fluffy, 3-ingredient keto dessert I make when I want something sweet in under 5 minutes. Whipped cream cheese, heavy cream, and sugar...

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 (26 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
creamy chocolate mousse in a small dish topped with sprinkles and strawberries
3 Mins
Keto Chocolate Mousse
4.9 Stars (13 Reviews)

When a chocolate craving hits, this 3-ingredient mousse saves the day. No cooking, no eggs, and I can have it ready in under 10 minutes.

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 Stars (2 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.8 Stars (26 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
Reviews 10
4.8 Stars (5 Reviews)
  1. D
    Denise Mar 7, 2026

    Keto chocolate cakes usually come out dense in the wrong way, more brownie than cake. This one actually held together in layers when I cut it. Didn't expect that from almond and coconut flour. The white chocolate cream cheese frosting alone makes it worth making. I'd go a little heavier on sweetener next time, but that's just me.

  2. D
    Dana Mar 2, 2026

    If your cream cheese isn't fully at room temperature, the white chocolate frosting will have grainy streaks that no amount of beating will fix. I pull mine out two hours before I start, not the usual 30 minutes. Also: run a thin knife around the 6-inch pan edges before releasing the layers. Lost my first one by skipping that step.

  3. M
    Mei X. Feb 22, 2026

    Swapped in Dutch-process cocoa and the chocolate flavor came out noticeably richer. Worth it if you keep it on hand.

    1. Annie Lampella
      Annie Lampella Feb 22, 2026

      Dutch process is a good call here. Less bitter, more chocolate. This one uses baking powder so the swap doesn't mess with anything.

  4. S
    Stephanie Feb 20, 2026

    I almost skipped this because every coconut flour dessert I've tried turns into a dry brick. Not this one. The crumb is actually soft, and the cocoa comes through without tasting like a protein bar.

    1. Annie Lampella
      Annie Lampella Feb 20, 2026

      Yeah it's mostly almond flour, the coconut is just 1/4 cup. That ratio is what keeps it from going brick. Pure coconut flour cakes are brutal.

  5. C
    Camila Feb 17, 2026

    Pull these out at 22 minutes even if the center looks barely set -- they firm up as they cool. Waiting the full 25 and the edges get dry before the frosting can do anything about it. The cream cheese layer is forgiving but the cake isn't.

    1. Annie Lampella
      Annie Lampella Feb 17, 2026

      22 minutes is the sweet spot for me too. The cream cheese frosting can only do so much if the edges are already toast.

  6. S
    Sarah Feb 14, 2026

    Good but needed an extra 5 min in the oven, center was still soft

    1. Annie Lampella
      Annie Lampella Feb 16, 2026

      Yeah chocolate cakes are tricky, the center should still look slightly underdone when you pull it. It firms up as it cools. But if yours was still soft after that, go the full 40 min next time.

Leave a Review