Keto Chocolate Cake with Coconut Flour
Primal Edge Health participates in the Amazon Services LLC Associates Program and other affiliate programs and therefore, may collect a share of sales or other compensation from the links on this page. This comes at no additional cost to you, and all the prices and availability are accurate at the time of publishing.
After years of baking for a family that takes chocolate seriously, this keto chocolate cake has become my most trusted celebration dessert. What makes it stand out is not just that it is low-carb and gluten-free, but that it genuinely competes with any conventional chocolate cake on flavor and texture. Rich, moist, and deeply satisfying, it proves that eating clean does not mean settling for a lesser version of the things you love.
That matters more than it might seem at first. Easy keto recipes like this one are a cornerstone of long-term success on a keto diet because when the food is genuinely good, staying on track no longer feels like a sacrifice. When you bake this sugar-free chocolate cake yourself, you know exactly what went into it: real food ingredients, no vegetable oils, no artificial flavors, no preservatives, and no white sugar. That kind of transparency is something no store-bought option can offer, and for anyone feeding a family, it makes a real difference.
Whether you are making it for a birthday, a holiday table, or a Tuesday when the chocolate craving will not quit, this keto chocolate cake is the kind of from-scratch dessert that earns its place in your regular rotation.
Jump To:
How to Make Keto Chocolate Cake
This recipe uses coconut flour, which is an excellent base for keto baking. Out of all the low-carb coconut products, this is the one I use the most. Combined with egg, it creates a light and fluffy texture with a slightly sweet, subtly coconut flavor easily masked by cacao powder, vanilla, and other flavoring agents.
This cake is 100% gluten-free, grain-free, nut-free, dairy-free, low-carb, ketogenic, and sugar-free. In just 1 hour, you can enjoy a guilt-free dessert your family and friends will adore! And if you love baking, I highly recommend The Ultimate Guide to Low-Carb Baking for all you need to know about sugar-free, keto sweet and savory baked goods.
Scroll to the bottom of this post for a printable recipe card with a full list of ingredients, measurements, and step-by-step instructions.
Ingredient Notes
- Coconut milk: Use full-fat coconut milk for the best texture. Lighter versions don’t make the cake as moist or rich.
- Butter: Substitute with coconut oil for a dairy-free version.
- Keto sugar substitute: I use Besti’s monkfruit allulose blend.
Step-By-Step Instructions
For me, this is the best keto chocolate cake recipe and definitely one of my favorite keto cake recipes! Making this treat is as easy as mix, pour, and bake! Let’s get to it and get a taste of that “real” chocolate flavor we all love.
- Mix the dry ingredients.
- Mix the wet ingreidents.
- Pour the wet into the dry and combine until smooth.
- Pour it into a prepared pan.
- Bake it until it’s set, then let it cool completely.
Variations
- Give your cake a unique chocolate chip mint flavor by adding ½ teaspoon peppermint extract and ¼ cup cacao nibs or Stevia sweetened chocolate chips.
- Recipe ratios are formulated for a dark chocolate keto cake, if you prefer a sweeter result, increase the keto sweetener to ½ cup.
Jessica’s Tips
- To make ahead, gather the dry ingredients together, combine them in a container, and store in your pantry until you are ready to bake. When the time comes: pick up the mix, preheat the oven, add the butter, coconut milk, and eggs, and bake until ready.
- Are you feeding a crowd? Double the batch and bake in a 9×13-inch baking pan lined with parchment paper. You can even make 2 or more cake layers with frosting in between! It’s a great recipe to share at birthdays and office parties.
- If you find that making a whole cake is too much of a slippery slope, bake this recipe in a cupcake tray instead. Smaller pre-set, ready-made portions help with controlled eating.
- You may also half the recipe for a smaller yield or make the full batch and freeze half for later.
How to Store This Recipe
Store made-ahead or leftover keto chocolate cake in an airtight container in the refrigerator for 4 to 5 days.
To freeze, wrap individual slices tightly in plastic wrap, then place them in a freezer-safe bag or container. Freeze for up to 2 months. Thaw overnight in the refrigerator or at room temperature for about 30 minutes before serving.
How to Serve Keto Chocolate Cake
Serve plain or frosted, slightly warm or at room temperature for the richest flavor and softest texture. Keto chocolate frosting or chocolate buttercream frosting are popular choices, but maple buttercream frosting is another family favorite! Cream cheese frosting and whipped ricotta frosting also pair well. I used the maple buttercream recipe in the images shown here.
Add swirls and script over the plain cake with dairy-free keto icing. This is my go-to for writing messages. For special occasions, pair it with fresh berries, a scoop of keto mason jar ice cream, or serve alongside coffee, espresso, or sugar-free hot chocolate for a dessert that feels indulgent but stays low-carb.
More Keto Chocolate Desserts To Try
I’m a big chocolate fan. From creamy keto chocolate cheesecake and keto magic cookies to low-carb double chocolate mug cake and keto lava cake, I’m always on the lookout for new ones to try. Here are some more you might also like:
- Flourless keto brownies
- Keto avocado chocolate pudding
- Keto avocado chocolate mousse
- 3-ingredient keto peanut butter cups

