Chocolate Keto Birthday Cake

Keto Birthday Cake Recipe

The Spruce

Prep: 10 mins
Cook: 35 mins
Total: 45 mins
Servings: 12 servings
Yield: 1 cake
Nutritional Guidelines (per serving)
326 Calories
26g Fat
15g Carbs
11g Protein
See Full Nutritional Guidelines Hide Full Nutritional Guidelines
Nutrition Facts
Servings: 12
Amount per serving
Calories 326
% Daily Value*
Total Fat 26g 33%
Saturated Fat 4g 19%
Cholesterol 95mg 32%
Sodium 481mg 21%
Total Carbohydrate 15g 5%
Dietary Fiber 4g 13%
Total Sugars 3g
Protein 11g
Vitamin C 0mg 0%
Calcium 229mg 18%
Iron 3mg 16%
Potassium 268mg 6%
*The % Daily Value (DV) tells you how much a nutrient in a food serving contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.
(Nutrition information is calculated using an ingredient database and should be considered an estimate.)

Chocolate cake is cause for celebration and our sugar, gluten, and grain-free treat is no exception. Rich and moist as a chocolate cake should be, this cake relies on ingredients such as cocoa powder and vanilla extract to achieve the warming flavors of the decadent classic. Almond and coconut flours are our choices instead of wheat: while the almond flour helps give the cake a delicate crumb, the coconut offers structure and binding to compensate for the absence of gluten. A two-part sweetener including a non-caloric powder and flavored stevia ensures a sweet treat without a bitter aftertaste—if you can't find the flavored stevia we use, substitute powdered stevia plus half a teaspoon of almond extract.

If you're making this cake for a friend and don't know much about the keto lifestyle, a keto approach to eating cuts back on carbohydrate intake and replaces it with fats to bring the body to a state of ketosis, so your body will start using its fat storages for energy. Many people choose this diet to lose weight, and many others stick to it because they consider it fits their needs, plus it's delicious. Our cake shows that there is no need to feel deprived on a keto diet. You won't be able to tell this luscious cake has no sugar or gluten.

While the cake is beautiful as is, if you're looking for a festive frosting that feels comforting and familiar, a keto chocolate mousse also makes an excellent chocolate frosting and pairs nicely with our chocolate cake. Sugar-free sprinkles or chopped nuts can also add a beautiful touch.


  • 2 cups almond flour

  • 2/3 cup coconut flour

  • 1/2 cup cocoa powder

  • 1 1/2 cups powdered sweetener (swerve, monk fruit, lakanto, allulose, or erythritol)

  • 1 1/2 tablespoons baking powder

  • 1/2 teaspoon baking soda

  • 1 teaspoon salt

  • 2/3 cup grapeseed oil (or avocado)

  • 1/2 cup Greek yogurt

  • 6 eggs

  • 1 cup unsweetened non-dairy milk

  • 1 teaspoon hazelnut liquid stevia

  • 1 teaspoon coffee extract

  • 2 cups keto frosting, optional

  • 1/4 cup keto chocolate shavings, optional

Steps to Make It

  1. Gather the ingredients.

    Keto birthday cake ingredients

    The Spruce

  2. Preheat the oven to 350 F. Grease and line two round cake pans with parchment paper. Combine the almond flour, coconut flour, cocoa powder, powdered sweetener, baking powder, baking soda, and salt in a mixing bowl with a whisk or fork.

    mix dry ingredients together

    The Spruce

  3. Add all of the remaining ingredients and whisk together until a thick batter is formed. It's normal for coconut and almond flours to have lumps, especially when stored in the fridge. Whisk as much as needed to remove them, and don't worry about over-mixing, as there's no gluten in the recipe.

    add remaining ingredients

    The Spruce

  4. Divide batter between the prepared pans.

    divide batter between two cake pans

    The Spruce

  5. Bake for 35 minutes. Let cool completely before removing from the pan and cover with the chosen frosting, if using. Decorate with shaves of sugar-free chocolate, if using.

    Bake, cool and frosten keto birthday cake

    The Spruce

  6. Enjoy!

How Do You Make Keto Frosting?

Keto frostings are easy to make and delicious. Here is a basic frosting that you can cater to your taste:

  • Place 8 ounces of full-fat cream cheese in a standing mixer with the paddle attachment. Start beating the cream cheese on low speed and add 4 ounces of softened unsalted butter, 1 cup of powdered erythritol (or any other powdered non-sugar sweetener), and 1 tablespoon of vanilla extract (or 3/4 teaspoon of cinnamon). If using vanilla, add 1 teaspoon of lemon zest, but skip that if using cinnamon.
  • For chocolate frosting add 2 to 3 tablespoons of unsweetened cocoa powder to the above recipe, skipping the lemon zest. If using chocolate frosting, you could add cacao nibs to top the cake, as they're keto-friendly and add an irresistible crunch.

For an Egg-Free Cake

If needed, this cake can be egg-free. Many tricks for egg-free baking use apple sauce or bananas to act as binders in cake and cupcake batters. But there are other natural keto egg replacers you can experiment with. To replace one egg in this recipe you could:

  • Add one tablespoon of nut butter.
  • Add one flax or chia "egg;" mix one tablespoon of flax or chia with 3 tablespoons of water. Because using this method will increase the amount of liquid in the recipe, you need to cut back on the amount of milk. Mix the batter using no milk and just the flax eggs. Check for texture, adding 1 tablespoon of milk at a time, if needed, until you have a smooth consistency.

Although full-fat greek yogurt, carbonated water, and a mixture of apple cider vinegar and baking soda are also used to replace eggs, these might add too much moisture to the cake and make a very runny batter.