Classic Coffee and Walnut Cake

By Jessie

Updated: July 7, 2025

Rate This Recipe

By: Jessie

Updated: July 7, 2025

Rate This Recipe:

This delicious Coffee and Walnut Cake has two soft and fluffy sponge layers, flavoured with coffee and studded with crunchy walnuts! It's paired with a smooth and creamy coffee buttercream and finished with a simple walnut decoration. This homely and comforting recipe is an all-time classic and couldn't be easier to make! Enjoy a slice of the gorgeous cake with a hot cup of tea (or coffee!).

This post contains links to affiliate websites, such as Amazon, and we receive an affiliate commission for any purchases made by you using these links. We appreciate your support!
Coffee and walnut cake

This Coffee and Walnut Cake is:

  • Made with freshly brewed coffee, rather than coffee essence or flavouring
  • Filled with crunchy chopped walnuts
  • Sandwiched together with delicious coffee buttercream
  • Simply decorated with walnuts for an easy finish
  • Homely and comforting, perfect for a sweet treat to accompany your afternoon tea (or coffee!)

Coffee and walnut cake

Ingredients To Make This Coffee and Walnut Cakes

To make this classic coffee and walnut cake, you will need 8 simple ingredients:

  • Coffee: Use either instant espresso powder or instant coffee granules, dissolved in boiling water. The coffee is cooled before being folded into the sponge mixture.
  • Walnuts: Chopped walnuts are folded into the sponge mixture and walnut halves are used to decorate the top of the cake.
  • Margarine or unsalted butter: Provides a rich, soft texture to the sponge layers. Stork margarine is ideal for achieving a light, fluffy texture, but room temperature butter works well too.
  • Golden caster sugar: Sweetens the sponge layers and retains moisture. Golden caster sugar adds lovely caramel flavour notes which pairs beautifully with this coffee cake. However, you can use white caster sugar instead.
  • Self-raising flour: Essential for helping the mini cakes rise in the oven. If you only have all-purpose plain flour, add 2 teaspoons of baking powder.
  • Eggs: Opt for organic free-range eggs and make sure they are at room temperature. For this recipe, you can use either 3 large eggs or 4 medium eggs.
  • Salted butter: Used to make the buttercream. Salted butter helps to balance the sweetness of the cake and brings out the coffee flavour even more.
  • Icing Sugar: To get a super smooth buttercream, sieve the icing sugar before beating with the butter.

To make this coffee and walnut cake gluten-free, swap the self-raising flour for 300g gluten-free flour mixed with 1.5 teaspoons of xanthan gum and 1 teaspoon of baking powder.

Coffee cake ingredients

Which Baking Tin Should I Use?

To make this coffee and walnut cake you will need two 20cm (8″) round cake tins. To stop your cakes from sticking, first grease the base and sides of the baking tins with a little soft butter. Then line the base and sides of the tins with greaseproof paper.

If you only have different sized baking tins to hand, here’s a quick guide for how you can adjust the baking times to suit:

  • 15cm (6″) round tin: bake for 40-45 minutes at 180°C fan.
  • 23cm (9″) round tin: bake for 25-30 minutes at 180°C fan.
  • 20x20cm square tin: bake for 30-35 minutes at 180°C fan.
  • Cupcakes: this recipe will make 18 cupcakes. Bake for 18-20 minutes at 180°C fan.
baking tins with coffee and walnut cake

How To Stop Your Cakes From Sinking

There’s nothing more deflating (excuse the pun) than taking your perfectly risen cakes out of the oven, only to find they sink in the middle after 5 minutes of cooling! This is one of the most common issues when making sponge cakes, so here are a few simple tips to prevent it:

  • Be careful not to overmix: This can add too much air into the mixture, causing the cake to rise rapidly and then collapse. After the flour has been added to the mixture, use a spatular and gently fold until combined.
  • Avoid opening the oven door too early during baking: The sudden temperature fluctuation can cause the cake to sink. Only check on your cake during the last 5 minutes of the baking time.
  • Use the spring-back test: To check whether your coffee cakes are fully baked, gently press the middle of the sponge with your finger. If the sponge springs back the cakes are done. If your finger leaves an indent, the cakes need another 3-5 minutes.
Coffee and walnut cake

