Dinners

Gluten-Free Chocolate Espresso Cake

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
1 hr 10 min
Prep
20 min
hands-on
Cook
35 min
oven or stovetop
Serves
8
as written

Jump to recipe Save

This is a single-layer, 8-inch (20 cm) gluten-free chocolate espresso cake: deep cocoa flavor, a soft crumb, and a noticeable but not bitter coffee note. It suits a weeknight dessert, a potluck, or a birthday where someone at the table avoids gluten. The recipe depends on a balanced gluten-free flour blend and a hot coffee-and-butter liquid that blooms the cocoa; both are what keep the crumb from turning dry or gritty.

Ingredients

  • 1 cup (120 g) gluten-free all-purpose flour blend (contains xanthan gum)
  • 1/2 cup (50 g) unsweetened cocoa powder
  • 1 tsp (4 g) baking soda
  • 1/2 tsp (3 g) fine salt
  • 3/4 cup (150 g) granulated sugar
  • 1/4 cup (50 g) packed light brown sugar
  • 2 large eggs, room temperature
  • 1/2 cup (120 ml) neutral oil
  • 1/2 cup (120 ml) buttermilk, room temperature
  • 1 tsp (5 ml) vanilla extract
  • 1/2 cup (120 ml) hot brewed espresso or strong coffee
  • 1 tbsp (15 ml) hot water, if needed to loosen the batter

Instructions

  1. Heat the oven to 350°F (175°C). Grease an 8-inch (20 cm) round cake pan, line the bottom with parchment, and grease the parchment.
  2. Whisk the flour blend, cocoa, baking soda, and salt in a medium bowl for 30 seconds so the cocoa is evenly distributed.
  3. In a large bowl, whisk both sugars, eggs, oil, buttermilk, and vanilla for 1 minute, until smooth and slightly pale.
  4. Add the dry ingredients to the wet in two additions, folding with a spatula just until no dry streaks remain; the batter will be thick.
  5. Stir the hot espresso in slowly; the batter will thin to a pourable consistency. If it still looks stiff, stir in the hot water 1 tsp at a time.
  6. Pour into the prepared pan and smooth the top. Bake at 350°F (175°C) for 30–35 minutes, until the center springs back when pressed and a toothpick inserted near the center comes out with a few moist crumbs.
  7. Cool in the pan on a rack for 10 minutes, then turn out onto the rack, remove the parchment, and cool completely, about 30 minutes, before slicing.

Why the Flour Blend Matters

Gluten-free cakes fail most often because the flour blend lacks a binder or is bean-based and tastes strongly. Use a blend that lists xanthan gum or psyllium husk on the label; if yours does not, add 1/2 tsp (2 g) xanthan gum to the dry ingredients. A rice-flour blend gives a neutral taste; a bean-flour blend can taste earthy and may need an extra 1 tbsp (15 ml) of liquid. Do not substitute coconut flour or almond flour one-for-one: coconut flour absorbs far more liquid and will make the cake dry, and almond flour alone will not set the crumb.

Espresso Strength and Flavor

The coffee should be strong but not concentrated to syrup. Brew 1/2 cup (120 ml) espresso or use 2 tsp (4 g) instant espresso powder dissolved in 1/2 cup (120 ml) hot water. A darker roast gives a more pronounced bitter edge; a medium roast keeps the cake closer to milk chocolate. If you want the coffee note milder, use 1/4 cup (60 ml) espresso plus 1/4 cup (60 ml) hot water. Do not use cold coffee; the hot liquid helps the cocoa dissolve and gives a finer crumb.

Pan Sizes and Baking Times

An 8-inch (20 cm) round pan gives a 1 1/2-inch (4 cm) layer and bakes in 30–35 minutes. A 9-inch (23 cm) round pan makes a thinner layer and bakes in 22–28 minutes. For two 6-inch (15 cm) pans, divide the batter evenly and bake for 25–30 minutes. For cupcakes, fill liners two-thirds full and bake at 350°F (175°C) for 18–22 minutes. In every case, check doneness with the spring-back test and a toothpick; gluten-free batters can look set before the center is done.

Frosting and Serving

A simple chocolate ganache suits the espresso flavor: heat 1/2 cup (120 ml) heavy cream until steaming, pour over 4 oz (115 g) chopped bittersweet chocolate, let stand 5 minutes, then stir until smooth and spread on the cooled cake. For a dairy-free version, use 1/2 cup (120 ml) full-fat oat milk or canned coconut milk in place of the cream; the ganache will be slightly softer. Serve slices with lightly sweetened whipped cream or a dusting of cocoa. The cake is best the day it is made, but it holds well overnight.

Storing and Freezing

Wrap the cooled cake tightly or store in an airtight container at room temperature for up to 2 days. For longer storage, refrigerate for up to 4 days; let slices come to room temperature before serving. To freeze, wrap whole or in slices, then freeze for up to 3 months. Thaw overnight in the refrigerator or at room temperature for 1–2 hours. Frosted cake keeps 3–4 days refrigerated. Discard any cake left at room temperature for more than 2 hours.

Fixing a Dry or Gritty Crumb

If the cake tastes gritty, the flour blend was likely coarse rice flour or under-mixed; whisk the dry ingredients thoroughly next time. If it is dry, the likely cause is overbaking or too little liquid: reduce the bake time by 3–5 minutes and check at the low end of the range. A dry cake can be brushed with 2–3 tbsp (30–45 ml) warm espresso syrup (1 tbsp sugar dissolved in 2 tbsp hot coffee) while still warm. If the center sinks, the batter was underbaked or the oven temperature was too low; use an oven thermometer and bake until the center springs back.

Making It Ahead

The dry ingredients can be whisked and stored in an airtight container for up to 1 month. The baked, unfrosted cake can be made 1 day ahead and kept wrapped at room temperature. Frost just before serving for the neatest finish. The ganache can be made up to 3 days ahead and refrigerated; reheat gently over low heat or in short microwave bursts, stirring between, until spreadable.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).