This post may contain affiliate links. Please read our disclosure policy.

This easy gluten free chocolate cake is rich, dense and fudgy, and it's all made in just one bowl. Make a double layer or single, with the simplest chocolate ganache frosting.

It's the birthday cake of choice for every chocolate-lover in my family, and readers have made it for their celebrations for yearsโ€”even as a multi-tiered wedding cake!

A piece of gluten free chocolate cake on a plate with a fork, with a soft brown frosting, and a bite taken.
Want to save this recipe?
Enter your email and weโ€™ll send it to you! Plus, get new recipes every week.
Please enable JavaScript in your browser to complete this form.

My take

Nicole's Recipe Notes

  • Quick and easy: Make it in 1 bowl, with little to no prep. Float cold eggs in warm water for 10 minutes and microwave the sour cream for 20 seconds and you're ready to bake.
  • Almost dairy free: With oil instead of butter, the only dairy is sour cream. Nondairy sour cream works great.
  • No melting chocolate: The combination of lots of cocoa powder and oil makes a rich cake the easy (and cheaper) way.
  • Moist but sturdy: Dense enough to slice into thin layers for a tiered cake with as many layers as you likeโ€”even for a wedding!
  • Make ahead: Tender enough to make it days ahead of time and even store it, wrapped well, in the refrigerator without it drying out too much.
single layer brown gluten free chocolate cake with brown chocolate frosting on a white serving platter with a spatula lifting one slice of cake from the rest

How to make gluten free chocolate cake

Gather your ingredients. Bring the eggs and sour cream to room temperature. Let them sit on the counter, or float cold eggs in very warm water for 10 minutes (in the shell!), and microwave the sour cream for 20 seconds.

marble surface with ingredients for gluten free chocolate cake in small bowls with black block letters with names of ingredients

Whisk the dry ingredients (gluten free flour, cocoa powder, salt, baking soda, and sugar). Make a well in the center, and add the wet ingredients (sour cream, oil, beaten eggs, vanilla and warm water) and mix. Spread the thick cake batter evenly in a 9-inch greased baking pan.

Bake the cake at 350ยฐF for about 30 minutes, or until a toothpick pressed into the center comes out with a few moist crumbs. Cool in the pan for 10 minutes, then turn over onto a cooling rack to finish cooling.

How to make an easy chocolate frosting

Chocolate ganache is a silky glaze or filling made with heavy whipping cream and chopped chocolate. Use a higher ratio of chocolate, and you can whip it into the easiest 2-ingredient rich chocolate gluten free frosting.

To make ganache, heat heavy whipping cream gently until simmering, and pour it over chopped chocolate. Let the mixture sit for 5 minutes so the chocolate is mostly melted, then stir until smooth. Pour it over the cooled cake for a smooth finish.

To make whipped ganache, use 2 ounces more chocolate for a thicker mixture. Let the mixture it cool and chill until it's scoopable, then whip until it's thick, light and fluffy. Use it as you would any other frosting.

For a layer cake

Change the yield in the recipe from 8 slices to 16, or click the [2X] button. Use a larger mixing bowl, and divide the batter equally between two prepared 9-inch cake pans. Smooth the top, and place them in a 350ยฐF oven. After about 20 minutes rotate the pans with one another so everything bakes evenly.

A piece of brown gluten free chocolate cake cake with two layers and frosting on a white plate

Ingredient substitutions

Dairy free

The only dairy in the cake is the sour cream, which you can replace with nondairy sour cream (like Violife or Tofutti) or nondairy Greek-style plain yogurt (like Kite Hill).

You can replace the heavy cream in the ganache with canned coconut cream or try vegan heavy cream, which lots of brand make now (Califa Farms, Country Crock, Silk brands, etc.).

Egg free

There are 2 eggs in this recipe, and you might be able to replace each of them with one โ€œchia egg” or even a “flax egg” each. Flax eggs provide more structure, but have a sometimes unpleasant flavor that the cocoa powder should mask here.

Cocoa powder

Dutch-processed cocoa powder adds some more richness, so I prefer it here. Natural cocoa powder, like Hershey's, also works here.

Gluten Free Chocolate Cake Recipe

