Vegan Pistachio Lemon Avocado Cake
This Vegan Pistachio Cake has is naturally coloured with avocado, has a hint of lemon and is super moist. It is the perfect cake with your daily tea or coffee. This eggless pistachio cake has a unique and refreshing flavour profile, just like my avocado lime coconut cake.

Why you’ll love this cake
TEXTURE: This eggless pistachio cake is soft and has a compact crumb similar to other cakes made with nuts. The natural fat in the avocado makes the cake extra moist and replaces some of the fat from eggs.
FLAVOR: A unique flavour profile with the nuttiness of pistachios, subtle tang of lemon and earthiness from the avocados!
SIMPLE: This cake uses common ingredients, no special egg replacers and is naturally colored with pistachios and avocado!
Simple ingredients to make this cake

The full list of ingredient quantities and instructions are in the recipe card at the bottom of this post.
Raw pistachios adds nuttiness, texture and moisture. If you cannot have nuts, check out my vegan avocado cake.
Lemon juice helps balance the avocado flavor and creates a lighter and more tender crumb. If you don’t want a lemon-flavored cake, you can replace it with orange juice or dairy-free milk with a dash of almond extract (for flavor) and apple cider vinegar (for texture).

Steps to make the cake
I’m always a fan of easy cake recipes and this vegan lemon pistachio cake is no exception. To make the cake, add all dry ingredients (except the pistachios) to a bowl and mix.
Add the rest of the ingredients (pistachios, avocados and the wet ingredients) to a food processor and blitz until combined.

Combine the ingredients in your mixing bowl to form a very thick cake batter. As there’s already so much natural moisture and oils in the avocado and pistachios, we don’t need to add too much liquid!
As the batter is quite thick, you’ll need to scoop (or slowly pouring) the mixture into your lined loaf tin.
Like all cakes packed with fruit or nuts (such as my vegan apple bread) this pistachio cake takes time to bake. If the cake browns TOO quickly and the middle is still uncooked, cover the tin with an oven safe bowl or aluminium foil to force the oven to cook inside the cake.
The final cake will have a golden brown exterior, with a green interior!
When you take the cake out of the oven, it will deflate a little. This is completely fine and will not affect the end result of the cake!

Icing and decorating the cake
A simple sugar icing best suits this lemon pistachio cake. It is elegant, simple and makes the cake look like it’s from a cafe! I made the icing using only powdered sugar and lemon juice. You can sub the juice for almond milk or other plant-based milk but the lemon juice really adds an extra element to the cake.
Alternatively, if you want a healthy lemon pistachio cake, you can top it with thick coconut yogurt or whipped coconut cream.

Key tips for baking:
- Make sure your oven isn’t too hot (many ovens are hotter than they say they are so I recommend getting an oven thermometer in the long term). There are lots of pistachios in this cake and nuts tend to burn easily in the oven. As mentioned above, if your cake is browning too quickly, simply cover the cake with a large oven-safe bowl or aluminium foil. Or you can lower the temperature of your oven.
- Taste test the eggless pistachio cake batter before you bake it. I couldn’t really taste the avocado in my final cake but if you can (and don’t like it), simply add more lemon juice/zest.
- This cake can be made into vegan pistachio cupcakes. Your cupcakes won’t need to be baked for as long (maybe around 25 mins). They also won’t deflate as much when out of the oven.
- You can customise this cake to make a vegan pistachio and rose cake or vegan pistachio cardamom cake. Simply mix in a dash of rose water or cardamom spices to the cake batter and bake as is! You can also add rose water to the icing.

More vegan avocado desserts
Follow Rainbow Nourishments on Instagram, Facebook, TikTok and Pinterest, and subscribe via email to receive all of our latest recipes!

