Coffee and walnut cake is a classic British layer cake: a butter cake flavored with strong brewed coffee and chopped walnuts, usually filled and topped with coffee buttercream. This version replaces the sugar with an erythritol or monk fruit baking blend, so it works for anyone cutting refined sugar, and it suits birthdays, afternoon coffee, or a potluck dessert table. Expect a moist, tender crumb with a bitter coffee edge and toasty walnut pieces throughout.
Ingredients
For an 8-inch (20 cm) two-layer cake. Use a granulated erythritol or monk fruit baking blend that measures cup-for-cup like sugar; pure powdered stevia will not work here.
- 1 1/2 cups (190 g) all-purpose flour
- 1 1/2 tsp baking powder
- 1/2 tsp salt
- 1/2 cup (115 g) unsalted butter, softened
- 3/4 cup (150 g) granulated erythritol or monk fruit baking blend, plus more for the frosting
- 2 large eggs, room temperature
- 1 tsp vanilla extract
- 1/2 cup (120 ml) whole milk, room temperature
- 2 tbsp (30 ml) strongly brewed espresso or dark coffee, cooled
- 3/4 cup (75 g) walnut pieces, roughly chopped, plus 10 walnut halves to decorate
Coffee Buttercream
- 1/2 cup (115 g) unsalted butter, softened
- 1 1/2 cups (180 g) powdered erythritol or monk fruit blend, sifted
- 1 tbsp (15 ml) strongly brewed espresso, cooled
- 1/2 tsp vanilla extract
- Pinch of salt
Instructions
- Preheat the oven to 350°F (175°C). Grease two 8-inch (20 cm) round cake pans and line the bases with parchment paper.
- Whisk the flour, baking powder, and salt together in a bowl. Toss the chopped walnuts with 1 tbsp of the flour mixture so they don’t sink.
- In a large bowl, beat the butter and granulated sweetener for 2-3 minutes until pale and fluffy. Beat in the eggs one at a time, then the vanilla and 1 tbsp of the espresso. The batter may look slightly curdled at this stage; the milk fixes it.
- Add the flour mixture in three additions, alternating with the milk in two, mixing on low just until each addition disappears. Fold in the floured walnuts.
- Divide the batter between the pans and smooth the tops. Bake 25-30 minutes, until a skewer inserted in the center comes out clean and the cakes spring back when lightly pressed. Cool in the pans 10 minutes, then turn out onto a rack and cool completely, about 45 minutes.
- For the buttercream, beat the butter 2 minutes until pale. Add the powdered sweetener, espresso, vanilla, and salt; beat 2-3 minutes until light. Add more espresso 1 tsp at a time if it is too stiff to spread.
- Level the cakes if domed. Spread about a third of the buttercream on one layer, sandwich the second on top, then spread the rest over the top and sides. Press the reserved walnut halves around the top edge.
Sweetener Swaps
Erythritol and monk fruit blends bake the closest to sugar in creamed cakes, but they cool slightly on the tongue and can leave a faint aftertaste, which the coffee largely masks here. Allulose measures cup-for-cup but browns faster, so check the cakes at 22 minutes. Xylitol works in the cake but is extremely toxic to dogs, so skip it if a dog will be near the dessert table. Pure stevia or sucralose drops replace only a fraction of the bulk and give a gummy crumb; if you must use them, expect a denser cake. Granulated blends are for the cake; powdered blends are for the frosting, and each needs the matching form.
Getting the Coffee Right
The cake needs real coffee flavor, not a hint. Brew espresso or use 1 tbsp of instant coffee dissolved in 2 tbsp (30 ml) hot water, then cool it before adding. Instant espresso powder is the most reliable option because the strength is consistent; add an extra 1/2 tsp to the buttercream for a sharper coffee note against the sweetener. Decaf works identically if you are serving this late in the day. Weak drip coffee will read as barely flavored once baked, so double the grounds if that is what you have.
Serving and Pairing
Cut the cake into 10 slices with a sharp knife warmed under hot water and wiped dry between cuts, so the buttercream doesn’t drag. Serve at room temperature; the crumb is firm straight from the fridge and softens within 30 minutes on the counter. It pairs naturally with black coffee, espresso, or strong breakfast tea. A scoop of unsweetened whipped cream balances the erythritol’s cooling effect on the palate. For a potluck, the cake travels well whole; bring it in the pan or a cake carrier and slice on site.
Make-Ahead Timeline
- Up to 3 days ahead: bake the layers, cool completely, wrap each tightly in plastic, and refrigerate. Cold layers are actually easier to frost.
- 1 day ahead: assemble and frost the whole cake, cover loosely, and refrigerate. The coffee flavor deepens overnight.
- 2 hours before serving: take the cake out of the fridge so it comes to room temperature.
- The buttercream can be made up to 3 days ahead and refrigerated; re-beat it for 1 minute before spreading.
Keeping the Cake
Refrigerate the frosted cake within 2 hours of serving because of the butter and eggs. It keeps about 4-5 days covered in the fridge. Slices freeze well for up to 3 months: wrap each slice in plastic and foil, thaw overnight in the fridge, and bring to room temperature before eating. Do not leave the frosted cake out longer than 2 hours (1 hour if the room is above 90°F/32°C). The unfrosted layers alone keep 2 days wrapped at cool room temperature or a week refrigerated.
When the Crumb Goes Wrong
A dry, crumbly slice usually means over-baking or over-mixing once the flour went in; pull the cakes at the skewer-clean stage and mix only until each addition disappears. A sunken middle means the leavening was old or the oven ran cool, so check with an oven thermometer. If the buttercream looks grainy, the butter was too cold or the powdered sweetener wasn’t sifted; beat it 2 minutes longer and it usually smooths out. Bitter edges point to over-brewed or scorched coffee; brew fresh, and don’t use coffee that has sat on a hot plate for hours.
Related
- Sugar Free Gingerbread Syrup Recipe for Coffee
- Sugar Free Gingerbread Syrup for Coffee
- Cream Cheese Streusel Coffee Cake Recipe
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).