Let me be honest with you, the pistachio cake recipe is having a serious moment right now, and for good reason. Not the boxed-mix version with pudding powder and artificial green dye. The real thing. Ground pistachios folded into a butter-rich batter, sour cream tucked in for moisture, and pistachio extract doing the work that makes the whole cake smell like a bakery case. That’s what this recipe is. I’ve made this pistachio cake more times than I can count at this point, for birthdays, for holidays, for one particularly ambitious Tuesday when I just felt like baking something that would impress people. It does the job every single time. The crumb is tender in the way that makes you want another slice before you’ve finished the first one, and the cream cheese frosting on top is optional only in the sense that you’re allowed to skip it. You shouldn’t. If you’ve been searching for the best pistachio cake recipe that uses real pistachios (no pudding mix, no shortcuts), this is it. And if this is your first time baking with pistachios, welcome. It’s easier than it sounds, and the payoff is worth every minute.
Why This Moist Pistachio Cake Works
There are a lot of pistachio cake recipes out there. Some use box cake mix. Some use instant pudding. Some use both. This one doesn’t use either, and there’s a specific reason for every ingredient in the batter.
- The finely ground pistachios are the backbone. When you blend salted pistachios into a fine powder, you’re releasing the natural oils from the nuts directly into the batter. Those oils don’t evaporate in the oven the way water does, they stay. That’s a big part of why this cake stays moist for days after baking, not just the first hour out of the oven.
- The buttermilk and sour cream work together. Buttermilk is acidic, and that acidity reacts with the baking soda to create lift, so the cake rises without getting dense. Sour cream adds fat and tanginess, which does two things: it keeps the crumb soft, and it gives the sweetness somewhere to land. A cake without a little tang can taste flat. This one doesn’t.
- The creaming stage is where most people rush and then wonder why their cake didn’t turn out light. Three to four full minutes of beating butter and sugar until the mixture is genuinely pale and fluffy, not just combined, pale and fluffy, is what traps air in the batter before anything else goes in. That trapped air is what makes the difference between a heavy cake and a cloud-like one.
- The pistachio extract might seem optional. It isn’t. Real pistachios have a flavor that’s subtle and slightly buttery, and without the extract to amplify it, you end up with a cake that tastes vaguely nutty but not specifically like pistachios. The extract focuses the flavor so you know exactly what you’re eating from the first bite.
Making the Best Moist Pistachio Cake
The secret to this spectacular Moist Pistachio Cake is using finely ground pistachios combined with buttermilk. Grinding the nuts brings the flavor, and the buttermilk ensures the cake stays incredibly fluffy and tender. Pay close attention to the creaming stage, as achieving that light, fluffy texture is what makes this cake so delightfully soft. The resulting nutty dessert is truly exceptional.
Prep time: 20 minutes
Cook time: 25–30 minutes
Ingredients:

For the Cake:
-
1 ¾ cups (220 g) all purpose flour
-
¾ cup shelled pistachios, salted (finely ground to a powder)
-
1 ½ tsp baking powder
-
½ tsp baking soda
-
¾ cup (170 g) unsalted butter, room temp
-
¾ cup (200 g) white sugar
-
3 large eggs, room temp
-
1 tsp pistachio extract
-
1 cup (240 ml) buttermilk or whole milk, room temp
- 1/4 cup sour cream
Cream Cheese Frosting (Optional):
-
8 oz (225 g) cream cheese, softened
-
½ cup (115 g) unsalted butter, softened
-
1 cup (240 g) powdered sugar
-
½ tsp vanilla extract
-
Pinch of salt (not listed, but inferred for flavor balance)
Extra Magic:
-
¼ cup chopped pistachios for topping
Step-by-Step Instructions

