This easy gluten-free chocolate cake is super simple, and has the perfect texture. You won’t know it’s gluten-free! It’s my favorite gluten-free chocolate cake recipe and it will be yours too.
And it makes the best gluten-free birthday cake!
Gluten-Free Chocolate Cake
Sometimes you just need a little gluten-free cake chocolate cake to get you through the day. We make this chocolate cake recipe at least once a month. It’s simple, uses minimal ingredients, and it bakes up quick.
I often find that gluten-free cake recipes are complicated or call for a kazillion ingredients (ok, not a kazillion – but a lot). I don’t have the time or the brain space to bake up crazy big recipes, or recipes that have tons of steps in them.
I need gluten-free cake recipes to be simple, have less than 15 ingredients, and require two bowl or less – otherwise my kitchen ends up a massive wreck. You know what I’m talking about right?
Piles and piles of dishes, all for one delicious thing – a gluten-free chocolate cake. You might be wondering why it has to be that way. Well, It doesn’t. There are amazing recipes out there, and they don’t take forever to make or require you to hire a housekeeper to clean up after you in the kitchen. You just have to look for them. Give this gluten-free chocolate cake a try and see what I mean. We often use this gluten-free cake recipe to make gluten-free birthday cake.
When we first switched over to a gluten-free diet we struggled. Gluten-free recipes were over-complicated and we got frustrated in the kitchen. We were tired of having to hunt down ingredients and even more tired of recipes failing.
Chocolate cake was one of the things we missed the most. Not flour-less chocolate cake, not chocolate cake made with nut butters, but regular old-fashioned gluten-free chocolate cake. The kind that is crumbly on the outside, and spongy in the middle.
We tried a couple of gluten-free chocolate cake mixes (mind you, this was seven years before this post) and weren’t satisfied. Most of them tasted like grass. It wasn’t until I started creating recipes from scratch that we found our perfect, easy gluten-free chocolate cake.
How to make gluten-free chocolate cake
There are a couple of tips and tricks to getting the right texture with gluten-free cake. First, you have to follow the recipe. So many people comment on recipe posts saying that they made a ton of substitutions and the recipe didn’t turn out.
Other than the dairy substitute, I haven’t tried other substitutes in this recipe. If you use substitutions, you are doing so at your own risk.
Second, you want to mix at the right time and not over-mix. When you are beating the oil, sugar, and eggs you’ll want to beat it for the time listed. This adds air which in turn helps the cake rise. Beating any longer will cause the batter to stiffen.
Can I make this gluten-free chocolate cake dairy-free?
Yes, you can make this gluten-free chocolate cake dairy-free. Simply use dairy-free milk in the gluten-free chocolate cake mix and use dairy-free butter in the frosting.
Can I make this gluten-free chocolate cake egg-free?
I haven’t tried using an egg substitute in this gluten free chocolate cake but a few others have tried it with flax-egg. If you make it egg free please stop back by and let me know which egg replacer you used. If you don’t want to experiment, you could always start with my Gluten-Free Vegan Chocolate Cupcakes.
What causes a gluten-free cake to crack on top?
If your temperature is too high, or your cake is placed in the oven too high your cake may bake up into a high, cracked dome. The heat of baking activates the baking powder and causes it to release carbon dioxide, which forms bubbles and raises the cake. If your oven is too hot, that process is sped up. Make sure to place your cake in the center, and regularly check your oven’s temperature.
Some of my favorite gluten-free cake recipes:
- Gluten-Free Chocolate Bundt Cake
- Grain-Free Hummingbird Cake
- Gluten-Free Lemon Cake
- Gluten-Free Vegan Chocolate Ganache Cake
If you are looking for cupcake recipes, just search cupcakes in the search bar on the right. Here is a video of my gluten-free chocolate cupcakes, which uses the same ingredient as this chocolate cake.
Why did my gluten-free cake sink?
There are several reason why cakes sink, one is from over beating the batter and adding too much air. Also, cakes often will sink when there is too much moisture. This is more common in humid climates where added moisture can collect naturally in ingredients such as flour. When this occurs, cupcakes may rise rapidly and then fall during baking. In higher elevations, the leavening agent works twice as hard and may cause the batter to rise rapidly and sink before it’s had a chance to set up.
All these tips are relevant to most cake and cupcake recipes, not just this Gluten-Free Chocolate Cake.
This gluten-free chocolate cake recipe is also in my cookbook, “Sweet & Simple Gluten-Free Baking; Irresistible classics in 10 ingredients or less!” I wanted to share it with you so you can find your happily-cake-ever-after. This gluten-free cake recipe is simple enough that anyone can make it (yes, even the non-baker folks).
I hope you enjoy it as much as we do! If you like cake then you’ll also love my Gluten-Free Lemon Cake and my Gluten-Free Vanilla Cupcakes.
If you make this gluten-free cake please stop back by here and let me know what you thought!
Happy Baking and Cooking,
Chrystal
Easy Gluten-Free Chocolate Cake

