Pistachio Cake

Made from scratch with real pistachio and almond flavors, this rustic-chic layered pistachio cake is full of flavor, and enhanced with silky cream cheese frosting. Garnish with fresh berries, pistachios, and flowers for a truly remarkable dessert thatโ€™s perfect for spring.

The pink flowers pictured on the finished cake are called kalanchoe.

pistachio cake on a wood and marble cake stand with a slice on a cake server

As nut flavors go, pistachio is one of the most subtle. In fact, did you know that pistachio ice cream gets most of its flavor from almond extract? The almond extract works to enhance the pistachio flavor, and Iโ€™m using this concept in todayโ€™s cake. Iโ€™m often asked how to change my pistachio cupcakesย into a layer cake, so this is the perfect opportunity to show off those delicately nutty flavors again.


Tell Me About This Pistachio Cake

  • Texture: The combination of real pistachios + almond extract results in a soft, buttery pistachio cake. Cake flour and egg whites keep the texture light and delicate.
  • Flavor: This pistachio cake is made without any artificial flavors. The natural flavors of pistachio, almond, butter, and vanilla really shine through in each bite. 
  • Ease: This pistachio cake with cream cheese frosting is โ€œnearly naked,โ€ so no expert-level cake decorating skills are required. It looks gorgeous garnished simply with fresh berries, crushed pistachios, and some flowers, if youโ€™re feeling extra springy.

One reader, Kathy, says: โ€œAbsolutely divine!!! Made this for my daughterโ€™s bday and everyone loved it. The ground pistachios gave it a perfect light green tint. The texture was great-light cake with some bite from the pistachios. Not too sweet, either, which I prefer. This is a GREAT RECIPE.โ€

overhead image of pistachio cake with cream cheese frosting and berries and pistachio garnish
slices of pistachio cake on green plates

The full recipe is below, but first Iโ€™m going to share some of the main things Iโ€™ve learned while testing this recipe.

How to Get Real Pistachio Flavor Into Cake 

Weโ€™ll grind shelled pistachios and then mix the pistachio crumbs into the cake batter for the best quality, real pistachio flavor. I know what youโ€™re thinking: chunks of hard nuts in a cake? Donโ€™t worry! The pistachios are ground into a soft and creamy crumb, which adds pure pistachio flavor without a chunky texture. I recommend using a food processor for this step. Just be careful not to overdo it and make pistachio butter!

The cake batter may resemble spicy brown mustard, but it smells fantastic. The ground pistachios tint the cake a light spring green. I also add a drop of green food coloring to deepen the color, but thatโ€™s completely optional.

pistachio crumbs in a food processor
pistachio cake batter in a glass bowl

Key Ingredients You Need & Why

I used my favorite white cake recipe as a starting point for this cake.

  • Pistachios: Instead of using artificial pistachio flavor, grind shelled pistachios to add to the cake batter. I usually use unsalted raw pistachios for this cake recipe, but you can use raw or roasted pistachios, salted or unsalted, whichever you prefer. I recommend buying them already shelled, to save time.
  • Almond + vanilla extract: Use pure vanilla and almond extracts for truly outstanding flavor. Almond extract enhances the pistachio flavor, so donโ€™t leave it out.
  • Cake flour: Cake flour is almost 30 times finer than all-purpose flour and provides the structure for this pistachio cake. We use slightly less cake flour in this recipe than in a white cake because of the pistachio crumbs, but the result is equally delicate and delicious.
  • Egg whites: Using only egg whites ensures a light crumb that isnโ€™t weighed down by the fat in egg yolks. Lighter confections such as marshmallows and angel food cake require only egg whites. Same rule applies here.

What Frosting Goes Well With Pistachio Cake?

I like pairing this sweet and nutty cake with smooth and tangy cream cheese frosting (scaled up to cover the cake!). But thereโ€™s no shortage of delicious options that would complement this cake! You could easily replace the cream cheese frosting with:

You could also use this pistachio cake recipe as the base for my fresh berry cream cake!

cream cheese frosting in a glass stand mixer bowl with whisk attachment

Decorating Inspiration

