Pistachio Cake
Updated Jan 15, 2026
A simple pistachio cake made with real pistachios blended into a paste, mixed into the batter, and topped with cream cheese frosting.
This post may contain affiliate links. Please read our disclosure policy.

Jump to Section
My Pistachio Cake is So Good!

Every once in a while, I create a new cake recipe that I become utterly obsessed with. I’ll make it anytime someone comes over or when I’m invited as a dinner guest somewhere, and this pistachio cake is my new “it” cake. It starts with turning real pistachios into a paste, which sounds like more work than it is, and that’s what gives the cake its flavor instead of extracts or pudding mixes. The batter comes together like a basic cake, and I usually top it with a simple cream cheese frosting once it cools. I’ve brought this cake over to friends’ houses twice so far, and it’s been a 10 outta 10 for everyone! I hope you love it, too!

Pistachio Cake Ingredients

For The Cake
- Pistachios: You can try raw or roasted pistachios (though roasted pistachios will add a nuttier flavor). Just be sure to use unsalted!
- Water: Tap water is fine! You’ll use it to boil the pistachios so you can easily remove their skin.
- Milk: I prefer whole milk, but you can use any kind of milk (low-fat, almond, oat).
- Dry ingredients: For this pistachio cake, you’ll need flour, sugar, baking powder (aluminum-free), baking soda, and salt! Feel free to sub in 1:1 gluten-free baking powder, if you like.
- Wet ingredients: This cake recipe calls for olive oil, eggs, Greek yogurt (or sour cream as a substitute), and vanilla extract! I love the flavor olive oil gives this cake, but if you prefer, you can sub in a different type of cooking oil.
For The Frosting
- Cream cheese: I like to use full-fat cream cheese! Make sure it’s softened so it’s easy to fluff.
- Butter: I prefer to use unsalted butter so I have more control over salt levels!
- Powdered sugar: This is also known as confectioner’s sugar! There is no substitute for it in this frosting; granulated sugar will make it too gritty.
- Rose water: If you can’t find this, I’ve used vanilla extract before.
How to Make Pistachio Cake
If you already have jarred pistachio butter at home, you can skip making your own entirely to make things a little easier. You do want to avoid store-bought variations with added sugar or salt. Use ¾ cup of the butter, and if it’s thick, add a tablespoon or two of milk to thin it out a little.
Make the Pistachio Butter






Make the Cake Batter






Cream Cheese Frosting with Rose Water



Pistachio Cake Recipe
Video
Ingredients
- 1 ¼ cups shelled raw pistachios unsalted
- 2 cups water
- ½ cup whole milk warmed
- Cooking spray
- 1 ¼ cups all-purpose flour
- ¾ cup granulated sugar
- 1 teaspoon baking powder
- ¼ teaspoon baking soda
- ½ teaspoon salt
- ½ cup olive oil
- 2 large eggs
- ½ cup Greek yogurt
- 1 teaspoon vanilla extract
For the Frosting:
- 4 ounces cream cheese softened
- 4 tablespoons unsalted butter softened
- 2 cups powdered sugar
- 1 teaspoon rose water or vanilla extract
- Pinch of salt
Instructions
Pistachio Butter
- Place pistachios and water in a small pot. Bring to a boil, then boil for 3 minutes. Drain and set on a clean tea towel. Pull the towel over the nuts and rub them gently to remove the pistachio skin. Discard the pistachio skins.
- Add the pistachios to the bowl of a small food processor with the warmed milk. Allow them to soak for about 30 minutes to help infuse the pistachio flavor. Then, process for about 5-10 minutes, depending on the strength of your food processor, scraping the bowl down often, or until the mixture resembles a smooth nut butter.
Pistachio Cake
- Preheat the oven to 350°F. Grease a 9 inch round cake pan and line the bottom with parchment paper.
- In a medium bowl, whisk together flour, sugar, baking powder, baking soda, and salt.
- In a separate large bowl, whisk together the pistachio butter, oil, eggs, yogurt, and vanilla extract until evenly incorporated.
- Add the dry ingredients to the wet ingredients. Mix just until combined.
- Pour the batter into the prepared pan and smooth the top. Bake for about 25-30 minutes or until a toothpick inserted into the center comes out clean. Remove the cake from the oven and allow to cool in the pan for about 20 minutes, then transfer to a wire rack to finish cooling.
Cream Cheese Frosting
- Place cream cheese and butter in the bowl of a stand mixer fitted with the whisk attachment. Beat on medium-high speed until smooth and fluffy.
- Add powdered sugar and vanilla and beat until smooth and light.
- Once the cake is cooled, spread frosting on top. Garnish with crushed pistachios, if desired.
Equipment
- Round 9" Cake Pan
Notes
- My Top Tip: Sift the powdered sugar if it looks lumpy. I use a fine-mesh strainer to do this! It takes less than a minute and will ensure that your frosting is clump-free.
- Storage: You can keep your pistachio cake in an airtight container in the fridge for 4-5 days! You can add pieces of parchment or wax paper in between the cake slices to stop them from sticking together.
- Freezing: I would only freeze the cake unfrosted. Wrap the cake in a layer of plastic wrap, then a layer of foil. It’ll keep in the freezer for up to 6 months! I recommend thawing it in the fridge for a few hours before slicing.
Nutrition
Nutrition information provided is an estimate. It will vary based on cooking method and specific ingredients used.
Recipe Tips
- Add rose water to your frosting. Rose water pairs well with pistachio, and adding a splash to the cream cheese frosting adds a nice fragrant touch. I usually have to order rose water online, but it keeps for a while and is so worth it.
- Let your cake cool in the pan first. If you try to remove it right away, the cake may crumble! Letting it cool in the pan first will help it set.

FAQs
I highly recommend it. The pistachio skins will only muddy the color of the cake–and we want a nice, bright green color!








Comments
Made twice the recipe but in cupcake form for my nephew’s birthday. Half the icing with vanilla the other half with rose water. And it made 3 dozen. Love the rose water and decorated with edible rose petals. Such a moist not overly sweet treat. Next time I’ll make the pistachio butter the day before. Another winning recipe!
Yum!! Wow, that sounds amazing! So happy you loved the recipe, Karen. Thank you!!
Hi Yumna, the cake was a success. Everybody loved it. The icing particularly. It is divine! I am used olive oil in bakeries but I have to say that it tasted quite strongly in this cake. I am wondering if my olive oil was maybe too strong. Would it be good with a neutral oil? Would we taste the pistachios more? Because I feel the olive oil took over. Thank you!
Hi there! It sounds like your olive oil was a bit too robust for the cake since the flavor took over. You can try a milder olive oil next time, or use a more neutral oil like coconut or avocado instead. Hope that helps!
See All Comments