Keto German Chocolate Cake
This post may contain affiliate links. See my disclosure policy.
My keto German chocolate cake recipe features two layers of moist chocolate cake, enveloped in sheets of gooey coconut-pecan frosting. It’s a delicious twist on classic chocolate cake and only 3 grams of net carbs.

I love surprising my family with a tiered cake every now and then. It makes the day feel special and allows us to indulge in our sweet tooth. When I want a keto chocolate cake with a little something extra, I make my sugar-free German chocolate cake.
What sets German chocolate cake apart is the sticky coconut-pecan filling. I took my mom’s recipe, swapped the sugar for allulose, and thickened the filling with a little xanthan gum so it stays perfectly gooey without being runny.
The result is a rich, moist chocolate cake with layers of caramel-like coconut-pecan filling that no one would believe is low in carbs.
Table of Contents
Recipe highlights
- Moist, rich, and gooey. Every bite has fluffy chocolate cake, caramel-like coconut filling, and crunchy pecans.
- Naturally gluten-free. Almond flour keeps the cake tender and moist while making it grain free.
- Easier than it looks. Layer cakes can seem intimidating, but this one comes together just like any frosted cake- the filling simply takes the place of a traditional frosting.
Key Ingredients
Here’s what you’ll need, along with my kitchen notes. Full measurements are in the recipe card below.
- Almond flour. I prefer blanched almond flour for cakes as it yields a lighter crumb than almond meal.
- Cocoa powder. I used Dutch-processed unsweetened cocoa powder. For a richer, darker flavor, I sometimes use black cocoa powder.
- Baking soda and salt.
- Butter. Unsalted and softened to room temperature. This makes it easier to mix into the cake batter.
- Eggs. Room temperature eggs are best.
- Liquid stevia. For sweetness. Double-check you’re using liquid stevia specifically made for baking, as I’ve found that some brands lose flavor at high temperatures.
- Vanilla extract.
For the German chocolate frosting:
- Evaporated milk. This is essentially a sugar-free version of condensed milk. You could also make my homemade sugar-free condensed milk, but skip the added sweetener in my frosting recipe.
- Xanthan gum. Thickens the filling without needing cornstarch. Please be careful when measuring this out, as even a little bit extra can throw off the other ingredients.
- Butter. I like using salted butter here, as it amplifies the sweet flavors. If you only have unsalted, add a tiny pinch of salt.
- Granulated sweetener. I used allulose because it dissolves like sugar, but I also had luck with monk fruit sweetener.
- Egg yolks. Gives the filling a gooey texture.
- Pecans. Roughly chopped and unsalted pecans.
- Shredded coconut. Make sure it’s unsweetened. The larger the flakes, the thicker the frosting.
- Vanilla extract.
How to make keto German chocolate cake
Step 1- Prep work. Preheat the oven and grease 2 springform pans.
Step 2- Mix the cake batter. Combine the dry ingredients in one bowl and the wet ingredients in another bowl. Gently whisk the dry ingredients into the wet until you have a thick batter.
Step 3- Bake. Pour the mixture into the cake pans and bake until a toothpick comes out mostly clean. Let them cool before frosting.
Step 4- Make the frosting. Combine evaporated milk and xanthan gum in a saucepan. Whisk in the sweetener, egg, butter, and vanilla, and stir until it thickens. Remove the pan from the heat and stir in the pecans and coconut.
Step 5- Assemble. Once the cake has completely cooled, place one cake on a platter and spread in half the frosting. Add the second cake layer and cover in the remaining frosting. Refrigerate until firm.

