Gluten Free Chocolate Cake
This one bowl gluten free chocolate cake is perfect for birthdays, celebrations, or just because! It’s moist, fluffy with the perfect tender crumb, and I promise you’ll have no idea it’s gluten free and dairy free friendly.

I don’t even know where to begin because I have no words to describe how much I love this homemade gluten free chocolate cake! It’s easy (like one bowl in 10 minutes easy), moist, fluffy, rich, spongey, cakey (that’s a given) and undetectably gluten free.
Seriously, if you gave someone a slice and then proceeded to tell them it was a gluten free chocolate cake (made completely from scratch!), I doubt they would believe you.
It’s topped with a silky smooth chocolate buttercream that melts in your mouth. It can be dairy filled or dairy free, but I made it dairy free by using vegan butter. The cake itself is naturally dairy free, so the buttercream is your choice!
You most definitely don’t need a special occasion to make this cake, but if you serve it to friends, I promise they’ll be impressed- it tastes just like the real deal. You’ll never go back to a boxed gluten free cake mix again! Not into chocolate? Don’t worry, try my gluten free vanilla cake, chocolate peppermint cake or gluten free strawberry cake instead!

Key ingredients
FLOUR. Any good cake needs a good flour! For this recipe and most of my gluten free cake recipes, I used the Bob’s Red Mill 1:1 Baking Flour. I suggest that one to keep the recipe consistent, but if you use a different blend, just make sure it has xanthan gum.
COCOA. Cocoa is how we achieve a rich chocolate flavor! You will need one full cup for this recipe.
EGGS. Three large eggs will make this cake fluffy and hold all ingredients together so it doesn’t fall apart or crumble.
SUGAR. You will need a mix of white sugar and brown sugar to get the perfect sweetness but a rich flavor from the molasses in the brown sugar.
MILK. I used almond milk because that’s what I had on hand, but any milk, either dairy or non-dairy will work.
COFFEE. I love using coffee in chocolate recipes because it brings out such a rich flavor. If you don’t want to use coffee, you can use hot water instead.
OIL. Any plain oil will work here! I used refined avocado oil. Olive oil is also great and adds a rich flavor like in my gluten free chocolate loaf cake.

How to make gluten free chocolate cake
Prepare either one 9×13 cake pan or two round 8 inch cake pans. Spray the bottom(s) with oil then add parchment paper just to the bottom. I like to use these parchment rounds to make it easy. Set aside.
In a large mixing bowl, whisk together all wet ingredients aside from the coffee/boiling water. Whisk in the sifted dry ingredients.
Pour in the coffee or boiling water and whisk until combined. The batter will be fairly thin.
Add the batter to the prepared cake pan. If making a layer cake, try to measure each cake as equally as possible, or use a kitchen scale for best results.
Bake for 35-45 minutes for a sheet cake, 32-37 for layer cake, or until a toothpick comes out clean. All ovens are different so just keep an eye on it.
Let cool in the pan(s) for about 10-20 minutes, then carefully flip onto a cooling rack. They should slide right out, then peel off the bottom parchment paper and flip back so they’re upright.
Let cool completely before frosting. Once cool, add your buttercream and any sprinkles or other toppings!
WANT TO SAVE THIS RECIPE?

The best flour blend
I am very loyal to my favorite Bob’s Red Mill 1:1 Baking Flour. It has never failed me and manages to yield recipes that are moist, fluffy, not gummy and just really well balanced.
King Arthur also has a good gluten free blend, but I strongly recommend using the Bob’s Red Mill for best results since all gluten free flour blends are different.
Just be sure you use a blend that has xanthan gum! To successfully bake without gluten, you usually need xanthan gum and/or eggs to help bind all ingredients together. Works well in my mint chocolate cake!

Getting the perfect texture
There are a few things that not only make this cake moist, but also give it the perfect spongey texture that isn’t too light but also not dense.
The first is the eggs! You need three whole eggs for this recipe, which helps the cake rise and contributes to the perfect cake texture. Unfortunately, I don’t recommend a vegan substitute for the eggs, but I have a vegan and gluten free chocolate cake recipe you can try instead!
The second is the mixing technique! Over-mixing cake can be just as big of a disaster as under-mixing, which is why you need to find a balance.
With an electric mixer, you run the risk of getting too much air into the batter, which can cause the cake to sink in the middle and collapse after it comes out of the oven.
With a wooden spoon, you don’t get enough air into the batter which can yield a dense cake. A whisk allows just the right amount of air into the batter for a moist, spongey cake.
The third is the other liquid ingredients such as the milk, oil and boiling water! I know boiling water seems like an odd thing to put into a cake, but it “activates” the cocoa powder, giving the perfect rich chocolate taste that isn’t dry. I promise, it works like a charm and I use the same method in my gluten free snack cake.

