Easy Gluten Free Chocolate Cake With Sour Cream

Jump to Recipe Print Recipe
4.87 from 29 votes

This ultra-fudgy gluten-free chocolate cake is rich, moist, and loaded with deep chocolate flavor! Every bite is rich and deeply chocolaty, topped with a luscious homemade cream cheese frosting. Sour cream helps keep this cake moist, so it has a perfect chocolate cake texture. Nobody will know this cake is gluten-free.

A gluten free chocolate cake slice on a white plate.

❤️ Sandi’s Recipe Summary

The Quick Bite: I have perfected this gluten-free chocolate cake recipe over the past 8 years to ensure it will turn out perfectly for you. This cake is made with simple ingredients, including sour cream for extra moisture, and no one will guess it’s gluten-free!

  • Time: 1 hour and 20 minutes, which includes cooling time.
  • Tools: Whisk, mixing bowls, cake pans, cooling rack, stand mixer or electric mixer, frosting spatula.
  • Free From: gluten, soy, oats, and nuts (if you use a different milk).
  • Best For: Birthdays, weddings, celebrations.
  • Pro Tip: Let the cake batter sit for 15-20 minutes so the rice flour softens. This eliminates any grittiness.

After making and refining this recipe over the years, this is the cake everyone in my family wants me to make for their birthday. It has the right balance of chocolate flavor, tenderness, and rich chocolate frosting.

My chocolate baking expertise is shown in these gluten-free chocolate dessert recipes as well. If you prefer a lighter chocolate cake, this Gluten-Free Devil’s Food Cake recipe also gets rave reviews. They are guaranteed to help you with those chocolate cravings!

I bought the mini pans and made this for Thanksgiving! It turned out sooooo good! Even my picky non-gluten free kids loved it and said , “Hey, it doesn’t taste gritty’!
The frosting was to die for as well!”

becky r., pinterest commen

Like many of my long-standing recipes, this cake has evolved as my gluten-free baking techniques improved.

Sandi holding a tray of biscuits that are going in the oven to bake.

A Note From My Kitchen

As noted above, I have tested this recipe multiple times over the years. I have made a few tweaks to make it turn out moist and delicious. I tested two gluten-free flour blends, and both performed well. I do recommend letting the cake batter rest for 15-20 minutes, which allows the rice flour to soften. This is more important using Bob’s 1:1, which is a little grittier.

If you use a blend I haven’t tested, you may need to tweak the moisture level with a little more milk or flour. Make these adjustments one tablespoon at a time.

I have also tested a dairy-free version (using King Arthur Measure for Measure), and it yielded the same rich results.

Photos of the chocolate cake ingredients.
I used simple ingredients to make a gluten free chocolate cake!

Ingredient Notes:

For the full list of ingredients and amounts, please go to the recipe card below.

Gluten-Free Flour Blends Tested:

  • My Tested Gluten-Free Flour Blends: I tested this recipe using Bob’s Red Mill 1 to 1 and King Arthur Measure for Measure. Other blends should work, but you will have to watch the moisture level. Each blend has a different grain-to-starch ratio, so you may need to adjust. Read Why Gluten-Free Flour Blends Vary to learn more. Note, these blends work well for cakes and quick breads, but I do not recommend them for yeast-based gluten-free baking.
  • Reader Tested Blend: Pamela’s Artisan Flour Blend

The rest of the ingredients:

  • Binder – A binder is important in gluten-free baking. If your blend doesn’t contain one, add 1 teaspoon of xanthan gum. Learn Why Binders are Important in Gluten-Free Baking to learn more.
  • Cocoa Powder – I love Ghirardelli and Anthony’s brands of cocoa powder. My testing has shown they have the best chocolate flavor. Almost all cocoa powder is gluten free, but always check the label.
  • Sour Cream – This is what helps keep this cake so rich and moist. I recommend using full-fat sour cream in this cake.
  • Eggs – Use large eggs.
  • Butter – I recommend unsalted butter.
  • Milk or Non-Dairy Milk – I used almond milk in my recipe testing. If you are nut-free, use any plant-based milk except canned coconut milk, which is too thick.
  • Baking Powder/Baking Soda – Use baking powder for Dutch process cocoa and black cocoa powders. Use baking soda for regular cocoa powder. Many ask if baking powder is gluten free, and most are.
  • Cream Cheese – Let the cream cheese warm to room temperature before using it to make your frosting.

