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

4.9 from 242 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

Reader Comments and Reviews

  1. Andrea says:
    December 13, 2025

    Can I use Greek yogurt instead of sour cream?

    1. Trina @ Sally's Baking says:
      December 13, 2025

      Yes!

  2. Mohsina Masud says:
    December 9, 2025

    Hi love the cake, done this a few times with 8 inch pans but do I need to change anything with 3x 7-inch pans?

    1. Stephanie @ Sally's Baking says:
      December 9, 2025

      Hi Mohsina, We are so glad that you love this cake! There is too much batter for 7 inch pans. Overfilling your cake pan will lead to the cake not baking properly, it will be too heavy to rise and could overflow. You can fill your pans about 2/3 full and use the leftover batter to make a few extra cupcakes if you wish.