Storage and baking tips
This gluten free chocolate cake will store at room temperature for 3-4 days in an air tight container, or in the fridge for about 1 week. If kept in a container, I promise it will stay very moist! No dry cakes here. I will usually just store mine on the cake stand with a cake cover on top and it keeps it fresh!
Finally, be sure to place your cake in the center of the oven as it bakes. This ensures it bakes evenly and doesn’t rise too quickly or too slowly.
A cake that rises too quickly can lead to a cracked and very domed top, which we don’t want! Keep it in the center for an even bake. The eggs, baking powder and baking soda are what help this cake rise.
You can freeze the cake layers before frosting if you want to prep ahead of time. Just let cool completely, then wrap tightly in plastic wrap and freeze until you’re ready to decorate.
Is flourless cake the same as gluten free?
A flourless chocolate cake is one that is made without flour and is therefore usually gluten free by default. However, a gluten free cake is not necessarily flourless!
This cake is made with gluten free all purpose flour and is not flourless.

Try these next!
- Gluten Free Chocolate Cupcakes
- Funfetti Cupcakes
- Lemon Cupcakes
- Gluten Free Chocolate Crinkle Cookies
- Gluten Free Vanilla Cupcakes
- Protein Chocolate Cake
- Classic Gluten Free Chocolate Chip Cookies
If you want more recipes straight to your inbox, be sure to subscribe to my email list. As always, tag me on instagram if you make this recipe so I can see your creation! Don’t forget to leave a comment and rating if you enjoy this recipe!