Vegan Pistachio Avocado Cake
Ingredients
Dry ingredients
- 2 cups (250g) all-purpose plain flour, (note 1 for gluten-free option)
- ¾ cup (150g) granulated sugar
- 3 teaspoons baking powder
- Pinch of salt
Ingredients to blend
- 1 cup (170g) raw pistachios, (weighed without the shell)
- ~1 (250g) large avocado, flesh only (weighed after removing the skin and seed)
- ⅔ cup (165g) dairy-free milk
- ⅓ cup (85g) neutral flavored oil
- ¼ cup (60g) lemon juice and zest
- 1 tsp vanilla extract, optional
Icing (optional)
- 1 cup (100g) powdered sugar / icing sugar
- 1-2 tablespoons lemon juice
- 1 tablespoons vegan butter or margarine, optional, for a firmer frosting
To decorate (optional)
- 2 tablespoons pistachios, chopped finely
- 1 teaspoon rose petals
Instructions
- Note: For accuracy, I recommend using grams for this recipe except for the tablespoon and teaspoon measurements!
- Preheat the oven to 180°C (350°F). Line a 20 cm (8 inch) or longer loaf tin with baking paper. The longer your tin, the less time it'll take to bake your pistachio cake.
To make the pistachio cake:
- Add all dry ingredients to a large mixing bowl. Mix until combined and there are no lumps. Set aside.
- Add the pistachios to a food processor and blitz until it forms medium to fine crumbs. Add the avocado, milk, oil, lemon juice/zest and vanilla. Blitz until there are no more chunks of avocado. The mixture may be lumpy from the pistachios.
- Pour the pistachio mixture into the mixing bowl with the flour. Mix gently until combined. The batter needs to be quite thick (otherwise the cake will not bake through).
- Pour or scoop the cake batter into your loaf tin.
- Bake the cake for 60-70 minutes OR until a skewer can be inserted into the middle and there is no wet batter on it (note 2). If the cake is browning too quickly but is uncooked in the middle, cover the cake with an oven-safe bowl or aluminum foil and bake until ready. The cake is very moist and there might be some crumbs on your skewer which is fine.
- Allow the cake to rest in the tin for at least 10 minutes. Remove it from the tin and allow it to cool on a wire rack. The cake might deflate which is fine.
To make the icing:
- Add all ingredients to a bowl and mix until combined. Add more powdered sugar for a firmer frosting or more lemon juice for a runnier frosting
- When the cake has fully cooled, spoon the icing on top of the cake. Sprinkle with pistachios if desired.
- The loaf can be stored in an airtight container at room temperature for 1 day, in the fridge for 3 days or in the freezer up to 1 month.
Video
Notes
- For a gluten-free vegan pistachio cake, substitute the flour with 1 cup (100g) almond flour and 1 cup (160g) gluten-free flour blend.
- If you don’t want to wait this long to bake the cake, bake it in a round 20cm cake tin for around 50-60 minutes
This post may contain affiliate links. As an Amazon Associate, I may earn a small commission from qualifying purchases at no additional cost to you.