To frost and decorate this pistachio cake, I use a good amount of frosting inside and on top of the cake, and minimal frosting around the sides. This frosting style is called a naked cake, which exposes the gorgeous cake layers and reveals the deliciousness to come! 

  • For smooth sides, use a bench scraper (you can follow this vanilla naked cake video for a little guidance). I also recommend a cake turntable to make cake decorating even easier. Or simply just swipe the frosting onโ€”this pistachio cake is so delicious no one will care what it looks like! I have a detailed post on how to assemble and decorate a layer cake, which would also be a helpful guide!
pistachio cake on a wood and marble cake stand

More Baking Recipes You Will Love!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
pistachio cake on a wood and marble cake stand with a slice on a cake server

Pistachio Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.9 from 241 reviews
  • Author: Sally
  • Prep Time: 35 minutes
  • Cook Time: 22 minutes
  • Total Time: 5 hours
  • Yield: 12 servings
  • Category: Cake
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

Make this pistachio cake with real pistachio and almond extract flavors. This โ€œnaked cakeโ€ is finished with silky cream cheese frosting. Read the recipe notes before beginning. The pink flowers pictured on the finished cake are called kalanchoe.


Ingredients

Cake

  • 2 cups (260g) unsalted pistachios (out of shells)
  • 2 and 1/3 cups (275g) cake flourย (spooned & leveled)
  • 2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1 teaspoon salt
  • 3/4 cup (12 Tbsp; 170g) unsalted butter, softened to room temperature
  • 1 and 3/4 cups (350g) granulated sugar
  • 5 large egg whites, at room temperature
  • 1/2 cup (120g) sour cream, at room temperature*
  • 2 teaspoons pure vanilla extract
  • 1 teaspoon almond extract
  • 1 cup (240ml) whole milk, at room temperature*
  • optional: 1 tiny drop green food coloring*

Cream Cheese Frosting

  • 16 ounces (452g) full-fat brickย cream cheese, softened to room temperature
  • 1/2 cup (8 Tbsp; 113g) unsalted butter, softened to room temperature
  • 4 cups (480g) confectioners’ sugar
  • 1 and 1/2 teaspoons pure vanilla extract
  • pinch of salt, to taste
  • optional: garnishes such as berries and leftover pistachios


Instructions

  1. Preheat oven to 350ยฐF (177ยฐC). Grease three 8-inch round cake pans, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakes video & post.)
  2. Make the cake: Pulse the pistachios in a food processor until ground up into very fine crumbs. See photo above for a visual.ย 
  3. Pour 1 and 1/2 cups (180g) of pistachio crumbs in a large bowl. (Reserve the remaining pistachio crumbs for garnish.) Whisk in the cake flour, baking powder, baking soda, and salt. Set aside.
  4. Using a handheld or stand mixer fitted with a paddle or whisk attachment, beat the butter and sugar together on high speed until smooth and creamy, about 3 minutes. Scrape down the sides and bottom of the bowl with a rubber spatula as needed. Beat in the egg whites on high speed until combined, about 2 minutes. Beat in the sour cream, vanilla extract, and almond extract. Scrape down the sides and bottom of the bowl as needed. Add the dry ingredients, then start the mixer on low speed. With the mixer running, slowly pour in the milk (and the green food coloring, if using) and mix just until combined. You may need to whisk it all by hand to make sure there are no lumps at the bottom of the bowl. The batter will be slightly thick.
  5. Divide batter evenly among the prepared cake pans. Bake for 21โ€“23 minutes or until the cakes are baked through. To test for doneness, insert a toothpick into the center of the cake. If it comes out clean, it’s done. Allow cakes to cool completely in the pans set on a wire rack. The cakes must be completely cool before frosting and assembling.
  6. Make the frosting:ย In a large bowl using a handheld or stand mixer fitted with a whisk or paddle attachment, beat the cream cheese and butter together on medium-high speed until smooth, about 2 minutes. Add the confectionersโ€™ sugar, vanilla extract, and a pinch of salt. Beat on low speed for 30 seconds, then increase to high speed and beat for 3 minutes until completely combined and creamy. Add more confectionersโ€™ sugar if frosting is too thin, a little milk if frosting is too thick, or an extra pinch of salt if frosting is too sweet. Frosting should be soft, but not runny.
  7. Assemble and frost:ย First, using a large serrated knife or cake leveler, layer off the tops of the cakes to create a flat surface. Place 1 cake layer on your cake turntable, cake stand, or serving plate. Evenly cover the top with frosting. Top with 2nd layer, more frosting, and then top with the 3rd layer. Spread remaining frosting all over the top and sides. Decorate the sides and top of the cake with the remaining pistachios. Refrigerate cake for at least 30 minutes before slicing. This helps the cake hold its shape when cutting.
  8. Cover leftover cakeย tightly and store in the refrigerator for 5 days.

