This gluten-free chocolate cake is the kind of dessert that makes everyone pause after the first bite. It is rich, soft, deeply chocolatey, and covered in a creamy chocolate buttercream that feels perfect for birthdays, holidays, celebrations, or a cozy weekend baking project.
The cake itself is wonderfully moist without feeling heavy. A little Greek yogurt adds tenderness, while brewed coffee and espresso powder help bring out the bold chocolate flavor without making the cake taste like coffee.

If you have ever worried that gluten-free cake might turn out dry or crumbly, this recipe is here to change that. With the right balance of cocoa powder, oil, eggs, and flour, the layers bake up tender, sliceable, and full of rich chocolate flavor.
This is also a great chocolate cake recipe for mixed-diet gatherings. You can make it gluten free, dairy free, or use traditional dairy and all-purpose flour if that works better for your kitchen.
The frosting is smooth, fluffy, and generously chocolatey. It spreads beautifully between the cake layers and around the outside, giving the finished cake that classic bakery-style look without complicated decorating.
This cake is special enough for a party but simple enough for home bakers. You do not need fancy equipment or advanced skills, just two cake pans, a mixing bowl, and a little patience while the layers cool.
If you are looking for a gluten-free chocolate layer cake that tastes indulgent, moist, and celebration-worthy, this one is a beautiful recipe to save.
Quick Intro Summary
Gluten-free chocolate layer cake · Birthday or celebration dessert · Rich, moist, and deeply chocolatey
Recipe Overview
- Prep Time: 10 minutes
- Cook Time: 35 to 45 minutes
- Cooling Time: 2 hours
- Total Time: About 3 hours
- Servings: 10 slices
- Calories: Approximately 850 to 950 per slice, depending on frosting amount
- Course: Dessert
- Cuisine: American
Why You’ll Love This Recipe
- Deep chocolate flavor: Cocoa powder, brewed coffee, and espresso powder make the chocolate taste rich and bold.
- Moist gluten-free texture: Greek yogurt and oil help keep the cake soft and tender.
- Perfect for celebrations: This two-layer cake looks beautiful for birthdays, holidays, and special dinners.
- Flexible ingredients: Make it gluten free, dairy free, or use regular flour and dairy if preferred.
- Creamy chocolate frosting: The buttercream is fluffy, smooth, and easy to spread.
- Beginner-friendly: The steps are simple and the cake still feels impressive.
Ingredients
For the Chocolate Cake
- 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. - 1½ teaspoons baking powder
Helps the cake rise. - 1½ 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
- 1½ 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
How to Make It
1. Prepare the cake pans
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.
2. Beat the eggs and sugar
Add the eggs and sugar to a large mixing bowl. Beat for about 3 minutes, until the mixture looks lighter, frothy, and slightly thickened.
3. Add the wet ingredients
Mix in the Greek yogurt, vegetable oil, vanilla extract, and espresso powder until smooth and combined.
4. Whisk the dry ingredients
In a separate bowl, whisk together the gluten-free flour, cocoa powder, baking powder, baking soda, and salt.
5. Combine wet and dry
Add the dry mixture to the wet mixture in batches. Mix gently until just combined. Do not overmix, or the cake can turn dense.
6. Stir in the coffee
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.
7. Bake the cake layers
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.
8. Cool completely
Let the cakes cool in the pans for about 10 minutes, then transfer them to a wire rack. Cool fully before frosting.
9. Make the chocolate buttercream
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.
10. Frost the cake
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.
11. Slice and serve
Let the cake sit for a few minutes so the frosting settles, then slice and enjoy.
Recipe Notes and Tips
- 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.
Easy Variations
- Four-Layer Chocolate Cake: Slice each cake layer in half horizontally and add frosting between all four layers.
- Chocolate Raspberry Cake: Add raspberry jam between the layers before frosting.
- Mocha Chocolate Cake: Increase the espresso powder slightly for a stronger coffee-chocolate flavor.
- Vanilla Chocolate Cake: Skip the espresso powder and add a little extra vanilla.
- Chocolate Birthday Cake: Add sprinkles on top or around the sides for a festive finish.
What to Serve With It
This rich chocolate cake is delicious on its own, but it pairs beautifully with simple extras.
Try serving it with:
- Fresh raspberries
- Strawberries
- Vanilla ice cream
- Whipped cream
- Hot coffee
- Cold milk
- Chocolate shavings
- A drizzle of caramel sauce
- Fresh mint
- Powdered sugar dusting
For a party dessert table, serve thin slices with berries and small cups of coffee or milk.
Storage and Reheating
Store the frosted cake covered at room temperature for up to 1 day, or refrigerate it for 4 to 5 days.
For the best texture, let refrigerated slices sit at room temperature for 20 to 30 minutes before serving. This softens the buttercream and brings back the cake’s tender texture.
You do not need to reheat this cake. Serve it at room temperature or slightly chilled.
To freeze the cake layers, wrap unfrosted cooled layers tightly in plastic wrap and freeze for up to 3 months. Thaw at room temperature before frosting.
You can also freeze frosted slices in an airtight container. Thaw overnight in the refrigerator, then bring to room temperature before serving.
FAQs
Can I use regular all-purpose flour instead of gluten-free flour?
Yes. If you do not need the cake to be gluten free, you can use the same amount of all-purpose flour.
Can I make this cake dairy free?
Yes. Use dairy-free Greek-style yogurt, dairy-free butter, and your favorite dairy-free milk for the frosting.
Can I skip the coffee?
Yes. Replace the brewed coffee with warm water. You can also leave out the espresso powder.
Why is my gluten-free chocolate cake dry?
Dry cake is usually caused by overbaking, overmixing, or using a flour blend that absorbs too much liquid. Check the cake early and remove it once a toothpick comes out clean or with moist crumbs.
Can I make this in a 9×13 pan?
Yes. You can bake the batter in a 9×13-inch pan. Start checking earlier than the layer cake timing, since pan depth and oven temperature can affect baking time.
Can I freeze this cake?
Yes. The unfrosted cake layers freeze well for up to 3 months. Wrap them tightly and thaw before decorating.

Gluten Free Chocolate Cake for Easy Homemade Dessert
Ingredients
Method
- Prepare the cake pans
- 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.
- Beat the eggs and sugar
- Add the eggs and sugar to a large mixing bowl. Beat for about 3 minutes, until the mixture looks lighter, frothy, and slightly thickened.
- Add the wet ingredients
- Mix in the Greek yogurt, vegetable oil, vanilla extract, and espresso powder until smooth and combined.
- Whisk the dry ingredients
- In a separate bowl, whisk together the gluten-free flour, cocoa powder, baking powder, baking soda, and salt.
- Combine wet and dry
- Add the dry mixture to the wet mixture in batches. Mix gently until just combined. Do not overmix, or the cake can turn dense.
- Stir in the coffee
- 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.
- Bake the cake layers
- 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.
- Cool completely
- Let the cakes cool in the pans for about 10 minutes, then transfer them to a wire rack. Cool fully before frosting.
- Make the chocolate buttercream
- 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.
- Frost the cake
- 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.
- Slice and serve
- 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.