The BEST Gluten-Free Chocolate Cake Recipe

This Gluten-Free Chocolate Layer Cake may just be the best chocolate cake we have ever eaten, gluten-free or not. It is super moist, with deep chocolate flavor, and truly easy to put together. The chocolate cake layers are dairy-free and paleo-friendly, and we can promise this gluten-free cake will be a hit for any occasion!

Gluten Free Chocolate CakeGluten-Free Chocolate Cake

We heard you! After we published the BEST Gluten-Free Layer Birthday Cake recipe a while back you’ve been asking us to make a chocolate version. We got to it right away and we are CRAZY HAPPY with the results. This truly is the best chocolate cake we’ve ever tasted! You won’t know it’s gluten-free (not that that matters around here) and it is so rich and moist!

Making this recipe wasn’t as easy as adding in chocolate to our vanilla layer cake. A chocolate cake is a whole different beast. We started with a base of almond and coconut flour, which we love. It lends itself to have just the right crumb and moisture level. And then we added in cocoa powder and adjusted the level of sweetener to balance the bitterness. We added some coffee in to boast the chocolate flavor, but feel free to swap it out with additional milk instead. It took us a few tries to get the right amount of fat, which we use avocado oil here, but once we did this cake was SO GOOD.

Gluten Free Chocolate Cake Recipe Slice

The cake layers themselves are dairy-free. We choose to frost it with a chocolate buttercream, but if you don’t tolerate dairy you can certainly use a dairy-free chocolate ganache made with coconut milk and dairy-free chocolate to frost your cake.

As we said above, this cake does have nuts. If you’re looking for a nut-free and school-safe cake recipe, go for the two in my cookbook or this July 4th Classic Cake!

Gluten Free Chocolate Cake Overhead

Tips Tools Needed to Frost a Cake Like a Pro

It’s not essential to frost the cake like we did. But if you want to give it a whirl, getting these tools make it easier to get an even and smooth cake!

Gluten Free Chocolate Cake

If you like this celebration dessert, check out these other recipes:

Watch the video:


The BEST Gluten-Free Chocolate Cake Recipe

  • Author: Lexi
  • Prep Time: 10 minutes
  • Cook Time: 25 minutes
  • Total Time: 35 minutes
  • Yield: 6-10 1x



For Cake Layers:

  • 21/2 cups (240g) almond flour
  • 3/4 cup (64g) high-quality cocoa powder
  • 1/4 cup (24g) coconut flour
  • 11/2 teaspoon baking powder
  • 1 teaspoon baking soda
  • 1/2 teaspoon fine sea salt
  • 4 eggs
  • 11/4 cup coconut sugar
  • 1/2 cup milk of choice
  • 1/4 cup coffee (see note)
  • 1/4 cup avocado oil
  • 11/2 teaspoon vanilla extract

For Chocolate Buttercream:

  • 4 sticks grass-fed butter, softened
  • 1 1/2 cups cocoa powder, sifted
  • 6 cups powdered sugar, sifted
  • 2 teaspoons vanilla extract
  • 1/4 cup almond milk


For Cake Layers:

  1. Pre-heat oven to 350ºF and grease 3 6″ layer pans (we used avocado spray) and line with parchment paper that fits directly inside. Skipping this step could result in a cake that sticks to the pan. Set aside.
  2. In a medium bowl add almond flour, cocoa, coconut flour, baking powder, baking soda, and sea salt.
  3. In a large bowl whisk eggs. Add in coconut sugar, milk, coffee, avocado oil and vanilla extract. Whisk to combine.
  4. Add dry ingredients into wet ingredients and whisk to combine completely.
  5. Divide batter evenly between 3 cake pans and bake in pre-heated oven for 25  minutes, or until a toothpick inserted and removed is clean or any wet cake batter.
  6. Let cake layers cool in the pan for 10 minutes before removing by running a thin knife or offset spatula around the side of the pan to loosen the cake and turning over pan on wire rack. Remove the parchment paper liner if still on the cake. Cool completely before frosting.

For Buttercream Frosting:

  1. In the bowl of a stand mixer fitted with paddle attachment beat the butter until light and fluffy, 3-5 minutes.
  2. Add the sugar and cocoa powder and mix on low speed until well blended. Increase the speed to medium and beat until fluffy, 1 to 2 minutes.
  3. Add the vanilla and 1/4 cup of almond milk (or more if needed) and beat on medium speed until lightened in color.

