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:

Gluten-Free Chocolate Layer Cake

Prep Time 00:10 Cook Time 00:25 Total Time 00:35 Serves 6-10


For Cake Layers:

For Chocolate Buttercream:


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:

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.

Recipe Notes

  1. 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.
  2. 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.
Loading nutrition data...
There may be affiliate links in this post! By clicking on them, or purchasing recommended items I may receive a small compensation, at no cost to you! However, I only recommend products I absolutely love and use in my own home! Thank you for supporting Lexi's Clean Kitchen when you shop! See my privacy policy for more information about this, the information we save, and more!

use our hashtag!

I am so excited that you are making a recipe and would love to see how it turns out! Make sure to use the hashtag on social media!


share this post!

subscribe to the email list!

29 comments on “The BEST Gluten-Free Chocolate Cake Recipe

  • 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?

  • 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

  • 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

  • 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

  • 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

  • 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

  • Laura Green says:

    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

    • Kelli Avila says:

      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.

  • 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!!

  • Loralei Perozich says:

    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

    • Kelli Avila says:

      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

  • Kimberly Mayhew says:

    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

    • Kelli Avila says:

      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″.


Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>