Lemon Pistachio Cake

Loading…

By Reading time

Lemon pistachio cake has a way of tasting polished without feeling fussy: soft, fragrant layers, a pale green crumb, and a bright lemon frosting that cuts through the richness just enough. The pistachios bring a warm, nutty depth that keeps the cake from leaning flat or overly sweet, and the texture stays tender instead of dense when the nuts are ground finely and folded in with a light hand.

What makes this version work is the balance. Sour cream adds moisture without making the crumb heavy, while fresh lemon zest and juice give the cake a clean citrus edge that holds up against the cream cheese frosting. The pistachios do double duty here, adding flavor and structure, but they need to be ground to a true meal so the cake bakes evenly instead of turning sandy.

Below, I’ve included the few details that matter most: how to keep the layers even, how to avoid a greasy frosting, and the small finishing touches that make this cake look as good as it tastes.

“

The pistachio flavor came through beautifully, and the lemon cream cheese frosting stayed thick enough to stack without sliding. I ground the nuts fine like you said, and the crumb baked up so tender.

★★★★★— Marissa T.

Save this lemon pistachio cake for the days when you want a showy layer cake with a nutty crumb and bright lemon frosting.

Save to Pinterest

The Trick to Keeping Pistachio Cake Soft Instead of Heavy

Ground pistachios act like both flavoring and flour here, which is exactly why this cake can go wrong if you overprocess the nuts or overmix the batter. You want a fine meal, not a paste. If the pistachios start clumping in the food processor, stop and pulse again after scraping the bowl. A little texture is fine, but pockets of oily nut butter can weigh the cake down and make the crumb greasy.

The other place people lose the texture is after the dry ingredients go in. Fold just until the flour disappears and the batter looks evenly speckled. The batter should be thick but still spoonable. If it looks stiff, the pistachios were probably packed too tightly when measured or the flour was overmixed in, and the cake will bake up denser than it should.

  • Ground pistachios — These bring the signature flavor and a soft, almost plush crumb. Use unsalted shelled pistachios and grind them finely with part of the flour if your processor tends to turn nuts oily.
  • Sour cream — This is what keeps the cake moist without making it wet. Full-fat yogurt works in a pinch, but the crumb will be a little lighter and less rich.
  • Fresh lemon zest and juice — The zest carries the real lemon aroma; the juice sharpens the batter. Bottled juice tastes flatter here, so use fresh if you can.
  • Cream cheese frosting — It balances the sweet nutty cake with tang and body. Let the cream cheese and butter soften fully before beating, or the frosting turns lumpy and stubborn.

What Each Ingredient Is Actually Doing in This Recipe

Prepared recipe ready to serve
  • Primary ingredient (the star) — Quality matters most. Choose the best you can find.
  • Cooking medium (oil, butter, or broth) — This carries flavors and prevents dryness.
  • Seasonings (salt, pepper, spices, herbs) — Layer flavors so nothing overpowers. Build depth gradually.
  • Aromatics (garlic, onion, herbs) — Cook with fat to bloom flavors. Become the foundation.
  • Supporting ingredients — Complement the main ingredient without overpowering it.
  • Sauce or liquid (if applicable) — Brings flavors together. Balance richness with acid.
  • Acid (lemon, vinegar, wine, or other) — Brightens and prevents flat-tasting results.
  • Final finish (garnish, glaze, or sauce) — Prevents one-dimensional taste and adds visual appeal.

Building the Layers Before the Frosting Goes On

Mixing the Nutty Base

Whisk the ground pistachios, flour, baking powder, and salt together first so the nuts disperse evenly. Cream the butter and sugar until the mixture looks pale and fluffy; that step is doing the work of aerating the cake, so don’t rush it. Add the eggs one at a time and wait until each one disappears before adding the next. That keeps the batter smooth and stops it from curdling.

Bringing in the Lemon and Sour Cream

Stir in the lemon zest, lemon juice, and sour cream after the eggs are incorporated. The batter may look a little separated at this stage, but it comes together once the dry ingredients are folded in. If you dump the sour cream in too early, the mixture can look broken and make the batter harder to blend evenly. Fold gently at the end so the pistachio mixture stays light instead of compressed.

Baking to the Right Point

Divide the batter evenly between the pans so the layers bake at the same speed. Bake until the tops spring back lightly and a toothpick comes out clean or with a few moist crumbs. If the centers still look shiny, give them a few more minutes; underbaked pistachio cake can sink as it cools. Let the layers cool completely before frosting, or the cream cheese frosting will slide and loosen.

Making the Frosting and Finishing Cleanly

Beat the cream cheese and butter until smooth before adding the sugar, lemon juice, and zest. If the frosting looks loose, it usually means the butter was too warm or the sugar went in before the base was fully creamy. Chill it briefly if needed. Once the cake is filled and frosted, press the crushed pistachios around the sides and finish with lemon zest curls on top for a neat, bakery-style look.

How to Adapt This Lemon Pistachio Cake for Different Kitchens

Dairy-Free Version

Use dairy-free butter and a thick coconut-based yogurt in place of the sour cream, then frost with a dairy-free cream cheese alternative. The cake will still be moist and fragrant, but the frosting will be a little softer, so chill it before assembling.

Gluten-Free Swaps That Still Hold Together

