Coffee and walnut cake is a classic British-style layer cake, and it works well without eggs because the batter gets its lift and structure from baking soda reacting with yogurt and a splash of vinegar. The crumb is moist and slightly dense, closer to a pound cake than a sponge, and it holds up under a coffee buttercream. It suits birthdays, afternoon coffee, and potlucks, and it travels better than most sponge cakes.
The one technique that makes an egg-free cake work is acid meeting soda: the yogurt and vinegar fizz the batter up the moment they combine, so the cake must go into a hot oven fast. Everything else is standard creaming method.
What Holds This Cake Together Without Eggs
Eggs normally do three jobs: bind, lift, and add moisture. Here, plain full-fat yogurt binds and adds moisture, baking soda plus vinegar provides the lift, and a small amount of cornstarch in the flour keeps the crumb tender. Do not swap the yogurt for a low-fat version or thin milk; the batter needs the thickness and acidity. Measure the vinegar precisely – too much leaves a taste, too little gives a flat cake.
Equipment: two 8-inch (20 cm) round cake pans are ideal. If you only have one, bake the batter in two batches or use one 9×5-inch (23×13 cm) loaf pan and add 10-15 minutes to the bake time. A hand mixer makes the buttercream easier, but a sturdy spoon works for both batter and frosting.
Ingredients
Cake
- 1 1/2 cups (190 g) all-purpose flour
- 2 tbsp (16 g) cornstarch
- 1 tsp baking soda
- 1/2 tsp salt
- 3/4 cup (170 g) unsalted butter, softened
- 1 cup (200 g) granulated sugar
- 1 cup (245 g) plain full-fat yogurt, at room temperature
- 1 tbsp (15 ml) white or apple cider vinegar
- 2 tsp instant coffee granules dissolved in 2 tbsp (30 ml) hot water, cooled
- 3/4 cup (75 g) finely chopped walnuts, plus extra halves to decorate
Coffee Buttercream
- 1 cup (225 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 2 tsp instant coffee granules dissolved in 1 tbsp (15 ml) hot water, cooled
- 1 tbsp (15 ml) whole milk, if needed
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, cornstarch, baking soda, and salt together in a bowl.
- In a large bowl, beat the butter and sugar for 2-3 minutes until pale and fluffy, scraping the sides once.
- Stir the dissolved coffee into the yogurt, then add the yogurt and vinegar to the butter mixture. Beat briefly – it will look curdled, which is normal.
- Add the flour mixture and walnuts and fold with a spatula until just combined; do not overmix.
- Divide between the pans, smooth the tops, and bake 40-45 minutes until a skewer inserted in the center comes out clean and the cakes spring back when pressed.
- Cool in the pans 10 minutes, then turn out onto a rack and cool completely, about 30-40 minutes, before frosting.
- For the buttercream, beat the butter 2 minutes until creamy, then add the powdered sugar a cup at a time, beating after each addition. Beat in the dissolved coffee, and the milk only if the frosting is too stiff to spread.
- Spread about a third of the buttercream on one cake, sandwich the second on top, and spread the rest over the top and sides. Press walnut halves around the top edge.
Where Egg-Free Cakes Go Wrong
A sunken center almost always means the batter sat too long before baking or the oven was not fully preheated – once the vinegar hits the soda, you have a few minutes of fizz, so get the pans into the oven immediately. A wet, gummy middle means underbaked; egg-free cakes read as done by skewer, not by color, so test the center even when the edges look dark.
Overmixing after adding the flour develops gluten and gives a rubbery cake; fold, don’t beat. Cold yogurt straight from the fridge can make the butter seize and the batter look split – let it sit out 30 minutes first. Finally, doubling the instant coffee does not double the coffee flavor; it adds bitterness. For stronger coffee flavor, use espresso powder at the same measure.
Swaps and What They Change
- Yogurt: plain dairy yogurt works best. Unsweetened plain soy or coconut yogurt works at the same 1 cup (245 g); coconut adds a faint coconut note.
- Instant coffee: espresso powder at the same 2 tsp for a deeper, less bitter flavor. Brewed coffee does not substitute in the cake – it is not concentrated enough.
- Butter: plant-based block butter works in both cake and frosting at a 1:1 swap; softened tub spreads do not, because they are too watery.
- Walnuts: pecans at the same 3/4 cup (75 g) for a sweeter, milder nut.
- Flour: a gluten-free 1:1 baking blend can replace the all-purpose flour cup for cup; expect a slightly denser crumb.
Check labels on the yogurt and any plant butter if the cake must be strictly egg-free for an allergy – some products are made in facilities that also handle eggs.
Storing the Finished Cake
Because the cake contains dairy yogurt and buttercream, refrigerate it within 2 hours of assembling (1 hour if the room is above 90°F/32C). Covered, it keeps about 3-4 days in the refrigerator; let slices sit 20-30 minutes at room temperature before serving so the buttercream softens. Unfrosted cake layers can be wrapped tightly and frozen up to 3 months – thaw overnight in the refrigerator. Frosted whole cake freezes less well; the buttercream can weep on thawing, so freeze unfrosted if you can. Leftover slices reheat nothing; serve them plain or briefly warmed 10-15 seconds in the microwave.
Related
- Sugar Free Gingerbread Syrup for Coffee
- Sugar Free Gingerbread Syrup Recipe 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).