Substitutions:

  • Make it dairy-free – You can easily make this gluten free chocolate cake dairy-free by substituting the cream cheese for a dairy-free cream cheese like the one from Kite Hill. Also, substitute the yogurt for dairy-free yogurt.
  • Make it nut-free – The only nuts in this recipe are in almond milk. Substitute soy milk or another non-dairy milk to avoid almond milk.
  • Make it gum-free – To make this cake gum-free, meaning there is no xanthan or guar gum, use my DIY Gluten Free Flour Blend.
  • Make it butter-free – If you want to make this gluten free chocolate cake with oil instead of butter. That is fine, and I tested this recently. I recommend using a light oil, not a strongly flavored one. (This is for the cake and NOT the frosting.)
  • Swap plain yogurt for the sour cream – If you don’t have sour cream on hand, plain yogurt also helps retain the moisture in this chocolate cake recipe.

How to Make a Gluten-Free Chocolate Cake (Step-By-Step)

Photos of mixing the dry ingredients in the mixing bowl.

Email This Recipe To Me!

I will email this recipe to you, so you can come back to it later!

Step 1: Add the dry ingredients to a large mixing bowl. If you notice many lumps in your cocoa powder, I recommend sifting it into the bowl. This will make your cake’s consistency more even.

👀 Sandi Says: To measure gluten-free flour, use the spoon-and-level method. Avoid scooping directly from the bag, which can pack too much flour and lead to a dry cake.

Step 2: Use a whisk to blend the dry ingredients. Don’t forget that if your gluten-free flour blend doesn’t contain xanthan gum or another binder, add 1 teaspoon to the dry ingredients.

Photos of making mixing the wet ingredients and then adding them to the dry ingredients.

Step 3: Add the wet ingredients to a smaller bowl and whisk to blend. I like to partially melt my butter to make the mixture smoother.

Step 4: Pour the wet ingredients into the dry ingredients. Mix the wet and dry ingredients in the bowl with a large spoon until they are just “barely” mixed. This is one of the secrets to a fluffy cake.

Photos showing the texture of the cake batter, and the cake batter in the mini cake pans.

I used this cute set of mini-layer cake pans. These pans make layer cakes so easy to make. You can choose how many layers to make your cake. You can also use this fudgy chocolate cake batter to make a sheet cake or cupcakes.

Step 5: Compare your cake batter to mine to make sure yours has the right consistency. This is the consistency of my batter. It is a nice, rich chocolate color.

Step 6: Spray your cake pan with gluten free baking spray and add the batter to the mini cake pans.

🎂 Sandi Says: I highly recommend baking your gluten-free cake on the bake oven setting, not the convection setting. After years of practice, I truly believe the regular bake setting helps gluten-free cakes bake more evenly.

Step 7: Bake the cake. The bake time will vary depending on the pan in which you bake your cakes.

Step 8: Remove the cake from the oven and cool completely before frosting.

Rich chocolate frosting in a mixing bowl.

Step 9: While the cake is cooking, prepare the chocolate cream cheese frosting.

How to frost your cake like a pro:

  1. Look at each layer of your cake. If you see the cake domes, use a serrated knife or cake leveler to trim the tops for even layers. This ensures a stable, professional-looking cake.
  2. Take a turning cake stand and add a small dollop of frosting to the center of the stand to prevent sliding. I love this cake stand because it comes with the right spatulas and bench scraper for frosting the cake!
  3. Place the first cake layer flat side down.
  4. Spread an even layer of the chocolate frosting over the top of the first layer using a spatula.
  5. Place the second cake layer on top, flat side up, for a smooth surface.
  6. Gently press down the layer of cake to ensure it adheres to the frosting beneath.
  7. Apply a very thin layer of frosting all over the cake to trap any crumbs.
  8. Smooth it out, then chill the cake for 20 to 30 minutes to set the crumb coat.
  9. Apply a generous layer of frosting over the entire cake. Use an offset spatula to spread it evenly.
  10. Smooth the sides of the frosted cake using a bench scraper while turning the cake stand.

Read my Gluten-Free Baking Tips to learn more. I also have a Gluten-Free Cake Troubleshooting Guide to help you perfect your gluten-free cake baking.

Make it fancy!

If you want to bake more chocolate recipes, try these moist Gluten-Free Chocolate Brownies. Need a quick chocolate cake recipe but don’t want to bake? Try my Gluten-Free Chocolate Mug Cake recipe!

