pistachio cake slice surrounded by other cake slices on parchment paper

This is the best pistachio cake! It’s extra moist with lots of nutty pistachio flavor, filled with pistachio cream, topped with luscious cream cheese frosting and chopped pistachios. This easy pistachio cake recipe is the perfect thing to bake for a pistachio lover in your life!

For this cake, pistachios are finely ground and added into the cake batter for the best nutty pistachio flavor, then, after baking, the cake is poked with holes and filled with a delicious pistachio cream. The cake is frosted with silky cream cheese frosting and swirls of more pistachio cream. I can’t even describe how good the flavor of this cake is! It also has a slight natural green color so it would be great to bake for St. Patrick’s Day!

If you’re looking for other desserts, try my pistachio cookies, Andes mint cookies, cornflake cookies, banana cream cake, lemon poppy seed muffins, white chocolate cupcakes or chewy peanut butter cookies!

pistachio cake cut into 16 squares, arranged on parchment paper

Why You’ll Love This Pistachio Cake

It has the best nutty flavor– It’s made with real pistachios instead of instant pistachio pudding mix, so there’s no artificial pistachio flavor!

It’s a super soft and moist cake. This cake is super moist thanks to the ground pistachios and buttermilk. One bite and you’ll see what I’m talking about!

It’s frosted with cream cheese frosting. The frosting makes each bite of cake just completely melt in your mouth.

It’s filled with homemade pistachio cream. Each bite is full of creamy pistachio goodness!

It’s all homemade! This cake is super easy to make, and it’s all from scratch! No yellow cake mix, instant pudding or cool whip here; we’re making everything homemade!

slice of pistachio cake with a bite taken out

Simple Ingredients for Pistachio Cake

  • Pistachios- I like to use roasted and salted for the best pistachio flavor!
  • All Purpose Flour– gives the cake the best, most tender crumb
  • Granulated White Sugar– used to sweeten and add moisture to the cake
  • Eggs– make sure they are room temperature
  • Unsalted Butter-make sure it is softened
  • Buttermilk– makes the cake extra moist
  • Vanilla Extract – adds a sweet note to the cake
  • Baking Powder & Baking Soda– help to give the cake it’s fluffy texture
  • Salt– helps to bring out all the flavors
  • Powdered Sugar– used to sweeten the cream cheese frosting
  • Heavy Whipping Cream– used to make the pistachio cream
  • Sweetened Condensed Milk– used to make the pistachio cream
  • Cream Cheese– used to make the delicious frosting
close up of top of pistachio cake sliced into squares with cream cheese frosting and pistachio cream swirled together

Step by Step Instructions

See the recipe card below for complete measurements and baking time.

STEP ONE: Add the pistachios to a food processor and pulse until finely ground.

STEP TWO: In a medium bowl, whisk together the all purpose flour, baking powder, baking soda, and salt. Then set aside the flour mixture.

STEP THREE: Add the softened butter and granulated white sugar to a large bowl. Cream together for 2 minutes with an electric mixer. (You can also use a stand mixer fit with a paddle attachment.)

pistachios finely ground in a food processor
butter and sugar creamed together in a large glass bowl

STEP FOUR: Then add in the eggs and vanilla and mix on medium speed until pale in color and smooth, about 1 minute.

STEP FIVE: Add in the buttermilk the dry ingredients a little at a time until all is added. Mix on medium-low speed until combined. Scrape the sides of the bowl with a rubber spatula as necessary.

eggs and vanilla mixed into butter mixture
buttermilk and dry ingredients mixed into butter mixture

STEP SEVEN: Fold in the ground pistachios.

STEP EIGHT: Pour the batter into a greased 9 x 9 baking pan lined with parchment paper.

pistachios folded into the cake batter
cake batter poured into 9x9 pan

STEP NINE: Bake the cake and then let the cake cool in the pan on a wire rack until completely cool.

STEP TEN: While the cake cools, make the cream cheese frosting. Add the butter to a large mixing bowl and mix on high speed with an electric mixer until pale and fluffy. Then add in the cream cheese and mix until fluffy. Sift in the powdered sugar and mix until fluffy again. (If using a stand mixer, use a whisk attachment.)

pistachio cake cooling on a wire rack
cream cheese frosting in a bowl

STEP ELEVEN: Make the pistachio cream by grinding the pistachios in a food processor until they turn into pistachio butter. Add the pistachio butter and sweetened condensed milk to a bowl and whisk to combine. Add the heavy cream to medium bowl and beat it with an electric mixer on high speed until firm peaks form. Fold the whipped cream into the pistachio mixture. Transfer to a piping bag until ready to use.

pistachios ground into a "butter"
pistachio butter and sweetened condensed milk mixed together in a bowl
whipped cream in a bowl
whipped cream folded into pistachio mixture

STEP TWELVE: When the cake is completely cooled carefully turn the pan over to release the cake. Transfer it to a serving plate. Poke holes on the top of the cake using a wooden stick or the handle of a wooden spoon.

STEP THIRTEEN: Pipe the pistachio cream into the holes of the cake.

pistachio cake poked with holes
pistachio cake filled with pistachio cream

STEP FOURTEEN: Frost the top of the cake with a thick layer of cream cheese frosting. Swirl pistachio cream into the frosting and sprinkle with chopped pistachios.

pistachio cake frosted with cream cheese frosting and drizzled with pistachio cream
pistachio cream swirled into frosting
pistachio cake slice surrounded by other cake slices on parchment paper

FAQs

How do I store this cake? Store leftovers in an airtight container for up to three days.

What pistachios are best for baking? I personally love to use roasted and salted pistachios for this recipe. I buy the de-shelled ones for convenience!

