Pale green crumb, bright lemon frosting, and crunchy pistachios on the sides make this lemon pistachio cake feel a little special before anyone even takes a bite. What keeps it from tasting flat is the balance: the cake itself stays tender and nutty, while the lemon cream cheese frosting brings enough tang to keep each slice lively instead of heavy.
The pistachios do more than add flavor. Finely grinding them gives the cake a softer, almost velvety crumb that still reads as distinctively pistachio, and the sour cream keeps that texture moist for days. Lemon zest goes into the batter and the frosting, so the citrus notes stay layered instead of disappearing under sweetness.
Below, I’ll walk through the small details that matter most here: how fine to grind the nuts, how to keep the frosting smooth, and what to do if you want to make the cake a little more elegant for serving.
The pistachio crumb came out so tender, and the lemon cream cheese frosting stayed smooth without turning runny. I used the crushed pistachios on the sides and it looked bakery-level without extra effort.
Save this lemon pistachio cake for the days when you want a tender layer cake with bright citrus frosting and a pistachio crunch on every slice.
The Trick to Keeping Pistachio Cake Tender Instead of Dense
The most common mistake with nut-based cakes is treating the nuts like a full flour replacement. Ground pistachios bring flavor and color, but they don’t behave like wheat flour, which is why this recipe still uses all-purpose flour for structure. That balance keeps the crumb soft instead of heavy or greasy.
Another detail that matters is how you grind the pistachios. You want them finely ground, but not so long that they turn into paste. If the nuts start clumping or looking shiny, you’ve gone too far and the cake can bake up oily rather than light.
- Finely ground pistachios — These give the cake its distinct nutty flavor and pale green crumb. A food processor works best; pulse in short bursts and stop before the nuts release too much oil.
- Sour cream — This adds moisture and a slight tang that keeps the cake from tasting overly sweet. Plain full-fat Greek yogurt can work in a pinch, but sour cream gives a softer crumb.
- Lemon zest and juice — The zest carries most of the citrus flavor, while the juice sharpens the batter and frosting. Don’t skip the zest; juice alone won’t give you the same brightness.
- Cream cheese frosting — It balances the pistachio richness with tang and enough body to hold the layers. Start with softened cream cheese and butter so the frosting whips smooth instead of turning lumpy.
Building the Batter Without Losing the Nut Flavor

The butter and sugar need a full beating until pale and fluffy. That step traps air, which matters even more here because the ground pistachios add weight. If you rush it, the cake bakes up tighter and the layers won’t have that soft, plush texture.
Add the eggs one at a time so the mixture stays emulsified. If the batter looks curdled after the lemon juice goes in, don’t panic; it usually smooths out once the dry ingredients are folded in. Fold gently at the end and stop as soon as the pistachio flour disappears, because overmixing can make the crumb tough.
Whipping the Butter Base
Beat the softened butter and sugar until the mixture turns lighter in color and looks almost whipped. That’s your structure for the cake, and it should look fluffy enough to hold soft ridges from the beater. If the butter is too cold, it won’t aerate properly; if it’s greasy and over-soft, the cake can bake up flat.
Folding in the Pistachio Mixture
Mix the ground pistachios with the flour, baking powder, and salt before adding them to the wet ingredients. This distributes the leavening evenly and keeps the pistachios from clumping in one pocket. Fold just until you stop seeing streaks of dry flour, then divide the batter right away so the texture stays even between the two pans.
Checking for the Right Bake
Bake until the tops spring back lightly and a toothpick comes out clean or with a few moist crumbs. If the cakes pull from the sides early but still feel soft in the center, give them a few more minutes; underbaked nut cakes can sink as they cool. Let them cool completely before frosting, or the cream cheese frosting will slide right off.
How to Adapt This Lemon Pistachio Cake for Your Kitchen
Dairy-Free Version
Use a plant-based butter for the cake and frosting, and swap the sour cream for a thick dairy-free yogurt. The texture will still be tender, but the frosting will be a little less tangy and a touch softer, so chill it before frosting the cake.
Gluten-Free Swap
Replace the all-purpose flour with a 1:1 gluten-free baking blend that includes xanthan gum. The cake will stay moist, but the crumb may be slightly more delicate, so let the layers cool fully before moving them.
Extra-Lemony Finish
Add an extra teaspoon of lemon zest to the frosting and scatter a little zest between the layers. This makes the citrus flavor pop harder, especially if you like the frosting to taste bright rather than just sweet.
Storage and Reheating
- Refrigerator: Store covered for up to 4 days. The frosting stays firm and the crumb gets even more moist by day two.
- Freezer: Freeze unfrosted layers wrapped tightly in plastic and foil for up to 2 months. Thaw in the refrigerator before frosting; freezing the assembled cake can make the frosting weep.
- Reheating: This cake is best served at cool room temperature, not warm. If it has been refrigerated, let slices sit out for 20 to 30 minutes so the frosting softens and the pistachio flavor comes through.
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 ground pistachios, all-purpose flour, baking powder, and salt together until evenly combined.
- Beat butter and granulated sugar until fluffy, about 2 minutes, then scrape the bowl.
- Add eggs one at a time, then stir in lemon zest, fresh lemon juice, and sour cream.
- Fold the pistachio flour mixture into the batter just until no dry streaks remain.
- Divide batter between the two pans and bake at 350°F for 30-35 minutes until a toothpick comes out clean.
- Cool the cakes completely in the pans before frosting so the frosting stays smooth, about 1 hour.
- Beat cream cheese and butter until smooth, then add powdered sugar, fresh lemon juice, and lemon zest; beat until fluffy.
- Place one cake layer on a plate, fill and frost, then top with the second layer and frost the top and sides.
- Press crushed pistachios around the sides so the green-studded crumb adheres evenly.
- Arrange lemon zest curls on top for a bright, curled citrus finish.