Arman’s tips and variations
- Let the cakes cool completely. If the layers are even slightly warm, the coconut-pecan filling will soften and slide off rather than stay neatly between the layers.
- Prefer a smoother filling? Use finely-shredded (macaroon-style) coconut instead of long coconut flakes. I do this when I make it for my partner who ‘hates large coconut chunks’ (seriously).
- Making a smaller cake? Halve the recipe and bake it as a single-layer cake.
- Enhance the chocolate flavor. Add a shot of espresso! Don’t worry; you won’t be able to taste it, but it’ll make the cake taste richer.
- Enhance the coconut flavor. Swap the evaporated milk for full-fat coconut cream (just the solid part; discard the liquid).
Frequently asked questions
I wouldn’t recommend using coconut flour as it’s more absorbent than almond flour and would change the texture. If you want to use coconut flour, make my coconut flour chocolate cake with low-carb substitutes.
Yes! In fact, I think it’s even better after it’s had a few hours (or overnight) in the fridge. The coconut-pecan filling has time to firm up, making the cake easier to slice and allowing the flavors to meld.
I’ve had many readers ask if they can replace the liquid stevia for a granulated sweetener and unfortunately, for the cake layer, it’s not possible. Substituting it would require more liquid ingredients added. An alternative is to make my almond flour chocolate cake and add the coconut-pecan filling to that instead.


Keto German Chocolate Cake
Ingredients
- 2 cups almond flour 224g
- 1 cup cocoa powder 85g
- 1 teaspoon baking soda
- 1 cup butter softened, 225g
- 8 large eggs
- 1 tablespoon liquid stevia * See notes
- 1 teaspoon vanilla extract
- 1/2 teaspoon salt
For the frosting
- 2 cups evaporated milk 480mL
- 2 teaspoon xanthan gum 5g
- 2 cups allulose 400g
- 6 egg yolks
- 1 cup butter 225g
- 1 teaspoon vanilla extract
- 2 cups shredded unsweetened coconut 160g
- 2 cups pecans roughly chopped, 220g
Instructions
- Preheat the oven to 180C/350F. Grease and line two 8-inch springform cake pans and set aside.
- In a large mixing bowl, add your dry ingredients and mix well. In a separate bowl, whisk together the butter, eggs, stevia, and vanilla extract, until combined. Gently fold through the dry ingredients into the wet until a thick batter remains.
- Distribute the cake batter evenly amongst the two greased pans. Bake for 25-28 minutes, or until a skewer comes out mostly clean. Remove from the oven and let the cakes cool in the pans completely. While the cakes are cooling, prepare the frosting.
- In a small saucepan, add the evaporated milk and xanthan gum and mix well. Add the sweetener, egg yolks, butter, and vanilla extract and bring to a simmer. Once it begins to simmer, stir the mixture regularly, until it begins to boil and thicken. Once it is thick, remove it from the heat. Stir through the coconut and pecans. Let the frosting cool for at least an hour, or until room temperature.
- Place one of the cooled cakes onto a flat surface. Spread a layer of the frosting, before adding the second cake on top. Spread the remaining frosting all over and around it, before refrigerating for 30 minutes, to firm up.
Notes
Nutrition
More impressive keto cake recipes
Originally published February 2021














