• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Domestic Gothess
  • Recipes
  • About
  • Contact
  • Work With Me
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
    • Twitter
menu icon
go to homepage
subscribe
search icon
Homepage link
  • Recipes
  • About
  • Contact
  • Work With Me
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
    • Twitter
  • Buy Me a Coffee

  • ×
    You are here: Home / Cakes / Coffee And Walnut Cake (Vegan and Gluten-Free)

    Coffee And Walnut Cake (Vegan and Gluten-Free)

    Published: Jan 19, 2023

    Go to Recipe

    This delicious coffee and walnut cake is both vegan and gluten-free (or can be made with gluten if you prefer).

    It is soft and moist, with a lovely coffee flavour, coffee buttercream and walnuts. It can also be made as a small batch 15cm cake, or a full sized 20cm one.

    Gluten-free vegan coffee and walnut cake on a glass cake stand with a bowl of walnuts and cups of coffee.

    I believe that just because something is gluten-free and vegan, it doesn't mean it has to sacrifice taste or indulgence. That's why I'm excited to share with you my latest recipe for a delicious gluten-free vegan coffee and walnut cake.

    This moist and flavorful cake is perfect for any occasion, whether it's a special birthday celebration or a casual weekend treat. The combination of coffee and walnuts creates a depth of flavor that will have everyone coming back for seconds. And the best part? It is both gluten-free and vegan, so everyone can enjoy it.

    But don't be fooled, this cake is not only a great option for those with dietary restrictions, it's simply a delicious and indulgent cake in it's own right.

    A slice of coffee and walnut cake on a glass plate.

    What Do I Need To Make Coffee And Walnut Cake?:

    Instant espresso powder: Instant espresso powder is the best thing to use to pack in the coffee flavour. I wouldn't recommend swapping this for anything else.

    Gluten-free flour blend: You need to use a plain gluten-free flour blend such as Doves Farm rather than using a single type of flour. If you don't need the cake to be gluten-free then just use plain (all-purpose) flour.

    Ground almonds: Adding some ground almonds as well as the gluten-free flour gives the cake a better texture. Use the same weight of plain flour if making the non gluten-free version.

    Cornflour (cornstarch): Adding a bit of cornflour (cornstarch) gives the cake a lovely light texture. You can swap it for more plain flour if you don't have any.

    Xanthan gum: Xanthan gum is a very common ingredient in gluten-free baking to help reduce crumbling. You cannot omit it (unless you are making the non gluten-free version OR your gluten-free flour blend already contains it).

    Plant milk: You can use any kind you like but it should ideally be unsweetened and soy milk is best as it has the highest protein content.

    Non-dairy yogurt: I love using plant yogurt in vegan cakes, it is a great egg replacer and keeps the cake moist as well as adding flavour.

    Either soy or coconut yogurt will work, ideally unsweetened. I haven't tested any substitutes for the yogurt I'm afraid; unsweetened applesauce would maybe work but I haven't tried it.

    Vegan butter and oil: Generally in cakes butter adds flavour, but oil makes the cake more moist. I've gone for the best of both worlds and used both!

    For the best results you should use a vegan block butter rather than the spreadable kind in a tub. I recommend Naturli Vegan Block or Flora Plant block. For the buttercream you MUST use a block butter, spreadable will be more likely to split.

    For the oil I tend to use sunflower as it has a neutral flavour, though any neutral flavoured oil will work.

    Vinegar: This reacts with the bicarbonate of soda to help the cake rise and give it a light texture. I use either apple cider vinegar or white wine vinegar. You can also use lemon juice instead.

    Caster sugar: You can use granulated or light brown sugar instead. Don't swap the sugar for sweeteners or liquid sugars as that will affect the texture of the cake.

    Icing sugar: You will also need icing (powdered) sugar to make the buttercream.

    Baking powder and bicarb: Using both baking powder and bicarbonate of soda (baking soda) will give you the best rise and texture. Don't swap one for the other, you will not get the same result.

    Be aware that not all baking powder is gluten-free so check the tub just in case!

    Vanilla extract: Extract is better than essence and you can also use vanilla bean paste.

    Walnuts: A classic with coffee cake, but pecans would also work.

    A close up of the sliced cake.

    How To Make This Coffee And Walnut Cake:

    (Full measurements and instructions can be found in the recipe card at the bottom of the page)

    In a large bowl, whisk together the flour, ground almonds, cornflour, baking powder, bicarbonate of soda, xanthan gum, espresso powder and a pinch of salt.

    Step 1, the dry ingredients in a bowl.

    In a jug, whisk together the melted butter, oil, yogurt, milk, sugar, vinegar and vanilla extract.

    Step 2, the wet ingredients in a jug.

    Pour the wet ingredients into the dry and stir with a balloon whisk until you have a smooth batter.

    Fold in the walnuts.

    Step 3, the finished batter ina bowl with the walnuts on top.

    Pour the batter into a greased and lined 20 cm round tin, or two 15 cm round ones.

    Step 4, the cakes before baking.

    Bake for about 30 minutes until a skewer inserted into the centre comes out clean.

    Step 5, the cakes after baking.

    To malke the buttercream, mix together the espresso powder and milk to form a paste.

    Step 6, the coffee paste.

    Whisk the butter with an electric mixer for a couple of minutes until fluffy.

    Add the icing sugar, coffee paste and vanilla extract.

    Step 7, the buttercream ingredients in a bowl.

    Whisk on a high speed for a good few minutes until light and fluffy.

    Step 8, the finished buttercream.
    Close up of gliten-free vegan coffee and walnut cake.

    Top Tips:

    I have not provided US cup conversions for the flour as they are too inaccurate for this recipe. Different gluten-free flour blends weigh different amounts per cup. Please use a scale. I highly recommend weighing out all of the ingredients rather than using cup conversions.

    For the best results follow the recipe closely and make it exactly as written. Changing any of the ingredients could affect the outcome of the cake.

    The cake will keep in an airtight container at room temperature for around 4 days.

    If you omit the espresso powder and walnuts you can turn this cake into a gluten-free vegan vanilla cake instead!

    Can I Make It With Regular Flour?:

    Yes, if you don't need this cake to be gluten-free then you can just swap both the gluten-free flour and the ground almonds for an equal weight of plain (all-purpose) flour.

    So that would be 190g plain flour for a two layer 15 cm cake (or 380g for a 20 cm one if you are doubling the recipe).

    You should also omit the xanthan gum if you are using regular flour.

    Can I Make A Full Sized Cake?:

    This recipe makes two 15 cm (6 in) round layers, or one 20 cm (8 in) round one. If you want to make a full sized two layer 20 cm (8 in) cake then you will need to double the recipe and split the batter between two 20 cm (8 in) round, 5cm (2 in) deep tins.

    Can I Freeze It?:

    Yes the un-iced cakes freeze well.

    Make sure they are completely cold before freezing, wrap them well to prevent freezer burn and freeze for up to three months. Allow to defrost at room temperature to serve.

    More Gluten-Free Vegan Treats:

    • Lemon blueberry polenta cake
    • Gluten-free vegan Christmas cake
    • Pistachio cranberry rocky road
    • These fudgy vegan brownies can be made with gluten-free flour
    • Simply use gluten-free cookies in the biscuit base to make this vegan key lime pie GF.
    The sliced coffee and walnut cake on a glass cake stand.

    If you tried this recipe let me know how it went! Rate it, leave a comment or tag @domestic_gothess on Instagram and hashtag it #domesticgothess

    All images and content on Domestic Gothess are copyright protected. If you want to share this recipe then please do so by using the share buttons provided. Do not screenshot or post the recipe or content in full, instead include a link to this post for the recipe.

    Gluten-free vegan coffee and walnut cake on a glass cake stand with a bowl of walnuts and cups of coffee.
    Print
    4.92 from 12 votes

    Coffee And Walnut Cake (Vegan and Gluten-Free)

    This delicious coffee and walnut cake is both vegan and gluten-free (or can be made with gluten if you prefer). It is soft and moist, with a lovely coffee flavour, coffee buttercream and walnuts. It can also be made as a small batch 15cm cake, or a full sized 20cm one.
    Course Dessert
    Cuisine British
    Keyword cake
    Prep Time 30 minutes minutes
    Cook Time 30 minutes minutes
    Servings 6 people
    Author Domestic Gothess

    Ingredients

    Cake:

    • 150 g plain gluten-free flour blend
    • 40 g ground almonds
    • 10 g (1 packed Tablespoon) cornflour (cornstarch)
    • ¾ teaspoon baking powder
    • ¼ teaspoon bicarbonate of soda (baking soda)
    • ¼ teaspoon xanthan gum
    • 1 ½ Tablespoons instant espresso powder
    • pinch salt
    • 60 g (¼ cup) vegan butter melted
    • 60 ml (¼ cup) neutral oil
    • 60 g (¼ cup) plain vegan yogurt
    • 120 ml (½ cup) unsweetened non-dairy milk (I use soy)
    • 140 g (1 + scant ¼ cup) caster sugar
    • 1 teaspoon vinegar
    • 1 ½ teaspoons vanilla extract
    • 65 g walnuts roughly chopped (plus extra to decorate)

    Buttercream:

    • 1 Tablespoon instant espresso powder
    • 1 teaspoon milk
    • 100 g (scant ½ cup) vegan block butter slightly softened
    • 200 g (1 + ¾ cups) icing (powdered) sugar sifted
    • ¼ teaspoon vanilla extract

    Instructions

    • Preheat the oven to 180°C/160°C fan/350°F/gas mark 4. Grease two 15 cm (6 in) round cake tins, or one 20 cm (8 in) round, 5 cm (2 in) deep one and line the bases with baking parchment.
    • In a large bowl, whisk together the flour, ground almonds, cornflour, baking powder, bicarbonate of soda, xanthan gum, espresso powder and a pinch of salt.
    • In a jug, whisk together the melted butter, oil, yogurt, milk, sugar, vinegar and vanilla extract.
    • Pour the wet ingredients into the dry and stir with a balloon whisk until you have a smooth batter. Fold in the walnuts.
    • Divide the batter evenly between the tins and bake for about 30 minutes until a skewer inserted into the centre comes out clean.
    • Leave the cakes to cool in the tins for 10 minutes then carefully turn them out onto a wire rack and leave to cool completely.
    • To malke the buttercream, mix together the espresso powder and milk to form a paste.
    • Whisk the butter with an electric mixer for a couple of minutes until fluffy. Add the icing sugar, coffee paste and vanilla extract.
    • Stir until the sugar is moistened (the mixture will seem dry at first but will come together, don't be tempted to add any more liquid or it may split), then whisk on a high speed for a good few minutes until light and fluffy
    • Place one of the cake layers on a plate and spread over half of the buttercream. Place the other cake layer on top, spread with the rest of the buttercream and decorate with walnuts.

    Notes

    • I have not provided US cup conversions for the flour as they are too inaccurate for this recipe. Different gluten-free flour blends weigh different amounts per cup. Please use a scale.
    • To make a two layer 20 cm (8 in) round cake you will need to double the recipe.
    • To make this cake with regular flour rather than gluten-free, swap both the gluten-free flour and the ground almonds for an equal weight of plain (all-purpose) flour; so a total of 190g of plain flour. Omit the xanthan gum.
    Pinterest collage image.

    More Cakes

    • Flatlay of squares of vegan apple gingerbread cake on a dark surface surrounded by apples, pecans and a jar of ginger.
      Apple Gingerbread Cake (vegan)
    • Sliced vegan Brooklyn blackout cake on a glass cake stand.
      Vegan Brooklyn Blackout Cake
    • A slice of vegan lemon cardamom pound cake on a white plate with a fork. Fresh lemons and a bowl of icing in the background.
      Lemon Cardamom Pound Cake (vegan)
    • A stack of vegan courgette muffins on a wire cooling rack.
      Vegan Courgette Muffins (zucchini muffins)

    Never Miss A Post!

    Subscribe to get all the latest recipes delivered to your inbox.

    Reader Interactions

    Comments

    1. Nora

      January 24, 2023 at 9:53 am

      5 stars
      Baked the full 20 cm cake (with normal self-raising flour instead of gluten-free one) yesterday and it was amazing!! The buttercream was very well balanced, pretty much a perfection. An advice for those baking the full cake is that it will probably take 40 - 45 minutes in the oven, or at least that's how much it took me! Thank you so much Hannah for this wonderful recipe!

      Reply
    2. Ellie

      January 28, 2023 at 11:19 pm

      5 stars
      This was possibly the best coffee and walnut cake I’ve ever made! Including those I made before going gf and vegan

      Reply
    3. Rachele

      March 04, 2023 at 9:10 pm

      5 stars
      Sublime tasting vegan and gluten free coffee and walnut cake. I am so glad I trusted your recipe and followed it to a T. It turned out soft and spongy, and the buttercream was just the right amount. I used a vanilla soy yogurt rather than plain and I used an 18cm tin and then cut the cake in the middle for the filling and then done the frosting. I'll be making this again for sure!

      Reply
    4. s

      March 09, 2023 at 11:58 pm

      5 stars
      Made this today with hazelnuts, and even forgetting the cornstarch it was glorious.

      Reply
    5. Rebecca

      April 09, 2023 at 6:31 pm

      5 stars
      This cake is amazing!

      I always make it with plain flour (so not gluten free) but I don’t sub out the ground almonds for plain flour, and it is sooooo moist! Highly recommend not to sub the ground almonds.

      I also tried making it once (I’ve made it a few times) with blended silken tofu as I had no vegan yoghurt in the house. It worked brilliantly and the cake tastes and feels no different to when I used yoghurt.

      Reply
    6. Sheryl

      July 10, 2023 at 2:14 am

      4 stars
      I've never made cake with coffee and nuts in it...and I found that I wasn't crazy about the nuts in the cake. If I made this cake again, I would omit the nuts. Otherwise, I followed the recipe as written. Thank you for sharing the recipe.

      Reply
    7. Lesley

      July 18, 2023 at 6:25 am

      What quantities do I need to make this as a sheet cake. 23x30 cms

      Reply
      • Hannah

        July 19, 2023 at 8:29 am

        Hi Lesley, I would double the recipe.

        Reply
    8. Kay Bienvenu

      October 20, 2023 at 12:35 pm

      Can the xanthan gum be omitted please? Would the cake be very crumbly?

      Thanks

      Reply
      • Hannah

        October 24, 2023 at 11:07 am

        Hi Kay, I wouldn't recommend omitting it, it is fairly essential for gluten-free baking to provide structure.

        Reply
        • Jade

          December 22, 2023 at 12:10 pm

          Hi Hannah, I can't any xanthan gum but I have read agar agar is an alternative, have you tried any substitutes for XG that you can recommend? Thanks!

          Reply
          • Hannah

            December 24, 2023 at 8:29 am

            Hi Jade, I wouldn't use agar agar in cakes. There isn't really a good alternative for xanthan gum, you can omit it if you can't find any but the cake may be a bit crumbly.

            Reply
      • Maisy

        December 20, 2023 at 10:59 am

        5 stars
        Hi, is it possible to omit canghan gum if my gf floor already has another binding agent in it as well as tapioca? Or is it still necessary? Thanks in advance 🙂

        Reply
        • Hannah

          December 24, 2023 at 8:26 am

          Hi Maisy, if the flour already contains xanthan gum then it is fine to omit it. If not then I would still use it if possible, the cake will still work without it but may be more crumbly.

          Reply
    9. Fran

      October 22, 2023 at 9:44 pm

      5 stars
      Hello, Love the recipe! Would it be suitable for muffin cases as well? Many thanks

      Reply
      • Hannah

        October 24, 2023 at 11:08 am

        Hi Fran, I haven't tried but I don't see why not.

        Reply
        • Mrs E

          January 28, 2024 at 6:40 pm

          As I am making for a nut free environment, can I replace the ground almonds with the equivalent quantity of gf flour?
          Obviously I'll omit the walnuts too!

          Reply
          • Hannah

            February 06, 2024 at 8:06 am

            Yes that should be fine.

            Reply
    10. Kathleen Louise

      March 07, 2024 at 8:57 pm

      5 stars
      This recipe is better than the non gf cake we made a few months ago....I am truly surprised 🙂 my daughter wanted a coffee walnut cake for her birthday but couldn't find a gf one without eggs she is intolerant to both....can't wait to see her face when she tries is tomorrow ...I tested a bit.....so moist and yummy!!!!
      Thankyou so much

      Reply
      • Pamela

        June 10, 2024 at 8:16 pm

        Can I use almond flour in place of ground almonds as I can’t find any in the shops and my food processor is not powerful enough?

        Reply
        • Hannah

          June 11, 2024 at 9:24 am

          Hi Pamela, yes they are the same thing.

          Reply
      • Hanna

        May 15, 2025 at 10:03 am

        Hi Hannah, I only have 7inch tins can I get away with using the 6inch recipe? Thank you.

        Reply
        • Hannah

          May 17, 2025 at 8:54 am

          Hi Hanna, that should be ok, they might bake a little quicker though.

          Reply
    11. Elizabeth

      June 24, 2024 at 4:26 pm

      I followed the recipe carefully but it did not rise as per the picture. Was the proportion of plain flour to raising agent correct?

      Reply
      • Hannah

        July 04, 2024 at 7:18 am

        Hi Elizabeth, sorry to hear it didn't work out for you. Yes the quantity of raising agents is correct, I make variations of this base cake recipe a lot and never have an issue with it rising, are your baking powder and soda in date?

        Reply
    12. Karma Claybon

      July 15, 2024 at 5:15 pm

      When visiting blogs” i always look for a very nice content like yours  

      Reply
    13. Dori Kocsis

      August 01, 2024 at 10:12 am

      Is there anything I can use instead of the almond flour? Coconut flour maybe?

      Reply
      • Hannah

        August 03, 2024 at 10:51 am

        Hi Dori, definitely don't use coconut flour, it is waaaay too absorbant. I would just try using more of the GF flour blend.

        Reply
    14. Arin

      September 26, 2024 at 11:58 pm

      5 stars
      Lovely recipe! Baked in tiny molds (1-2 bite size) for about 15 minutes Assembled without the buttercream, made a coffee glaze to decorate individually. I had to hold the batter for 2 days, so I didn't add leaveners until the day of baking. Worked like a dream!

      Reply
    15. Steph

      October 13, 2024 at 12:31 pm

      Hi, I’m intolerant to wheat, would this recipe work with another flour such as tapioca or almond?
      Thanks.

      Reply
      • Hannah

        October 14, 2024 at 12:01 pm

        Hi Steph, this cake is made with a gluten-free flour blend so it doesn't contain wheat.

        Reply
    16. Sab

      March 31, 2025 at 7:36 am

      5 stars
      Brilliant gluten free and vegan recipe. I used Doves gluten free self raising flour. It turned out great. So tasty for vegans and non vegans. I made a mistake of not checking if the flour I was using already contained xantham gum and I added it despite the flour containing it. It still turned out great! I will be making this again.

      Reply
    17. Lawlie Hill

      April 06, 2025 at 3:23 pm

      5 stars
      I’ve just made this cake and I can honestly say it was the best vegan/gluten free cake that I have ever baked ! I followed the recipe exactly and it turned out wonderfully, we demolished it within two days, this is going to be a firm favourite now in our family. Thank you so much xx

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Recipe Rating




    Primary Sidebar

    Hi, I'm Hannah! I'm a UK based vegan food blogger, recipe developer and food photographer specialising in the best vegan baking. Welcome to Domestic Gothess!

    More about me →

    Popular

    • Curried vegetable pasties – vegan pasties filled with curried vegetables and chickpeas, perfect for picnicking! #vegan #baking #pastry
      Curried Vegetable Pasties (Vegan)
    • Vegan fruit and nut flapjacks - easy vegan oaty flapjacks (oat cookie bars) filled with dried fruits, nuts and seeds. Perfect for snacking, lunchboxes and hiking!
      Vegan Fruit And Nut Flapjacks
    • Vegan chocolate fudge cake - an easy to make, moist, fudgy vegan chocolate cake topped with coconut milk ganache. No one will be able to guess that it's vegan!
      Vegan Chocolate Fudge Cake
    • Vegetable tagine wit almond and chickpea couscous - an easy, healthy vegetarian/vegan meal with tonnes of flavour!
      Vegetable Tagine With Almond And Chickpea Couscous

    Buy Me a Coffee

    Never Miss A Post!

    Subscribe to get all the latest recipes delivered to your inbox.

    Footer

    ↑ back to top

    About

    • About Hannah
    • Disclosure and Privacy

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact
    • Work With Me

    Copyright © 2025 Domestic Gothess. All rights reserved.