Frequently Asked Questions:

Can I use oil instead of butter in this cake?

Yes! I tested this cake with light oil recently, and it worked well. Just avoid strongly flavored oils like olive oil.

Can I bake this cake in different pans?

Absolutely. I used the Wilton mini pans, but a 9×13 pan or 9-inch cake pans also work, or make cupcakes. You will need to adjust the baking time if you use a different sized pan.

How do you store a gluten-free cake?

Store the cake in an airtight cake container in the refrigerator. It will keep fresh for up to 4 days.

Can you freeze this cake?

Yes, I recommend freezing the baked cake layers unfrosted so they don’t get soggy when the cake thaws. Wrap the cake layers in plastic wrap, then cover tightly with foil. Place each layer in a gallon-sized freezer zipper bag.

The whole, decorated gluten-free chocolate cake.

My dearest friend is now following a gluten free diet. This cake was my first foray in baking for her — holy heck, she LOVED it! Even the non gluten free people loved it. Its nice to make something to rave reviews while still following their dietary requests. Ill be making this often!”

Michele W.

More Gluten-Free Cake Recipes:

Love This Recipe?

💬 I would love to hear how your cake turned out! Let me know which gluten-free flour blend you used. Your tips help other bakers succeed, too.

A whole chocolate frosted cake on a white plate.

Gluten Free Chocolate Cake

Sandi Gaertner
This gluten-free chocolate cake with sour cream is ultra-moist, rich, and packed with deep chocolate flavor! The sour cream adds the perfect balance of tenderness and decadence, making every bite irresistibly fudgy.
4.87 from 29 votes
gluten free allergy icon
soy free allergy icon
vegetarian icon
Prep Time 15 minutes
Cook Time 25 minutes
Cooling 40 minutes
Total Time 1 hour 20 minutes

Ingredients
  

Cake:

  • ¾ cup cane sugar
  • ¾ cup cocoa powder (*see note)
  • ¾ cup gluten free flour blend (*see note)
  • 3 eggs size large
  • ½ cup unsalted butter softened
  • 1 teaspoon baking powder + dash of salt
  • ¾ cup almond milk or other milk
  • 6 ounces sour cream *you can also use yogurt

Frosting:

  • 8 ounces cream cheese room temperature
  • ½ cup unsalted butter room temperature
  • 3 ¾ cups powdered sugar
  • ½ cup cocoa powder
  • 1 teaspoon pure vanilla extract

Email This Recipe To Me!

I will email this recipe to you, so you can come back to it later!

Instructions
 

  • Preheat the oven to bake 350º F and set the oven rack to the middle of the oven.
  • Add the dry ingredients to a large mixing bowl. If you notice a lot of lumps in your cocoa powder, I recommend sifting it into the bowl. This will make your cake's consistency more even.
  • Use a whisk to blend the dry ingredients. Don't forget if your gluten-free flour blend doesn't contain xanthan gum or another binder, add a teaspoon to the dry ingredients.
  • Add the wet ingredients to a smaller bowl and whisk to blend. I melt my butter to make the mixture smoother.
  • Pour the wet ingredients into the dry ingredients. Mix the wet and dry ingredients in the bowl with a large spoon until they are just "barely" mixed.
  • HINT: Do not over-mix your cake, or it will not be as light and fluffy! I never use a standing mixer to mix gluten-free cake batter. It makes your cake turn out more dense.
  • Note: Every gluten-free flour blend has a different starch-to-grain ratio. The brand of gluten-free flour you use will affect the moisture of the batter. If your cake batter is too runny, add more flour, and if it is too thick, add more liquids.
  • Spray your cake pan with gluten free baking spray and add the batter to the mini cake pans. You can also make a 9×13 sheet cake with this chocolate cake batter.
  • Bake the cake at 350º F for 20 minutes. The bake time will vary depending on the pan in which you bake your cakes.
  • How to check to see if the cake is finished baking, insert a toothpick into the center of the cake. If the toothpick comes back clean, the cake is ready. If there are crumbs or batter on the toothpick, it must be baked longer.
  • If the cake is fully baked, remove it from the oven and let the cake in the pan sit for 5 minutes. After 5 minutes, gently tilt the cake out of the pan onto a cooling rack. Letting it sit in the pan for 5 minutes allows the cake to settle and makes it a lot easier to get it out of the pan without breaking.
  • Pro TIP: Let the cake cool completely before frosting it. Otherwise, your frosting could melt. If you are in a hurry, cool your cake in the refrigerator.
  • While the cake is cooking, prepare the chocolate cream cheese frosting. Add the butter, cream cheese, cocoa powder, and powdered sugar to the bowl of a stand mixer. Put on a whisk attachment.
  • Mix the homemade chocolate cream cheese frosting in a standing mixer. Start at a low speed and gradually increase the speed. Whip for 3-4 minutes until the frosting is nice and fluffy. (Be sure your butter and cream cheese are at room temperature so your frosting whips really creamy!)
  • See the notes below for detailed directions to frost the cake.

