This Gluten-Free Chocolate Cake has a soft, moist crumb, deep chocolate flavor, and silky chocolate buttercream. This easy homemade cake is perfect for birthdays, holidays, family gatherings, or whenever a chocolate craving strikes.
Gluten-Free Chocolate Cake
This Gluten-Free Chocolate Cake is wonderfully moist, rich in chocolate flavor, and finished with creamy chocolate buttercream. A simple combination of gluten-free flour, oil, and hot coffee creates a tender crumb perfect for any celebration.
Ingredient Notes
- Gluten-free flour: Choose a quality 1:1 gluten-free baking flour containing xanthan gum to give the cake structure without making it heavy.
- Cocoa powder: Unsweetened natural cocoa powder works well in this recipe and delivers a rich chocolate flavor.
- Baking powder and baking soda: These work together to help the cake rise and develop a light, tender crumb.
- Milk: Whole milk adds richness, though other varieties can also work.
- Granulated sugar: Sweetens the batter and helps keep it soft.
- Light brown sugar: Adds extra moisture and a subtle caramel undertone.
- Eggs: Help bind the gluten-free ingredients and provide structure.
- Vinegar: White vinegar or apple cider vinegar reacts with the baking soda to encourage a better rise.
- Vanilla extract: Rounds out the chocolate flavor.
- Oil: A neutral-flavored oil keeps the cake moist even after refrigeration.
- Hot coffee: Intensifies the chocolate flavor and helps the cocoa develop its richness. Boiling water is a suitable alternative.
- Butter: Use softened unsalted butter for a smooth, easily spreadable frosting.
- Powdered sugar: Sweetens and thickens the chocolate buttercream.
- Heavy cream: Gives the frosting a silky finish and helps adjust its consistency.

How To Make Gluten-Free Chocolate Cake Step-by-Step
Step 1: Prepare the cake pans
Heat your oven to 350°F (175°C). Lightly grease a 9×13-inch baking pan or two 8-inch round cake pans. Place parchment paper across the bottom of each pan.
Step 2: Combine the wet ingredients
In a spacious mixing bowl, whisk the milk, granulated sugar, brown sugar, eggs, vinegar, vanilla, and oil until evenly blended.
Step 3: Incorporate the dry ingredients
Add the sifted gluten-free flour and cocoa powder, followed by the baking powder, baking soda, and salt. Whisk gently until no visible pockets of flour remain.
Step 4: Add the hot coffee
Gradually stir the freshly brewed hot coffee or boiling water into the chocolate mixture. The batter will have a noticeably runny consistency, which is completely normal.
Step 5: Bake the cake
Transfer the batter to your prepared pan. For a layer cake, distribute the mixture evenly between the two round pans.
Bake according to your chosen pan size:
- 9×13-inch sheet cake: 35–45 minutes.
- Two 8-inch round cakes: 32–37 minutes.
Check the center with a toothpick. The cake is ready when it comes out without any wet batter.
Step 6: Allow the cake to cool
Leave the cakes in their pans for 10–20 minutes before gently turning them out onto a wire rack. Remove the parchment paper, turn the cakes upright, and allow them to reach room temperature.
Step 7: Make the chocolate buttercream
Using an electric mixer, whip the softened butter until creamy. Mix in the sifted cocoa powder, then gradually incorporate the powdered sugar, adding one cup at a time.
Pour in the vanilla and enough heavy cream to achieve a smooth, spreadable frosting.
Step 8: Frost and decorate
Spread the chocolate buttercream over the cooled cake. If you’re making a layer cake, add a generous layer of frosting between the rounds before covering the top and sides.
Decorate the top with a few chocolate shavings or sprinkles for an extra special touch.

