This coffee and walnut cake is a tender, lightly spiced dessert that works well for a weekend brunch or a small gathering. The brewed coffee adds a subtle bitterness that balances the sweet walnuts, and the cake stays moist for several days.
Serves 10 · Prep 20 min · Cook 35 min · Total 1 hr 15 min
Ingredients
- 1 ¾ cups (220 g) all‑purpose flour
- 1 cup (200 g) granulated sugar
- ½ cup (115 g) unsalted butter, softened
- 2 large eggs, at room temperature
- ½ cup (120 ml) strong brewed coffee, cooled
- 1 tsp (5 ml) vanilla extract
- 1 tsp (5 g) baking powder
- ½ tsp (2 g) baking soda
- ¼ tsp (1 g) salt
- 1 cup (120 g) chopped walnuts
Instructions
- Preheat a conventional oven to 350°F (177°C). Position a rack in the middle of the oven.
- Grease a 9‑inch (23 cm) round cake pan with butter or a neutral oil, then line the bottom with parchment paper. This prevents sticking.
- In a large bowl, beat the softened butter and sugar together on medium speed until the mixture is pale and fluffy, about 3–4 minutes. The texture indicates the sugar has begun to dissolve.
- Add the eggs one at a time, beating well after each addition. The batter should be smooth and glossy.
- In a separate bowl, whisk together the flour, baking powder, baking soda, and salt. This ensures even distribution of leavening agents.
- Combine the cooled coffee and vanilla extract in a small measuring cup. The coffee should be at room temperature; hot coffee could melt the butter.
- Gradually add the dry flour mixture to the butter‑egg mixture, alternating with the coffee mixture. Start and finish with the flour. Mix on low speed until just combined; over‑mixing can develop gluten and make the cake dense.
- Fold the chopped walnuts into the batter using a rubber spatula, distributing them evenly without over‑stirring.
- Pour the batter into the prepared pan, smoothing the top with the spatula. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean or with only a few moist crumbs. The edges should be lightly golden.
- Allow the cake to cool in the pan for 15 minutes, then turn it out onto a wire rack to cool completely, about 45 minutes more. Cooling on a rack prevents steam from making the bottom soggy.
What Can I Substitute for Coffee?
- Instant coffee granules – use 1 tbsp (15 ml) dissolved in ½ cup (120 ml) hot water. This gives a similar intensity but with less bitterness.
- Decaffeinated brewed coffee – swap 1:1 with regular coffee if caffeine is a concern. Flavor remains comparable.
- Strong espresso – replace the brewed coffee 1:1; espresso adds a richer, more concentrated flavor.
- Coffee‑flavored extract – use 1 tsp (5 ml) extract plus ½ cup (120 ml) milk or water. The extract is potent, so keep the amount low.
- Chocolate or cocoa powder – use 2 tbsp (10 g) unsweetened cocoa plus an extra ¼ cup (60 ml) milk for a mocha‑style cake.
Each substitution changes the flavor profile slightly. Granules and decaf keep the moisture level unchanged. Espresso deepens the coffee note, while cocoa adds chocolate richness and reduces the liquid content, so a small amount of extra milk maintains batter consistency.
How Long Does This Coffee Walnut Cake Keep?
After the cake has cooled to room temperature, wrap it tightly in plastic wrap or store it in an airtight container. Refrigerate within 2 hours of baking. The cake stays fresh for 3–4 days in the refrigerator. For longer storage, wrap the cake well and freeze for up to 2 months; thaw in the refrigerator before serving.
What Pairings Complement This Coffee Walnut Cake?
Serve each slice with a dollop of lightly sweetened whipped cream or a scoop of vanilla ice cream. A cup of freshly brewed coffee or a mild black tea highlights the coffee flavor without overwhelming the palate. For a festive touch, drizzle a thin glaze made from powdered sugar mixed with a little milk and a splash of coffee.
Can I Make This Cake Gluten‑Free?
Replace the all‑purpose flour with a 1:1 gluten‑free flour blend that contains xanthan gum. The blend should be measured the same way (1 ¾ cups). The texture will be slightly more crumbly but still moist because the coffee and butter provide enough fat. No other changes are needed.
How Can I Prevent a Dense or Crumbly Cake?
Measure flour by weight rather than by scooping, which packs the flour and adds excess gluten. Sift the flour with the leavening agents before mixing. Do not over‑mix once the liquid ingredients are added; stop as soon as the batter is just combined. Finally, ensure the coffee is cooled before adding it, because warm liquid can melt the butter and affect rise.
How Do I Store Leftovers Safely?
Place any leftover slices in a single layer inside a shallow container, cover tightly, and refrigerate within 2 hours of removal from the rack. Reheat individual portions in a microwave or oven until the internal temperature reaches 165°F (74°C) before serving. Do not leave the cake out at room temperature for more than 2 hours.