It wasnt good taste. Just good texture..very bitter i follow everything in grams and regular hass avovado..my spouse not happy . Im sad 🙁
Hi Cindy, sorry to hear this didn’t work out for you. Can I ask what country your hass avocado is from? I wonder if hass from different countries results in a bitter flavor – the hass that I used in Australia worked out perfectly.
Amazing! Used brown sugar instead of white. It was my first try and it turned out amazing! Thank you!
Yay, we’re so glad to hear it was a success, especially on your first try! Brown sugar sounds like a great swap! Thank you for sharing your feedback 💛
I followed the recipe but after 70 minutes the ‘cake ‘ was still very wet in the middle. I had to cover with foil as suggested but it took almost 2 hours to cook. When it cooled I iced it but on trying to cut it the top was rock hard and the’ cake’ was more like a heavy pudding! I’m not sure what went wrong 😞
Hi Maureen, I’m so so sorry that the cake didn’t work out. It’s difficult to know what happened without being there. Normally, if a cake’s exterior is very hard and the inside isn’t cooked, it’s a sign that your oven runs a bit too hot. However, this wouldn’t explain why it took 2 hours to bake. By any chance, was your baking powder a little old? Otherwise, is there a chance the batter was overmixed and it deactivated the baking powder?
My glutenfree guest was so happy with this cake! And the non GF people as well. I wanted her to feel just as spoiled with a yummy beautifull cake as everyone else. It tastes so much like a non glutenfree cake in taste. I put a vegan Violife cream cheese on top which is a must in my opinion it really elevates the cake. It did break up a little bit here and there but mostly stayed togetter quite well. But the flavour makes up for it so don’t let that keep you from it.
Our glutenfree friends deserve more that tbose cardboard awefull treats…really make this because they deserve to have a impressive pretty and tasty cake.
I added 1 tsp of matcha for extra green colour.
Hi Loes, aw that’s wonderful! I’m so glad that the gluten-free version worked for you and that your guests enjoyed it. And I absolutely agree with your sentiment – people with allergies should definitely be able to enjoy delicious baked goods! Thanks so much for your feedback 🙂
Had a bumper crop of avocados at the start of the season here in South Florida, with a ton knocked down by the storm winds lately. I had no idea what to do with so many and was thoroughly sick and tired of guacamole. Enter avocado desserts! This was a stellar recipe. The cake came out beautiful, moist, tender, and not wet at all. I followed it mostly to the T, with the only exceptions being I made up some weight of the pistachios with almonds because I didn’t have enough, and I used almond extract instead of vanilla. Made it in my favorite bundt cake pan, and it baked up perfectly. Will definitely be making it again! Thank you so much!!!
Hi Meli, I’m thrilled that you loved this cake and that it turned out well in a bundt pan! And it’s great that the recipe worked replacing some of the pistachios with almonds. I know what you mean about having too much guacamole, so I’m honored that you chose to bake this cake! Thanks so much for your lovely feedback and taking the time to leave a comment 🙂
Delicious but it deflated significantly in the center all throughout the loaf (all the edges remained tall), so much so that the icing just gathered in the dipped area. I measured all ingredients using a scale and the only variation I did is using coconut sugar. Any ideas what could have caused this?
Hi Natalia! Sorry for the late reply, but it’s strange that your cake completely sunk. I know that this can sometimes happen if your baking powder is a little old or if your oven runs cool. Otherwise, it could be the coconut sugar because it has more moisture than regular sugar. I hope that helps!
Can you use almond flour?
I wouldn’t recommend it. In eggless cakes, almond flour needs a starch to hold it together and there will be too many nuts in this cake.
Do you think I can use olive oil? I love a good olive oil cake.
Yes you can, however there are lots of other flavors in this cake so the flavors might compete a little.
Do you know if i can add eggs to this recipe?one or two?does the end result still good you think? I have made pistachio cake before with butter and eggs and it was so good,,not sure if i’d like to try eggless cake. It looks good though.
Hi Marzi, adding eggs to this recipe will completely change the ratios so you’ll need to do your own testing to see if it works. I only bake with vegan ingredients so I can’t vouch for results.
Hi Anthea,
Thank you for this lovely recipe.
I made this with my daughter for a cake competition. It looked amazing and came out moist, but rather dense and not fluffy at all.
I have to say the same happend with a different recipe that used to always make perfect vegan cakes..
We followed your recipe in grams but used raw cane sugar.
I found that 170g pistachios (when they were not yet blended) were a lot more than one cup. But we still used the gram measure.
We baked the cake slightly below 180degrees ( as oven is often too hot) and for 70 min.
Do you have any idea why our cake wasn’t as fluffy as in your photos?
Thank you!
Hi Stepfanie and Momo! I’m sorry that this cake came out dense for you! A dense cake can be due to various reasons including old baking powder, over-mixing the batter or if the oven heat is too low (and a few other reasons).
The grams to cup measurement is an automatic conversion that’s determined by a universal system and unfortunately I don’t have any control over it. However, you were right in measuring everything by grams! It’s hard to say exactly what happened with your cake. Raw cane sugar can be quite coarse so I wonder if it had dissolved properly (which can affect a cake’s rising). Was your cake batter very thick? If it was more runny, it could be an ingredients issue. Otherwise, it might be a baking issue. I hope that helps!
I definitely agree with you, there might have been other variables effecting the outcome as I tried the recipe today, and it turned out moist fluffy and delicious.
Aw, I’m so glad that the cake worked out for you and that you enjoyed it!! Thanks for letting me know 🙂
Hi,
Can I replace the sugar with coconut sugar?
Thank you!
Yes you can however, it will make the cake a green-brown color!
Yummy tasty!! First time making this, I made them in little loaf pans, I love how simple this was, even though it was vegan it was delicious. Yummy!
Maybe I’ll do more vegan recipes. Thank you!!
Oh that’s amazing and I love that you baked it in smaller pans! Thanks so much for your feedback Geneva :)!
Hi Anthea,
I really like this recipe but need it for a layered cake, do you think it will hold up? Or you advice against it? Any input is much appreciated. Thanks!!
Hi Prachi, yes this cake will work for a layered cake! I’d just recommend making sure the layers aren’t too thick. This is already a denser cake so thicker layers may not cook through. I hope that helps!
Hi, a question before I make this recipe – I sometimes chop and freeze leftover avocado, and when I weighed 250g as written in the recipe, it’s a lot of avocado! I googled the average weight of 1 avocado (without the seed and skin) and it’s around 136g. Is it really 250g or was the avocado you used much bigger than the hass avocado?
Hey, yes the avocado I used weighed 250g! It seems that Australian avocados are slightly larger/heavier. I hope that helps!
This is the best vegan pistachio cake ever!!! I made it in a Bundt pan and baked it for 45 mins. It came out perfect. I had to lower my oven temperature to about 335 F since my over runs hot. I used some cardamom and rose water in the batter along with a splash of almond extract. My friends and family will love this very special cake made with real pistachios. Thank you for sharing this lovely recipe. Your recipes are amazing. I will be making the strawberry cake for Valentine’s Day.
Oooh I love that you used cardamom and rose water! I’m so so glad you and everyone loved this cake! And that’s great it worked in a bundt pan too! Thanks so much for your feedback Lakme x
Did you line your bundt tin?
I think this is my new favourite. I alredy baked this cake twice, and it’s still so good! Moist, but fluffy nevertheless, and with the really extraordinary pistachio flavour.
The pistachios and avocado make it a little expensive, but it’s totally worth it.
Greetings from Germany!
I’ll definitely be trying your other recipes, too, quite soon.
Thanks a lot for this one!
Aw I’m so happy that you loved this cake! Yes, I agree about the pistachios and avocado but glad you thought it was worth it :). Thanks so much for your kind comment x
Tried this recipe, but reduce the time to 30minutes using mini bundt pan. The color turned out to a very nice green. Taste wise, creamy nutty and lemony. And its moisstttt! I love it !
Your mini pistachio cakes looked gorgeous on Instagram! I’m so glad you enjoyed these and thanks so much for your comment!
Hi, can I use water instead of milk?
and reduce / eliminate the sugar? hope to hear you, thanks very much!
Yes, you can use water instead of milk! I’m not sure if reducing the sugar will work – sugar helps make this cake fluffier and it’s already quite dense. Let me know how you go!