The Best Gluten-Free Flour Blend
My preferred choice for this recipe is King Arthur Gluten-Free Measure for Measure Flour. It contains xanthan gum and is designed to replace regular all-purpose flour in traditional cake recipes.
Bob’s Red Mill Gluten Free 1-to-1 Baking Flour is another suitable option.
For the best texture, measure the flour by gently spooning it into your measuring cup and leveling the surface. Avoid scooping directly from the bag, as packed flour can leave the cake dry and dense.
I don’t recommend replacing the flour blend with almond flour, coconut flour, or a single gluten-free flour. These absorb moisture differently and require adjustments to the recipe.
Tips for the Best Gluten-Free Chocolate Cake
- Use room-temperature ingredients. Let the eggs and milk come to room temperature so they mix smoothly into the batter.
- Sift the flour and cocoa powder. This removes stubborn lumps and helps produce a smoother batter.
- Don’t skip the hot liquid. Hot coffee or water helps release the cocoa’s rich chocolate flavor.
- Don’t worry about thin batter. Its loose consistency is intentional, so resist adding extra flour.
- Avoid overbaking. Begin checking the cake at the earliest recommended baking time.
- Cool completely before frosting. Even slightly warm cake can cause the buttercream to soften and slide.
- Check ingredient labels. Ensure your flour, cocoa powder, baking powder, and decorations are gluten-free if baking for someone with celiac disease.

How to Store Gluten-Free Chocolate Cake
Room temperature: Keep the frosted cake in a covered cake container in a cool room for up to 2 days.
Refrigerator: Store leftovers in an airtight container for up to 5 days. Allow individual slices to return to room temperature before serving for a softer texture.
Freezer: Wrap each unfrosted cake layer separately in plastic wrap, then cover it with a layer of aluminum foil. Freeze for up to 3 months and thaw overnight in the refrigerator before decorating.
Make ahead: Prepare the cake layers a day in advance and wrap them tightly once completely cool. Make the buttercream and assemble the cake when you’re ready to serve.
More gluten-free recipes to make ASAP!
- Gluten-Free Lemon Crinkle Cookies (Soft & Chewy)
- Gluten-Free Candy Cane Cookies (Easy Christmas Recipe)
- Gluten-Free Sandwich Bread (Soft, Fluffy & Easy)
- Homemade Gluten-Free Pasta (Easy 3-Ingredient Recipe)
I love to see all your creations and don’t forget to follow along on Facebook and Pinterest!
Gluten-Free Chocolate Cake (Moist & Rich)
This gluten-free chocolate cake combines an irresistibly tender texture with rich cocoa flavor and smooth chocolate buttercream. Simple to prepare, it's a crowd-pleasing dessert that everyone can enjoy.
Ingredients
Dry Ingredients
- 2â…” cups gluten-free all-purpose 1:1 baking flour, sifted
- 1 cup unsweetened cocoa powder, sifted
- 1½ teaspoons baking powder
- 1 teaspoon baking soda
- ½ teaspoon salt
Wet Ingredients
- 1 cup milk
- 1 cup granulated sugar
- ¾ cup light brown sugar
- 3 large eggs
- 1 teaspoon vinegar (white or apple cider)
- 1 tablespoon vanilla extract
- â…” cup neutral oil (safflower, canola, or refined avocado oil)
- 1 cup hot brewed coffee or boiling water
Chocolate Buttercream
- 1 cup unsalted butter, softened
- ½ cup unsweetened cocoa powder, sifted
- 3–4 cups powdered sugar, sifted
- 2–4 tablespoons heavy cream
- 2 teaspoons vanilla extract
Instructions
- Preheat the oven to 350°F (175°C). Grease one 9×13-inch pan or two 8-inch round pans and line the bottoms with parchment.
- Whisk the milk, both sugars, eggs, vinegar, vanilla, and oil in a large bowl.
- Incorporate the flour, cocoa powder, baking powder, baking soda, and salt. Mix until evenly combined.
- Slowly whisk in the hot coffee or boiling water until the batter is smooth.
- Pour the mixture into the prepared pan or divide it evenly between the two round pans.
- Bake the sheet cake for 35–45 minutes or the round cakes for 32–37 minutes, until a toothpick inserted into the center comes out clean.
- Rest the cakes in their pans for 10–20 minutes before transferring them to a wire rack. Remove the parchment and cool completely.
- For the frosting, beat the softened butter until creamy, then blend in the cocoa powder.
- Gradually add the powdered sugar. Mix in the vanilla and heavy cream until the frosting reaches your preferred consistency.
- Once the cake has cooled completely, spread on the frosting, add your favorite toppings, and enjoy!
Nutrition Information:
Yield:
16Serving Size:
1Amount Per Serving: Calories: 379Total Fat: 23gSaturated Fat: 8gUnsaturated Fat: 15gCholesterol: 67mgSodium: 226mgCarbohydrates: 45gFiber: 2gSugar: 23gProtein: 6g






