This is the ultimate keto chocolate cake recipe! It’s moist and rich, with a deep chocolate flavor and perfect texture. Dairy free options too.
You want the best keto chocolate cake? Okay fine, you asked for it! At the request of many readers, I am finally sharing the chocolate cake from The Ultimate Guide to Keto Baking.
This is the recipe that people rave about most after they purchase my book. This is the keto chocolate cake that wins everyone over, even the harshest keto critics.
This is the chocolate cake that no one can believe is low carb, sugar-free, and even dairy-free.
The secret to its fabulosity? Mayonnaise! Read on to find out more.
The Ultimate Keto Chocolate Cake
I have developed any number of low carb chocolate cake recipes in my day. There are so many wonderful ways to make it, all with little variations. Like Keto Texas Sheet Cake, or my low carb Slow Cooker Chocolate Cake.
But sometimes you want just want the classics. And what’s more classic than a moist two layer chocolate cake with creamy chocolate frosting?
When I wrote my book, I aimed for a good mix of both the classics and more unique recipes. I wanted to show people how amazing and versatile keto baking really can be. And I flatter myself that I achieved that goal.
So creating a really good keto chocolate cake was of the utmost importance. You can’t have a baking book that calls itself “The Ultimate Guide” without that, now can you?
But the response to this cake blew my mind. My readers and fans have gone nuts for it, have shared it with friends and family, and have sung its praises far and wide. And for that I am ever so grateful.
How to make Keto Chocolate Mayonnaise Cake
Don’t be intimidated by this cake, as it’s actually quite easy to make. Be sure to check out the video in my recipe card for all the tips and tricks!
Grease and line your cake pans
Grease two 8 inch cake pans and then line them with parchment paper circles. You can buy pre-cut circles like these ones (very useful!), or you can simply cut them out yourself. This helps keep your cake from sticking, no matter how good, or not, your cake pans are.
Whisk the dry ingredients
This is an almond-flour based recipe, but you can try substituting sunflower seed flour if you need to be nut free. And the espresso powder is optional, but it does help deepen the chocolate flavor. I promise it won’t taste like coffee in the end.
Stir in the mayonnaise
Mayonnaise takes the place of butter and creates an unbelievably moist cake. It also makes the cake easier than many, because there is no need to cream the fat with the sweetener. One less step and one less bowl to clean!
Whisk in the other wet ingredients
The only other additions are eggs, water, and vanilla. Because it’s made with mayonnaise, this keto chocolate cake it totally dairy free.
Bake until just firm
Baking is said to be a science, but knowing when your cakes are done is more of an art, in my opinion. Every oven is different, and that’s why my recipes give you a range of bake time.
Tactile and visual cues are much more accurate. So in this case, you want the cake to feel firm to the touch, and spring back when lightly pressed.
How to frost keto chocolate cake
You have lots of options here and you are not limited to the dairy free frosting recipe I included. The sky’s the limit! Here are some other delicious ideas:
- Best Keto Chocolate Frosting
- Keto Swiss Meringue Buttercream
- Chantilly Cream Frosting
- Sugar Free Peanut Butter Frosting
- Caramel Frosting (you will need to make 1.5 times the amount for a two layer cake).
- Cookies and Cream Frosting
Can you make keto chocolate cake in advance?
This is a great recipe for making ahead by a day or two. I think keto frosting are always best fresh, so I recommend making the cakes and frosting it on the day you plan to serve it.
The cake layers can be frozen, tightly wrapped, for up to 3 months. You can also freeze the finished cake, but the frosting may change consistency somewhat after it thaws.
More amazing keto cake recipes
- Keto Black Forest Cake
- Brownie Bottom Keto Cheesecake
- Cinnamon Walnut Coffee Cake
- Keto Devil’s Food Cake
- The Best Coconut Flour Cupcakes
Keto Chocolate Cake
Ingredients
Cake
- 2 cups almond flour
- ¾ cup Swerve Sweetener
- ⅔ cup cocoa powder
- 1 tablespoon baking powder
- 1 teaspoon espresso powder (optional)
- ½ teaspoon salt
- 1 cup mayonnaise
- 3 large eggs
- ⅓ cup water
- 1 teaspoon vanilla extract
Dairy Free Chocolate Frosting
- 2 ounces unsweetened chocolate chopped
- ¾ cup plus 1 tbsp coconut oil divided
- 4 ounces dairy free cream cheese softened
- 1 cup powdered Swerve Sweetener
- 1 teaspoon vanilla extract
- ⅓ to ½ cup full fat coconut milk
Instructions
- Preheat the oven to 350F and grease two 8-inch round cake pans. Line the bottoms of the pans with parchment and grease the parchment.
- In a large bowl, whisk together the almond flour, sweetener, cocoa powder, baking powder, espresso powder, and salt.
- Stir in the mayonnaise, eggs, water, and vanilla extract until well combined. Divide the batter evenly between the prepared pans and spread to the edges and smooth the tops.
- Bake 20 to 25 minutes, until the cakes are just firm to the touch. Remove from the oven and let cool in the pans for at least 20 minutes, then flip out onto a wire rack to cool completely. Peel off the parchment paper.
Dairy Free Frosting
- Place the chocolate and 1 tablespoon of the coconut oil in a microwave safe bowl. Melt on high in 30 second increments, stirring in between, until smooth. Allow to cool to lukewarm. Alternatively, you can melt in a heatproof bowl over a pan of barely simmering water.
- Place the remaining coconut oil in a large bowl. If it is very hard, microwave it for 15 seconds or so. It should be softe enough to beat without being melted. Add the cream cheese and beat until smooth. Add the sweetener and vanilla extract and beat until well combined.
- Drizzle in the melted chocolate and beat again until smooth. Add the coconut milk a few tablespoons at a time until a spreadable consistency is achieved.
To assemble
- Place one layer of cake on a large plate or cake platter. Top with one third of the frosting, spreading to the edges.
- Gently place the second layer of cake on top and spread the top with another third of the frosting.
- Spread the the sides with the remaining frosting.
Kate says
I just made this cake for the first time today. It didn’t rise at all. What did I do wrong? I didn’t leave out the baking powder, so I don’t know what else could caused the problem. It doesn’t look like it rose and then fell. Just never rose in the first place.
Carolyn says
Then something went seriously wrong. How old is your baking powder? Keto cakes don’t rise quite as much as regular ones but they do rise when made properly.
Christine says
I want to make this cake today, just checking if I can use the Woolies Carb Clever mayonnaise. It is a genuine Keto product, but it is tangy mayonnaise and concerned it might alter the flavour of the cake. Any advise will be appreciated. Thanks
Carolyn says
I’ve never heard of it. As long as it’s mayo, it should be fine but if it has a strong flavor, I can’t say what will happen.
Holli says
Hi Carolyn, would it work to use melted butter instead of coc. Oil and also would hvy. Cream work instead of full fat coc. Milk? I don’t mind those ingredients myself but my family is picky! Thank you for your recipes (: I have a new addiction to try new recipes.
Carolyn says
I assume you mean for the frosting, since the cake doesn’t have those ingredients. Please see the section entitled “How to frost…” as I give you a number of other options.
Lorraine Rowe says
I’ve made this in the past from your Ultimate Guide to Keto Baking … both the recipe and the book are FABULOUS !!!! So, now for my request … I read your emails every single day, without fail, and usually print off at least one of the posted recipe. The recent change to the large green banner is eye catching however it uses a LOT of ink for those of us who still like to have paper copies of recipes. Is there a way to exclude it from the recipes cards?
Thank you so much Carolyn, for all you are doing and sharing to help us all be healthier and happier !
Lorraine
Carolyn says
Hi Lorraine, I can look into it. Not sure if it’s something I can do quickly (may need some tech help) so for now, can you just switch your print settings to do black and white only?
Carolyn says
Well would you look at that! I actually found the right thing to switch it to a simpler print version without messing up the card on my site! Should be all set now… 🙂
Michelle Ross says
Bless You!
Michelle
Beckie Hopkins says
Hi, I am allergic to almonds and never know which flour to use to replace almond flour. Suggestions?
Thanks!
Trena says
There’s alternatives listed in the blurb
Carolyn says
Sunflower seed flour would be good.
Michael says
Yes, this is THE BEST Keto Chocolate cake recipe. My entire non-keto, non-diabetic family LOVE this cake. Even the ones who do not like mayonnaise LOVE this cake. It has become my “go to” cake for just about every occasion.
April says
Mayo is the BEST secret ingredient for chocolate cakes. I can’t believe this is keto, too!
Andrea Thueson says
This was by far the best Keto cake recipe I have tried. It had the best flavor and texture.
katerina @ diethood.com says
Oh my goodness, this Keto Chocolate Cake sounds AMAZING! I can’t wait to give it a try!
Lori huhn says
Cupcakes?
Lisa says
Help! I live on the island of Cyprus- no Swerve to be found here! I want to make this for my 60th birthday cake- can I substitute stevia instead, because I don’t do sugar. Thanks!
Carolyn says
Stevia and chocolate together is often very bitter. Plus you need a bulk powdered sweetener for the frosting and I don’t think there are any stevia versions of that. Sorry! Wish I could help more.
Marcia says
You could use erythritol, xylitol and some stevia mixed together to get a similar result. 1c Erythritol, 1C of xylitol and 1 Tsp of Now brand Better Stevia. Mix well and then measure the amount of sweetener for your cake. That is what I used, and it came out awesome!
LIRAZ says
HI CAN I MAKE THE CAKE WITH HOMEMAKE MAYO? AND HOE CAN I MAKE MAYO WITH COCONUT Oil LIKE SOMEONE SAY IN THE COMMENTS?AND HOW CAN I MAKE MY OWN DAIRY FREE CREAM CHEES? I IN MY COUNTRY I CANT FINT IT
THAK YOU
Lisa says
Fabulous! Didn’t make the icing, just added chopped walnuts and 4 packets of sweet and low. So moist and flavourful….truly decadent, great recipe. Made it in a 9 inch springform pan-added the nuts before cooking; the packets after. ~Lisa
fran says
This recipe didn’t do it for me. I liked the texture but i think it was overpowered with the mayo.
I used avocado mayo and could taste it very strongly. Next time i think i will substitute 1/2 of
The mayo with applesauce and see how that works.
Barbara says
Can this be made in a 13×9 pan?
Carolyn says
I am sure it could. Baking time will change, obviously.
Tresa says
Thank you so much for this recipe. I have been put on a dairy free keto lifestyle and have had trouble finding deserts that I don’t have to totally skip or convert in some way. This recipe reminds me of the wacky cake we use to make in our pre-keto days.
Carolyn says
Enjoy!
Karen Morgan says
I’m dying to try this recipe but omitting the almond flour and using the new flour that they have out
JL says
The “new flour”, that you have recently referenced here twice now is not new. If you’re not part of their marketing team, then I would urge you to research it as it has a questionable reputation for low carb purposes.
Suzanne says
Just buy good avocado or coconut mayo or make your own mayo with a good fat. Most of the mayo in the stores are made with soy or canola oils which are total junk and dangerous.
Pamela Morrison says
Hi, can I use Bocha Sweet instead of Swerve ? Thanks for your time
Pam
Carolyn says
In the cake, it should be fine. However I have yet to get really good frosting using BochaSweet as it often clumps up.