This super moist and flavorful pistachio cake recipe uses real pistachios (that’s right – no pudding or cake mixes involved!) to create a truly memorable cake that is full of nutty, rich, pistachio flavor. It’s topped with a not-too-sweet pistachio cream cheese frosting that adds a wonderful creamy element to the cake. One word – delicious!!

What is pistachio cake made of?
There are two key ingredients that distinguish a from-scratch pistachio cake from a regular vanilla cake (or pistachio pudding cake that uses something like an instant pistachio pudding mix) and that is real pistachios and almond flavoring (in either the form of an extract or essence).
The base for this pistachio cake recipe is my very popular vanilla cake recipe. It has the most amazing velvety texture, so knew it would be perfect for this recipe! I then amended it by adding in crushed pistachios and some almond flavoring.
For the buttercream frosting, I tried two versions – one with cream cheese and one without. The cream cheese version definitely added another level of flavor and creaminess to the final cake, so it was a no brainer to go with the cream cheese version!
Many pistachio cake recipes pair pistachio cake with a simple vanilla buttercream, so you could totally use my silky smooth buttercream recipe or Swiss meringue buttercream too.
What flavors pair well with pistachio cake?
Pistachios have a unique flavor profile that blends nuttiness with a hint of sweetness and a touch of earthiness. When considering flavors that pair well with pistachios, or in particular a pistachio cake (although I do feel this cake goes just perfect on it’s own!), it’s important to complement rather than overpower their delicate taste.
Some condiments or sides to consider could include citrus options (like my lemon curd recipe), simple flavored ice creams like vanilla, or toppings that have spices in them like cardamom or even saffron. Pistachios go well with chocolate too, so even a little drizzle of dark chocolate ganache would work! It is best to trial these out though, and see what your personal preferences are 🙂
How to make pistachio cake
Preheat oven to 180 °C (350°F) and grease and/or line two 8 inch cake tins (I use my homemade cake release). If using a fan function (also known as convection mode) then you will need to reduce the temperature to 160C (320F).

Add pistachios to a food processer, and process until they become fine crumbs. You don’t want the pistachios to be too fine (like a powder), but you don’t want large chuncks either. Process them until they’re a bread crumb consistency with a few small chunks in them (see video for visual). Once done, set aside for now.
In a bowl, sift together flour, cornstarch, baking soda, baking powder and salt. Using a whisk or fork, mix until well combined. Set aside.

In a large mixing bowl, add in butter, vegetable oil and sugar. Using an electric mixer (hand or stand mixer are both fine), cream together for 2 minutes until light and creamy.
Add in eggs one by one, mixing well in between each addition (about 10-15 seconds between eggs).

Add in vanilla, vinegar and half of the total quantity of buttermilk, and mix until well combined. Now set your mixer aside as the remainder of the batter will be finished by hand.
Add half of your flour mixture to your wet ingredients, and gently fold it in with a spatula until just combined. Then add in the remaining buttermilk, and fold it in until just combined. Lastly, add in the remaining dry ingredients and gently fold it into the mixture until just combined. Do not overmix.


Finish off by adding in the crushed pistachios, and a few scant drops of green coloring (if using gel colours then use less – you only want a pastel green color), and fold with a spatula until just combined. Add more coloring if needed, but try not to overmix the batter.

Pour the batter evenly into the two 8 inch cake tins, and bake for 40-45 minutes or until a toothpick comes out clean or with a few moist crumbs on it.
Once baked, allow the cake layers to cool in the cake pans for about 15-20 minutes, and then turn them out onto a wire rack to completely cool before frosting with the pistachio cream cheese recipe below.

Pistachio Cream Cheese Frosting
In a large bowl (or in the bowl of a stand mixer if using one), add in butter, powdered sugar, vanilla extract/essence, almond extract/essence and cream.
Mix on a low speed until the ingredients are combined (about a minute), and then turn up the speed to a medium high and mix for a full 10 minutes. You want to scrape down the bowl half way through just to make sure everything is mixed well. If using a stand mixer then use the paddle attachment.

Once finished, add in the cream cheese and crushed pistachios and mix until well combined. Avoid overmixing. Finish off by adding in a few scant drops of green food coloring (if using gel colours then use less – you only want a pastel green color).

The frosting should be silky smooth and it’s now ready to use!
If you find that your frosting is a bit firm and has a lot of air bubbles, then it means that either the butter or cream during the initial 10 minutes of mixing was too cold. To fix this, gently heat the buttercream in the microwave for 5 second bursts (don’t heat it for too long otherwise the buttercream will melt), mixing in between each burst until the frosting is softer in consistency and you can easily mix it, and then re-whip it for a few minutes. If your frosting is too soft, simply pop it into the fridge for 30 minutes, and then re-whip it.
How to decorate pistachio cake
There are so many wonderful ways you could decorate a pistachio cake, but here is how I decorated mine 🙂
So to start off I levelled off the tops of my cake layers so that they were nice and flat. This helps prevent your cake layers from sliding around once you come to stacking your cake.
I also trimmed off the caramelised edges of the cake layers. This step isn’t necessary though – I just wanted the perfect thumbnail (haha!), so you can skip it if you want 🙂
I then went ahead and placed my first cake layer in the middle of a cake stand and smoothed out some frosting on the top with my offset spatula.

