Go Back
Moist gluten-free chocolate layer cake with creamy chocolate buttercream frosting on a cake stand.

Gluten Free Chocolate Cake for Easy Homemade Dessert

This decadent gluten-free chocolate cake is rich, moist, and perfect for any celebration that calls for something deeply chocolatey. With tender cake layers and fluffy chocolate buttercream, it is a dessert that feels special while still being approachable for home bakers. Save it for birthdays, holidays, dinner parties, or any day that needs a beautiful chocolate cake.

Prep Time 10 minutes
Cook Time 45 minutes
2 hours
Total Time 3 hours
Servings: 10 slices
Course: Dessert
Cuisine: American

Ingredients
  

  • 2 cups gluten-free 1:1 baking flour
  • Use a cup-for-cup blend that includes xanthan gum. If gluten is not a concern all-purpose flour can also work.
  • ¾ cup unsweetened cocoa powder
  • Gives the cake its rich chocolate base.
  • 2 cups granulated sugar
  • Sweetens the cake and helps create a soft crumb.
  • teaspoons baking powder
  • Helps the cake rise.
  • teaspoons baking soda
  • Works with the yogurt and coffee to create lift and tenderness.
  • 1 teaspoon kosher salt
  • Balances the sweetness and enhances the chocolate flavor.
  • 2 large eggs
  • Adds structure and richness.
  • 5 ounces unsweetened Greek yogurt
  • Keeps the cake moist. Dairy-free Greek-style yogurt can be used if needed.
  • ½ cup vegetable oil
  • Creates a soft tender texture that stays moist after chilling.
  • 1 teaspoon espresso powder
  • Boosts the chocolate flavor. You can omit it if preferred.
  • 1 teaspoon vanilla extract
  • 1 cup freshly brewed coffee
  • Stirred into the batter for moisture and deeper chocolate flavor. Use warm water if you do not want coffee.
  • For the Chocolate Buttercream
  • cups butter softened
  • Use regular butter or a dairy-free butter alternative.
  • 5 cups powdered sugar
  • Creates a sweet fluffy frosting.
  • 1 cup unsweetened cocoa powder
  • Makes the buttercream rich and chocolatey.
  • 1 teaspoon espresso powder
  • Optional but it adds depth.
  • ½ cup milk
  • Use dairy milk or a thicker dairy-free milk. Add more as needed for consistency.
  • 1 teaspoon vanilla extract

Method
 

  1. Prepare the cake pans
  2. Preheat the oven to 350°F. Grease two 8-inch round cake pans with nonstick baking spray. For easier removal, line the bottoms with parchment paper.
  3. Beat the eggs and sugar
  4. Add the eggs and sugar to a large mixing bowl. Beat for about 3 minutes, until the mixture looks lighter, frothy, and slightly thickened.
  5. Add the wet ingredients
  6. Mix in the Greek yogurt, vegetable oil, vanilla extract, and espresso powder until smooth and combined.
  7. Whisk the dry ingredients
  8. In a separate bowl, whisk together the gluten-free flour, cocoa powder, baking powder, baking soda, and salt.
  9. Combine wet and dry
  10. Add the dry mixture to the wet mixture in batches. Mix gently until just combined. Do not overmix, or the cake can turn dense.
  11. Stir in the coffee
  12. Slowly pour in the brewed coffee and stir until the batter is smooth. The batter may look thinner than traditional cake batter, and that is okay.
  13. Bake the cake layers
  14. Divide the batter evenly between the prepared pans. Bake for 35 to 45 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
  15. Cool completely
  16. Let the cakes cool in the pans for about 10 minutes, then transfer them to a wire rack. Cool fully before frosting.
  17. Make the chocolate buttercream
  18. Add the softened butter, powdered sugar, cocoa powder, espresso powder, milk, and vanilla to a mixing bowl. Beat until smooth, fluffy, and creamy. Add a little more milk if the frosting feels too thick.
  19. Frost the cake
  20. Place one cooled cake layer on a serving plate. Spread a thick layer of chocolate buttercream over the top. Add the second cake layer, then frost the top and sides of the cake.
  21. Slice and serve
  22. Let the cake sit for a few minutes so the frosting settles, then slice and enjoy.

Notes

  • Use a good gluten-free flour blend. A 1:1 baking flour gives the best structure and texture.
  • Do not overmix the batter. Mix only until the dry ingredients disappear to keep the cake soft.
  • Coffee makes the chocolate stronger. The cake will not taste like coffee, but the chocolate flavor will be deeper.
  • Cool the layers completely. Warm cake will melt the buttercream and make frosting messy.
  • Use an oven thermometer if needed. Cake texture can change if your oven runs too hot or too cool.
  • Thin the frosting slowly. Add milk a tablespoon at a time until it spreads easily.
  • Make it dairy free if needed. Use dairy-free Greek-style yogurt, dairy-free butter, and dairy-free milk.