An incredibly moist pistachio cake made with raw pistachios ground into a paste. Olive oil keeps the texture moist for days and lemon zest enhances flavor. Top this with a cream cheese pistachio buttercream or whipped chantilly cream.
Love pistachios and want them in cake form? There are two ways to make a pistachio cake: with pistachios ground into a powder (like I do in this small batch pistachio cake); this is the more popular method you’ll find in most pistachio cake recipes. The other option is to grind the nuts past the powder point, until you can break down the oils and turn them into a paste – rather like making homemade peanut butter.
I have been making pistachio paste for about a decade now. Early on in this blog’s journey I shared a pistachio chocolate pie and a chocolate pistachio butter (like nutella but pistachios in lieu of hazelnuts). Many of you have enjoyed my pistachio cheesecake which uses the same method of roasting then blending the pistachios until they are a creamy paste. Because we’re drawing out all of the oils in the nuts, I find this to be a better way to bring out the nutty flavors of pistachio, so this is the method I usually turn to.
This pistachio cake recipe is built off of my hazelnut cake. For the cake I have you roast some raw, blanched nuts, process them into a runny paste and then use that in the cake.
Pistachios have a more delicate flavor so using ingredients that complement its flavor out is key; we’re zesting some lemons and rubbing it into the sugar to release its oils and flavor. I’m also using olive oil here, which helps it shine (I did try this with avocado oil, and the flavor wasn’t as great).
We’re more or less following that same method as the hazelnut cake, with some tedious changes. I’ll ask you to blanch the pistachios, peel them (sorry sorry! It’s worth it I promise!), toast them, then process into a pistachio butter (or pistachio cream). I shared a version of this on my substack late last year here but without blanching and peeling steps. I’ve found that doing this not only gives the cake a bright green color, enhances the flavor but the biggest change was the texture: peeling the nuts means a more moist cake.
That said, we’re not exactly using the same paste method for this cake. Through many many (too many to be honest) trials, I’ve found that the pistachios absorb some water in the blanching process and this then hinders them from turning into paste.
I was only able to do this once and it took hours of on and off blending. I even bought a newer, much stronger, food processor and continued to face the same issue.
You might offer that the solution is to blanch them for less time… But this makes the peeling process much longer, kind of painful, and requires much more effort (you have to scratch off the skin, it won’t peel off). The longer the pistachios boil, the easier the skin will come off.
We’re striving for a balance here: roughly four minutes which is enough for the skins to get hot and loosen from the nutmeat. But it’s also not too long that the nut is swelling with unwanted water.
And to turn the pistachios into a really smooth paste we’re going to use the oil from the cake: the added liquid helps the machine break through the nuts. Once you blend the pistachios into a powder, and it thickens, you’ll add the oil and then blend until you have a very green, and perfectly smooth paste.
I wanted anyone to be able to make it. Pure pistachio paste (nothing but nuts) is hard to find and expensive; I wanted a way to make it ourselves. Food processors are not made equal and the really powerful ones are costly. I wanted you to be able to make this cake regardless of how old or how powerful your food processor is. With my method of blending the nuts with the olive oil, any machine should be able to do the job.
Pistachios: raw pistachios. We’re going to blanch then peel them one by one. Then we’ll toast them and blend them.
Olive Oil: use a good quality, flavorful olive oil (something you enjoy tasting!).
Sugar: fine granulated sugar. Please note, reducing the sugar will compromise the structure and texture of the cake making it less moist.
Vanilla: pure vanilla extract.
Salt: fine sea salt. If you are using table salt, use half the amount.
Eggs: whole large eggs. It’s best if they are brought to room temperature before making the cake batter.
Baking powder & soda: this is to leaven the cake (help it rise).
Cake flour: made from a softer white wheat, cake flour is finer than all purpose and because it’s mixed with cornstarch it produces a more tender cake crumb. If you absolutely must use all purpose flour, swap out 2.5 tablespoons of it for cornstarch or tapioca flour.
Buttermilk: whole or low fat buttermilk. If you need to substitute it, use plain kefir or thin out some greek yogurt with water to produce a pourable consistency.
Food coloring: this is optional and only if you like a really green cake. While cakes made with instant pistachio pudding mix will already have the dye in them (and that’s why they are so green!) we’re using real pistachios which when combined with the wet ingredients will give us more of a yellow tinted green. For a stronger green color, use a drop of green food coloring (or blue).
Start by placing a medium sized pot filled halfway with water over high heat.
Once the water is steaming, carefully pour in the pistachios. Cook them for 3-5 minutes, then immediately transfer to a strainer to remove the water. The skin absorbs some of the water and loosens so they’ll be easier to peel.

