Pale green crumb, bright lemon frosting, and that soft pistachio richness make this cake feel special without tasting fussy. The texture lands somewhere between tender butter cake and a fine-crumbed tea cake, with enough lemon to lift the pistachios without covering them up. Once the layers are stacked with cream cheese frosting and finished with crushed pistachios, it slices cleanly and looks like it took far more effort than it did.
What makes this version work is the balance in the batter. Ground pistachios bring flavor and color, but the all-purpose flour keeps the cake from turning dense or oily. Sour cream helps the crumb stay moist through the next day, and the lemon juice goes into both the cake and the frosting so the citrus reads all the way through instead of disappearing in the sugar.
Below, I’ve included the small details that matter most: how finely to grind the pistachios, when to stop mixing the batter, and the easiest way to get a smooth frosting that doesn’t slide off the layers.
The cake layers baked up so tender and the lemon cream cheese frosting held its shape even after I added the pistachios. I loved that the pistachio flavor came through without the cake turning heavy.
Like this lemon pistachio cake? Save it to Pinterest for the days when you want a showy layer cake with bright citrus and a soft pistachio crumb.
The Trick to Keeping Pistachio Cake Tender Instead of Heavy
Ground pistachios add a lot of flavor, but they also add weight. The mistake most people make is treating them like flour and overmixing once they go into the batter. That knocks out the air from the butter and eggs and gives you a tighter, denser cake than you want.
This batter stays lighter because the pistachios are balanced with regular flour, then folded in only until you stop seeing dry streaks. The sour cream matters here too. It gives the cake enough moisture to stay soft for days, but it doesn’t make the crumb wet or gummy the way too much liquid can.
If your cake ever comes out a little oily or compact, the pistachios were probably ground too far into a paste or the batter was worked too hard. Aim for a fine meal with a little texture left behind, and stop mixing the moment the dry and wet ingredients come together.
What Each Ingredient Is Doing in the Cake and Frosting

- Pistachios — These are the flavor base of the cake, so freshness matters. Buy unsalted shelled pistachios if you can, and grind them finely with some of the flour so they don’t turn into a butter before they hit the batter.
- All-purpose flour — This keeps the crumb structured enough to stack and frost. You need it here because pistachios alone won’t give the cake enough body.
- Sour cream — This is the ingredient that keeps the cake soft without making it loose. Full-fat sour cream gives the best texture, but plain full-fat Greek yogurt works in a pinch if it’s thick and not watery.
- Lemon zest and juice — The zest carries the real citrus perfume, while the juice keeps both the cake and frosting bright. Use fresh lemons; bottled juice tastes flat and makes the frosting less lively.
- Cream cheese and butter — The frosting needs both. Cream cheese brings tang and body, while butter smooths it out so the frosting doesn’t taste sharp or set up too stiff to spread.
- Powdered sugar — This sweetens and stabilizes the frosting at the same time. If you reduce it too much, the frosting gets soft and won’t hold the cake layers well.
Building the Batter and Frosting So the Cake Stacks Cleanly
Preparing the Pans and Pistachio Flour
Grease two 9-inch round pans and line the bottoms with parchment before you do anything else. This cake is tender, and the parchment gives you a clean release instead of a broken edge stuck in the pan. Grind the pistachios with the flour, baking powder, and salt until they look like a fine meal with a little texture left. If they start to clump, stop and pulse again later; you want pistachio crumbs, not pistachio paste.
Mixing the Butter, Eggs, and Citrus
Beat the butter and sugar until the mixture looks fluffy and a little paler than when you started. That step traps air and gives the cake its lift. Add the eggs one at a time so the batter stays smooth, then mix in the lemon zest, lemon juice, and sour cream. If the batter looks slightly curdled at this stage, don’t panic; it comes back together once the dry ingredients go in.
Folding and Baking Without Overworking
Add the dry mixture and fold just until the batter is combined. A few streaks are better than a tough cake. Divide the batter evenly between the pans and bake until the tops spring back when touched and a toothpick comes out clean or with only a few moist crumbs. If the centers dome more than you want, that’s fine; the layers settle as they cool.
Whipping the Frosting to the Right Spreadable Texture
Beat the cream cheese and butter until completely smooth before you add the sugar. If either one is cold, you’ll get little lumps that never fully disappear. Add the powdered sugar, lemon juice, and zest, then beat until the frosting looks fluffy and holds soft ridges from the mixer. If it turns loose, the cream cheese was too warm or the sugar went in too fast.
Assembling and Decorating the Layers
Cool the cake completely before you frost it or the layers will slip and the frosting will melt at the edges. Spread a thick layer between the cakes, then frost the outside and press crushed pistachios around the sides while the frosting is still soft. Finish with lemon zest curls on top. That last step is worth doing because it gives the whole cake a bright, fresh look that matches the flavor inside.
Three Ways to Work This Cake Around What You Have
Make It Gluten-Free Without Losing the Pistachio Texture
Swap the all-purpose flour for a good 1:1 gluten-free baking blend. The cake will still rise and slice well, but it may be a touch more delicate, so let it cool fully before moving the layers. Keep the pistachio amount the same; that’s what gives the cake its character.
Use Greek Yogurt Instead of Sour Cream
Full-fat plain Greek yogurt works if that’s what you have, but use one that is thick and unsweetened. The cake will still stay moist, though the crumb may bake up just a little lighter and tangier. Don’t use a thin yogurt or a low-fat version; they add too much water and weaken the structure.
Turn It Into Cupcakes
This batter makes excellent cupcakes. Fill the liners about two-thirds full and start checking them around 18 to 20 minutes. You’ll lose the dramatic layer-cake look, but you gain quicker bake time and easier serving, and the frosting pipes neatly on top.
Storage and Reheating
- Refrigerator: Store covered for up to 5 days. The frosting firms up in the fridge, but the cake stays moist.
- Freezer: Freeze unfrosted layers wrapped tightly for up to 2 months. Thaw wrapped at room temperature, then frost once the layers are fully soft.
- Reheating: If you want a slice slightly softer, let it sit at room temperature for 20 to 30 minutes. Don’t microwave a frosted slice; it melts the cream cheese frosting and makes the crumb greasy.
Questions I Get Asked About This Recipe

Lemon Pistachio Cake
Ingredients
Equipment
Method
- Preheat the oven to 350°F and grease two 9-inch round pans; line with parchment for easy release.
- Whisk the finely ground pistachios, all-purpose flour, baking powder, and salt together until evenly combined.
- Beat the softened butter and granulated sugar until fluffy and lighter in color.
- Add the large eggs one at a time, mixing after each addition until the batter looks smooth.
- Stir in the lemon zest, fresh lemon juice, and sour cream until fully incorporated.
- Fold the pistachio-flour mixture into the batter just until no dry pockets remain.
- Divide the batter between the pans and bake for 30-35 minutes at 350°F, until a toothpick comes out clean.
- Cool completely before frosting so the layers stay sturdy and the frosting won’t melt.
- Beat the softened cream cheese and butter until smooth and lump-free.
- Add the powdered sugar, lemon juice, and lemon zest, then beat until fluffy.
- Fill and frost the cake with the lemon cream cheese frosting, spreading evenly to the edges.
- Press crushed pistachios around the sides so they adhere to the frosting.
- Arrange lemon zest curls on top for a bright, curled finish.