This easy gluten-free chocolate cake is super simple, and has the perfect texture.
Ingredients
For the cake:
- 1 1/2 cups (320g) granulated sugar
- 2 cups (285g) all purpose gluten-free flour blend
- 3/4 cup (75g) unsweetened cocoa powder
- 1 1/2 teaspoons (6g) gluten-free baking powder
- 1 1/2 teaspoons (8g) baking soda
- 1 teaspoon salt (6g)
- 2 large eggs (110g), room temperature
- 1 cup milk (260g) (or dairy-free milk)
- 1/2 cup (110g) vegetable oil (or oil of choice)
- 1 1/2 teaspoons (4g) gluten-free vanilla extract
- 3/4 cup (150g) boiling water (for activating the cocoa)
For the frosting:
- 1/2 cup (115g) butter (or dairy-free butter)
- 1 1/2 teaspoons (4g) gluten-free vanilla extract
- 1/2 cup (50g) unsweetened cocoa powder
- 4 1/2 cups (450g) powdered sugar
- 1/4 cup (40-60g) milk (or dairy-free milk)
Instructions
- Preheat oven to 350°F (180°C). Position rack in center of oven. Grease two 8-inch round cake pans; set aside.
- In a large mixing bowl, stir together sugar, flour, cocoa, baking powder, baking soda, and salt until there are no visible clumps.
- Add eggs, milk, oil, and vanilla. Beat with a mixer on medium speed for two minutes.
- Stir in boiling water.
- Spoon batter evenly into cake pans. Bake for 35 to 38 minutes, or until a toothpick inserted in the center comes out clean.
- Remove from oven and let cool in the pan for 5 minutes, then remove from pan and let cool on a rack.
- For the frosting: In a medium mixing bowl, beat butter and vanilla until smooth and creamy. Add cocoa powder and beat until combined. Gradually add powdered sugar, one cup at a time. Slowly beat in milk. Beat in additional milk if needed, to obtain desired consistency.
- Frost cakes.
- Store in an airtight container at room temperature for up to three days, or in the refrigerator for up to a week.
Notes
- Flour Blend: I used my gluten free blend in this recipe and I've used Bob's Red Mill 1-to-1 Gluten Free Baking Flour. I do NOT recommend using Bob's Red Mill All Purpose Gluten Free Flour. Bob's Red Mill All Purpose Gluten Free Flour blend has chickpea flour (also known as garbanzo bean flour) in it. Chickpea flour goes rancid rather fast and when it does it creates a dry and sour/bitter flavor. It also does something funny to this recipe.
- When working with or measuring gluten-free flour, spoon the flour into the measuring cup and level. Do not scoop your measuring cup into the gluten-free flour. The best method really is to weight it but I don't have the ingredient weights for all my recipes yet.
Nutrition Information:
Yield:
16 slicesServing Size:
1 sliceAmount Per Serving: Calories: 407 Total Fat: 14g Saturated Fat: 5g Trans Fat: 0g Unsaturated Fat: 8g Cholesterol: 40mg Sodium: 347mg Carbohydrates: 66g Fiber: 2g Sugar: 49g Protein: 4g
Charlie says
OMG!
Ive been dying for chocolate cake for weeks!
Im FODMAP but can eat butter(thank god)
I also bake alot of GF and Vegan things for a living.
This is the most simple, straight forward recipe and im so excited to try this!(Just in time for my birthday!)
Thank you!
chrystal says
Hi Charlie,
I am so glad you think its simple and straight forward – that’s what I was going for! Thank you for taking time to stop by and let me know.
Best,
Chrystal
Penny Rudder says
I found this recipe yesterday and made it last night. I did not change anything and it was an absolute success. It’s a lovely dark rich chocolatey cake, soft and not over moist. I made it in rectangular pan and baked it for about 45 mins. The mixture is quite loose so don’t be concerned it, works out beautifully.
Thanks so much for posting this recipe. I have been advised to avoid gluten but now at least i can make cake!
chrystal says
Hi Penny,
I am so very glad that you liked it. Thank you for taking time to stop by and let me know. I have almost 300 recipes on my site. I hope you find many more that you love.
Best,
Chrystal
Eileen says
Hi Chrystal,
Hoping to make this for a gluten free friend for her birthday. I don’t have round cake pans. I see Penny used rectangular pan. Assuming 13 x 9? Have you tried it this way? Thanks!
chrystal says
Yes, you can use a 9×13 pan. Start with a baking time of 28 minutes and watch for doneness after that.
Best,
Chrystal
Ruthie says
Chrystal, I want to thank you for this delicious gluten free chocolate cake! My cousin is gluten free & most times doesn’t get to eat the birthday cake til now! I followed the cake recipe exactly as you said. The only thing I made different was a cream cheese frosting. Everyone said how delicious & if I didn’t tell them it was gluten free, they wouldn’t have guessed.
Thank you so very much, Ruthie
chrystal says
Awe, Ruthie, I’m so glad you like it. You are very welcome. Thank you for letting me know everyone loved it.
Best,
Chrystal
Caitlin says
I have made this recipe twice and both times the cake has come out with a sunken top and so crumbly it cannot even stick together. I am using almond flour rather than pure gluten free flour but I am not sure why that change would make it so crumbly when it does not do that to other cakes I have made. I even tried putting in less hot water the last time I made it and it was still so crumbly. Do you have any advice on how to make this cake more firm? I of course want it to be moist but it needs to stick together.
chrystal says
Hi Caitlin,
This recipes doesn’t work with almond flour. Almond flour works very differently in baked goods than other flours as it has more natural oils in it and no starch. You might want to try my double chocolate muffins. The recipe uses almond flour and can be made into a cake.
Best,
Chrystal
Nikki says
Hi! I’m super keen to try this recipe for my son’s 2nd birthday cake. Can it be made ahead of time and frozen? Thanks!
chrystal says
Hi Nikki,
Yes, you can make the layers ahead of time. Wrap them up and freeze them. When you are ready, thaw them and frost.
Best,
Chrystal
Newbaker says
Great recipe. I’m new to baking and followed the instructions. I did change up ingredients a bit – used a combination of coconut oil (majority), and a bit of olive oil plus vegetable oil margarine. And Monk fruit sugar instead of cane sugar.
The cake however turned out to be very salty. Only reason I can think of is: since I was going by volume using a tea spoon (the spoon is marked as one teaspoon but looks larger) I may have almost doubled the salt/baking soda/baking powder. Any thoughts ?
Thanks !
Joy
chrystal says
Hello Joy,
It sounds like you did use too much salt and or leavening agent, which is salty. Do you normally use weight measurements? I can grab the weight for you in grams if that helps.
Best,
Chrystal
Newbaker says
Thanks , I see you have the weights listed in the recipe… I will look for a weighing scale!
Joy
chrystal says
Hi Joy,
All my recipes are in volume (cups, etc) and a few of them are in weights. I’m working on getting more converted to weights so people can weigh their ingredients if they like 🙂
Best,
Chrystal
Sergia says
This recipe is amazing! I used a gluten free flour mix of 1 cup banana flour, 1/2 cup of rice flour and 1/2 cup of coconut flour. For the milk I used Calfia coconut almond milk blend… Everyone at Thanksgiving was impressed and could not believe it was gluten free! Making it again for my companies holiday potluck party!
chrystal says
I’m so glad you like it! Thanks for sharing what flours you used.
Best,
Chrystal