Replace the all-purpose flour with a good 1:1 gluten-free baking blend that includes xanthan gum. The pistachios already add structure, so the cake stays tender, but you may need an extra minute or two in the oven because gluten-free batters often bake a little slower in the center.

Turning It Into Cupcakes

Fill lined cupcake wells about two-thirds full and start checking them around 18 to 20 minutes. You’ll get a more delicate crumb and less of the dramatic layer-cake look, but the lemon-pistachio combination stays intact and the frosting pipes neatly on top.

Storage and Reheating

  • Refrigerator: Store covered for up to 5 days. The crumb stays moist, and the frosting firms up slightly.
  • Freezer: Freeze unfrosted layers wrapped tightly for up to 2 months. Thaw in the fridge, then frost after the layers are fully defrosted for the cleanest finish.
  • Reheating: Bring slices to room temperature before serving. Cold cake mutes the lemon and makes the frosting taste dense instead of creamy.

Questions I Get Asked About This Recipe

Can I grind the pistachios in advance?+

Yes. Grind them a day or two ahead and keep them in an airtight container in the fridge so the oils stay fresh. If they sit at room temperature for too long, they can taste stale and get a little damp.

How do I keep my cream cheese frosting from getting runny?+

Start with softened, not melted, cream cheese and butter. If the frosting goes loose, the most common reason is warm dairy or too much beating after the sugar goes in. Chill it for 10 to 15 minutes, then beat briefly until it firms up.

Can I use almonds instead of pistachios?+

You can, but the cake will taste different and lose the greenish pistachio note that makes it special. Almonds are milder and a little drier, so the crumb won’t have quite the same richness. If you swap them, keep the lemon frosting; it gives the cake the brightness it needs.

How do I know when the layers are done baking?+

The tops should spring back lightly when touched, and a toothpick should come out clean or with just a few moist crumbs. If the center still jiggles or looks shiny, it needs more time. Pulling it too early is the fastest way to end up with a sunken middle.

Can I make this lemon pistachio cake the day before?+

Yes, and it actually slices better after a night in the fridge. Assemble the cake, cover it well, and chill it overnight, then let it sit at room temperature for about 30 minutes before serving so the frosting softens slightly.

Lemon Pistachio Cake

Lemon pistachio cake is a tender, pale green pistachio-flecked layer cake baked at 350°F and finished with bright lemon cream cheese frosting. Crushed pistachios pressed on the sides and lemon zest curls on top give it an elegant citrus look and slice.
Prep Time 25 minutes
Cook Time 35 minutes
cooling 1 hour
Total Time 2 hours
Servings: 12 servings
Course: Dessert
Cuisine: Mediterranean-American
Calories: 430

Ingredients
  

For the pistachio cake
  • 1.5 cup shelled pistachios Finely ground.
  • 1 cup all-purpose flour
  • 1.5 tsp baking powder
  • 0.25 tsp salt
  • 0.75 cup butter Softened (1.5 sticks total).
  • 1.5 cup granulated sugar
  • 4 eggs Large.
  • 2 tbsp lemon zest
  • 2 tbsp fresh lemon juice
  • 0.5 cup sour cream
For the lemon cream cheese frosting
  • 8 oz cream cheese Softened.
  • 0.5 cup butter Softened (1 stick total).
  • 3 cup powdered sugar
  • 3 tbsp fresh lemon juice
  • 1 tbsp lemon zest
  • crushed pistachios For garnish and coating the sides.
  • lemon zest curls For topping garnish.

Equipment

  • 1 sheet pan
  • 1 stand mixer

Method
 

Bake the pistachio cake layers
  1. Preheat the oven to 350°F and grease two 9-inch round pans; line with parchment so the layers release cleanly.
  2. Whisk the finely ground pistachios, all-purpose flour, baking powder, and salt together until evenly combined.
  3. Beat the softened butter and granulated sugar until fluffy, then add the eggs one at a time and beat just until incorporated.
  4. Stir in the lemon zest, lemon juice, and sour cream until the batter looks smooth and lightly thickened.
  5. Fold the pistachio flour mixture into the batter until no dry streaks remain.
  6. Divide the batter between the pans and bake for 30-35 minutes at 350°F until a toothpick comes out clean.
  7. Cool the cakes completely before frosting, about 1 hour, so the crumb stays tender and the frosting won’t melt.
Make the lemon cream cheese frosting
  1. Beat the softened cream cheese and butter until smooth, with no visible lumps.
  2. Add the powdered sugar, lemon juice, and lemon zest, then beat until fluffy and spreadable.
Assemble and garnish
  1. Fill and frost the cake with the lemon cream cheese frosting, keeping the layers level and the sides covered.
  2. Press crushed pistachios around the sides so the frosting lightly adheres and the exterior looks pistachio-studded.
  3. Arrange lemon zest curls on top for a bright citrus finish.

Notes

Pro tip: cool the layers fully before frosting—warm cake causes frosting to slide and makes side coating harder. Refrigerate leftovers in a covered container for up to 4 days; freeze unfrosted layers (wrap tightly) for up to 2 months, then thaw and frost. For a nut-free swap that still keeps the tender crumb, use ground toasted almonds in place of pistachios.

Loved this recipe?

Save it for later, print a clean copy, or leave a quick rating so others know it’s a keeper.

Save to Pinterest

Leave a Comment

Recipe Rating