-
Prep Oven and Pistachios: Preheat oven to 350°F (175°C). Grease an 8-inch round cake pan. Next, blend the shelled pistachios until they are fine like flour. Don’t go too long or you’ll make pistachio butter (yum, but not today).
-
Cream Butter and Sugar: In a large bowl, beat the softened butter and sugar for 3 to 4 minutes until the mixture is pale and fluffy like a pillow you want to nap on.
-
Add Wet Ingredients: Add the eggs, mixing well.. Mix in the pistachio essence. The batter should look glossy and hopeful.
-
Add Dry Ingredients: Add the pistachio powder, baking powder, and baking soda to another bowl. Mix to remove any lumps.
-
Combine Batter: Add them to the wet mixture in a large bowl and mix well until just combined.
-
Bake: Pour the batter evenly into the prepared pan. Bake for 25-30 minutes until a toothpick inserted in the center comes out clean or with a few tender crumbs. Let the cakes cool completely before frosting.
-
Make Frosting (Optional): If frosting, beat the softened cream cheese and butter until beautifully creamy. Add the powdered sugar, vanilla extract, and a pinch of salt. Beat until smooth.
-
Assemble: Frost the layers, sprinkle the top with the chopped pistachios, and admire your work. It’s a cake that says: Yes, I am special.
Â
Best Moist Pistachio Cake Recipe: Simple & Fluffy Nutty Dessert
Ingredients
For Cake
- 1 3/4 cups all-purpose flour
- 3/4 cup shelled pistachios
- 1 1/2 tsp baking powder
- 1/2 tsp baking soda
- 3/4 cup unsalted butter room temp
- 3/4 cup white sugar
- 3 large eggs room temp
- 1 tsp pistachio extract
- 1 cup whole milk
- 1/4 cup sour cream
Cream cheese frosting (optional)
- 8 oz creamed cheese
- 1/2 cup unsalted butter
- 1 cup powdered sugar
- 1/2 tsp vanilla extract
Extra Magic
- 1/4 cup pistachio chopped
Instructions
- Preheat oven to 350°F (175°C). Grease an 8-inch round cake pan. Next, blend the shelled pistachios until they are fine like flour.
- In a large bowl, beat the softened butter and sugar for 3 to 4 minutes until the mixture is pale and fluffy
- Add the eggs, mixing well. Mix in the pistachio essence.
- Add the pistachio powder, baking powder, and baking soda to another bowl. Mix to remove any lumps.
- Add them to the wet mixture in a large bowl and mix well until just combined.
- Pour the batter evenly into the prepared pan. Bake for 25-30 minutes until a toothpick inserted in the center comes out clean or with a few tender crumbs. Let the cakes cool completely before frosting.
- (Optional): If frosting, beat the softened cream cheese and butter until beautifully creamy. Add the powdered sugar, vanilla extract, and a pinch of salt. Beat until smooth.
- Frost the layers, sprinkle the top with the chopped pistachios
Notes
Nutrition
Before You Start The Details That Actually Matter
All your cold ingredients need to be at room temperature:Â
Butter, eggs, sour cream, milk, all of it. This isn’t fussy baking advice for the sake of it. Cold butter doesn’t cream properly, which means less trapped air and a denser cake. Cold eggs can cause the batter to curdle slightly, which affects the final texture. Pull everything out of the fridge 45–60 minutes before you plan to bake. Set a timer if you have to. It’s the single most impactful thing you can do for this pistachio cake recipe easy to execute well.
Grinding the pistachios properly takes attention:
You want fine, dry powder, not clumps, not paste. Process in short bursts and stop when the texture looks like fine breadcrumbs. If your food processor is running warm or the nuts aren’t breaking down evenly, refrigerate the pistachios for 20 minutes before grinding. Cold nuts grind cleaner.
Don’t overmix after adding the dry ingredients:
As soon as the flour goes in, the gluten in the batter starts developing. Overmixing past the point of “just combined” creates too much gluten, giving you a chewy, slightly rubbery crumb instead of a tender one. Stop mixing the moment you don’t see dry streaks.
Check your baking powder freshness:
Old or expired baking powder is one of the most common hidden reasons cakes don’t rise properly. Test it by dropping a teaspoon into a small bowl of hot water, if it fizzes actively, it’s good. If nothing happens, it’s dead, and your cake will be flat regardless of how carefully you follow everything else.
How to Get That Beautiful Green Color Naturally
This is one of the most common questions people have about pistachio cake, and the answer depends on what you’re going for.
Real pistachios, freshly ground, do tint the batter, you’ll see a light, earthy green running through the crumb. It’s subtle and honestly beautiful in its own way. Suppose you want a deeper, more vibrant color without any artificial dye. Blanch and peel your pistachios before grinding. Drop them in simmering water for 3–4 minutes, drain, and rub off the papery skins with a clean towel. Peeled pistachios are a much brighter, more vivid green, and that color carries through into the baked cake.
If you just want it done quickly and don’t want to bother with blanching, a single small drop of green gel food coloring added to the wet ingredients before combining gives you that classic pistachio cake look. Gel coloring is more concentrated than liquid, so go small, you can always add another tiny drop, but you can’t take it back.
The Cream Cheese Frosting Getting It Right Every Time
- The cream cheese frosting on this moist pistachio cake is what takes it from a casual everyday cake to something that feels genuinely special. A few things make the difference between frosting that’s silky and spreadable versus one that’s lumpy or too soft to hold its shape.
- Both the cream cheese and butter need to be properly softened, not melted, not cold, but genuinely room temperature soft. Press your finger into each one; it should give without resistance. Beat these two together first, before any powdered sugar goes in, until the mixture is completely smooth and uniform. If you add powdered sugar to cream cheese that still has lumps, those lumps will come with you to the finished frosting.
- Sift the powdered sugar before adding it. Powdered sugar clumps in the bag, and those clumps don’t fully break down when you beat them in. A quick pass through a fine-mesh strainer takes 30 seconds and gives you a noticeably smoother result.
- If your frosting feels too soft once assembled, this happens on warm days. Refrigerate the frosted cake for 20–30 minutes before serving. The butter in the frosting firms up quickly, and you’ll get cleaner slices.
Make It Your Own Variations That Work
Pistachio lemon cake:Â
Add the zest of one lemon and a tablespoon of lemon juice to the wet ingredients. Lemon doesn’t compete with pistachio, it amplifies the nutty flavor by adding brightness that makes each bite feel more alive. Several top-ranked pistachio cake recipe posts in 2025 use this combination, and it’s popular for a reason.
Pistachio layer cake:Â
Double the recipe and divide between two 8-inch rounds. Stack with cream cheese frosting between the layers and press extra chopped pistachios into the sides of the frosting for a bakery-style finish that’s genuinely impressive at a dinner party or birthday.
Dairy-free version:Â
Swap the butter for a good plant-based butter (look for one with at least 80% fat content), replace sour cream with full-fat coconut yogurt, and use oat milk in place of buttermilk. The texture stays remarkably close to the original.
Pistachio cupcakes:Â
Fill lined cupcake tins two-thirds full with this same batter and bake at 350°F for 18–20 minutes. One batch makes about 14–16 cupcakes, depending on the size of your tin. Frost with cream cheese frosting and add a single whole pistachio on top.
Rosewater frosting:Â
Add ½ teaspoon of rosewater to the cream cheese frosting, replacing half the vanilla. Pistachio and rose are a classic Middle Eastern pairing, and together they turn the frosting into something that tastes expensive.
Storage, Freezing & Make-Ahead Tips
At room temperature:Â
An unfrosted pistachio cake stays good, wrapped tightly in plastic, for up to 2 days. The sour cream and pistachio oils keep it from drying out quickly.
Refrigerator:Â
Once frosted with cream cheese frosting, the cake must be refrigerated. It keeps well for up to 4–5 days in an airtight container. Pull it out 30–45 minutes before serving so it comes closer to room temperature, cold cake is denser and less flavorful than room-temperature cake.
Freezer:Â
This is a great make-ahead cake. Bake the unfrosted layers, let them cool completely, wrap each one tightly in two layers of plastic wrap, then a layer of foil, and freeze for up to 3 months. Thaw overnight in the refrigerator, bring to room temperature, and frost before serving. Don’t freeze a frosted cake, cream cheese frosting doesn’t thaw well.
Can you make it a day ahead? Yes, and it actually improves overnight. The pistachio flavor deepens after sitting, and the crumb firms up slightly, making it easier to slice cleanly.
When It Doesn’t Go Quite Right
Cake is dense and didn’t rise well:Â
Most likely cause is butter and eggs that were too cold, expired baking powder, or both. The creaming stage also might not have gone long enough. Four minutes feels like a lot when you’re standing there, but it genuinely makes a difference.
Batter looks curdled after adding eggs:Â
This happens when cold eggs hit warm creamed butter. The mixture seizes slightly. Keep mixing on medium speed, it will come back together once the dry ingredients go in. It’s not ruined.
Cake is dry:
 Almost always caused by overbaking. Even five extra minutes in the oven can dry out a cake that was perfect before. Start checking at the 22-minute mark by inserting a toothpick. A few moist crumbs clinging to it is what you want. Fully clean means it’s already overbaked.
