Easy Appetizers

Simple appetizers, snacks and home cooking answers

Vegan Chocolate Walnut Cake That Stays Moist

· 6 min read · Baking and Desserts

In this article
  1. Why This Cake Works
  2. Ingredients
  3. Instructions
  4. Doneness Cues and Fixes
  5. Swaps and Variations
  6. Storage and Make-Ahead
  7. Getting the Texture Right

Time 15 min prep · 40 min bake · Serves 10 · The key step bloom the cocoa in hot coffee before mixing.

This vegan chocolate walnut cake is a one-bowl, oil-based layer cake with a deep cocoa flavour and toasted walnut crunch. It is moist enough to eat plain with coffee, sturdy enough to stack and frost for a birthday, and it keeps well for several days. The crumb is tender rather than fluffy, closer to a brownie-cake than a sponge, because there is no egg to set it.

Why This Cake Works

Vegan chocolate cakes fail in two ways: they turn dry, or they collapse into a gummy slab. This recipe avoids both by using three levers. First, hot coffee blooms the cocoa, which deepens the chocolate flavour and dissolves the powder so no dry streaks remain. Second, oil rather than a solid fat keeps the crumb soft even after a day in the fridge, because oil stays liquid at cool temperatures. Third, a small amount of acid — vinegar or lemon juice — reacts with baking soda to give lift in the first ten minutes of baking, before the starches set.

The walnuts are toasted before they go in. Raw walnuts carry a slight bitterness that baking does not fully remove, and toasting them for 8–10 minutes at 350°F (175°C) brings out a rounder, buttery flavour. Chop them after toasting so the pieces stay distinct in the batter.

Ingredients

Serves 10 · Prep 15 min · Cook 40 min · Total 55 min

  • 1½ cups (190 g) all-purpose flour
  • 1 cup (200 g) granulated sugar
  • ⅓ cup (30 g) unsweetened cocoa powder
  • 1 tsp baking soda
  • ½ tsp fine salt
  • 1 cup (240 ml) hot brewed coffee or hot water
  • ⅓ cup (80 ml) neutral oil, such as canola or sunflower
  • 1 tbsp (15 ml) white vinegar or lemon juice
  • 1 tsp vanilla extract
  • 1 cup (120 g) walnut halves, toasted and chopped

For the optional chocolate glaze: 4 oz (115 g) vegan dark chocolate, chopped, and 3 tbsp (45 ml) hot plant milk. Check that the chocolate label lists no milk fat or whey.

Instructions

  1. Heat the oven to 350°F (175°C). Grease an 8-inch (20 cm) round cake pan, line the base with parchment, and dust the sides lightly with cocoa powder.
  2. Toast the walnuts on a dry sheet pan for 8–10 minutes, until fragrant and a shade darker. Cool for 5 minutes, then chop roughly. Leave the oven on.
  3. In a large bowl, whisk the flour, sugar, cocoa, baking soda and salt until no cocoa lumps remain.
  4. Pour the hot coffee over the dry mix and whisk gently for about 30 seconds, just until the cocoa darkens and the batter is smooth. Let it sit for 2 minutes to cool slightly.
  5. Add the oil, vinegar and vanilla. Whisk for 20–30 seconds, until the batter is glossy and uniform. Fold in the walnuts with a spatula.
  6. Scrape into the prepared pan and smooth the top. Bake for 35–40 minutes, until the centre springs back when pressed and a skewer inserted in the middle comes out with a few moist crumbs, not wet batter. The internal temperature at the centre should read about 200°F (93°C) on an instant-read thermometer.
  7. Cool in the pan for 15 minutes, then turn out onto a rack to cool completely, about 1 hour, before glazing.
  8. For the glaze, put the chopped chocolate in a heatproof bowl. Warm the plant milk until steaming but not boiling, pour it over the chocolate, and let it stand for 2 minutes. Stir until smooth, then spread over the cooled cake. Let the glaze set for 20 minutes before slicing.

Doneness Cues and Fixes

What the cake should look like

A properly baked vegan chocolate cake has a domed but not cracked top, pulls slightly away from the pan sides, and feels springy under a light press. The skewer test is the most reliable: moist crumbs are fine, but a wet streak means another 5 minutes. If the top browns heavily before the centre sets, tent it with foil.

Three mistakes and what they cause

Overmixing after the hot liquid goes in. Whisking for a minute or more develops the gluten and produces a tight, rubbery crumb. Stop as soon as the batter is uniform.

Using cold coffee or water. The cocoa will not bloom, and the batter stays lumpy. Heat the liquid until it steams, about 200°F (93°C), then measure.

Underbaking in the centre. The middle can look set while the crumb is still raw. A skewer or thermometer check at the centre is the only sure test; the edges will always look done first.

Swaps and Variations

For a nut-free version, replace the walnuts with ¾ cup (90 g) of toasted sunflower seeds or ½ cup (60 g) of vegan chocolate chips. The cake will be slightly sweeter with chips, so reduce the sugar by 2 tbsp (25 g).

If you do not keep coffee, hot water works; the chocolate flavour will be a little less deep. For a stronger mocha note, add 1 tsp of instant espresso powder to the dry ingredients.

Gluten-free flour blends vary a lot. A 1:1 blend with xanthan gum can be substituted cup for cup, but the crumb will be more crumbly and the cake may need 5 extra minutes in the oven. Check the centre with a skewer rather than relying on time alone.

To make a layer cake, double the recipe and bake in two 8-inch (20 cm) pans for 30–35 minutes. Fill with the same glaze or with a dairy-free buttercream.

Storage and Make-Ahead

Cool the cake completely before storing. Keep it covered at room temperature for up to 2 days, or refrigerate it for up to 4 days. Refrigeration firms the crumb; let slices sit at room temperature for 20 minutes before serving. The glazed cake keeps in the fridge for 3 days.

To freeze, wrap whole or sliced cake tightly and freeze for up to 3 months. Thaw overnight in the fridge, then bring to room temperature. The glaze may weep slightly on thawing; rewhisk any separated glaze with a drop of hot water.

Walnuts go stale faster than the cake, so if you plan to keep it more than 3 days, store the toasted nuts separately and fold them in just before serving. Discard any cake that smells rancid or shows mould; do not taste it to check.

Getting the Texture Right

The batter should pour slowly from a spoon, like thick pancake batter. If it is stiff, add hot water 1 tbsp (15 ml) at a time; if it is thin, stir in 1 tbsp (8 g) of flour. Both adjustments are small and should be made before baking, not after.

Pan size matters. An 8-inch (20 cm) round pan gives a 2-inch (5 cm) tall cake. A 9-inch (23 cm) pan spreads the batter thinner and bakes in 25–30 minutes; start checking at 25 minutes. A loaf pan is not a good substitute because the centre sets too slowly and the edges dry out.

Let the cake cool completely before glazing, or the glaze will slide off and pool at the base. If the glaze thickens too much while you work, set the bowl over a pan of warm water for 30 seconds and stir again.