Guide

Gluten-Free Chocolate Cake Recipe

Gluten-Free Chocolate Cake Recipe
Foto: Emel Ukav / Pexels

This gluten-free chocolate cake is deeply moist, tender, and rich enough that no one at the table will guess it is gluten-free. The secret is blooming the cocoa in hot coffee, which deepens the chocolate flavor, plus a careful hand with the flour so the crumb stays soft instead of dense or gritty. It mixes in one bowl and works beautifully as layers, a sheet cake, cupcakes, or a Bundt.

Because pan size changes how the cake bakes, use the recipe card first and then check the chart below to match your oven temperature and time to the pan you own. Every ingredient here is naturally gluten-free, but the flour blend does the heavy lifting, so start with a reliable cup-for-cup blend.

Moist Gluten-Free Chocolate Cake

Förberedelse20 min
Tillagning30 min
Total tid50 min
Portioner12
SvårighetEasy

Ingredienser

  • 2 cups (240 g) gluten-free all-purpose flour blend with xanthan gum
  • 3/4 cup (65 g) unsweetened cocoa powder
  • 2 cups (400 g) granulated sugar
  • 2 tsp baking soda
  • 1 tsp baking powder
  • 1 tsp fine salt
  • 2 large eggs, room temperature
  • 1 cup (240 ml) buttermilk, room temperature
  • 1/2 cup (120 ml) neutral oil
  • 2 tsp pure vanilla extract
  • 1 cup (240 ml) hot brewed coffee or hot water

Gör så här

  1. Preheat the oven to 350°F (175°C). Grease your pan or pans and line the bottoms with parchment.
  2. In a large bowl, whisk together the flour blend, cocoa, sugar, baking soda, baking powder, and salt.
  3. Add the eggs, buttermilk, oil, and vanilla. Beat on medium speed for about 2 minutes until smooth.
  4. Stir in the hot coffee last. The batter will be quite thin, which is correct for a moist cake.
  5. Divide the batter among your pans and bake according to the chart below, until a toothpick comes out with a few moist crumbs.
  6. Cool in the pan for 10 minutes, then turn out onto a wire rack to cool completely before frosting.
Gluten-free chocolate cake bake temperatures and times by pan
PanOven tempBake timeDoneness cue
Two 8-inch rounds350°F (175°C)28-32 minCenter springs back; toothpick has moist crumbs
Two 9-inch rounds350°F (175°C)24-28 minEdges just pull from the pan
9x13-inch sheet350°F (175°C)33-38 minTop is set and springs back
12-cup Bundt325°F (163°C)45-55 minDeep crackle on top; skewer comes out clean
24 cupcakes350°F (175°C)18-22 minTops dome and spring back

Baking Tips for a Moist Crumb

  • Weigh your flour blend if you can; scooping packs in too much and dries out the crumb.
  • Choose a 1-to-1 gluten-free blend that already contains xanthan gum, or the cake can crumble.
  • Use room-temperature eggs and buttermilk so the batter emulsifies evenly.
  • Hot coffee blooms the cocoa for a richer flavor; it will not make the cake taste like coffee.
  • Do not overbake. Gluten-free cakes dry out fast, so start checking a few minutes early.
  • Let the cake cool completely before frosting, or the frosting will slide off.
  • For a dairy-free cake, swap the buttermilk for plant milk plus 1 tablespoon lemon juice or vinegar.

Can I make this cake dairy-free?

Yes. Use a plant-based milk with 1 tablespoon of lemon juice or vinegar in place of the buttermilk, and frost with a dairy-free option. The oil-based batter is already butter-free.

Why did my gluten-free cake turn out dry or gritty?

The two usual causes are too much flour and overbaking. Weigh the flour, use a fine blend, and pull the cake as soon as a toothpick shows moist crumbs. Letting the batter rest 10 minutes before baking can also soften grittier blends.

Which gluten-free flour blend works best?

A cup-for-cup all-purpose blend that contains xanthan gum, typically rice-and-starch based, is the most reliable. Avoid using single flours like coconut or almond on their own, since they behave very differently.

Can I freeze the cake?

Yes. Wrap unfrosted layers tightly and freeze for up to 3 months. Thaw at room temperature while still wrapped, then frost. Frosted slices also freeze well if you chill them on a tray first, then wrap.

Do I need to add xanthan gum?

If your blend already contains it, no. If your blend does not, add about 1/2 teaspoon (roughly 1/4 teaspoon per cup of flour). That is the standard amount for a cake; adding much more can make the crumb gummy or rubbery.

Celiac and cross-contamination note: If you or a guest has celiac disease or gluten sensitivity, confirm that every ingredient, including the flour blend, cocoa, baking soda, baking powder, and vanilla, is certified gluten-free, and prevent cross-contamination by using clean bowls, utensils, and bakeware. This recipe is for general information only and is not medical advice; if you have questions about your diet or diagnosis, consult a qualified healthcare professional.

This page contains affiliate links – if you buy through them we may earn a commission, at no extra cost to you. The recommendations are our own assessment.