This moist and fluffy Vegan Pistachio Cake has delicate nutty flavors from real pistachios! Decorated with a silky smooth vegan pistachio buttercream, it’s a show-stopping dessert that’s perfect for spring.
Looking for more vegan cakes to make this spring? Try my Vegan Lemon Poppyseed Cake, Vegan Strawberry Cake, Vegan Lemon Blueberry Lavender Cake, and Vegan Lemon Cake.
This elegant yet easy Vegan Pistachio Cake is a must for Saint Patrick’s Day, Easter, Mother’s Day, or any get-together during spring!
Made with everyday vegan baking staples and real pistachios, this cake boasts sophisticated nutty flavors and an almost impossibly moist yet light and fluffy crumb in all three layers. But the best part is the silky vegan pistachio buttercream you’d never guess is dairy-free! With its light green hue and irresistible nutty fragrance, this cake was made to impress.
Why you’ll love this vegan pistachio cake
- Real pistachio flavors – Ground pistachios + almond extract are responsible for the delicate nutty flavors in the cake layers, while pistachio butter adds flavor and richness to the vegan buttercream.
- A sophisticated dessert – All three layers of this cake showcase subtle yet elegant nutty flavors that will impress anyone who takes a bite!
- Perfect for spring – Add a few fresh flowers or berries on top of the cake and serve everyone a slice at Easter, Mother’s Day, backyard get-togethers, or birthday parties.
How to make a vegan pistachio cake
Find the complete recipe with measurements in the recipe card below.
Stir the soy milk and apple cider vinegar together in a large bowl. Set it aside to curdle for 1 minute, then whisk in the sugar, yogurt, melted vegan butter, vanilla, and almond extract.
Process the pistachios in a food processor until fine and crumbly.
Add the pistachio crumbs, cake flour, baking powder, and salt to the bowl with the wet ingredients. Stir until just combined. If desired, mix in a few drops of green food coloring.
Instead of green food coloring, experiment with 1 to 2 teaspoons of matcha powder in the cake!
Divide the batter into the cake pans and bake until a toothpick inserted in the middle comes out clean.
Afterward, set the cakes aside to cool while you make the frosting.
Beat the butter in the bowl of a stand mixer until it’s smooth. Add the pistachio butter and gradually mix in the powdered sugar on low speed. Add the cream or milk and vanilla extract and mix until everything is well combined and smooth.
If the frosting seems too thick, stir in a little more cream. If it’s too thin, add more powdered sugar.
Place one cake layer on a cake stand and frost the top. Place the second layer on top, frost it, and place the third cake layer on top of the second. Frost the tops and sides of the cake.
Decorate it with chopped pistachios if desired, then slice and enjoy!
Frequently asked questions
Cake flour is best for the light and fluffy crumb but you can use all-purpose flour as a substitute if that’s what you have on hand. You can also make homemade cake flour by mixing all-purpose flour and cornstarch together. Check out this Cake Flour Substitute Guide from Sally’s Baking Addiction to learn how it’s done.
Yes! Almond extract is the secret to enhancing the pistachio flavor. Pistachios have a very subtle flavor and without the extract, the cake wouldn’t taste nearly as nutty.
I personally love the vegan pistachio buttercream frosting in this recipe because it’s nutty, creamy, and smooth. My Vegan Cream Cheese Frosting or Vegan Buttercream Frosting are good options, too. When you want to go all out, try my Swiss Meringue Buttercream.
Wrap each baked, cooled, and unfrosted cake layer in a layer of plastic wrap and store them in the fridge for 4 to 5 days or in the freezer for up to 3 months.
The frosted cake should be kept covered, either in an airtight container or in a cake carrier, and stored on the kitchen counter or in the fridge. At room temperature, it will last for about 5 days.
Vegan Pistachio Cake
Ingredients
Pistachio Cake
- 1 1/2 cups unsweetened soy milk
- 2 teaspoons apple cider vinegar
- 1 3/4 cups granulated sugar
- 1 cup vegan yogurt plain or vanilla
- 1 cup melted vegan butter
- 1 tablespoon pure vanilla extract
- 1 teaspoon almond extract
- 1 cup roasted salted pistachios shelled
- 3 cups cake flour*
- 1 tablespoon baking powder
- 1/2 teaspoon salt
- optional few drops green food coloring
Pistachio Buttercream
- 1 cup vegan butter softened to room temperature
- 1/4 cup pistachio butter*
- 3 cups powdered sugar
- 2 tablespoons vegan cream or plant milk
- 1/2 teaspoon pure vanilla extract
- chopped pistachios for decorating cake
Instructions
Preparation
- Preheat the oven to 350 degrees F place the rack in the middle of the oven.
- Grease 3 8-inch round cake pans with oil or vegan butter. Place a round of parchment paper on the bottom for easy removal later.
Make the cakes
- In a large bowl, combine the soy milk and apple cider vinegar. Give it a little stir, then let sit for 1 minute to curdle. Now add the sugar, yogurt, melted vegan butter, vanilla and almond extracts and whisk well to combine.
- In a food processor, add the pistachios and process until fine and crumbly, but don't let it get pasty like pistachio butter!
- To the wet ingredients, add the pistachio crumbs, cake flour, baking powder and salt. Stir with a large spoon until combined, but don't over mix the batter. If desired, mix in a few drops of green food coloring.
- Divide the batter evenly into the pans and bake in the center rack of the oven for 30-35 minutes, or until a toothpick inserted comes out clean.
- Let the cakes cool for 15 minutes in the pans, then carefully transfer to a cooling rack to cool completely before frosting.
Make the frosting and decorate
- In the bowl of a stand mixer with a paddle attachment or a large bowl with a handheld mixer, beat the butter until smooth, about 2 minutes.
- Add the pistachio butter and 1 cup of the powdered sugar and mix on low speed. Continue adding a cup of powdered sugar at a time until it's all mixed in.
- Add the cream (or milk) and vanilla extract. Beat on medium speed for 3-4 minutes, until everything is well combined and smooth.
- If the frosting seems too thick, add a little more cream. If it's too thin, add more powdered sugar.
- Place one cake layer on a cake stand and frost, followed by the next two layers. Finally, frost the top and sides of the cake and decorate, as desired with chopped pistachios.
Notes
- You can use all purpose flour instead of cake flour, but the cake will be more dense. You can also make your own cake flour if you can’t find any. Gluten free flour may work, but results will vary.
-
To make pistachio butter, simply place 1 1/2 cups of pistachios in a food processor and process until a butter is formed. You can also leave it out, or use my Vegan Cream Cheese Frosting instead.
Hello Nora,
I am just about to make this cake but I realized I only have 2- 8″ cake pans. Can I still make the cake with only 2 layers? Will the bake time change?
Very excited to try!!!
Thank you
It will be too much cake batter for only two pans, but you could do a few things. 1. Save 1/3 of the batter, bake two layers, remove from the pans, then bake the final layer in one of the pans. 2. Divide some batter into 2 pans, then take the last 1/3 of the batter and make some cupcakes. 🙂 Hope that helps and you enjoy the cake!
Would almond flour work in this recipe??
No, unfortunately almond flour is not an easy substitute in baking recipes. The cake will be watery, dense and flat.
Nora this cake is incredible! I followed the recipe to a T and I’m not sure I’ve ever had a cake turn out perfectly like this one did! I bake a lot & I’m not vegan & it was the most delicious cake I’ve made in a long time. I made it for a work event & everyone raved about it. So much so that I’ll be making it for one of my colleague’s partners who has a work event & asked me to make it. Thank you!
Hi Alicia. How wonderful that the cake was a hit! I’m so glad to learn it turned out perfect, and I’m uplifted by your wonderful words! Thanks for your wonderful review and feedback! Happy cooking!
Nora! I love your recipes! I made the chocolate peanut butter cake as cupcakes and they were ridiculously good. I made this pistachio cake for a party this week and it tasted insanely delicious but was really dense. In full disclosure, I didn’t use cake flour (though I tried to mix the AP with corn starch and I guess it wasn’t done well). And I didn’t have vegan yogurt so I used silken tofu, which I’m guessing was the biggest mistake. What can I sub instead? I def want to try this again! People raved….
Thanks for loving my recipes Kara! 🙂 Okay, yes, both using all purpose flour mixed with cornstarch instead of cake flour, and silken tofu instead of yogurt will lead to a dense cake. I would try to use cake flour if at all possible. If you don’t have access to vegan yogurt, you can use either two flax eggs (2 tbs ground flaxseeds + 5 tbs water) or aquafaba that has been lightly whipped (I’d use 1 cup whipped aquafaba). Those should work better than silken tofu. Hope that helps!
Hi Nora,
I’m always happy with the recipes I make from your website! I wanted to clarify the measurement for the pistachios in both the cake and frosting.
Do you measure the amount with the shells and then remove the shells when putting them in the food processor or is it a different order I would need to do this in?
Thanks!
Hi Brandon. Thanks for your kind words! I’m glad you are enjoying my recipes! For this recipe, you measure the pistachios after they have been shelled. Then place the measured shells into the blender. Enjoy, and happy baking!
I halved the cake recipe to make one dozen cupcakes. I used half the amount of almond extract in the recipe because I personally find almond extract to be pretty strong…I think next time I’d use even less, but the cupcakes are still really, really good.
I’ve never made nut butter before, but I went ahead and tried it out in my blender. I almost lost my patience, but I added a tiny bit of avocado oil to help speed things up and eventually it worked out! I’m so glad I didn’t give up, because I really wanted that pistachio frosting. The frosting is so light and yummy! Thank you for another great recipe.
Hello! Do I have to use soy milk or can I use another alternative ? Thank you!
You can use another milk, I like oat milk in baking as well, but almond, cashew or coconut would all work too.
Nora, this looks amazing and I plan to make it tomorrow. In terms of making the pistachio butter for the buttercream, did you use roasted, salted pistachios for that as well? And generally, thanks for all your recipes. Especially your desserts! You have helped me master the art of vegan baking!
I did use roasted salted pistachios for the buttercream as well. I’m so glad my recipes are helping you, thank you! Enjoy the pistachio cake!
Thanks for that info. The cake was a hit. I brought it to a dinner party and everyone loved it. People had seconds. They couldn’t believe it was vegan and wanted the recipe. The icing was so good with the pistachio butter, which gave it some saltiness and nuttiness — a complexity not found in most buttercreams. Thanks again!
You are welcome, Julie! I’m thrilled the cake was hit! Thanks for using my recipes and for sharing your wonderful review!
Hi Nora,
I am making this cake for a birthday celebration. Should I emit the baking powder and salt written in the recipe because it is already in the cake flour that you am using?
Thanks
Hmm I’m not sure, I’ve never tried that. I’m not sure there will be enough baking powder in the cake flour, but maybe. You could always try it, but I tested it with the precise measurements and I can’t guarantee it will work the same with that kind of flour. Hopefully!
Another great recipe! I made this for Easter and it was soooo good😋
Thanks
Nancy
You are welcome, Nancy! I’m glad you loved the cake. Thanks for your wonderful review!
Flavor is delicious. My problem was I baked in a bundt pan and it turned out quite dense, compact, not fluffy like your pictures. I’m thinking I over mixed trying to mix in Watkins natural green food color and getting lumps out. Do you think that’s what might’ve happened? Thank you 🙂
Ah yes, over mixing will result in a dense, compact cake, not fluffy. I also haven’t tested it in a bundt pan myself, but that can sometimes make a cake less fluffy as well.
Ok, thank you for letting me know. 🙂 Next time I will do regular cake pans. Still good though!
Hi Nora,
I’m making this delicious cake again, & I had a quick question. Should this cake be refrigerated or left out? And how long will it stay fresh wrapped up either in the fridge or on the counter?
Thank you!
Alicia
Hi there! You don’t have to refrigerate it, it can be left at room temperature. Make sure to cover any cut parts so it doesn’t dry out. At room temperature it will keep for 3-4 days; refrigerated perhaps 5-6 days if covered well. You can also freeze any portion of the cake if you won’t eat it all within that time frame. Thank you!
Genuinely the most delicious cake ever!! I used King Arthur’s gluten free measure for measure and did the method of replacing 2 tbsp/16 g of cornstarch per cup of flour for cake flour, and it turned out perfectly.
Made this today! It was delicious. Baked in a Bundt pan. Tried 325 for 40 minutes. It wasn’t fully baked so raised it to 350 for 15 minutes and it baked well. Next time, I will try 350 for 40 minutes! Added the green food colouring which made it a beautiful green tint. Added chopped pistachios on top with a drizzle of icing on top. I added 1/4 tsp of almond extract in the icing as well. Thank you for the recipe, Nora!
You are welcome! Thank you, Trish, for sharing your baking experience and wonderful review!
This might be a dumb question…are you deshelling all the pistachios or are you using them shell and all?
I’m using shelled pistachios, which is clarified in the ingredients list. Thanks!
So good! I used Bob’s 1:1 and got 2 8-inch cakes vs 3, which I’m totally okay with. The frosting is top notch.
This cake was delicious!!!! Had family members fighting over it when I brought it for a birthday. I made it as a bundle and baked it for 55min- turned out perfectly. Also adjusted the icing ingredient ratios to make more of a glaze for the bundle style. Will definitely be making this again, and will do the three layers with buttercream when I have more time! 100/10 rating 🙂
I’m thrilled the cake was a hit! Thanks for taking time to share your fun feedback and awesome review! Wishing you happy cooking!
This cake looks delicious! I would love to make it for St. Patrick’s Day! ☘️ But, I only have three, 9 inch cake pans. Can I just shorten the baking time, or should I lower the temperature a little too? I wouldn’t want it to burn. Also, if the pistachios are, “lightly salted” should I cut the salt a little? I would love to know your thoughts!
It will work, but yes shorten the baking time, maybe by 10 minutes but check to make sure you don’t over bake them. The layers will be thinner but that’s fine. I used salted pistachios, so I would not cut the salt but you can if you want. I would not lower the temperature. Hope you enjoy the cake!
Thank you so much for the tips! The baking time was perfect! This cake was absolutely delicious and so fun for St. Patrick’s Day! 🍀 I also made the green pasta and the kids just loved it! The frosting on this is unbelievable.
This looks incredible. Is there a substitute for the yogurt?
Aquafaba might work, or perhaps 2 flax eggs. Thanks!
Can I make this gluten free?
I haven’t tested it myself, but you should be able to with a quality gluten free flour mix meant for baking.
Can I use a blender for the pistachios instead? I don’t have a food processor.
Yes that should work.
Hi,
I want to ake this for Easter. Will it work as a bundt cake?
Thank you
I believe so but I haven’t tried it. My guess is it will take about an hour to bake.
Thank you! 🙂
Hi! Which type of vegan butter do you prefer for both the cake and buttercream? Thank you 🙂
I use all kinds. Miyoko’s is probably my favorite, but I also use Earth Balance, Melt and Country Crock. Or Trader Joe’s brand.
Thank you! One more question, regular cupcakes… how long? I saw your answer for mini, but I have a normal cupcake sized pan. Thank you, Nora 🙂
Around 20 minutes, but check with a toothpick (when it comes out mostly clean with no wet batter, they’re done). Thank you!
Can I make this as a Bundt cake or sheet cake? How would the baking instructions change?
As a sheet cake, pour the batter into a 11×17 inch sheet pan and bake for around 25 minutes or so, checking with a toothpick. I think it will work as a bundt cake, but I haven’t tried it personally. It will need much longer to bake, around an hour but I can’t say exactly on that one without testing it.
Hi Nora,
I can’t wait to try this for St. Patrick’s Day for my office! I’m going to do mini cupcakes. I’m guessing bake 10-12 minutes?
thanks!
Yeah, around 10-12 minutes would probably be just right for mini cupcakes. How fun, enjoy!
I made these for my coworkers this week and oh my! They LOVED them. 10/10! Thanks again for another winning recipe! Up next, carrot cake. 🥕
Since you’re combining a vinegar with soy milk to make a substitute buttermilk,why is there no baking soda?
Well, there is baking soda in baking powder, so that’s not entirely true. I also use milk + vinegar (buttermilk) for the flavor it adds to the cake.
This recipe looks amazing and I would like to try it. However can I double check I need salted pistachios in the cake? Would unsalted work? Also to make the pistachio butter do I use salted or unsalted pistachios? Thanks in advance your help.
I used salted and that’s what I’d recommend, but you can use unsalted if you want. For the pistachio butter, I used the exact same pistachios, salted and roasted. Hope you enjoy the cake!