clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
A chocolate cake made with a gluten-free and dairy-free recipe.

Gluten-Free Chocolate Cake (Easy to Make)

  • Author: MamaShire
  • Prep Time: 10 minutes
  • Cook Time: 47 minutes
  • Total Time: 57 minutes
  • Yield: 16 servings 1x
  • Category: Dessert
  • Method: Oven
  • Diet: Gluten Free


This gluten-free chocolate cake is so moist and luscious. It’s easy to make and can be made in one bowl. 


  • 1 cup almond milk
  • 1 tablespoon apple cider vinegar
  • 1 3/4 cup gluten-free flour*
  • 1 cup white sugar
  • 3/4 cup brown sugar
  • 3/4 cup unsweetened cocoa powder
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon sea salt
  • 4 large eggs
  • 2/3 cup avocado oil 
  • 2 teaspoons vanilla extract
  • 1 cup hot water


  1. Preheat oven to 350°. Prepare two 8-inch cake pans by lining them with parchment paper.
  2. Add one tablespoon of apple cider vinegar to a measuring cup and then fill it up to the one-cup line with unsweetened almond milk. Mix together and then set aside. This creates dairy-free buttermilk.
  3. In the bowl of a stand mixer use the whisk attachment and add the gluten-free flour, white sugar, brown sugar, cocoa powder, baking powder, baking soda, and sea salt and mix until thoroughly combined.
  4. Add in the avocado oil, eggs, buttermilk, and vanilla. Mix together on low for about 1 minute until combined, scraping down the sides as needed.
  5. Next, add hot water to the batter and mix on low until just combined.
  6. Pour batter equally into the prepared pans.
  7. Bake for 47-50 minutes. Using a toothpick test does not work with this cake. This is a very moist cake so it needs a longer baking time. 
  8. Remove pans from the oven and cool on a wire rack for 10-15 minutes. Run a knife around the edge of the cake to make sure it is all released and then remove the cakes from the pan and place them on the wire rack to cool.
  9. Add dairy-free chocolate frosting after the cakes have completely cooled. 


*Gluten-Free Flour: My favorite gluten-free & dairy-free flour blends to use are Pamela’s Artisan Blend and Better Batter. I’ve been using them both with great results. They are both a 1-1 substitute. If you use another gluten-free flour blend be sure that it contains xanthan gum. If not add 1/2 teaspoon xanthan gum per cup of flour.

To bake cupcakes: Use a 12-cup muffin pan and fill sprayed cupcake liners 2/3 full and bake for 20-22 minutes. Remove from oven and set on a wire rack to cool in the pan for 5 minutes and then remove cupcakes to a wire rack to completely cool. Repeat with the remaining batter. 

To bake a 9×13 cake: Spray the pan with avocado oil or line it with parchment paper and then bake for 45-50 minutes. 

To bake in two 9-inch cake pans follow the directions for the 8-inch but bake slightly less time. 40-45 minutes. 

Keywords: gluten-free cake, gluten-free cake recipe, gluten-free birthday cake, gluten-free desserts