I then placed the next cake layer on top, and again smoothed out some frosting on top and sides of the cake, so that the cake was completely covered. I didn’t bother doing a crumb coat (check out this video for more info on what a crumb coat is), but you can do one if you prefer. I then used my cake scraper to smooth out the sides.
Now when you scrape the sides of a cake, you usually end up with a lip of frosting around the top edges. To get rid of these and get a ‘sharp edge’ on the top, slowly bring your offset spatula into the middle of the cake, catching that lip of frosting as you go.

I then finished off by doing some piping around the top edges using a 1A piping tip.

And that’s it! The cake is now ready to serve. Enjoy!
How to Store Pistachio Cake
This cake can be left at room temperature for the day, however overnight it will need to be refrigerated due to the cream cheese in the frosting. The fat and sugar in the frosting will prevent the cream cheese from going off, which is why you can keep it out at room temperature for an extended period of time.
When storing, place it into an airtight container, and into the refrigerator. Allow it to come to room temperature before serving.

Moist Pistachio Cake Recipe
IMPORTANT: For accuracy, I would recommend using the gram measurements provided, as those are the exact quantities I use. Cup measurements are given as estimates (based on US cup measurements) to make it easier for those who do not have a scale.
Ingredients
Pistachio Cake
- 1¼ cups (175 g) pistachios - raw, unsalted
- 2⅓ cups (300 g) flour - regular all purpose (see note 1 if you want to use cake flour)
- ¼ cup (25 g) cornstarch
- ½ tsp baking soda
- 1 tsp baking powder
- ½ tsp salt - omit if using salted butter
- ½ cup (113 g) unsalted butter - room temperature
- ½ cup (105 g) unflavoured vegetable oil - I use canola
- 1⅔ cups (332 g) white granulated sugar
- 3 large eggs - room temperature
- 1 tbsp vanilla extract/essence
- ½ tsp almond extract/essence
- 1 tsp white vinegar
- 1½ cups (336 g) buttermilk - room temperature, see note 5 if using a homemade buttermilk substitute
- Few drops green food coloring (optional) - gel and liquid are both fine as you only use a small amount
Pistachio Cream Cheese Frosting
- 1½ cups (340 g) unsalted butter - room temperature
- 3 cups (375 g) powdered sugar - also known as icing sugar/confectioners sugar
- 1½ tsp vanilla extract/essence
- ½ tsp almond extract/essence
- ½ cup (120 g) whipping or heavy cream - room temperature
- ½ cup (112 g) cream cheese - cold, use a firm cream cheese (not a spreadable one)
- ½ cup (70 g) pistachios - unsalted, processed into fine crumbs
- Few drops green food coloring (optional) - gel and liquid are both fine as you only use a small amount
Instructions
- IMPORTANT: For this recipe I would highly recommend using gram measurements, especially for the flour for accurate results. It has a high fat/liquid ratio so slight adjustments to the quantities can throw off the balance of the cake 🙂
Pistachio Cake
- Preheat oven to 180 °C (350°F) (see note 4 if using a fan function) and grease and/or line two 8 inch cake tins (I use my homemade cake release).
- Add your pistachios to a food processer, and process until they become fine crumbs (see note 6). Once done, set aside for now.
- In a bowl, sift together your flour, cornstarch, baking soda, baking powder and salt. Using a whisk or fork, mix until well combined. Set aside.
- In another bowl, add in butter, vegetable oil and sugar. Using an electric mixer (hand or stand mixer are both fine - see note 2), cream together for 2 minutes until light and creamy.
- Add in eggs one by one, mixing well in between each addition (about 10-15 seconds between eggs).
- Add in your vanilla, almond essence/extract, vinegar and half of the buttermilk, and mix until well combined. Now set your mixer aside as the remainder of the batter will be finished by hand.
- Add half of your premixed dry ingredients to your wet mixture, and gently fold it in with a spatula until just combined. Then add in the remaining buttermilk, and fold it in until just combined. Lastly, add in the remaining dry ingredients and gently fold it into the mixture until just combined. Do not overmix (see note 3).
- Finish off by adding in the crushed pistachios, and a few scant drops of green coloring (if using gel colours then use less - you only want a pastel green color), and fold with a spatula until just combined. Add more coloring if needed, but try not to overmix the batter.
- Distribute the batter evenly into the two 8 inch cake tins, and bake for 40-45 minutes or until a toothpick comes out clean or with a few moist crumbs on it.
- Once baked, allow the cake layers to cool in the cake tins for about 15-20 minutes, and then turn them out onto a wire rack to completely cool before frosting with the pistachio cream cheese recipe below.
Pistachio Cream Cheese Frosting
- In a large bowl (or in the bowl of a stand mixer if using one), add in butter, powdered sugar, vanilla extract/essence, almond extract/essence and cream.
- Mix on the lowest speed until the ingredients are combined (about a minute), and then turn up the speed to a medium high and mix for a full 10 minutes, scraping down the bowl half way through. If using a stand mixer then use the paddle attachment.
- Once finished, add in the cream cheese and crushed pistachios and mix until well combined. Avoid overmixing. Finish off by adding in a few scant drops of green food coloring (if using gel colours then use less - you only want a pastel green color).
- The frosting should be silky smooth and it's now ready to use! See note 7 if your frosting isn't fluffy and smooth. For decorating ideas, check out the recipe video or blog post above 🙂
Video
Notes
Nutrition
Nutritional information are estimates only as they are automatically calculated by a third party application. Actual values may differ based on brands and types of products used.
153 Comments
I love your recipes and have tried lemon cake , Oreo cake and pista cake ..all turned out to be delicious ….now pista cake is getting votes to be made for my husband’s birthday …. Thank you for amazing tips …
Awesome! So so happy to hear you and your family are loving the recipes Seema 😀
Really appreciate the wonderful feedback 🙂
Is it possible to freeze cake for a couple of days prior to icing?
Hi Kalpna! 🙂
I haven’t tried freezing these cake layers myself, but if they’re wrapped well in cling wrap and placed into an airtight container before freezing it should be fine 🙂
Hope you enjoy the recipe!
Thank you for this great recipe, I did make it and it was delicious!
Delicious! I made it for Thanksgiving with your buttercream frosting and included almond extract. After 35 min it was done.. Thanks for sharing!
So glad to hear you loved the recipe Patrice 😀
Really appreciate the wonderful feedback 🙂
My wonderful-smelling cakes are still in the oven, but what a well written, easy-to-follow recipe accompanied by a super helpful video! I can’t wait to get my boyfriend’s reaction when he tries his birthday cake. 🙂 Thank you for sharing!
Thanks so much for the wonderful feedback Bella 😀
So glad you found the instructions and video easy to follow 🙂
Hope you both loved the cake!
In my country I can’t find Buttermilk. Have you already tried making it at home? How much would I have to put ??
Hi Maria! 🙂 I have used homemade buttermilk in some of my recipes, but not this one specifically. I would recommend using 1 1/4 cups (275g) of homemade buttermilk and that should work okay 🙂
Hope you enjoy the recipe!
Just wow, melt in the mouth kinda cake, I’ll make it again
Yay! So happy to hear you loved the recipe Asma 😀
Really appreciate the wonderful feedback 🙂
Your cakes are just wonderful 🙏🏼💕 thanks for sharing it
Thanks so much Eylonah! So happy to hear you’re enjoying the recipes 😀
Thank you so much for this recipe, it was perfect! I made a 6″ 3 layer cake. There was enough batter left over to make some cupcakes, which was exactly what I wanted, so we could taste it. The hardest part was finding shelled, unsalted pistachios.
Yay! So happy to hear you loved the recipe Dayna 😀 and glad you got some extra cupcakes to enjoy on the side too 🙂
Hi Danya and MK! I am looking to make a 6″ 3 layer cake as well (with no extra batter), would the half batch be enough batter for this do you think?
Hi Tori! 🙂
For a 6 inch 3 layer cake with no batter remaining you would want to make 0.75x the recipe which may be a bit hard to calculate. I would recommend making 1x the recipe and any left over batter can be made into a few cupcakes on the side 🙂
If you don’t mind having quite thin cake layers, then half a batch would be okay but you will need to reduce the cook time by a significant amount to ensure the cakes don’t overbake.
Hope that helps and hope you enjoy the recipe!
Hi can you convert this recip into cupcakes?
Thanks
Hi Connie! 🙂 You could half the recipe by clicking the ‘1/2’ button on the top right hand corner of the recipe card, and this should get you about 11 cupcakes or so 🙂
You will just need to reduce the cook time to about the 18 min mark. Hope that helps and hope you enjoy the recipe!
How many servings for this cake?
Hi Carmen! 🙂 This cake can be served as 12 large slices, or 16 thinner slices. If cut into smaller rectangles, you can get about 20-24 serves. Hope that helps and hope you enjoy the recipe 🙂
could it be possible that when posting these wonderful recipes, you also give one for the gluten intolerant? My mouth waters over these cakes but not knowing if they’re possible to make with rice flour or other, makes it even worse! Thanks!
Aww I wish I could Mirela! I also have people request the same for eggless versions of my recipes. I am reluctant to suggest subtitutions without having tried the recipes myself as I would hate for someone to go thorugh the effort of making a recipe and it doesn’t quite turn out. I will keep gluten free recipes in mind though for future recipes 🙂
Also, I have had many people try gluten free flour (the type that’s meant to work as a 1:1 substitute for regular flour like Bob’s Red Mill Flour) for many of my recipes as a substiute for the regular flour and it seems to work well! So that may be worth a try 🙂
So sorry I couldn’t be of more help Mirela!