Video

Notes

  1. There are many gluten free cocoa powder brands. I like Rodelle, Anthony’s, and Ghirardelli. If you see lumps in the cocoa powder, I recommend sifting it into the dry ingredients.
  2. I have tested this recipe with King Arthur Measure for Measure GF and Bob’s Red Mill 1 to 1 GF blend. That doesn’t mean others will not work; I just have not tested other flours.
  3. If your gluten free flour blend doesn’t contain xanthan gum or another binder, add 3/4 teaspoon.
  4. To make this cake dairy-free, substitute the butter for vegan butter and use a dairy-free yogurt like the Kite Hill brand.
  5. I used almond milk, but other dairy-free kinds of milk will work. However, I do not recommend canned coconut milk.
    When mixing the batter, do not over-mix the batter. It would result in a denser cake.
  6. If you don’t have the mini layer pans, you can bake this cake in regular-sized cake pans or as cupcakes. Note that each cake pan size will require a different baking time.
  7. This cake will keep fresh for up to 3 days in the refrigerator. You can also freeze it. I recommend freezing the cake unfrosted, with each layer wrapped in plastic wrap and gently placed in a large freezer-safe zipper bag.

SPECIAL NOTE

Please know that every gluten free flour blend has a different starch to grain ratio. If you use a blend I didn’t test, my rule of thumb is to add more flour if your dough or batter is wet and add more liquid if the dough or batter is too dry!

Nutrition

Serving: 1sliceCalories: 488kcalCarbohydrates: 62gProtein: 6gFat: 27gSaturated Fat: 16gPolyunsaturated Fat: 1gMonounsaturated Fat: 7gTrans Fat: 1gCholesterol: 109mgSodium: 140mgPotassium: 200mgFiber: 4gSugar: 51gVitamin A: 874IUVitamin C: 0.1mgCalcium: 99mgIron: 2mg
Tried this Recipe? Pin it for Later!Mention @FearlessDining or tag #FearlessDining!

Nutrition Disclaimer

Nutritional information is an estimate provided to you as a courtesy. You should calculate the actual nutritional information with the products and brands you are using with your preferred nutritional calculator.

Save

I truly hope you enjoy this recipe. I have been testing and creating gluten-free recipes for over 15 years. Creating gluten-free recipes that do not taste gluten-free is my goal for every recipe. Sometimes I only have to test a new recipe a couple of times, and others it takes multiple times. I do this so you get reliable, delicious results every time!

4.87 from 29 votes (18 ratings without comment)

Leave a Reply

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

Recipe Rating