Frosting is too soft to hold its shape:
 Refrigerate for 15–20 minutes, then re-beat briefly on low. Don’t add more powdered sugar, it’ll make the frosting grainy and too sweet. Cold and brief re-beating fixes soft frosting almost every time.
Pistachio flavor is too mild:Â
Check the age and quality of your pistachio extract. Old extract loses potency. Also, make sure you’re using pistachio extract specifically, not just almond extract, almond is close. Still, it doesn’t land in the same place.
Serving Suggestions
This easy pistachio cake recipe works for almost any occasion. For birthdays, the cream cheese frosting and chopped pistachio topping look beautiful with no additional decoration needed, it’s a naturally elegant cake. For holiday tables, it stands out among the usual chocolate-and-vanilla options. It gives you a reason to use those beautiful green nuts year-round.
Serve at room temperature, pulled from the fridge about 45 minutes before cutting, with a cup of strong coffee or tea alongside. A small scoop of vanilla ice cream on the side turns a single slice into a proper dessert. For something more celebratory, a drizzle of honey over each slice on the plate adds sweetness and visual appeal without requiring any extra baking.
If you love baking layered cakes for special occasions, our Best Fluffy Lemon Cake and The Best Moist Marble Cake are both made from scratch with the same care as this recipe and are worth having in your collection.
What Goes Well Alongside This Cake
A rich, moist pistachio cake pairs naturally with other homemade bakes and desserts. Our Moist Chocolate Cake and this pistachio cake, together on a dessert table, give you the full range of flavors, deep cocoa on one side, nutty and floral on the other, and they look stunning next to each other. The contrast is intentional, and people always reach for both.
If you’re baking for a gathering that also needs something simple for non-cake people, our Easy Vanilla Cupcake Recipe is the low-effort crowd-pleaser that rounds out a dessert spread without competing for attention. And our Grandma’s Strawberry Cake is another from-scratch option worth having when pistachio isn’t everyone’s first choice.
For something a little different that uses the same cream cheese frosting concept, our Simple Butter Cake is the kind of everyday bake that works any day of the week, not just special occasions.
Pistachio Cake Benefits: What’s Actually in This Dessert
- Pistachios are one of the most nutrient-dense nuts you can bake with, and this best pistachio cake recipe uses a meaningful amount of them. A ¾ cup of ground pistachios spread across 12 slices adds real nutrition to each serving, not enough to call this a health food, but enough to give you actual value alongside the enjoyment.
- Pistachios are a good source of plant-based protein, fiber, potassium, and B vitamins. They contain lutein and zeaxanthin, which are antioxidants associated with eye health. The fat in pistachios is primarily unsaturated, the kind that supports heart health rather than working against it. When you bake with real ground pistachios rather than flavoring mixes, those nutrients stay intact in the batter.
- The sour cream and whole milk in this recipe contribute calcium and fat-soluble vitamins. The eggs add protein and help the batter hold its structure. None of this makes cake a superfood, but it does mean you’re eating something made from real ingredients with real nutritional value, which is more than you can say for most convenience cake mixes.
Pair this cake with one of our smoothies:
Frequently Asked Questions (FAQs)
Can I use salted pistachios?Â
Yes, this recipe actually calls for salted pistachios, and the salt works in your favor here. It brings out the pistachio flavor more than unsalted nuts do. If you’re sensitive to salt or your brand runs particularly salty, taste the ground powder before adding it and adjust from there.
What’s the difference between pistachio extract and almond extract?Â
They’re related but not the same. Almond extract has a sharper, more assertive flavor that can dominate a batter if you use too much. Pistachio extract is softer and more specifically nutty, like actual pistachios. For this pistachio cake recipe, an easy version that tastes like pistachios specifically, not just “nutty”, pistachio extract is the right call.
Can I use regular milk instead of buttermilk?Â
You can, and the original recipe lists both. If you don’t have buttermilk, make a quick substitute: add 1 tablespoon of white vinegar or lemon juice to a measuring cup, fill to the 1-cup line with whole milk, stir, and wait 5 minutes. That’s buttermilk. The acidity activates the baking soda, giving you a more tender crumb than plain milk alone.
My cake sank in the center what happened?Â
A few possible causes: the oven door was opened too early (don’t open it in the first 20 minutes), the baking powder or soda has expired, or there was too much liquid relative to the dry ingredients. Double-check your measurements and make sure your leavening agents are still active before blaming the recipe.
Can I make this as a layer cake?Â
Yes. Double the batter, divide between two greased 8-inch pans, and bake both at 350°F for 25–30 minutes. Cool completely before stacking. Use the full cream cheese frosting recipe between layers and on the outside, and finish with a generous handful of chopped pistachios pressed into the frosting.
Can I freeze leftover cake?Â
Freeze unfrosted slices or layers wrapped tightly in plastic and then foil for up to three months. Thaw overnight in the refrigerator. Don’t freeze frosted cake, the cream cheese frosting separates during thawing and loses its texture.
What can I substitute for sour cream?Â
Full-fat plain Greek yogurt is the best swap, equal amounts, no adjustment needed. Crème fraîche also works. Low-fat yogurt will technically work, but the crumb won’t be as rich or tender.
How do I know when the cake is done?
 Insert a wooden toothpick into the very center of the cake. You’re looking for a few moist crumbs clinging to it, not wet batter, but not completely clean either. A perfectly clean toothpick usually means the cake has been in the oven a few minutes too long.
Can I make this without pistachio extract?
 You can, but the pistachio flavor will be noticeably milder. If you can’t find pistachio extract locally, it’s widely available online. In a pinch, ½ teaspoon of almond extract plus ½ teaspoon of vanilla extract gets you partway there, but it’s a compromise.
Is this the same as pistachio pudding cake?Â
No, pistachio pudding cake uses boxed instant pudding mix and cake mix as a base. This pistachio cake recipe is made entirely from scratch with real ground pistachios, buttermilk, and sour cream. The flavor, texture, and ingredient quality are genuinely different. From-scratch wins.


















