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 pistachio 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 pistachio cake 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. 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!

Todayโ€™s recipe makes enough cream cheese frosting to decorate this cake in the โ€œnakedโ€ style. If youโ€™d prefer more frosting on the sides of your cake, use the ingredient amounts for the cream cheese frosting from my favorite carrot cake recipe.

pistachio cake on a wood and marble cake stand

More Baking Recipes You Will Love!

Want to Save This Recipe?

Enter your email below, and weโ€™ll send the link straight to your inbox. Plus, you'll join 250,000 fellow bakers and receive my trusted baking recipes each week!

    We won't send you spam. Unsubscribe at any time.

    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 219 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

    • 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*
    • cream cheese frosting
    • optional: 1 tiny drop green food coloring*
    • optional: garnishes such as berries and leftover pistachios

    Instructions

    1. Preheat oven to 350ยฐF (177ยฐC). Grease three 9-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: Prepare the cream cheese frosting (see note below).
    7. Assemble and decorate: Using a large serrated knife, slice a thin layer off the tops of the cakes to create a flat surface. Discard (or crumble over ice cream!). Place 1 cake layer on your cake stand, cake turntable, or serving plate. Evenly cover the top with frosting. Top with 2nd layer and evenly cover the top with more frosting. Top with the third cake layer. Spread the frosting all over the top and sides. (I used a bench scraper to smooth out the sides.) Decorate with garnishes, if desired. Refrigerate for at least 30โ€“45 minutes before slicing. This helps the cake keep 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 Processor9-inch Round Cake Pans | Glass Mixing Bowls | WhiskCake TurntableStraight Icing SpatulaBench 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. Frosting: My recipe for cream cheese frosting will be enough to decorate your cake like I did in these photos. Minimal on the edges with more frosting inside and on top of the cake. Do you want more frosting? If so, make the amount of cream cheese frosting included in my carrot cake recipe.
    7. 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.
    8. 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.
    9. Here are my pistachio cupcakes!

    How to Bake a Perfect Cake

    In this free email series, I walk you through my best cake baking success tips, popular cake recipes, easy decorating techniques, and in-depth tutorials. Sign up below and Iโ€™ll send it right away!

      We respect your privacy. Unsubscribe at any time.

      sally mckenney headshot purple shirt.
      About the Author

      Sally McKenney

      Sally McKenney is a professional baker, food photographer, and cookbook author. Since 2011, she has been sharing meticulously tested recipes and step-by-step tutorials, helping home bakers gain confidence in the kitchen. Over the years, her dedication to approachable baking has built a loyal community of millions. Her work has been featured on Good Morning America, in People Magazine, and on popular sites like BuzzFeed, HuffPost, The Kitchn, and Country Living.

      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. Natasha says:
        April 17, 2025

        Hi Sally, Iโ€™m planning on making this cake tomorrow and Iโ€™m already excited to eat it! Do you think I could substitute whole eggs for the egg whites? Or do something like 2 whole eggs + one egg white? Thanks so much.

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

          Hi Natasha! The cake wonโ€™t be as light with egg yolks included in the batter, which are fattier and heavier.

          Reply
      2. Karen Spyropoulos says:
        April 17, 2025

        Can raw pistachios be used instead of toasted pistschios??

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

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

          Reply
      3. Suzanne says:
        April 17, 2025

        Iโ€™ve now made this cake three separate times and people are raving! It is absolutely delicious and really lets the true taste of the pistachio shine through. Thank you for another wonderful recipe

        Reply
      4. Suneeta says:
        April 16, 2025

        Hi. I made this acke for my husbandโ€™s birthday. He is a big fan of pistachios. He said it is the best pista cake ever. I didnt have almond essence so used cardamom powder and saffron strands instead. Turned out super fabulous. served it with a scoop of pistachio ice cream. Shame canโ€™t post a picture of this cake here..

        Reply
      5. Allison Carpenter says:
        April 15, 2025

        Do you peel the pistachios? And if so, most efficient method?

        Reply
        1. Trina @ Sally's Baking says:
          April 15, 2025

          Hi Allison, you take the shell off, yes, but you can leave the little thin layer around the nut.

          Reply
      6. Alyssa says:
        April 15, 2025

        Iโ€™ve made this cake as a 3-layer cake before, and itโ€™s one of my favorite cakes Iโ€™ve ever made! Iโ€™m planning to make it again, and I was wondering if it would work in a 9ร—13โ€ pan? If so, how long would it take? Thanks you!

        Reply
        1. Trina @ Sally's Baking says:
          April 15, 2025

          Hi Alyssa! Simply pour the batter into a greased and lightly floured 9ร—13 pan and bake for 40 minutes or until a toothpick inserted in the center comes out clean.

          Reply
      7. Jess says:
        April 14, 2025

        This cake tastes delicious but it sunk in a bit and is so soft itโ€™s breaking! I couldnโ€™t cook it any longer as it was getting too brown. Where did I go wrong?

        Reply
        1. Trina @ Sally's Baking says:
          April 15, 2025

          Hi Jess, it sounds like the cake is under-baked. If you notice the top browning too quickly in the future, you can tent the cake pans with aluminum foil to allow them to bake further without browning more. And always use a toothpick to test for doneness!

          Reply
      8. Celia says:
        April 12, 2025

        Have you ever added vanilla pudding to this recipe?

        Reply
      9. Nana Ama says:
        April 12, 2025

        How do I adjust for 3 6-inch pans?

        Reply
        1. Beth @ Sally's Baking says:
          April 12, 2025

          Hi Nana, Our pistachio cupcakes batter fits perfectly in three 6-inch cake pansโ€”use the baking instructions for 6-inch cakes here.

          Reply
      10. Hailey says:
        April 8, 2025

        OMG I have made this cake before and did a raspberry compote in the middle and it was a huge hit! Everyone loved it so much there were no leftovers (I was kind of sad because I loved it so much I was hoping to have it again throughout the week). One of my friends has requested that I make this for her birthday this weekend and I want to make it an almond cake instead. I have read that someone else used the same recipe but used the same amount of almonds as they did pistachios instead, so I am going to do that. I was hoping to do a different fruit compote in the middle too. I was thinking maybe strawberry. Are there any fruits that you would recommend?

        Reply
        1. Trina @ Sally's Baking says:
          April 8, 2025

          Hi Hailey! Sounds delicious, strawberry or a raspberry cake filling would be lovely with an almond cake ๐Ÿ™‚

          Reply
      11. Melissa says:
        April 8, 2025

        If one wanted to make a smaller cake to fit 8ร—8 or one round layer (3 layer cake too much for 2ppl) could this be divided by 3? Any advice appreciated! Would love to try it!

        Reply
        1. Trina @ Sally's Baking says:
          April 8, 2025

          Hi Melissa, you can certainly try dividing this cake by three! It can be tricky to scale down cake recipes, though. Our pistachio cupcakes recipe makes a smaller amount of batter to work with โ€“ you could make your 8ร—8 cake and a few cupcakes with whatever batter is leftover.

          Reply
      12. Susan Colclasure says:
        April 8, 2025

        Can you clarify note #3 regarding pistachios? It states, โ€œYou can use roasted or raw (not roasted), whichever you prefer.โ€ So yes to roasted?

        Reply
        1. Stephanie @ Sally's Baking says:
          April 8, 2025

          Hi Susan, Yes you can use roasted pistachios. Enjoy!

          Reply
      13. Giselle Peterson says:
        April 7, 2025

        OMG, this looks so good! Definitely making this for Easter. Sallyโ€™s cake recipes are no fail for me.

        Reply
      14. Lillian Bitner says:
        April 7, 2025

        This is the best cake I have ever made โ€“ and I have made many! The crumb is moist, not too sweet, and an absolute crowd-pleaser!

        Reply
      15. Sarah says:
        April 4, 2025

        I made this as the recipe states, as well as with the cream cheese frosting, and it turned out so good. My husband is Sicilian and he said this was the best pistachio cake heโ€™s ever had. The only thing I may change next time, is that I may toast the pistachios before blending, just to add a stronger pistachio flavor. Otherwise, it is very delicious as is.

        Reply
      16. Alka says:
        April 4, 2025

        Hi, I love this recipe. Can I use three 8 inch cake tins instead without altering the recipe?

        Reply
        1. Lexi @ Sally's Baking says:
          April 4, 2025

          Hi Alka, you can use the recipe as written for three 8 inch cakes, the bake time will be a little longer for thicker cakes.

          Reply
      17. Sarah says:
        April 2, 2025

        Hi Sally,
        This looks DELISH and I canโ€™t wait to make it!! Do you think a Swiss meringue buttercream would work for frosting instead of cream cheese frosting? I was also wondering if a cherry fruit filling would work, but that might be getting a little too crazy! ๐Ÿ™‚

        Reply
        1. Beth @ Sally's Baking says:
          April 3, 2025

          Hi Sarah, a Swiss meringue buttercream could be used instead of the cream cheese frosting if thatโ€™s your preference. We havenโ€™t tried using a fruit filling for this cake, but if you want to try it, you can follow the instructions for assembling with a filling in this post for raspberry cake filling. Let us know how it turns out!

          Reply
          1. Sarah says:
            April 3, 2025

            Thanks! Will do

      18. April says:
        April 1, 2025

        Hi Sally!
        Can I use all-purpose flour?

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

          Hi April, 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
      19. Bart D. Jr. says:
        March 28, 2025

        I made this for eid for my family, deliciously pistachio flavored, delicate frosting notes and the crumb was pretty good. I had masks on my fingertips for days after from peeling a bag of pistachios by hand for this. Worth it honestly.

        Reply
      20. Jacintha says:
        March 22, 2025

        I love all your cake recipes. Made this a few times and it was always a hit among my friends. Thank you for sharing this recipe. So delicious.

        Reply
      21. Cora says:
        March 21, 2025

        Can this cake be frozen?

        Reply
        1. Trina @ Sally's Baking says:
          March 21, 2025

          Hi Cora, absolutely. See Notes after the recipe for details.

          Reply
      22. Larry says:
        March 21, 2025

        If making this cake in a Bundt pan, same temp or decrease to 325? Thx.

        Reply
        1. Sally @ Sally's Baking says:
          March 21, 2025

          Same oven temperature.

          Reply
      23. Adriana says:
        March 20, 2025

        Hello! Is this cake good to cover with fondant or is it too delicate for that?

        Reply
        1. Sally @ Sally's Baking says:
          March 21, 2025

          Hi Adriana! You can use fondant on this cake.

          Reply
      24. Amanda says:
        March 20, 2025

        I only have two 9in cake pans. Can you make a 2-layer cake instead of a 3-layer cake?

        Reply
        1. Trina @ Sally's Baking says:
          March 20, 2025

          Hi Amanda, this batter should work just fine as a two layer cake, in 9 inch pans. Bake for around 25 minutes and, as always, use a toothpick to test for doneness โ€“ enjoy!

          Reply
      25. Shalini says:
        March 15, 2025

        One of the best cakes Iโ€™ve ever made and ever tasted. I used the buttercream frosting recipe and to the middle layer added blackberry puree. So light and delicious. Amazing.

        Reply
      26. Personal says:
        March 13, 2025

        I searched up these kalanchoe flowers and google immediately said they were poisonous to Humans and animals! Why do they still work in cakes if our stomachs canโ€™t handle them? Can I still eat the cake if I put kalanchoe flowers on top. Otherwise, your cake is super cute; I am using it for my momโ€™s birthday since her love is pistachios! ๐Ÿ˜€

        Reply
        1. Sally @ Sally's Baking says:
          March 21, 2025

          Hi Personal, I donโ€™t recommend eating the flowers used as garnish. We had no problem eating this cake in the spots the flowers touched, but obviously you can just skip the florals! I donโ€™t want to give any wrong advice so just skip them. ๐Ÿ™‚

          Reply
      27. Kavita says:
        March 11, 2025

        Iโ€™ve been on a mission to make my own birthday cakes for several years now. Today Iโ€™m sitting here eating this cake on my 22nd birthday and it knocks any other cake Iโ€™ve ever made out of the water. And I donโ€™t even really like pistachios or almond flavor! I just love green! Sally, I think I owe you my firstborn child now. Thank you!!!

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

          Weโ€™re so glad this cake was a hit, Kavitaโ€”and happy birthday!

          Reply
      28. Julia says:
        March 11, 2025

        Do these cake layers bake flat, or would you recommend using cake strips? Thanks!

        Reply
        1. Trina @ Sally's Baking says:
          March 11, 2025

          Hi Julia, they come out slightly domed. We usually level them with a knife, but some bakers love cake strips. You can certainly use them if you would like.

          Reply