To Assemble the Cake:

  1. Once cake is cooled place first layer on serving plate and frost with a buttercream layer to prevent the cake from moving once assembled.
  2. Add next layer of cake and repeat with layer of buttercream, smoothing over, and place last cake layer on top.
  3. Place cake in refrigerator for at least 15 minutes, to let set up and to make frosting cake easier.
  4. Once cake has chilled, add about half of frosting to the top of the cake and using an offset spatula frost cake starting with the top and moving excess down the sides of the cake and smoothing as going.
  5. Decorate as desired with additional frosting, chocolate cups and sprinkles on the side.
  6. Cake will keep 3-5 days in refrigerator.


You can omit the coffee and substitute in 1/4 cup almond milk or water. Coffee helps bring out the chocolate flavor, but is not essential.

We have a heavy hand when we frost our cakes. If you think you’ll want less frosting, swap the recipe with  3 sticks of butter, 1 cup cocoa powder, 4 cups powdered sugar and follow the recipe as stated. If you do end up with leftover frosting, you can freeze it for later use.

Did you make this recipe?

Share a photo and tag us — we can't wait to see what you've made!

September 7, 2018

You Might Also Like

Join The Discussion

47 Responses

  1. Your cake looks yummy and I want to make it for my 11 year old niece who is not only gluten intolerant but diabetic. Have you tried this recipe with cacao powder? I haven’t baked with it yet and I’m wondering if cacao powder will negatively affect the taste of the cake?

  2. This was very easy to make, especially since it was ingredients I already had on hand. It was a BIG hit-even those who aren’t gluten-free loved it! It isn’t dry like some other GF cakes. I will definitely be making this again! Thanks for the recipe!

    5.0 rating

  3. So… I made this cake twice in a week and it was delicilous!!! Super moist with the perfect crumb. It comes together super easily. I skipped the buttercream and made my own avocado based frosting. It was definitely a hit in my house. yuuuuum!!

    5.0 rating

  4. Thanks for posting such a nice blog. I really found it so useful for me. I have read it and really it was nice too. I really appreciate your posting. Keep sharing such a nice food blog. I am always a great food lover.

    5.0 rating

  5. I’m making this right now for a birthday celebration. It was the perfect amount for 2 8 inch round pans. I made a peanut butter Greek yogurt frosting to top it. It looks so good already, I can’t wait to eat it!

    5.0 rating

  6. This cake is incredible!! Seriously tastes like the real deal, but with LESS WORK than the real deal!! I couldn’t believe how perfect the cake was, and I didn’t even have the cream butter and sugar forever, WIN! I subbed boiling water for the coffee and it was awesome!

    5.0 rating

  7. Any chance of a quick reply, want to make it this afternoon for a friends birthday. I can’t get any Avocado oil and I substitute with Coconut Oil and is Almond Flour the same as ground almonds? Think it might be an American / England thing! LX

    1. Hi Laura! Kelli here, part of the LCK team. Ground almond are not preferred as we believe they are similar to almond meal, vs. almond flour. BUT they should work in a pinch. Additionally melted coconut oil should work, but it might alter it slightly because coconut oil solidifies at room temp. and avocado oil doesn’t. But both of the subs should produce similar results.

  8. First, let me say that I don’t have a problem eating gluten. I needed a good chocolate cake for a lovely lady that was gluten free. It was to be for 6 at a dinner party. I followed ingredients and instructions exactly. Very easy to put together. I used Dutch droste cocoa powder. I made a stabilized whipped cream frosting in which I used a bit of cream cheese and unflavored gelatin. I decorated the top with fresh raspberries and chocolate truffle slices. Well, let’s just say, it was amazing! One of the best chocolate cakes ever! Moist, not too sweet and my husband went nuts over it and he doesn’t even like cake. A real winner!!

  9. Can we make this cake in a 13 x 9 pan instead of the layers? Will that alter the taste of the cake or just the cooking time? Thank you

    1. Hi Loralei! Kelli here part of the LCK team. We’ve never tried it so we can’t say what it will change. It will likely have to cook a bit longer. If you do try it you’ll want to test the middle of the cake with a toothpick: if it’s cooked it will have moist crumbs attached to the toothpick but it won’t be wet. We’d love if you could report back how it comes out!


    5.0 rating

  11. I have made this cake twice. Once for my daughter that is GF and then my husband requested it for his birthday as well because he liked it so much! I made 1 1/2 of the recipe and poured it into three 9″: pans and it was a beautiful cake! I would love to make the 6″ version. Can you please tell me the height of your pans? Are they 2″ or 3″ – I don’t want to purchase the wrong ones. This cake is absolutely delicious by the way! Thank you so much for it!

    5.0 rating

    1. So glad you loved the recipe! Either 2″ or 3″ inch works here, so long as you are making 3 layers of them as instructed. If you were looking to make 2, you might need the 3″.

  12. I have made this cake twice and WOW!! So good. I found though that my cakes sink a bit in the middle, especially after pricking them with the toothpick to see if they’re done – is this normal? and if not, what might I be doing wrong? Also, side note – I have 8 inch pans, so I’ve been making 2 layers out of this recipe, and making 2 batches to end up with 4 decent layers for a tallish cake. I bake them for about 30-35 minutes, would that be long enough?

  13. I made it for a birthday and it was amazing! both gluten-free and gluten eaters liked it! easy to make yet still phenomenal! even people who don’t usually like cake liked it! I used two 9 inch pans that were 1 1/2 inches deep and it turned out great!

    5.0 rating

    1. Hi Rachek. What size cake pan where you using? I can assure you this recipe makes a 3 layer 6″ cake. I know–I’ve tested and made it roughly 11 times now. But happy to help you figure out what went wrong on your end. – Kelli

  14. Wondering about baking in a different size pan. Maybe 13×9 sheet pan or 2 8’’ pans or
    10 ‘’ round for a single layer cake
    Going to make with golden monk fruit sweetener in the cake and powdered monk sweetener in frosting . On a low carb diet and this will be my birthday cake February 29th once every four years , so need a special cake to celebrate

    1. That IS a special occasion. You can bake this in a different pan but this cake is delicate because there is no gluten in it. We recommended the smaller cake pans because it was easier to handle the cake. If you made it as a sheet cake, it might be safer to frost it directly in the pan. A word of caution on using an alternative sweetener: it might not work. This recipe didn’t even work the same when I switched from coconut sugar to brown sugar. Sugar in a baking recipe works in many ways, not just sweetening. It effects the moisture, the crumb and the structure. Let us know how it goes if you do try. And happy early birthday! -Kelli

  15. I made this cake and it was absolutely delish!! The frosting was exceptional and the cake was moist without being too heavy or oily tasting. I decided to go vegetarian a year ago and I used homemade cashew milk and earth balance vegan butter. I will definitely include this in my dessert rotation!!!!! Thank you!

    5.0 rating

  16. Hi Lexi. I love this cake. I made it a few times last year for a friend. I want to make it again. But I was wondering about the coconut sugar and oil. In your reply to Chris Endicott I see you mentioned that the crumb is affected by the sugar as well. Have you made it with granulated sugar or brown sugar and what was the result? Also, I think the avocado oil is giving it a bit of an aftertaste. Have you tried it with vegetable, canola or grape seed oil? What was the result? Acceptable? Just coconut sugar and avocado oil gave it a slightly better texture? Thank you!

    5.0 rating

  17. This cake was hands down the best homemade cake I have made and the best part was that my family loved it and didn’t know it was gluten free!

    5.0 rating

  18. Can I substitute another flour for the almond flour in the chocolate cake recipe because of nut allergies?

    1. We haven’t tried, so we can recommend any and promise the same results. If you do experiment, let us know how it goes!

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe rating



An orange skillet with an easy one pan taco filling.

My practical tips & advice for a healthier life dropped right into your inbox!


This website may at times receive a small affiliate commission for products that we shared with you in our posts. Although we may receive a commission for linking certain products, there’s no additional costs to you and all of our opinion and suggestions are 100% our own and unbiased. That’s our promise to you!

Subscribe to get our FREE clean eating guide!

Join our email list TODAY to start recieving our newsletter weekly, access to exclusive content and deals, *and* a FREE complete 24-page clean eating guide!



An orange skillet with an easy one pan taco filling.

My practical tips & advice for a healthier life dropped right into your inbox!



Lexi's sharing her top secrets to prepping ahead of time and quick meals!