Erin’s Recipe Rundown

Texture: Moist, tender crumb topped with fluffy, creamy frosting.

Taste: Rich chocolate cake and decadent frosting made with a secret ingredient to take it to the next level!

Ease: Beginner-friendly, reliable sheet cake.

Top Tip: Using hot water blooms the cocoa powder for bakery-quality chocolate cake. You can also use hot coffee!

Recommended GF Flour: Use a high-quality flour that contains xanthan gum. Both King Arthur Gluten-Free Measure-for-Measure Flour and Bob’s Red Mill Gluten-Free 1:1 Baking Flour work well in this one.

Would I make these again? Absolutely! I’ve made this easy gluten-free chocolate cake more times than I can count and nobody ever guesses it’s gluten-free — perfect for any celebration!

xoxo erin

a piece of chocolate cake on a plate with one bite on a fork.
Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!

Ingredients You’ll Need

Here are a few notes on some of the key ingredients to make this gluten-free chocolate cake. Jump to the recipe card below for the exact measurements.

chocolate cake ingredients measured and labeled.
  • Gluten-free flour: It’s important to use a gluten-free measure-for-measure flour blend that contains xanthan gum. I like to use King Arthur or Bob’s Red Mill.
  • Oil: I prefer to use oil since butter often causes it to clump up. The smoothness of the oil helps to create a light, moist crumb.
  • Buttermilk/sour cream: Chocolate cake can easily become dry, but this combo adds extra moisture, stability and lift for a tender cake. Plus they ensure rich, indulgent flavor!
  • Hot water: Hot water (or coffee) allows the cocoa powder to absorb and the batter to hydrate. This deepens the flavor and creates a smooth batter for the perfect texture!
chocolate frosting ingredients measured and labeled.
  • Cocoa powder: You can use any kind of cocoa powder. I usually use Hershey’s, but Dutch-processed or natural cocoa powder can be used for a richer frosting.
  • Heavy cream or milk: Both loosen the frosting to make it smooth and spreadable. I recommend heavy cream for a fluffier, more luxurious topping.
  • Almond extract: This is the secret ingredient! It elevates the frosting’s flavor and depth creating truly decadent frosting.

How to Make Gluten Free Chocolate Cake

Here’s an overview of how to make this recipe. You can jump to the recipe for the full instructions!

steps for making the chocolate cake.

Two bowls are all you need for this simple recipe! In one combine all of the dry ingredients, in the other add all of the wet ingredients (except the hot water). I like to use a stand mixer to beat the wet ingredients, but a hand mixer will work too!

While you have the mixer running, slowly add the dry mix in 3 phases, mixing after each addition. Slowly add the hot water and continue to mix (2-3 minutes), scraping the bowl’s sides along the way.

You’ll know it’s ready to bake when it looks smooth and incorporated. Bake (35-40 minutes) until a toothpick stuck in the center comes out clean. Cool before frosting!

steps for making the chocolate frosting.

Use the stand mixer (or hand mixer) to prep the frosting. Beat the butter on medium-high until creamy (2 minutes), then add 3 cups of powdered sugar, plus the other ingredients. Whip the frosting until fluffy, starting on low (30 seconds), then medium-high (2 minutes).

You want it to be a spreadable consistency. If it seems too thick, you can always add more cream/milk. Too thin? Add a little more powdered sugar. Frost the cooled cake and enjoy!

sliced chocolate cake in the pan with one piece missing and another on the spatula.
a piece of chocolate cake with frosting and sprinkles on a plate with a fork.
4.99 from 56 votes

Easy, Gluten-Free Chocolate Cake (9×13!)

Prep Time 15 minutes
Cook Time 35 minutes
Total Time 50 minutes
Servings 12 servings
This fluffy, moist gluten-free chocolate cake piled high chocolate buttercream frosting is so easy to make! It's sure to become your new go-to recipe.
Sour cream and buttermilk make the cake especially delicious (dairy-free option if needed) and a secret ingredient in the frosting makes this cake the best.

Video

Save this recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!

Ingredients

Dry Ingredients

Other

  • cups (350g) granulated sugar
  • ½ cup (120ml) neutral oil
  • 2 large eggs at room temperature
  • ½ cup (120g) sour cream at room temperature
  • ½ cup (120ml) buttermilk at room temperature
  • 2 teaspoons vanilla extract
  • ½ cup (120ml) hot water

Chocolate Buttercream Frosting

  • ½ cup (113g) butter at room temperature
  • 3-4 cups (360-480g) powdered sugar
  • cup (27g) unsweetened cocoa powder
  • ¼ cup (60ml) heavy cream or milk of choice
  • 2 teaspoons vanilla extract
  • ¼ teaspoon almond extract
  • pinch of kosher salt