Gluten Free Chocolate Cake
by: claire cary
Ingredients
Dry:
- 2 ⅔ cups Gluten Free All Purpose baking Flour sifted
- 1 cup cocoa powder sifted
- 1 ½ teaspoon baking powder
- 1 teaspoon baking soda
- ½ teaspoon salt
Wet:
- 1 cup milk dairy or non-dairy
- 1 cup white sugar
- ¾ cup light brown sugar
- 3 eggs
- 1 teaspoon vinegar white or apple cider
- 1 tablespoon vanilla extract
- ⅔ cup oil safflower, canola, refined avocado etc.
- 1 cup hot brewed coffee or boiling water
Buttercream:
- ¾ cup butter 1 1/2 sticks
- ½ cup sifted cocoa powder
- 3-5 cups sifted powdered sugar adjust to get your desired consistency
- 2-4 tbsp milk dairy or non-dairy
- 2 tsp vanilla extract
Instructions
- Preheat the oven to 350 degrees Fahrenheit.
- Prepare either 1 9×13 cake pan or 2 round 8 inch cake pans. Spray the bottom(s) with oil then add parchment paper just to the bottom. I like to use these parchment rounds to make it easy. Set aside.
- In a large mixing bowl, whisk together all wet ingredients aside from the coffee/boiling water.
- Whisk in the sifted dry ingredients along with the baking soda, powder and salt.
- Pour in the coffee or boiling water and whisk until combined. The batter will be fairly thin.
- Add the batter to the prepared cake pan. If making a layer cake, try to measure each cake as equally as possible, or use a kitchen scale for best results.
- Bake for 35-45 minutes for a sheet cake, 32-37 for layer cake, or until a toothpick comes out clean. All ovens are different so just keep an eye on it.
- Let cool in the pan(s) for about 10-20 minutes, then carefully flip onto a cooling rack. They should slide right out, then peel off the bottom parchment paper and flip back so they’re upright.
- Let cool completely before frosting.
- To make the buttercream, add softened/room temperature butter to a bowl of a stand mixer or a large bowl with a handheld mixer and beat until smooth and creamy.
- Beat in the sifted cocoa powder.
- Beat in the sifted powdered sugar, one cup at a time until your desired consistency is reached. Finally, beat in the milk and vanilla until well combined.
- Frost the cake and add sprinkles if desired. Enjoy!
Notes
Comments
-
I made this 2 times (each a double batch) and the batter was not ‘fairly thin’. It was actually super thick, like brownie batter…not sure what happened or if something happened! I went through a bunch of times and I know I had the right amount of ingredients.
-
So sorry that was your experience! I have made this recipe multiple times and I have never had that issue. I would make sure you are measuring the flour properly to ensure the batter isn’t thick. Which flour are you using?
-
For the buttercream frosting, what do you recommend instead of butter? I would like to make this dairy free
-
Just use dairy free butter! I suggest Earth Balance.
-
-
-
-
Bobs red mill 1:1 baking flour weight for 2 2/3 cups = 362g
Cocoa 1 cup = 60g
-
Thanks for adding the weight!
-
-
Do you think this recipe would work if i substituted the white and brown sugar for coconut sugar? Thanks
-
it should be ok! The texture may be a bit different, but otherwise should be fine.
-
-
This cake is amazing. It is really fluffy and sturdy, and very fragrant.
I’m in Ireland. We don’t have the suggested flour easy available. I substituted it with Odlums GF flour. It worked perfectly!
I wonder if the author could share the measurements for 10” cake tins? How to make this bigger size? Would love to make this for family gathering.-
So glad you loved it! If you want a larger cake, I would probably scale by 1.5 and make a three layer cake.
-
-
Absolutely the best GF chocolate cake! I used King Arthur1:1 GF flour and followed directions exactly. Moist and decadent chocolate. I used a seven minute frosting. Delicious!
-
Thank you, Robin!
-
-
I made this cake 2 days ago for my oldest son’s 28th birthday. I followed the recipe exactly (including the coffee) and it was so moist, so rich, and soooo delicious! It was the best GF chocolate cake we ever had. This will be my go-to chocolate cake recipe from now on!
-
Thank you so much, Margaret!
-
-
I’m excited to bake this cake for my dad’s 90th birthday! It’s also my parents 70th wedding anniversary. What do you think about adding coffee to the buttercream to add more complexity to the flavor? How would you modify the recipe? Or maybe a raspberry center? Dad loves raspberry 🙂 Thank you, can’t wait to bake and mail this to them!
-
Yes! Instead of milk to the buttercream, you can use about 2 teaspoons of instant coffee or espresso mixed with the milk before adding into the rest of the ingredients. You can add some raspberry jam into the center when you frost the cake or even add some fresh raspberries right into the cake batter. Let us know how it turns out!
-
-
Do you have any recommendations for egg substitutes for this recipe? Im trying to make this vegan for a birthday party. I’ve tried a recipe with “flax eggs” and it was a colossal failure.
-
I recommend this recipe which is already both vegan and gluten free!
-
-
This is one of the best gluten free desserts I’ve ever made! I didn’t even have quite enough cocoa powder and it still was so rich and chocolatey 🙂 I used bobs 1 to 1 baking flour mix and it was fluffy and moist without being too dense !! Also I may have messed up my buttercream (woooops) so as a plan B I used a homemade peanut butter whipped cream instead and it paired so well. 10/10 would recommend!
-
Just made my day! Thank you!
-
-
I made the cake. It turned fine. But, the recipe said batter would be thin. My batter somewhat thick.
-
Definitely shouldn’t be too thick! Make sure you’re spooning and leveling the flour/cocoa and not scooping from the bag. Was the cake still moist?
-
-
I’m a professional cupcake baker but cakes are a whole different animal/talent I don’t have, so I don’t usually make them. I made this cake for Christmas (since I bought a cake turntable and wanted to play with it) and it is THE BEST!!! I’ve been GF for over a decade and my family gives me lots of grief over my GF food but even they were absolutely blown away by how delicious this was! Definitely saving this recipe, and will be making it again for my kids’ birthday party next month. ❤️
-
This makes me so happy! Thank you, I’m so glad you enjoyed it!
-
-
Can you use buttermilk, if so, do you not add the vinegar?
-
Yes! Just use buttermilk and omit the vinegar.
-
-
Can I make this in a bunt pan?
-
Yes!
-
-
My first home made cake gluten and dairy free cake with avocado oil. I did a little extra sugar though. Let me tell you im in heaven. Since finding out I have a gluten allergy I have not had chocolate cake that taste this good in almost 2 years. Thank you, this recipe is delicious.
-
Amazing, thank you Anna!
-
-
Do you measure out the flour and cocoa as stated then sift or – measure after it’s been sifted?
-
I would measure then sift.
-






leave a comment and rating