38 Comments

  1. 5 stars
    This was an excellent cake! As promised, it does not taste Gluten Free. (3 of us have devoured it!) I am not Gluten intolerant, so I don’t lean towards eating GF foods because my experience with several have not been as tasty as their gluten counterparts. I’m only going to eat something GF if it tastes as good as the “regular” stuff. However, since I have an adult daughter who is gluten intolerant I look for things that she can enjoy – to at least have something along side what the rest of the family is eating. It does become cumbersome, making one thing for her and another for the rest of us. I love it when I can find a GF recipe that works for the whole family. This one hits the mark! I recently discovered “Pamela’s” gluten free flour at a local IGA (Macey’s) here in Utah, (also on Amazon). I did a comparison test of Cup4Cup and Pamela’s with your GF waffles, and my daughter and I both agreed that Pamela’s was best, so I used it here. It’s now my go to GF flour. You can buy their cake mixes, brownie mixes, etc., but being cost conscious as well, I just opted for the All Purpose Flour, Artisan blend, and so far it works great. (I want to see how it fares in bread recipes, also.)
    For reference, I made this in three 6″ round pans and I believe I cooked them for 25 minutes (till toothpick was essentially clean – a few crumbs) at 350. I also used 2% milk, regular cocoa, and salted butter, in both the cake and the frosting, with no additional salt in the cake recipe. (My Foodie blogger friend told me that unsalted/salted butter in a recipe is really a taste preference and depends on what you’re used to, so I always use salted and skip any additional salt.)
    Thank you Sandi, for all of the work you have put into perfecting this recipe!

  2. 3 stars
    Flavour was great but I barely got a rise. It was definitely quite dense, no cake texture more like a brownie. Also 20min it was still raw. I had to add 15min so 35min was good.
    I’ll make this again for chocolate chip brownies.

    1. Hi Jenny, I haven’t heard of this happening with this recipe. Which flour blend did you use and did you check to ensure the baking powder wasn’t expired? What was the texture and consistency of your cake batter? Did you use a stand mixer? The baking time really depends on the size and material of the cake pan.

  3. When I bake I’ve been measuring my flour by weight rather than cups. Do you spoon the flour into the measuring cup instead of scooping to get an accurate measurement?

  4. I want to make a 3 layer 8 inch cake. Would this recipe still work or do you think I should increase the quantities of ingredients?

  5. The Bob’s Red Mill 1:1 gluten free flour I have doesn’t have xantham gum listed in the ingredients. Do I need to add a tsp of xantham gum to the recipe?

  6. 3 stars
    This picture of this cake looked so delicious. My first problem is that the pan size was not cited within the recipe. I used two 8″ pans, which did not exceed the traditionally recommended 2/3 fill for a baking pan. Twenty minutes baking time was not near enough; these required 35-40 minutes each to fully bake. I feel that the cake was not quite sweet enough, in spite of the fact that I would normally cut sugar in recipes by 25%. If I were to make it again, I would increase the cocoa in the frosting. My husband liked both the cake & the frosting, but he’s not the GF person in this family.

    1. Hi Kathleen, I am sorry the cake didn’t work out for you. I had listed what pans I used under the ingredient notes, with a link to the actual pans so readers could see them. I also talked about the pan size in the Recipe FAQ section and advised the cake needs to bake longer if you use a different size pan. I just added a photo of the cake pans just in case anyone else doesn’t read the post and see the photo of the pans with batter I had already included.

  7. 5 stars
    I’ve made this cake so many times & each time it was delicious! I love this recipe, it’s easy yet tastes like you’ve worked for hours.
    I wrote the recipe down, way back when I first found, & didn’t write down the author, something I do religiously, now. I’m so glad I can now give credit where it’s due!! Thank you! BTW- people who aren’t GF ask for the recipe. It’s my go to for church meals!

  8. 5 stars
    I had to bake this cake today! I haven’t tasted it yet but I will soon.

    I used Bob’s red mill gf 1 to 1 baking flour. Instead of baking powder I used cream of tartar and baking soda. I also used light extra virgin olive oil in thr cake battery instead of butter because I only had enough unsalted butter for the icing. I used powder vanilla for the icing and added a little water. I heated a hershey’s bar on top of the cake. It was a lot of fun decorating the cake. Thanks for sharing all these amazing recipes. One new friend mentioned possibly going gluten free and I shared your website with her. ❤️

  9. I can’t wait to make this cake. Is there a way to make the cream cheese frosting just plain vanilla? Would I just leave out the cocoa powder? Thanks!

  10. 5 stars
    After a rough start the end result was a beautiful, moist cake. My neighbor asked if I would make a gluten free chocolate cake for his wife for her birthday. They absolutely loved it! Thank you Sandi for helping me thru this.

      1. Would I use 3, 6 inch cake pans to make a smaller cake? I wasn’t sure on the sizes of pans and how many of the pans I would use with this recipe.

        Thank you!!

  11. 5 stars
    This cake tastes SO delicious, much better than other GF ones I’ve made! Do I use a mixer to combine wet ingredients? Do I also use a mixer when combining dry and wet? What do you mean by ‘barely mixed together?’ I made this and tried to not mix a ton but then I had some chunks of ingredients in the final product. Thank you!

      1. I am making this recipe tonight. I am concerned about the small amount of flour the recipe calls for. Only 3/4 of a cup is needed or is this a type-o

  12. 5 stars
    My dearest friend is now following a gluten free diet. This cake was my first foray in baking for her — holy heck, she LOVEd it! and even the non gluten free people loved it. Its nice to make something to rave reviews while still following their dietary requests. Ill be making this often!