5 from 488 votes
Prep Time: 10 minutes
Cook Time: 30 minutes
Yield: 8 slices cake
This rich gluten free chocolate cake has a moist, tender crumb topped with 2-ingredient chocolate frosting. Made easily in one bowl!

Equipment

  • Electric mixer (handheld or stand)
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients 

For the chocolate cake

  • 1 ยฝ cups (210 g) all purpose gluten free flour blend, (See Recipe Notes)
  • โ…œ teaspoon xanthan gum, (1/4 teaspoon + 1/8 teaspoon) omit if your blend already contains it
  • 14 tablespoons (70) unsweetened cocoa powder
  • ยฝ teaspoon kosher salt
  • ยฝ teaspoon baking soda
  • 1 cup (200 g) granulated sugar
  • ยพ cup (168 g) sour cream, at room temperature
  • ยฝ cup (112 g) neutral oil, (vegetable, grapeseed, peanut, canola all work)
  • 2 (100 g (weighed out of shell)) eggs, at room temperature, beaten
  • 1 teaspoon pure vanilla extract
  • ยพ cup (6 fluid ounces) warm water, (about 80ยฐF)

For the chocolate ganache topping

  • ยพ cup (6 fluid ounces) heavy whipping cream
  • 8 ounces dark chocolate, chopped (for whipped ganache, you'll need 10 ounces)
  • 1 cup (115 g) confectionersโ€™ sugar, (optional for whipped ganache)

Instructions 

Make the cake.

  • Preheat your oven to 350ยฐF. Grease a 9-inch round or square baking pan and set it aside.
  • In a large bowl, place the flour, xanthan gum, cocoa powder, salt, baking soda and sugar, and whisk to combine well.
  • Create a well in the center of the dry ingredients and add the sour cream, oil, eggs, vanilla, and water, and mix to combine well. The batter should be very thickly pourable.
  • Scrape the batter into the prepared pan, smooth into an even layer and place in the center of the preheated oven.
  • Bake until a toothpick inserted in the center of the cake comes out mostly clean or with a few moist crumbs attached (about 30 minutes). Do not overbake.
  • Remove the cake from the oven and allow to cool for 10 minutes in the pan before inverting onto a wire rack to cool completely.

To make the ganache topping.

  • In a small, heavy-bottom saucepan, heat the heavy whipping cream until it just begins to simmer. Place the chopped chocolate (10 ounces for whipped ganache) in a medium-size bowl. Pour the hot cream over the chocolate.
  • Allow the cream to sit on the chocolate for about a minute, until the chocolate begins to melt, and mix until the chocolate is melted, and the mixture is smooth and glossy.
  • Pour the warm ganache over the top of the cooled cake, and gently spread toward the edges so the ganache begins to drip down the sides of the cake. Allow to set at room temperature before serving.

To make whipped ganache

  • If you forgot to use 10 ounces of chopped chocolate instead of 8 and nothing has cooled yet, just melt 2 more ounces of chocolate and add it to the prepared ganache. Follow the same instructions as above through mixing until smooth. Allow the ganache to cool at room temperature until no longer hot to the touch.
  • Cover and place the bowl in the refrigerator until the mixture is firm enough to scoop with a spoon. Transfer it to a large bowl.
  • Beat with a handheld mixer or stand mixer fitted with the whisk attachment until thickened and fluffy (about 5 minutes). It will lighten in color as it reaches the right consistency.
  • Add the optional confectionersโ€™ sugar and beat until well-combined. Frost as desired.

Video

Notes

Flour blends
My favorite gluten free flour blends are Better Batter's original blend gluten free flour and Nicole's Best multipurpose blend. Bob's Red Mill 1-to-1 Gluten Free Baking Flour should also work, but you'll need to add an additional 1/4 teaspoon xanthan gum to your dry ingredients or the cake will look good, but will be crumbly.ย 
Cup4Cup changed its formula and doesn't seem to work as well as it has in the past, so I don't recommend it. To make your own blend using one of my โ€œmockโ€ recipes, please see the all purpose gluten free flour blends page.
Nutritional information
The information you see is an approximation for 1 slice of a single layer 9-inch cake, without the ganache frosting.ย 

Nutrition

Serving: 1slice | Calories: 395kcal | Carbohydrates: 52g | Protein: 5g | Fat: 21g | Saturated Fat: 4g | Polyunsaturated Fat: 4g | Monounsaturated Fat: 11g | Trans Fat: 0.1g | Cholesterol: 54mg | Sodium: 262mg | Potassium: 177mg | Fiber: 4g | Sugar: 26g | Vitamin A: 194IU | Vitamin C: 0.2mg | Calcium: 40mg | Iron: 1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!
A piece of a gluten free chocolate cake with 2 layers and chocolate frosting in between on a white plate with a fork

make ahead/leftovers

Storage instructions

Store leftovers in an airtight container at room temperature easily for 2 days, and up to 4 if fully frosted.

Seriously, I cannot understate how soft and moist this cake is. For that reason, you can even store it in the fridge without worrying about it drying out.

I suggest using this storage method if you don't think you can finish your chocolate cake within two or three days.

For longer storage, let the cake cool completely wrap it in freezer-safe wrap, and freeze it unfrosted or frosted for up to 4 months. Defrost at room temperature, frost and serve.

The frosting can also be made ahead of time and stored in the refrigerator in a sealed container. Just let it sit at room temperature until soft enough to spread. You can also whip it again briefly before frosting.

FAQs

Why did my cake sink?

When baked goods rise and then fall as they cool, the oven is usually too hot. Most ovens run hot, so try using a standalone oven thermometer that you replace often to gauge temperature.

Can I make this cake flourless?

No. Sometimes, gluten free cake is confused with “flourless cake.” Traditional gluten free baked goods are made with an all purpose gluten free flour blend, like conventional ones are made with all purpose wheat flour. You can make a totally flourless chocolate cake with chocolate, butter, eggs, cocoa powder, and sugar.

Can I make this into a bundt cake?

This cake is not dense enough to be sure that it would work in a bundt pan. For that, try this chocolate gluten free bundt cake recipe.

If I chilled my ganache for too long and it's too solid to whip, how to fix it?

Just let the mixture sit at room temperature until it's soft enough to scoop, then whip it as instructed.

Can I use a different baking pan?

Yes. You can bake this cake in a 9-inch square pan without changing anything for a slightly shorter cake or an 8-inch square pan for the same depth (and bake about 5 minutes longer). For an 8-inch round cake pan, it must be 3-inches deep and bake about 5 minutes longer. To bake this cake in a 13×9 inch rectangular pan, you'll need 75% more batter, so increase the yield from 8 slices of cake to 14. It will take longer to bake, probably close to 40 minutes.

Is there enough frosting for a layer cake?

To make a layer cake, you'll need to double the frosting recipe (and the cake recipe). Just change the yield from 8 slices to 16 slices or click the [2X] button.

Can I use melted butter instead of oil?

No, melted butter has more moisture and less fat than oil, so the cake won't turn out the same.

How about coconut oil instead of the oils mentioned?

Coconut oil that's liquid at room temperature works great.

Can I use a glass baking pan?

Glass, like stone, heats more slowly than aluminum and retains heat longer, so a cake baked in glass is more likely to burn before it finishes baking. I'd reduce the oven temperature to 325ยฐF after 15 minutes of baking to avoid that.

Can I use this recipe for cupcakes?

This cake makes cupcakes that are a little too dense. I prefer this gluten free chocolate cupcakes recipe.

Can I replace the water with coffee?

Yes, for an even richer chocolate flavor, try replacing half of the warm water with warm brewed coffee (decaf or regular). More than half coffee may make the cake taste like coffee, instead of just deepening the chocolate flavor.

A piece of chocolate cake on a plate, with Ganache and Gluten free chocolate cake
This easy gluten free chocolate cake is rich, dense and fudgy, and itโ€™s all made in just one bowl. Make a double layer or single, with the simplest chocolate ganache frosting. Say hello to your new favorite chocolate cake recipe! https://glutenfreeonashoestring.com/one-bowl-gluten-free-chocolate-cake/
A forkful of chocolate cake with ganache topping
A gluten free chocolate cake on a cake plate with two slices removed and the words "one bowl chocolate cake"

About Nicole Hunn

Hi, Iโ€™m Nicole. I create gluten free recipes that really work and taste as good as you remember. No more making separate meals when someone is GF, or buying packaged foods that arenโ€™t good enough to justify the price. At Gluten Free on a Shoestring, โ€œgood, for gluten freeโ€ just isnโ€™t good enough!

Leave a comment

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

Recipe Rating





This site uses Akismet to reduce spam. Learn how your comment data is processed.

100 Comments

  1. Susie says:

    5 stars
    My mom requested a chocolate gluten free cake to celebrate her 99th birthday. So i searched the internet and found this one. I read the comments and then decided to make it. I followed the recipe word for word , and my goodness, this cake did not disappoint. My whole family loved it( including the kids) I didnโ€™t tell them it was gluten free free until it was all gone and they were totally surprised. Thank you for the recipe. It was excellent!!

    1. Nicole Hunn says:

      Oh my gosh, Susie, you really got me right in the heart ๐Ÿ’˜ with this one!!! I’m so honored that this cake was special enough for your sweet mother’s 99th birthday. I love that you didn’t tell them it was gluten free until it was gone. That’s the best way, and this is the best endorsement. I can’t thank you enough for sharing that with me. Many happy returns!!!

  2. Margo says:

    Have you tried using coffee instead of water?

    1. Nicole Hunn says:

      Hi, Margo, I haven’t tried that in this recipe, no, but I don’t see why it wouldn’t work. I have used coffee in other chocolate recipes, like black bean brownies, to enhance chocolate flavor.

  3. Tracy says:

    5 stars
    Needing a quick cake for Valentineโ€™s Day that used only pantry ingredients, I made this cake in a heart pan. I dislike the flavor of cakes made with oil so used 7 tablespoons of butter and 1 tablespoon of grape seed oil with terrific results. I also added a handful of halved Luxardo cherries. Delicious!

    1. Nicole Hunn says:

      I’m glad your substitute of mostly butter for oil worked, Tracy. I generally don’t like cakes made with oil either, as they tend to taste oily, but if you’re ever willing to give it a try, I think you’d like this one as it’s written. The combination of a limited amount of oil with enough cocoa powder and the addition of sour cream mimics the mouthfeel and taste of butter here, and makes for an even more moist cake than when made with butter.

  4. Nancy Holmes says:

    5 stars
    I made this for my nieceโ€™s birthday. She is GF and 10 others that had the cake are not GF. Everyone commented on how moist and delicious the cake was.

    1. Nicole Hunn says:

      That’s so great to hear, Nancy! Thank you so much for sharing your experience. This is one of those keeper recipes that I think you’ll use again and again!

  5. Kary says:

    5 stars
    Is this cake sturdy enough to make a three layer chocolate cake?

    1. Nicole Hunn says:

      Hi, Kary, yes, most definitely this cake can be tripled and made into 3 layers. It really is the perfect chocolate cake!

  6. MarleneB says:

    5 stars
    EXCELLENT! No one knew it was gluten free. It was so moist, delicious & not overly sweet. Thank you for my new go to chocolate cake recipe!

  7. Ineke says:

    5 stars
    Thank you! This recipe is sensational and so easy to make. Best chocolate cake Iโ€™ve ever had- regardless of it being GF. Thanks!
    Iโ€™m in Australia and couldnโ€™t find XNtham Gum anywhere so used baking powder (not the same as Baking Soda). I use it often. It worked a treat. A huge, delicious chocolate cake. Canโ€™t thank you enough. My daughter has Crohnโ€™s disease and this is just perfect for her. Thank you ๐Ÿคฉ

  8. Theresa says:

    Could I make this in a bundt pan? What would the adjustments be?

    1. Nicole Hunn says:

      I’m afraid I really don’t know, Theresa, as I’ve never tried that and it can be tricky to bake something in a bundt pan successfully. I can’t give you instructions without having tried it myself to ensure that it would be successful, since multiplying the recipe and increasing the baking time may not work with the recipe as is.

  9. Tiger says:

    I just made this. Itโ€™s wonderful. How could I get this to be fluffy? What if I folded in a whipped egg white or two at the end? Would it rise the cake?
    Iโ€™ll experiment :) any advice is appreciated.

    1. Nicole Hunn says:

      I’m afraid this is not that sort of cake, and I wouldn’t recommend that at all, Tiger. It sounds like you’re looking for a sponge cake. I don’t have a recipe for a chocolate sponge cake, though.