Can I add almond extract to the cake batter? If you’re looking for that classic pistachio flavor found in pistachio pudding, add 1/4 tsp of almond extract to the batter.

Do I have to use the pistachio cream filling? No! If you don’t want to, skip this step and just frost the cake with cream cheese frosting!

Why is my batter not green green? This cake has a natural light green hue, but if you want a truly green cake, add a few drops of green food coloring to the batter.

slice of pistachio cake with other cake slices around

Pro Tips

For best results, measure your flour properly. This is always my #1 baking tip. Do not ever scoop a measuring cup into your flour. This will always lead to using too much flour. Instead, scoop spoonfuls of flour into your measuring cup and swipe excess flour off with the back of a knife. Or better yet, weigh your flour. 1 cup of flour equals 120-125 grams.

Make sure all your wet ingredients are room temperature. You’ll have the best textured cake when the ingredients are room temperature instead of cold. Cold wet ingredients can make any kind of cake batter/donut batter “gummy”.

pistachio cake slices arranged on parchment paper

If you make this cake please leave a star review! Tag me on Instagram @inbloombakery_ so I can see! Follow me on Pinterest for other dessert ideas!

Best Cake Recipes to Try Next Time:

Chocolate Drip Cake

Cappuccino Cake

Carrot Cake

Chocolate Ganache Cake

pistachio cake slice surrounded by other cake slices on parchment paper
4.95 from 99 ratings

Pistachio Cake

This is the best pistachio cake! It's extra moist with lots of nutty pistachio flavor, filled with pistachio cream, topped with luscious cream cheese frosting and chopped pistachios.

Ingredients

For the Pistachio Cake

  • 1 cup (140 g) pistachios (deshelled)
  • 2 1/4 cups (281 g) all-purpose flour, spooned and leveled
  • 1 1/2 tsp baking powder
  • 1/4 tsp baking soda
  • 1/2 tsp salt
  • 10 tbsp (140 g) unsalted butter, softened
  • 1 1/2 cups (300 g) granulated white sugar
  • 3 eggs, at room temperature
  • 1 tbsp (15 ml) vanilla
  • 1 cup (240 ml) buttermilk, at room temperature

For the Cream Cheese Frosting

  • 3/4 cup (168 g) unsalted butter, softened
  • 6 oz (170 g) cream cheese, cold
  • 2 1/4 cups (293 g) powdered sugar

For the Pistachio Cream

  • 1/2 cup (70 g) pistachios (deshelled)
  • 1/2 cup (150 g) sweetened condensed milk
  • 1/2 cup (120 ml) heavy cream

Instructions
 

For the Pistachio Cake

  • Preheat the oven to 350 degrees. Spray a 9×9 pan with non-stick spray and line it with parchment paper.
  • Add the pistachios to a food processor and pulse until finely ground.
    1 cup (140 g) pistachios (deshelled)
  • In a medium bowl, whisk together the all purpose flour, baking powder, baking soda, and salt. Then set aside the flour mixture.
    2 1/4 cups (281 g) all-purpose flour, spooned and leveled, 1 1/2 tsp baking powder, 1/4 tsp baking soda, 1/2 tsp salt
  • Add the softened butter and granulated white sugar to a large bowl. Cream together for 2 minutes with an electric mixer. (You can also use a stand mixer fit with a paddle attachment.)
    10 tbsp (140 g) unsalted butter, softened, 1 1/2 cups (300 g) granulated white sugar
  • Then add in the eggs and vanilla and mix on medium speed until pale in color and smooth, about 1 minute.
    3 eggs, at room temperature, 1 tbsp (15 ml) vanilla
  • Add the buttermilk and the dry ingredients to the wet ingredients a little at a time and mix on low speed until the cake batter is combined. Scrape the sides of the bowl with a rubber spatula as necessary.
    1 cup (240 ml) buttermilk, at room temperature
  • Fold in the ground pistachios.
  • Pour the batter into the prepared baking pan.
  • Bake the cake for 38-44 minutes, or until a cake tester comes out clean from the center.
  • Then let the cake cool in the pan on a wire rack until completely cool.

For the Cream Cheese Frosting

  • Add the butter to a large mixing bowl and mix on high speed with an electric mixer until pale and fluffy, about 5 minutes.
    (If using a stand mixer, use a whisk attachment.)
    3/4 cup (168 g) unsalted butter, softened
  • Then add in the cream cheese and mix on high speed until fluffy, about 1 minute.
    6 oz (170 g) cream cheese, cold
  • Sift in the powdered sugar and mix on low speed until combined. Then mix on high speed until fluffy again.
    2 1/4 cups (293 g) powdered sugar

For the Pistachio Cream

  • Grind the pistachios in a food processor until they turn into pistachio butter.
    1/2 cup (70 g) pistachios (deshelled)
  • Add the pistachio butter and sweetened condensed milk to a bowl and whisk to combine.
    1/2 cup (150 g) sweetened condensed milk
  • Add the heavy cream to medium bowl and beat it with an electric mixer on high speed until firm peaks form.
    1/2 cup (120 ml) heavy cream
  • Fold the whipped cream into the pistachio mixture. Transfer to a piping bag until ready to use.

Assembling the Cake

  • When the cake is completely cooled carefully turn the pan over to release the cake. Transfer it to a serving plate. Poke holes on the top of the cake using a wooden stick or the handle of a wooden spoon.
  • Pipe the pistachio cream into the holes of the cake.
  • Frost the top of the cake with a thick layer of cream cheese frosting. Swirl pistachio cream into the frosting and sprinkle with chopped pistachios. Then serve!
Did you make this recipe?Please consider Leaving a Review!