Lay a clean flour sack or kitchen cloth on the counter and set the pistachios in the middle of it. Wrap the cloth around the pistachios then rub/roll the nuts, this will loosen the skins further.
Let the pistachios cool, then have a seat (and get some help if you can ;)!): one by one, peel the purple/brown skin off the nuts (this can take up to an hour). Discard the skins. You can do this step ahead of time; the nuts will likely oxidize and turn brown on the outside but this only affects color.
Place the nuts on a small cookie sheet. Preheat the oven to 350 F and set the pan in to toast for about 10 minutes. We want them very hot and fragrant.
As soon as the nuts are done, transfer them to a blender (do this carefully) and blend. The nuts will turn into a powder first and you’ll have what looks like ‘pistachio flour’; keep blending until this starts to thicken.
Pour in the olive oil and blend until the mix is perfectly smooth.
Preheat the oven to 325 F and grease and flour two 8 inch round cake pans (I use baking spray).
In the bowl of a stand mixer or using a large mixing bowl and a hand mixer (if you are halving the recipe and only making one layer you can do this in a bowl with a whisk) pour in the sugar and zest the lemons over it.
Rub the zest into the sugar to release its oils.
Add the salt and vanilla and eggs and beat (if using a stand mixer use the paddle attachment) until light and airy, about 5 minutes.
While the mixer is on, pour in the pistachio olive oil mixture, beating it until completely mixed in.
Sift in the cake flour and the baking powder then begin beating on low while pouring in the buttermilk.
Stir the cake batter with a rubber spatula, scraping the bowl to ensure the batter is evenly mixed.
→ If you feel like the batter isn’t ‘green’ enough (this will happen when the yolks are more orange than yellow) you can add a drop of dark green or blue food coloring.
Divide the batter between the two prepared cake pans.
Bake until the top springs back when pressed or when a cake tester or toothpick comes out clean, about 35 minutes.
Transfer to a cooling rack to cool completely.
The cream cheese should be at a warm room temperature and the butter at room temperature.
Place the cream cheese and butter in the bowl of a stand mixer (or use a large bowl and a hand mixer) and press down on both against the bowl with a rubber spatula. This helps remove lumps.
Add the vanilla and salt and beat until the mixture is smooth.
Add the pistachio paste (I used storebought here but there’s notes on how to make your own below) and beat to combine.
Pour in the powdered sugar and beat to just incorporate. You’ll have a creamy, olive green frosting.
If you are stacking the cakes, slice off the domes then spread frosting over the first layer (it should be bottom up) and then place the second layer face down and spread frosting on top and around the sides.
This cake keeps well for about 3-4 days in an airtight container.
Whipped Cream (follow this stabilized whipped cream recipe) and add berries in between
Frosting/Buttercream (see Basic Buttercream and its many variations)
What if I don’t peel the pistachios and use them as is?
You’ll have a cake that’s good but it’s not the best. The best version of this cake comes from peeling raw pistachios and making the paste.
Can I peel the pistachios beforehand?
Yep! Once peeled, store them in an airtight container at room temperature or even in the freezer. They might turn a bit brown but the flavor and texture of the cake will be fine. You can always add a drop of food coloring to the cake batter to adjust the color.
Can I make the pistachio olive oil ‘paste’ beforehand?
Yes – store it in an airtight container. I’d keep it in the fridge but you can probably leave it at room temperature if it’s not for longer than 24 hours.
Can I make the cake layers ahead of time?
I tend to – this cake is exceptional in that it doesn’t dry out! But to safeguard the flavor you’d bake the cake layers and once cool, wrap them tightly in plastic wrap and set them in an airtight container (I use a gallon ziplock bag!) and freeze. Thaw them the day you’re putting the cake together and serving it.

Share & tag me on instagram @buttermilkbysam
will using slivered pistachios be the same as using blanched pistachios?
I think that would be fine as the silvered ones are usually skinless.
Thank you, as ever, Sam. You did emphasize the additional olive oil in the cake-destined pistachio paste which I completely overlooked. Now this makes more sense. I’m an idiot, lol. If only commercial pistachio paste wasn’t so easy and tempting…
I’m going to wing this minus the lemon because as much as I love lemon, I love the purity of pistachio more. I may just give it a kiss of freshly ground mace, or even the barest hint of toasted, ground coriander, a citrus-y-ish addition without the oily lemon brightness. If only we could eat iris root, the source of one of the world’s most pungent, earthy perfumes. I may chance a single dash of walnut bitters, or an eighth of a teaspoon of orange blossom.
Any road, thank you again and will report back if anything especially wonderful/terrible happens with these omissions/substitutes.
Two questions for you Sam:
(1) is there a reason for the using of two separate pistachio paste methods here or can we just make a proportionately larger batch of the boiled, peeled recipe to accommodate the amount of paste needed for both the cake and frosting?
(2) how important is the zest here and how noticeable is it as lemon versus its power to enhance the pistachio?
Thank you!
Hi Saurs! Thank you for your thoughtful questions. I’ll start with #2: I do think it enhances the overall flavor of the cake but you wouldn’t entirely miss it if you didn’t use it. As for 1, the reason for this is because once you’ve blanched and peeled the pistachios, it’s quite difficult to get them to turn into a paste without something to help them along (why I do it with the olive oil in this case). If you really want to make the paste yourself you can consider making it by simply toasting the nuts then blending them, the paste will be bitty as the skins are difficult to break down but the flavor will be there.
Fantastic Second to none.
do you have recipe for pistachio cookies? thanks.