Keto Chocolate Cake Recipe (Low-Carb, Sugar-Free)
Video
Equipment
- 1 8 x8-inch baking dish
Ingredients
- 6 large eggs
- ½ cup coconut flour
- ½ cup cacao powder
- ¼ cup Keto sugar substitute
- 2 ½ teaspoon baking powder
- ¼ teaspoon salt
- ½ cup coconut milk
- 1 teaspoon vanilla extract
- ½ cup butter melted, or coconut oil for dairy-free
Instructions
- Preheat the oven 350 °F.
- Whisk the eggs in a small bowl. Mix the milk, butter, and vanilla to the eggs, stir to combine. Set aside.
- In a second bowl, mix all the dry ingredients together. Add the dry mixture to the egg bowl and stir until ingredients are evenly incorporated.
- Pour batter into a greased 8 by 8-inch glass baking dish or round cake pan. Bake for 50 minutes, until the center is set and a knife comes out clean after testing the middle.
- Remove the cake from the oven and cool. Frost if desired, once cool.
Notes
Nutrition & Macros
To obtain the most accurate representation of the nutritional information in a given recipe, please calculate the nutritional information with the actual ingredients and amounts used, using your preferred nutrition calculator. Under no circumstances shall the this website and the author be responsible for any loss or damage resulting for your reliance on the given nutritional information.

Made this many times and it gets better every time. I’m really glad I found a much healthier take on my favorite dessert.
We always love hearing when a recipe becomes a favorite. Thanks, Kaye!
I have never baked anything keto so this was new adventure for me. My partner that is now on keto diet absolutely loved it!
Happy to hear it was a win on your new keto journey, Anna.
I’m just starting on my Keto journey and this cake was perfect to curb my sweet cravings. It was light, fluffy, and delicious!
I made this cake for Thanksgiving and the result was great! Even the non-keto eaters loved it, and they never like anything keto. Thanks so much!
Wow, that’s wonderful everyone loved it. Thank you for the five star review, Sidney.
You had my attention with keto, lol! As someone who transitioned to Keto about 3 years ago, I was missing cakes. I made your recipe for my cousin’s birthday and everyone devoured it. No one minded that it was keto. I found it very easy to make and I used your cream cheese frosting recipe on it. It’s now our go-to cake for all special occasions.
It’s great when you find a recipe to satisfy cravings without breaking your diet. Happy we could help!
Low carb and low calorie chocolate cake? Yes please! Can’t wait to try this tonight!
I love the tips about making this a little sweet and mint flavored! Such a perfect cake!
I love that this cake is low carb, so this is definitely okay to enjoy on a daily basis. And I love the chocolate and coconut, it’s one of my favorite flavor combo ever. 🙂
Looks moist, delicious, and easy to make! My kind of cake recipe!
It is all of the above!
Looks delicious! Love that this has coconut flour- I’m always looking for new ways to use it. Thanks for sharing!
Coconut flour is my favorite for ketogenic baking! Hope you like it 🙂
I have been baking grain free for many years and this recipe is straight up the best taste, texture and flavour I’ve made. My kids love it and I love that its easy and not junk filled. Thank you, Jessica! I’m trying the vanilla one next.
I’m so glad this is a hit in your home! The vanilla cupcakes are great too. You can make cupcakes or a large cake from the same recipe, whichever is best for you!
This choco cake looks incredibly moist, rich and chocolatey and looks exactly what my heart desires.
Such an easy cake and I love how you’ve made it healthier!
Love the clean ingredients in this recipe and the fact that it’s low carb. Yum!!
This looks so good. I have never cooked with coconut flour so this looks like a great recipe to try experimenting with. Thank you for sharing!
This cake looks absolutely delicious, saving for later! 🙂