How To Make Smooth and Creamy Coffee Buttercream

  1. First beat the butter until soft, smooth and fluffy.
  2. Sift in the icing sugar so that it’s super fine with no clumps. This will help it blend with the buttercream more easily.
  3. Add the cooled coffee and fold into the mixture until fully mixed through.
  4. Now use a spatula to smooth the buttercream around the outside of the bowl. This will smooth out any air bubbles, making the buttercream really smooth and creamy. Perfect for spreading on top of your coffee and walnut cakes!

Give These Flavour Twists A Go

This coffee and walnut cake is already delicious, but here are a few flavour twists to make it extra special:

  1. Add a teaspoon of cinnamon spice to the sponge for a cosy flavour.
  2. Swap 50g of the flour with 50g cocoa powder to make a mocha cake.
  3. Add a tablespoon of hazelnut or caramel coffee syrup to the buttercream to turn this recipe into your favourite coffee drink!
Coffee and walnut cake

Coffee and Walnut Cake

This delicious Coffee and Walnut Cake has two soft and fluffy sponge layers, flavoured with coffee and studded with crunchy walnuts! It's paired with a smooth and creamy coffee buttercream and finished with a simple walnut decoration. This homely and comforting recipe is an all-time classic and couldn't be easier to make! Enjoy a slice of the gorgeous cake with a hot cup of tea (or coffee!).

Rate this Recipe

4.89 from 9 votes
Print Pin Rate this Recipe
Prep: 30 minutes
Cook: 35 minutes
Total: 1 hour 5 minutes
Servings: 10

Ingredients

For the coffee and walnuts cakes:

  • 300 g Margarine or unsalted butter if using margarine use it cold straight from the fridge. If using butter, make sure it's at room temperature
  • 300 g Golden caster sugar or white caster sugar
  • 3 large Eggs or 4 medium eggs, at room temperature
  • 300 g Self-raising flour
  • 2 tbsp Instant espresso powder or instant coffee granules
  • 100 g Walnuts roughly chopped

For the coffee buttercream:

  • 250 g Salted butter soft at room temperature
  • 500 g Icing sugar
  • 2 tbsp Instant espresso powder or instant coffee granules

For the decoration:

  • 10 Walnut halves

Instructions

Start by making the coffee and walnut cakes

  • First dissolve the coffee in 3 tablespoons boiling water. Stir to combine and then place in the fridge to cool.
  • Preheat oven to 180°C fan / 200°C conventional. Lightly grease two 20cm round cake tins with butter and line the base with greaseproof paper.
  • In a large mixing bowl, beat the margarine and golden caster sugar until light and fluffy.
    300 g Margarine or unsalted butter, 300 g Golden caster sugar
  • Beat in the eggs one at a time until fully incorporated.
    3 large Eggs
  • Gently fold in the flour until the cake mixture is smooth.
    300 g Self-raising flour
  • Add the cooled coffee and chopped walnuts. Fold until mixed through.
    2 tbsp Instant espresso powder or instant coffee granules, 100 g Walnuts
  • Divide the mixture evenly between the cake tins. Bake for 30-35 minutes until risen, golden on top and a toothpick inserted in the middle of the cake comes out clean.
  • Leave to cool for 15 minutes in the baking tin, before turning out onto a wire rack and cooling completely.

Make the coffee buttercream

  • First dissolve the coffee in 2 tablespoons boiling water. Stir to combine and then place in the fridge to cool.
    2 tbsp Instant espresso powder or instant coffee granules
  • Beat the butter until really soft, smooth and fluffy.
    250 g Salted butter
  • Sift in the icing sugar and beat until smooth and combined.
    500 g Icing sugar
  • Add the cooled coffee and use a spatula to fold the coffee buttercream together until combined.

Assemble the cake

  • Place one of the cake layers on a cake stand or plate. If the cake is domed on top, use a sharp knife to level it off so it's flat.
  • Spread half of the coffee buttercream on top into an even layer.
  • Place the second coffee cake on top and lightly press down to sandwich the sponge layers together.
  • Spread the remaining buttercream on top. Finish by placing the walnut halves around the outside edge. Slice and enjoy!
    10 Walnut halves

Notes

Store you coffee and walnut cake in a baking tin at room temperature for up to 3 days.

Have you made this Coffee and Walnut Cake?

I’d love to hear what you think! You can leave a review and star rating below. If you snap a picture, be sure to tag me on Instagram @Jessie.Bakes.Cakes and follow for more baking recipes, tips and behind-the-scenes content!

More cake recipes to love

This post contains affiliate links which means I will make a small commission if you purchase through those links. I only recommend products that I know, trust and love!

