I just baked what I swear is the best Moist Gluten Free Cake you’ll ever eat, and if you think gluten free means dry you’re going to want to keep reading.

I am obsessed with this Homemade Gluten Free Chocolate Cake because it tastes like a secret I didn’t have to hide. I love that it’s a Moist Gluten Free Cake that somehow stays dense and gooey without being heavy.
I adore the way pure unsweetened cocoa powder rips through any fake chocolate claims and how a splash of hot coffee or boiling water makes the chocolate sing. It’s messy in a good way, like dessert that refuses to be polite.
But the best part is watching skeptical friends admit, out loud, that they’d never guess. No one can argue anymore.
Ingredients

- Gluten free flour gives structure; xanthan gum helps mimic gluten’s stretchy bite.
- Basically, cocoa powder brings deep chocolate notes and a slight, pleasant bitterness.
- Baking powder adds lift so the cake isn’t dense or heavy.
- Baking soda reacts with acid and makes the crumb lighter and taller.
- Fine salt brightens flavors so the chocolate actually tastes like chocolate.
- Sugar sweetens and helps create a tender, slightly caramelized crust.
- Eggs bind everything together and give the cake some bounce and body.
- Milk keeps it moist and adds a little richness to the batter.
- Oil keeps the cake soft and gives it a moist, tender crumb.
- Vanilla adds warmth and rounds out the chocolate without stealing the show.
- Plus, hot coffee or boiling water deepens the chocolate flavor, makes it darker.
- Basically, sour cream or yogurt makes it extra moist and pleasantly tangy.
- Chocolate chips add pockets of gooey, melty joy in every bite.
Ingredient Quantities
- 1 3/4 cups (220 g) gluten free all purpose flour, if your blend has no xanthan gum, add 1 teaspoon xanthan gum
- 3/4 cup (75 g) unsweetened cocoa powder, sifted if lumpy
- 1 1/2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon fine salt
- 1 2/3 cups (330 g) granulated sugar
- 2 large eggs, room temperature
- 1 cup (240 ml) whole milk or any dairy free milk
- 1/2 cup (120 ml) vegetable oil or light olive oil
- 2 teaspoons vanilla extract
- 1 cup (240 ml) hot coffee or boiling water, for extra chocolate flavor
- 1/2 cup (120 g) plain sour cream or Greek yogurt, optional but makes it super moist
- 1/2 cup (90 g) chocolate chips or chopped chocolate, optional for extra fudginess
How to Make this
1. Preheat oven to 350°F (175°C). Grease and flour two 8 inch round pans or one 9×13 pan and line bottoms with parchment for easy removal.
2. In a large bowl whisk together 1 3/4 cups (220 g) gluten free all purpose flour. If your blend has no xanthan gum add 1 teaspoon xanthan gum. Add 3/4 cup (75 g) unsweetened cocoa powder (sift if lumpy), 1 1/2 teaspoons baking powder, 1 1/2 teaspoons baking soda, and 1 teaspoon fine salt until evenly mixed.
3. Add 1 2/3 cups (330 g) granulated sugar to the dry mix and whisk so sugar is integrated. This helps keep things even so you dont get pockets of stuff later.
4. Make a well in the center and add 2 large room temperature eggs, 1 cup (240 ml) whole milk or dairy free milk, 1/2 cup (120 ml) vegetable oil, 2 teaspoons vanilla extract, and 1/2 cup (120 g) plain sour cream or Greek yogurt if using. Whisk everything together until batter is smooth and you cant see streaks of flour, scraping the sides with a spatula.
5. Pour in 1 cup (240 ml) hot coffee or boiling water while whisking slowly. The batter will be thin and thats ok, the hot liquid blooms the cocoa and makes the cake super chocolatey and moist.
6. If you want extra fudginess fold in 1/2 cup (90 g) chocolate chips or chopped chocolate now. Dont overmix, just fold until distributed.
7. Divide batter evenly between prepared pans, tap pans gently on the counter to release air bubbles. Smooth the tops with a spatula.
8. Bake in the preheated oven 30 to 35 minutes for two 8 inch pans, or 35 to 40 minutes for a 9×13, until a toothpick comes out with a few moist crumbs but not raw batter. Ovens vary so start checking at the earlier time.
9. Cool in pans 10 to 15 minutes, then run a knife around the edges and invert onto a rack. Peel off parchment and let cool completely before frosting or serving. If you used sour cream the cake will be extra tender so be gentle when removing.
10. Tips: for best flavor use fresh brewed hot coffee not instant, room temperature eggs help emulsion, dont skip the hot liquid even if it looks weird, and store leftovers wrapped at room temp for 2 days or refrigerate for up to 5 days. If your blend is extra absorbent add a tablespoon of milk to the batter before baking.
Equipment Needed
1. Oven (preheated to 350°F / 175°C)
2. Two 8 inch round cake pans or one 9×13 pan (greased and floured)
3. Parchment paper rounds or a sheet to line pan bottoms
4. Large mixing bowl (for dry ingredients) and a medium bowl (for wet)
5. Whisk and silicone spatula (for mixing and scraping)
6. Dry measuring cups and spoons plus a liquid measuring cup
7. Sifter or fine mesh sieve (for cocoa and flour)
8. Cooling rack and a toothpick or cake tester
FAQ
Gluten Free Chocolate Cake Recipe Substitutions and Variations
- Flour: swap the gluten free blend with 1 3/4 cups almond flour plus 1/4 cup tapioca starch to get lighter crumb, or use 2 cups certified gluten free oat flour but expect a denser cake
- Cocoa powder: use Dutch process cocoa 1:1 for a deeper chocolate note, but cut baking soda to 1 teaspoon if you do, or replace the 3/4 cup cocoa with about 85 g melted dark chocolate for a fudgier result
- Milk: any plant milk works 1:1 (soy, oat, almond), or use buttermilk for extra tang, just thin thicker non dairy milks with a little water so batter isnt too stiff
- Oil: swap with melted butter or coconut oil 1:1 for richer flavor, or use applesauce 1:1 to cut fat though cake will be a bit less tender
Pro Tips
1) If your GF blend has no xanthan gum, add it as noted, but also let the batter rest 10 minutes before baking. It helps the flour hydrate so the cake holds together better. You might see the batter thicken a bit, that is normal.
2) Use freshly brewed hot coffee, not instant. Pour it in slowly while whisking so it blends smooth. The batter will be very thin, don’t freak out, it makes the cake extra chocolatey and moist.
3) If you add sour cream or Greek yogurt, be gentle when you move the cakes after baking. They set softer and can tear. Cool them in the pan 12 to 15 minutes, then loosen the edges with a knife and invert onto a rack. If you need to transport, chill briefly so they are less fragile.
4) For best texture and even baking, weigh ingredients if you can, and rotate the pans halfway through bake time. Also avoid overmixing once you add the wet to the dry; a few small lumps are fine. Store wrapped at room temp up to 2 days or refrigerate up to 5 days.
Gluten Free Chocolate Cake Recipe
My favorite Gluten Free Chocolate Cake Recipe
Equipment Needed:
1. Oven (preheated to 350°F / 175°C)
2. Two 8 inch round cake pans or one 9×13 pan (greased and floured)
3. Parchment paper rounds or a sheet to line pan bottoms
4. Large mixing bowl (for dry ingredients) and a medium bowl (for wet)
5. Whisk and silicone spatula (for mixing and scraping)
6. Dry measuring cups and spoons plus a liquid measuring cup
7. Sifter or fine mesh sieve (for cocoa and flour)
8. Cooling rack and a toothpick or cake tester
Ingredients:
- 1 3/4 cups (220 g) gluten free all purpose flour, if your blend has no xanthan gum, add 1 teaspoon xanthan gum
- 3/4 cup (75 g) unsweetened cocoa powder, sifted if lumpy
- 1 1/2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon fine salt
- 1 2/3 cups (330 g) granulated sugar
- 2 large eggs, room temperature
- 1 cup (240 ml) whole milk or any dairy free milk
- 1/2 cup (120 ml) vegetable oil or light olive oil
- 2 teaspoons vanilla extract
- 1 cup (240 ml) hot coffee or boiling water, for extra chocolate flavor
- 1/2 cup (120 g) plain sour cream or Greek yogurt, optional but makes it super moist
- 1/2 cup (90 g) chocolate chips or chopped chocolate, optional for extra fudginess
Instructions:
1. Preheat oven to 350°F (175°C). Grease and flour two 8 inch round pans or one 9×13 pan and line bottoms with parchment for easy removal.
2. In a large bowl whisk together 1 3/4 cups (220 g) gluten free all purpose flour. If your blend has no xanthan gum add 1 teaspoon xanthan gum. Add 3/4 cup (75 g) unsweetened cocoa powder (sift if lumpy), 1 1/2 teaspoons baking powder, 1 1/2 teaspoons baking soda, and 1 teaspoon fine salt until evenly mixed.
3. Add 1 2/3 cups (330 g) granulated sugar to the dry mix and whisk so sugar is integrated. This helps keep things even so you dont get pockets of stuff later.
4. Make a well in the center and add 2 large room temperature eggs, 1 cup (240 ml) whole milk or dairy free milk, 1/2 cup (120 ml) vegetable oil, 2 teaspoons vanilla extract, and 1/2 cup (120 g) plain sour cream or Greek yogurt if using. Whisk everything together until batter is smooth and you cant see streaks of flour, scraping the sides with a spatula.
5. Pour in 1 cup (240 ml) hot coffee or boiling water while whisking slowly. The batter will be thin and thats ok, the hot liquid blooms the cocoa and makes the cake super chocolatey and moist.
6. If you want extra fudginess fold in 1/2 cup (90 g) chocolate chips or chopped chocolate now. Dont overmix, just fold until distributed.
7. Divide batter evenly between prepared pans, tap pans gently on the counter to release air bubbles. Smooth the tops with a spatula.
8. Bake in the preheated oven 30 to 35 minutes for two 8 inch pans, or 35 to 40 minutes for a 9×13, until a toothpick comes out with a few moist crumbs but not raw batter. Ovens vary so start checking at the earlier time.
9. Cool in pans 10 to 15 minutes, then run a knife around the edges and invert onto a rack. Peel off parchment and let cool completely before frosting or serving. If you used sour cream the cake will be extra tender so be gentle when removing.
10. Tips: for best flavor use fresh brewed hot coffee not instant, room temperature eggs help emulsion, dont skip the hot liquid even if it looks weird, and store leftovers wrapped at room temp for 2 days or refrigerate for up to 5 days. If your blend is extra absorbent add a tablespoon of milk to the batter before baking.

