Notes

  1. Make-Ahead Instructions: The cake layers can be baked, cooled, and covered tightly at room temperature overnight. Likewise, the frosting can be prepared, then covered and refrigerated overnight. Let it sit at room temperature to slightly soften for 10 minutes before assembling and frosting. Frosted cake or unfrosted cake layers can be frozen for up to 2โ€“3 months. Thaw overnight in the refrigerator and bring to room temperature before decorating/serving.
  2. Special Tools (affiliate links): Electric Mixer (Handheld or Stand) |ย Food Processor | 8-inch Round Cake Pans | Glass Mixing Bowls | Whisk |ย Cake Turntable |ย Straight Icing Spatula |ย Bench Scraper | Marble Cake Stand or Serving Platter | Cake Carrier (for storage)
  3. Pistachios: I usually use unsalted raw pistachios. However, the cake is still sweet even if you use salted pistachios. Salted actually adds extra flavor! You can use roasted or raw (not roasted), whichever you prefer.
  4. Full-Fat Ingredients: Whole milk and full-fat sour cream are strongly recommended for the best taste and texture. A full-fat plain yogurt would work instead, though the cake may not be as light. Same goes with a lower-fat milk.
  5. Food Coloring: While the pistachio crumbs tint the batter light green, I added 1 *very teeny* drop of green gel food coloring to help brighten the green color. This is completely optional!
  6. Room-Temperature Ingredients: All refrigerated items should be at room temperature so the batter mixes together easily and evenly. For more information, read my post about the importance of roo-temperature ingredients.
  7. 9-Inch Pans: You can divide this batter between two 9-inch cake pans. The bake time is closer to 30 minutes, same oven temperature. Use a toothpick to test for doneness.
  8. 9×13-inch Pan: This batter fits nicely in a 9×13-inch pan. The bake time is closer to 38 minutes, same oven temperature. Use a toothpick to test for doneness.
  9. Bundt Pan: This cake batter will fit in a 10- to 12-cup Bundt pan, but Iโ€™m unsure of the exact bake time. Use a toothpick to test for doneness.
  10. Here are my pistachio cupcakes.
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sallyโ€™s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader Comments and Reviews

  1. Tyran says:
    November 17, 2025

    Is it ok to use Roasted Salted pistachios or just raw?

    Reply
    1. Trina @ Sally's Baking says:
      November 17, 2025

      Hi Taryn, we typically use unsalted raw pistachios (out of the shell). You can use roasted or unroasted, whichever you prefer. Hope the cake is a hit!

      Reply
    2. Tyran says:
      November 17, 2025

      Thank you!!

      Reply
  2. Tyran says:
    November 17, 2025

    Hello Iโ€™m planning to bake this cake for the holidays. I notice that it calls for just egg whites no yolks and I wanted to make sure thatโ€™s correct.

    Reply
    1. Stephanie @ Sally's Baking says:
      November 17, 2025

      Hi Tyran, That is correct. Using only egg whites ensures a light crumb that isnโ€™t weighed down by the fat in egg yolks.

      Reply
  3. Madison says:
    November 12, 2025

    Any recommendations to make a dairy free (and possibly gluten free) version! Wanted to make for a birthday girl with dietary restrictions!

    Reply
    1. Lexi @ Sally's Baking says:
      November 12, 2025

      Hi Madison, we have not tested a gluten free and dairy free version of this cake. For dairy, you could try a plant-based butter, plant-based sour cream/yogurt, and a dairy-free milkโ€”but we’re unsure of the exact results with those swaps. As for the flour, cake flour really is key here, so we fear that a gluten free all-purpose flour blend will be much too heavy. Let us know if you do decide to try anything!

      Reply
  4. Lenzy says:
    November 10, 2025

    I made this for my birthday cake this year and it was delicious. Subtle and light, the cream cheese frosting paired perfectly with the cake. The next time I make this, Iโ€™d like to try a chocolate frosting or a chocolate ganache drip.

    Reply
  5. Teresa says:
    November 9, 2025

    Hello
    Does the egg, butter and sour cream mix look rather lumpy or could this mean I have overbeated the mix?
    Thanks.

    Reply
  6. Jen says:
    November 5, 2025

    The batter smelled heavenly but the final product didn’t blow anyone away. It was fun to try and pretty, but I won’t make this again. Also, the frosting recipe can be cut in half if you are doing the rustic look. I have so much leftover frosting (though to be honest I am spreading it on toast as a lazy cinnamon roll)

    Reply
  7. Marilyn Howe says:
    November 2, 2025

    Thank you, I made the Pistachio cake for my daughterโ€™s birthday. It was a real hit, now I am going to make the no bake cheesecake. I love how you describe everything so clearly

    Reply
  8. Susan says:
    October 28, 2025

    Hi! Can I use cake flour unbleached?

    Reply
    1. Lexi @ Sally's Baking says:
      October 29, 2025

      Hi Susan, yes, you can use unbleached cake flour here.

      Reply
      1. Kira says:
        November 19, 2025

        Hi there! Would baking this in two 8โ€™ pans be ok? And if so, would the cook time need to be adjusted? Thanks in advance

      2. Trina @ Sally's Baking says:
        November 19, 2025

        Hi Kira! If you have two pans, you can bake thicker layers in two pans, although it will take a few minutes longer to bake through. Or, you can simply leave the leftover cake batter covered lightly at room temperature while your two pans are baking. Wait for those to cool, then use one of the pans to bake the final layer. Happy baking!

  9. Maori says:
    October 22, 2025

    Any substitutes for cake flour?

    Reply
    1. Lexi @ Sally's Baking says:
      October 22, 2025

      Hi Maori, cake flour is key for this cakeโ€™s soft texture. If you donโ€™t have any, you can use this DIY cake flour substitute.

      Reply
  10. mrsha says:
    October 18, 2025

    So I bought all the ingredients to try out the recipe (it’s my first cake actually) but the almond extract. I really can’t find it where I live, not even online. The closest I found was almond essence, the cheap alternative. Should I use that instead or just stick to vanilla only?
    Thanks!

    Reply
    1. Trina @ Sally's Baking says:
      October 18, 2025

      Hi Mrsha! The almond extract adds a lot of the flavor in this cake, we wouldn’t leave it out. You can use almond essence instead. Since itโ€™s not quite as concentrated as extract, you may want to use just a bit more.

      Reply
  11. Sharon says:
    October 15, 2025

    When you said cake flour. Does that mean all purpose flour or box cake mix flour?
    Thanks!

    Reply
    1. Lexi @ Sally's Baking says:
      October 15, 2025

      Hi Sharon, all-purpose flour and cake flour are two different types of flour. Cake flour can be found in a box, like Swans Down or Softasilk.

      Reply
      1. Sharon says:
        October 15, 2025

        Ok. Thank you. I thought this cake is making from scratch, so I was thinking of all purpose flour. Thank you!

  12. Ivy Rain Campbell says:
    October 12, 2025

    I made this for a friends bday yesterday. We also have a couple people in attendance who have to eat gluten free. I used Reclamation brand gluten free cake flour I found on Amazon.

    This was hands down the best cake I’ve ever made. You couldn’t tell it was gluten free. Moist, flavors were beautifully balanced. Not too sweet. Smells amazing when making this one too.

    Thank you for a wonderful recipe, that was easy to convert to gluten free.

    Reply
  13. gina says:
    October 6, 2025

    it looks delicious unfortunately you did not put amounts or measurements for the ingredients. Incomplete recipe.

    Reply
    1. Trina @ Sally's Baking says:
      October 7, 2025

      Hi Gina! Do you see the gray recipe card above? You can jump directly to the recipe by using the “jump to recipe” button at the top of the page.

      Reply
  14. Danielle says:
    October 4, 2025

    I have some pistachio paste Iโ€™ve actually been meaning to use up. Do you think it would be possible to sub this in?

    Reply
    1. Michelle @ Sally's Baking says:
      October 4, 2025

      Hi Danielle, We havenโ€™t tested this recipe with pistachio paste/spread. You can try adding about 1/2 cup to the batter and leaving out the ground/chopped pistachios. Let us know if you try it!

      Reply
  15. Sofia says:
    October 3, 2025

    Omg
    This cake absolutely very very delicious, since the first time I made it for the family , it became our favorite dessert. And not only that
    Also I made your strawberry cake recipe and itโ€™s to die for lol
    Really really delicious.
    Thank you chef sally for those delicious recipes and my next one to make is cake pops .

    Reply
  16. Carolyn says:
    October 2, 2025

    I made 4 batches of this into a 90th birthday cake, 5kg. It was very well received. Thank you for a wonderful recipe.

    Reply
  17. Kate says:
    September 29, 2025

    This cake was outstanding. A new favorite in our family! I cooked some tart plum slices in brown sugar, butter, and lemon juice until it got syrupy and used that for a filling and a little on top over the cream cheese frosting and it was so lovely.

    Reply
  18. Catherine says:
    September 27, 2025

    Greetings! Would this cake recipe work just as well with alternatives to granulated sugar, such as agave syrup, coconut sugar, monk fruit sweetener, etc? Same question for the frosting. Thanks in advance!

    Reply
    1. Trina @ Sally's Baking says:
      September 27, 2025

      Hi Catherine! We’d love to help but we are not trained in baking with sugar substitutes. For best taste and texture (and so you don’t waste your time trying to adapt this recipe since it may not work properly), it may be more useful to find a recipe that is specifically formulated for sugar substitutes. Thank you!

      Reply
    2. Sarabeth says:
      September 27, 2025

      Hello Catherine, when I make this cake I always substitute with coconut sugar, Granulated, and brown sugar. I split between the 3 for the same amount weighed out in grams that the recipe here calls for, but split between the three I listed. There’s also been times that I have subed a little more than half coconut sugar and a little less than half brown sugar (brown sugar to give the cake a better taste given coconut sugar will alter the taste slightly) and its always turned out perfect. I also use dairy free butter and oatmilk, it also works great.

      Reply
  19. Michelle DLT says:
    September 23, 2025

    Something DIFFERENT to bake!!!

    Reply
  20. Kassandra says:
    September 22, 2025

    Can I substitute pistachio for unsalted roasted walnuts?

    Reply
    1. Lexi @ Sally's Baking says:
      September 22, 2025

      Hi Kassandra, We havenโ€™t tested walnuts instead of pistachios in this cake recipe. We would love to hear how it goes if you give it a try!

      Reply
  21. Vartika Gupta says:
    September 18, 2025

    Can I substitute the green color with anything else to bring the green color to my cake without affecting the taste?
    (something like spinach juice??)

    Reply
    1. Trina @ Sally's Baking says:
      September 18, 2025

      We haven’t tested any food coloring alternatives, but let us know if you do! A little matcha powder could work as well.

      Reply
      1. Vartika Gupta says:
        September 19, 2025

        Thanks for the quick reply.

        I am baking this for my daughterโ€™s bday so not trying to experiment it. I baked it without food color.

        I finished up all my vanilla extract in the cake and didnโ€™t realise that it was needed for the frosting as well.

        Can I use almond extract in the frosting instead of vanilla extract?

      2. Trina @ Sally's Baking says:
        September 19, 2025

        You can leave out the vanilla in the cream cheese frosting if you don’t have any. I fear the almond flavor would be too strong if you added it to the frosting. It will still be flavorful!

  22. Megan says:
    September 14, 2025

    I just made this gluten free for my birthday and it was incredible! I substituted the cake flour with gluten free AP flour (King Arthur 1:1) and also replaced 10% of the flour by weight (grams) with cornstarch. I added raspberry to the cream cheese frosting as well. Many compliments and a very pleasant pistachio flavor. I’ve been so impressed with these cake recipes lately I will be trying the chocolate next. Thank you again!

    Reply
    1. Carol says:
      October 2, 2025

      I would love to knowโ€ฆ fresh/prepared raspberry or jam or fresh?

      Reply
  23. Ann Shen says:
    September 9, 2025

    I found this extremely sweet even though I added 1 1/4 c sugar. The pistachio flavor comes through really well. And though fluffy, it was a bit denser than I would have liked but thatโ€™s a personal preference (I normally prefer chiffon cake)

    Reply