Instructions 

  • Preheat the oven to 350°F. Spray a 9×13-inch baking pan with cooking spray.
  • In a medium bowl, whisk together the gluten-free flour, cocoa powder, baking soda, baking powder and salt.
  • In the bowl of a stand mixer, or using a hand mixer, beat together sugar, oil, eggs, sour cream, buttermilk and vanilla on medium-high speed until well-combined.
  • With the mixer running on low, slowly add the dry ingredients in 3 additions, mixing after each addition.
  • Slowly pour in the hot water. Mix on medium speed for 2-3 minutes, scraping down the sides halfway through, until smooth and incorporated.
  • Pour the batter into the prepared pan. Bake for 35-40 minutes, until a toothpick inserted into the center of the cake comes out clean. Allow the cake to cool completely before frosting.
  • For the frosting: In the bowl of a stand mixer, or using a hand mixer, beat the butter on medium-high speed until creamy, about 2 minutes. Add 3 cups powdered sugar along with the cocoa powder, cream/milk, vanilla extract, almond extract and salt. Mix on low speed for 30 seconds, then increase to medium-high speed and whip for a full 2 minutes.
  • If the frosting is too thick, add a little more cream/milk. If the frosting is too thin, add more powdered sugar to get a spreadable consistency. Frost the cake as desired.

Notes

Gluten-Free: Use a high-quality gluten-free flour that contains xanthan gum. I like King Arthur Gluten-Free Measure-for-Measure Flour or Bob’s Red Mill Gluten-Free 1:1 Baking Flour.
Dairy-Free: Use dairy-free sour cream in place of the regular. Combine 1/2 cup of unsweetened dairy-free milk with 1 teaspoon of apple cider vinegar to replace the buttermilk. Use dairy-free butter and milk in the frosting.
Nut-free: Omit the almond extract.
To Make-Ahead: The unfrosted cake can be made up to 2 days in advance. Cool, wrap tightly in plastic wrap, and store at room temperature. The frosting can also be prepped up to 2 days ahead and stored in an airtight container in the fridge. 
To Store: Store leftovers in an airtight container or tightly wrapped in plastic wrap for up to 2 days at room temperature or 5 days in the fridge.
To Freeze: Wrap tightly in plastic wrap, then store in foil or a freezer bag. Freeze for up to 3 months. Thaw in the fridge overnight.

Nutrition

Serving: 1slice (of 12 pieces) | Calories: 514kcal | Carbohydrates: 78g | Protein: 5g | Fat: 23g | Saturated Fat: 9g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 10g | Trans Fat: 0.3g | Cholesterol: 60mg | Sodium: 369mg | Potassium: 170mg | Fiber: 4g | Sugar: 60g | Vitamin A: 425IU | Vitamin C: 0.1mg | Calcium: 67mg | Iron: 2mg

This post may contain affiliate links. Please read our disclosure policy.

Categories: , ,

Hi, I'm Erin!

BS Food Science,

MS Nutrition

I believe you can make amazing, gluten-free food with everyday ingredients that everyone will enjoy. I'm here to share my tried-and-true recipes with you!

You may also like

Comments

  1. 5 stars
    What would be your recommended bake time if I split this between two rounds? Twins birthday! Your vanilla cake was amazing but the kids specifically requested chocolate this time.

    1. Hi Abigail, we’re so pleased the vanilla cake was a success! For this recipe, we’d guess 28-32 minutes for 8″ pans or 24-28 minutes for 9″ pans. Our top pick would be the 8″ pans and then using the toothpick test to be safe. We hope your twins have the best birthday!

  2. 5 stars
    I was wondering if I could use this recipe for mini cupcakes? They’re for 2 little girls’ birthday party. I would have to go buy espresso powder for your gf chocolate cupcake recipe……
    Loving ALL your recipes!!!

    1. Hi Kris! We’re so pleased your loving Erin’s recipes. Thank you! Yes, this recipe should work well for mini cupcakes. We’d guess they’d only need about 10 minute at 350°F. The frosting should be more than enough to frost them all too. We’d love to hear how it goes!

  3. Hi!! My family loves this recipe! It tastes identical to the chocolate cake recipe I used before having to go gluten free. My only issue is that it always bakes unevenly. I’m an experienced baker and don’t have this issue with anything else. Any ideas what could be causing this to happen? Thanks for a delicious recipe!

    1. Hi Jessalyn, so glad you enjoy this cake recipe! Here are some potential fixes for the uneven baking: use a light-colored aluminum pan, rotate the pan once at the 25-minute mark, and try reducing the oven to 325°F and baking slightly longer (40–45 min) for a more even set. If it still domes or sinks unevenly, try whisking the hot water into the liquids before adding dry ingredients. Hope that helps!

4.99 from 56 votes (16 ratings without comment)

Leave a Reply

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

Recipe Rating