4.89 from 9 votes
Subscribe
Notify of
guest
Rate This Recipe




35 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
levanilla
levanilla
1 year ago

Very tempting and delectable cake recipe..4 stars

Sarah
Sarah
1 year ago

Hello, I am wanting to make this for a charity cake sale I am doing, could I freeze the sponges then butter cream them when needed? Many thanks

Ange fletcher
Ange fletcher
1 year ago

Lovely cake.great rise.i didn’t have golden caster so I mxed soft brown 1000g to 200g caster great taste.as a person with 30 plus years as a chef.latetly semi skilled baker can i give you guys some tips.sift the flour not once but 3x ( if youre using cocoa or bi carb really mix it well first by hand then the sifting.also scrapedown your mix again 3 x this ensures it’s all mixed evenly.it might seem a bit long winded but i assure you if you do this you’ll be amazed by the result.it really foes make s huge difference.you can get a nice scraper plus you don’t leave half the mix in the bowl.something I see
some celeb chefs do on tv.happy baking peeps5 stars

Trish
Trish
1 year ago

Hi Jessie, I have made many a coffee and walnut cake but this one is the best by far ,I have had so many lovely comments. So I would like to say thank you .5 stars

Marie allen
Marie allen
1 year ago

Hi Jessie, made your lovely coffee& walnut cake today, it was absolutely perfect 👍 light & fluffy too , will do this cake again, thank you , kind regards

Sarah
Sarah
2 years ago

Great recipe, easy to do. Used Camp coffee as we like the taste in cakes. Would definitely do again and can’t wait to try out your other recipes.5 stars

Sarah
Sarah
2 years ago

Can I freeze this cake?

Flora
Flora
2 years ago

Hi Jessie, do I need to change the ingredient quantities if I’m baking in two 9 inch cake tins? Thanks!

Maria
Maria
2 years ago

Hi there. How do I adjust the recipe for a 10” coffee and walnut?

Love your site.
Maria x5 stars

Ali
Ali
2 years ago

Hi there. Am looking forward to baking this cake. However, can I use campo coffee and chicory essence instead instead of the coffee / water combo? Also, I am new to baking and through trial and error have found that my sponge cakes have a perfect rise and moist texture when baked with 6 medium eggs and 300g of everything else (5 large eggs and 300g of everything else always ends up in a dipped center), which leads me to ask what impact there is on the sponge texture by using 3 large eggs to 300g of everything else. Have I missed a trick somewhere? Thank you in advance for your response

F stone
F stone
2 years ago

Amazing5 stars

Melissa
Melissa
3 years ago

Hi Jessie – is the oven temperature for fan ovens? X

Melissa
Melissa
3 years ago
Reply to  Jessie

Thank you!!

Melissa
Melissa
3 years ago
Reply to  Jessie

Thank you – this cake turned out amazingly! Best coffee and walnut recipe I’ve tried!

Laura
Laura
3 years ago

Very easy recipe to follow. Unfortunately my buttercream went a bit bitty when I put the coffee in. I used Stock coz I forgot to buy salted butter 🤦🏻‍♀️ That was probably the reason? 😆5 stars

Simon Rous
Simon Rous
3 years ago

Since from the intro we are using real coffee cooled down, I don’t understand the ingredient ”2 tbsp Coffee, “dissolved” in 3 tbsp hot water Cooled to room temperature”. Surely the real coffee is already liquid and does not need to dissolved. Or do you mean diluted but wouldn’t that make the coffee flavour too weak? Will I be ok with 5 TBSP of real coffee cooled? Sorry to be so thick!

Laura Ellerby
Laura Ellerby
2 years ago
Reply to  Jessie

It should be how many tbsp of liquid coffee? Sorry I think the number is missing above… We use a percolator to make our coffee and haven’t measured the amount of ground coffee beans in tbsp!

Juliet
Juliet
1 year ago
Reply to  Jessie

HI Jessie. I also only have a capsule coffee machine at home. Should I just use 3tbsp of coffee as I don’t have granules. Thank you so much, I’m excited to make this!

trackback

[…] case you missed the first two recipes, here’s a link to my Classic Victoria Sponge Cake and Classic Coffee Cake. Both equally […]

Evie
Evie
3 years ago

The cake turned out great and tasted great but mine was a bit crumbly, do you have any idea why?5 stars

Joanna
Joanna
4 years ago

Absolutely loved this coffee cake and the recipe was so easy to follow5 stars