Is there a recipe for Keto evaporated milk
Hi Diane, I have a recipe for sugar-free condensed milk, so if you omit the sweetener from this, you’ll end up with keto evaporated milk 🙂 Hope this helps!
definietly going to try this!!!!!!!!
Please do, and let me know how you go! 🙂
Arman, Thanks for this great recipe and all of your others! Need your help though. I don’t tolerate Allulose (or Monkfruit) unfortunately, sends many of us to the bathroom. Can you recommend a replacement? Would a 1:1 Erythritol & Stevia granular work? Or even Splenda Stevia which is .5:1 (worried about volume)? Or Swerve confectioners (which doesn’t have Allulose in it yet)? It’s getting too expensive to experiment. I’d appreciate a quick reply so I can make this for Valentine’s Day 2/14/2026. Thank you!
Hi there! I would think the easiest substitution for the allulose in the frosting would be Swerve Confectioners, as it will be closer to a 1:1 swap. The texture should very similar but it may get a little firmer once chilled. Hope this helps and I hope you have a great Valentine’s day.
I have made this recipe for my husband’s birthday for the past three years. It is perfect for people who are following aKeto diet!
That’s so nice to hear! It truly is a delicious cake. Thanks for taking the time to provide some feedback.
Well my boyfriend became diabetic so life changed. This is a fine cake recipe with the changes I made being the cake I added chocolate protein powder and the espresso the frosting i used the coconut cream and unflavored geliton. This my first time making a German chocolate cake in my life so so far so good 👍
Hi Terri, thanks for sharing these alterations and I’m glad you’ve found some success with this recipe!
Can you sub allulose for the liquid stevia in this recipe for the cake?
I don’t recommend it- the liquid and dry volume is not interchangable.
Getting ready to try this recipe but will be using granulated or powdered allulose/monkfruit sweetener for the cake. I am correct I would substitute 2 cups of the granular to replace the liquid stevia? Any other changes needed to accommodate the added bulk?
Hi Bob, I would start with just 2/3 to 1 cup of sweetener, depending on what you’re using as you don’t want to overpower the cake base. If the batter looks loose/runny you can add another tablespoon or 2 of almond flour to help balance it out. Let us know how you go 🙂
I used coconut flour and it didn’t work. Why?
Hi Claire- I don’t recommend using coconut flour in this recipe. It only works successfully with almond flour. Coconut flour would need a completely different make-up of ingredients to compensate for it’s super absorbent texture. I’d stick with the original recipe.
The icing is fine. I guess if you’re just using the cake as a vehicle for the icing, maybe you won’t notice how bad the cake is. But, it’s really bad. Inedible on its own. Not sweet, not fluffy, not even chocolatey. Just takes like bitter, greasy dense sponge. Look elsewhere for a better recipe. Very disappointed.
Hi CJ- I’m sorry to hear that you didn’t enjoy the cake. I’m wondering if it was the liquid stevia you used, as if you found it not sweet and dry, it comes down to that, as the other ingredients all contribute to a moist and rich cake. If you let me know the brand I can troubleshoot for you.
Help! I am trying to make this today and in the main section, you mention to add salt to bring out the sweetness, but you don’t include an amount. Thanks. I am going to wing it now, but in case I mess it up, how much salt goes into the cake?
Hi Lisa, half a teaspoon is plenty to deepen the chocolate flavor 🙂 Hope this helps!
German Chocolate Cake is my favorite! I started the Keto diet and was thinking I wouldn’t get to eat my favorite cake for my birthday. My daughter found this recipe and surprised me. It was AMAZING!!! Everyone loved it! I have made several keto cakes that were very disappointing. Just about gave up ever having a good tasting cake again. This one will not disappoint!!!
OMG!! German chocolate cake was always what I picked for my birthday cake when I was a youngster!!! My mom would always let us choose and that was always my choice! I haven’t had it in YEARS and I am so excited to try this keto recipe! Thank you!
Let us know how you go!
Can you replace the liquid stevia with liquid allulose? And is there anything that can substitute the egg yolks in the frosting?
No, there is not for the egg yolks Laura. You’ll need to adjust the liquid allulose ratio as liquid stevia is wsy more potent 🙂
Hello
Thank you for sharing.
Can I use evaporated coconut milk instead?
Yes, Stacey- that should work fine.
Made this for my son’s 37th birthday today. It’s incredible! Thank you for you hard work in creating this!
Made this for my son’s 37th birthday today. It’s inedible! Thank you for you hard work in creating this!
I am allergic to stevia – I see you state that it is replacing 2 c of sweetener- do you think I could try coconut sugar instead? Ideas for how much to substitute? Thank you
Yes that should be fine- try 1 cup.
Could I use agar agar in place of of the Xanthan gum?
Hi Jes- I haven’t tried it for this cake, but I’ve worked with both before, and find agar agar better for puddings and mousses over something like a thickening agent for the filling. I’d stick with xanthan if you can.
Wasnt impressed…..baked for the allotted time and it came out dry. Salt– Brings out the sweetness of all the ingredients…….No salt in this recipe, not sure why that was listed even. The Xantham gum clogged up a lot when mixing it with the heavy cream, will try to dissolve that another way next time.
Hi Teri! Sorry to hear that. If the cake came out dry, I wonder if you overbaked the cakes? Almond flour does bake quicker than traditional white or AP flour. There is salt listed in the ingredients.
The xanthan gum should be completely mixed in- if it clogged, it sounds like it’s the brand used and perhaps could have benefited from it being sifted (if it was clumping beforehand).
Hi, would it work to use coconut flour instead of almond flour? I find your recipe interesting and looks like a great alternative to the sugar-loaded traditional German cake recipe. Thanks!
Not for this- you can’t swap out almomnd flour with coconut flour. It’s not an equal swap
I used to make German Chocolate Cake with my Grandma, and it was so good, but not so good for us. I can’t wait to make this Keto version because I love German Chocolate Cake..
Thank You!
Excellent. Moist and delicious. Used Allulose for sweetener.
Thanks for the wonderful review, Ray. I love that you used allulose- it’s my go-to sweetener.
Hello, Can I use coconut oil instead of butter?
Hi Kim! You can for the frosting, but I wouldn’t for the cake itself. It would turn out way too greasy, and not moist or fluffy.
Hi. I want to try this recipe but can I replace the Stevia with a sugar free sugar? If so how much of the sugar free sugar should I add?
Thanks
Hi Lisa- you’d need to use two full cups of sweetener to replicate what the liquid stevia does. Saying that, you’d also need to add extra liquid to make it pourable. I would stick with liquid stevia if you can.
How many servings does this make? I love all the nutrition info but trying to determine how large 1 serving is.
Delicious! I did not deviate from the original recipe and it turned out amazing!
So wonderful to hear! I’m so glad you enjoyed this one and thanks for taking the time to leave some feedback 🙂
We enjoy your recipes.
However several members now need to eat dairy free. Can we sub full fat coconut milk for the evaporated milk? Any other ideas? Thanks!
Hi Robinda! yes, that is absolutely fine to use. That, or full-fat coconut cream.
I made this today for my m-i-l’s birthday. She is Keto. I was worried about the final product, because the cake batter was not sweet. The cake with the frosting was delicious though. The sweetness of the frosting paired nicely with the cake. It was a hit. Thank you!
So is there a substitute for evaporate milk. Can I use unsweetened coconut milk
Hi Tina- i’d go with half and half or heavy cream. Unsweetened coconut milk, unless it’s canned, will be too thin 🙂
8 eggs just for the cake. Is that right?
Correct.
What brand of liquid stevia did you use?
Hi Natalie- I used NOW foods. Most liquid stevia brands should work, but the total amount used should replace two full cups of sugar.
Could you tell me the weight of 2 cups of almond flour? Thanks
Hi Patsy- yes, I did retest this recipe to give accurate metric measurements. For the almond flour, it’s 228 grams.
This cake is absolutely phenomenal, the frosting takes it over-the-top, so delicious! I made it in a 10 inch spring-form pan and cut it in half for the two layers, worked wonderfully!
I love that, Meredith. I’m so glad you enjoyed this recipe. The frosting really is the star isn’t it- I just borrowed mom’s recipe (for her OG German cake, definitely not keto) and made keto swaps.
I baked the cakes on 350 and it took 35 minutes before they were done. Is that correct? The recipe says 18 to 20 minutes.
Hi Tami- yes, that is correct, I’ve retested the cakes and the cooking time is closer to 25-28. Some ovens would need up to 35 minutes so you are all good!
Can this cake be frozen and thawed for use in a week or so and can the frosting be made and refrigerated and brought back to room temperature for use?
Hmmm, yes I think so Katherine. When storing the cake, wrap it super tightly in plastic wrap to prevent any moisture entering it.
Can you substitute evaporated milk for almond milk or HWC?
My entire family is still raving about this cake. Going to make it again today!
I’m planning on making this recipe for a birthday dinner. I have a question about the softened butter mixing with the other liquid ingredients.
Shouldn’t the butter be melted if we’re whisking the liquid ingredients until combined? Are we looking to have a smooth liquid mixture or are we supposed to have little lumps of butter before adding the dry ingredients?
Softened butter won’t combine completely with liquid ingredients unless it’s been creamed with sugar first. I bake often but I’m inexperienced with keto and low carb baking. I want to make sure I’m getting it right.
Hi Samantha! The butter should be softened, not melted. When you whisk it with the eggs and other wet ingredients, it probably won’t become completely smooth. You may still see small bits or flecks of butter, and that is normal. Once you add the dry ingredients and mix everything together, the batter will come together.
In testing, melted butter actually caused a change in the texture of the finished cake. As long as your butter is very soft, you’re on the right track.
I made the cake n frosting. It’s a very good keto cake!
Did you try monk fruit sweetener? I hate Stevia! Let me know if you tried monk sweetener. (-: Thanks!
Hi Sandra- I don’t recommend it for this cake (unless it’s the filling). The cake bakes best with stevia because it only needs a small amount to provide ample sweetness without changing the other ingredients. Have you tried Now Foods liquid stevia? It doesn’t have any strange aftertastes.
Can you use Himalayan salt in this recipe or does it have to be regular table salt?
I don’t see why not, Cassandra. Himalayan salt isn’t more concentrated that table salt, so it’s an equal salt. If it’s larger flakes, just crush them down as best you can.
I made your German Chocolate Cake recipe–the first time making a German Chocolate Cake ever–for my husband’s birthday, and it was a hit with him and my daughter. Thank you for this delicious, no sugar, and practically no carbs recipe. The only thing I changed was the sweeteners because I did not have liquid stevia or granulated sugar-free sweeteners. I used two cups of Erythritol and Monk Fruit Powder in both the cake batter and in the frosting. Delicious! Winner. 5 stars.
Thank you, Brenda!
I made this cake. Loved the topping & the texture/moisture of the cake. I’m not a fan of stevia so if I want to use monk fruit or another granulated sweetener, do I need to adjust the recipe since I’m not using liquid stevia?
Hi Kimberly- I’d avoid it for this cake. The reason for this is that using a granulated sweetener would greatly affect the other ingredients and be quite dry. I would suggest making my almond flour chocolate cake instead, and then make this coconut-pecan filling.
Hi Arman..I seem to have been coming across many if your recipes and my family 👪 really enjoys them. Thank you. I am now signing up for special recipes from your blog. You have done a great job. Look forward now of receiving many of new recipes. Have a great day/evening and be safe. Paige
Thanks so much, Paige- I appreciate your readership and kind words.
Can liquid Allulose be used instead of Stevia?
Hi Sharon- not for this recipe. Liquid allulose requires a significant amount more to replace the amount of sugar needed (2 cups). Liquid stevia only needs one tablespoon to impart enough sweetness.
Can I replace Stevia with more monk fruit sweetner
I haven’t tried.
I’m so excited to make this cake! I’m super nervous about liquid stevia though- bad relationship lol. Which product do you use and how much is equivalent to two cups?
Hi Fawn- oh I hear you. I’ve tested so many liquid stevia brands over the years and some are shocking- metallic, butter taste. I use Now Foods which I find doesn’t leave any strange flavors. It’s what I tested this cake with and what makes it taste like real sugar.
Just made this tonight.. and i may have bombed the icing… mine has more of a texture of pudding… not sure what i did wrong… i did double the recipe… doubled the icing… maybe thats why?
Hi Jerri- doubling it wouldn’t affect the texture. Did you add xanthan gum correctly? That is what thickens it beautifully.
Hi! Love the look of this wonderful recipe. Do you think coconut flour would work too?
Hi Zi- no coconut flour won’t work for this cake. You could make my coconut flour chocolate cake instead and just add the pecan topping to it.
Hi there! Absolutely love your blog! Did you make your own evaporated milk for this recipe? If so, can you please share? If not, what did you use?
Thank you!
Hi Melanie! I used canned evaporated milk 🙂
Can I bake this cake in an oblong pan? What size and time would you recommend?
Never tried that! Feel free to experiment and see 🙂
Love your recipes! Can egg substitute be used in place of eggs in German Chocolate Cake. Thank you!!
Not for this recipe. You can make my vegan German chocolate cake instead- https://thebigmansworld.com/vegan-german-chocolate-cake/