There’s something quietly confident about a pistachio cupcake. It doesn’t beg for attention like a frosted rainbow swirl or spill syrup like a lava cake. It just waits. And once you take a bite, it says everything.
In this recipe, you’ll learn how to make pistachio cupcakes that balance fluff with crunch, and sweetness with a subtle nutty bite. You’ll also see how I get the texture just right—light but never dry. I’ll walk you through how to fold in roasted pistachios, why buttermilk matters here, and the small detail in the frosting that always gets people to ask, “What’s in this?”
These cupcakes come with a soft green hue, a whisper of almond, and the kind of crumb that makes the whole thing feel handcrafted, even if you used a box mixer. But there’s one small decision inside this recipe that took me years to land on—and I’ll share it with you after the steps. It’s a quiet trick, but it matters more than it looks.
Let’s get into it.

Pistachio Cupcake Batter with Roasted Nuts and Buttermilk
I start by grinding half the pistachios into a fine meal using a food processor. That gives the base a soft, aromatic lift. The other half I chop and fold in later, so you get tiny specks of crunch that carry flavor in every bite.
The flour, baking powder, soda, and salt all stay standard, but it’s the balance between butter and sugar that makes these cupcakes sing. I use softened unsalted butter and cream it well with the sugar until it turns pale yellow and fluffy. You should see air pockets start to form—that’s your lift.

Add the eggs one at a time and finish the wet ingredients with vanilla extract. I’ve tried these with almond extract inside the batter too, but I find it pushes too far. That note belongs in the frosting. Vanilla is enough here.
What binds it all is the buttermilk. I use it at room temperature and alternate it with the dry mix so the batter stays light. Don’t skip this. Milk won’t do the same job. The acidity in buttermilk reacts gently with the baking soda and sets a softer crumb.

If you love pistachio-based bakes, you might also enjoy these Pistachio Muffins they use a similar method but carry more breakfast energy than celebration mood.
Baking the Cupcakes Until They Spring Back
Once the batter’s folded and thick, I spoon it into paper-lined tins. Two-thirds full is right. They need space to rise.

Bake them at 350°F for about 18 to 20 minutes. Keep an eye on the tops—they should just begin to golden and spring back when lightly pressed. A toothpick test works too, but don’t overbake. Pistachios taste best when they’re part of a soft, forgiving crumb.
Let them cool in the pan for five minutes, then move them to a wire rack. The steam needs to escape so they don’t turn damp underneath.
At this point, they’ll smell buttery with hints of toasted pistachio. The color stays soft, not vivid, unless you added a bit of green food gel. I usually do—just a drop or two—for that gentle nod to what’s inside.
I get a similar toasty-sweet effect in these Brown Butter Honey Pistachio Bars. That recipe pushes the nut flavor further and adds a chewy bite. But if you’re after light and airy, these cupcakes are the better choice.
Cream Cheese Frosting with Almond and Pistachio Topping
For the frosting, I start with softened cream cheese and butter. Blend them until smooth before adding powdered sugar. The texture should shift from dense to spreadable within minutes.
Then comes the twist—almond extract. A quarter teaspoon pulls everything together. Don’t add more, or the flavor overtakes the pistachio. A little coloring gives the frosting a soft minty tone, but you can skip that and keep it ivory.
Once the cupcakes cool, pipe tall swirls of frosting on top. I like using a star tip for texture. Then finish with a dusting of chopped pistachios. That crunch adds contrast and keeps the design simple.
I’ve used this same frosting base for Pistachio Eclairs, though in that recipe it gets piped inside, not on top. It holds beautifully under pressure and keeps its flavor in cold or warm temperatures.
One Small Comparison: Whole vs. Pre-Shelled Pistachios
I’ve baked these cupcakes with both shelled pistachios from the snack aisle and bulk pre-shelled nuts. Here’s what I’ve found.
Pre-shelled pistachios save time, but they often taste flatter. The pre-roasted kind lose their fragrance faster. When I use whole roasted unsalted pistachios and shell them myself, the flavor sharpens and the texture stays drier, which works better in batters.
It takes an extra five minutes, but I don’t skip it anymore. You can also freeze the leftover shelled pistachios and use them later in Pistachio Brigadeiros, which carry more chew than fluff.
The Tiny Trick That Makes It Work
Now for the small decision I mentioned earlier.
The secret ingredient that pulls this recipe together isn’t in the cupcake—it’s the almond extract in the frosting. Most pistachio cupcakes I’ve tested try to amplify the nut by adding pistachio paste or pudding mix. But that often muddies the flavor.
Almond extract doesn’t mimic pistachio, but it makes the pistachio stand taller by contrast. It rounds the nutty edges and gives the frosting a floral, clean finish. It’s quiet, but once you try it, you’ll notice how much it adds.
A friend once asked me why my Key Lime Cupcakes Recipe tasted sharper than hers. It wasn’t the lime—it was a touch of vanilla in the base that gave it lift. Sometimes, it’s what you pair with the star that helps it shine.
Save This Recipe and Share Your Take

These pistachio cupcakes hold their shape, stay soft for two days, and pack beautifully for birthdays or spring brunches. I’ve even tinted the frosting pale peach and made them for a Pistachio Birthday Cake spread. Just scale up the batter, bake it as rounds, and keep the same frosting.
If you try these Pistachio Cupcakes With Box Cake mix, I’d love to hear how it goes. I’ve had a few readers swap the flour base with yellow cake mix and still get great results.
Save this recipe to your board so you have it ready when you need a nutty dessert with personality.
And if you bake them, come back and share your results. Did you make them for a gathering? Did someone ask for the recipe? Drop a comment below—I always read them.
Pistachio Cupcakes Recipe

These pistachio cupcakes are tender and flavorful with a naturally nutty base and a light cream cheese frosting. Roasted pistachios bring texture and taste to both the cake and the topping, while a hint of almond extract in the frosting deepens the flavor. These cupcakes balance sweetness with subtle crunch and a soft green tint that hints at what’s inside.
Ingredients
- FOR THE CUPCAKES
- 1 cup all-purpose flour
- 1 teaspoon baking powder
- 1/4 teaspoon baking soda
- 1/4 teaspoon fine sea salt
- 1/2 cup roasted unsalted pistachios, divided
- 1/2 cup unsalted butter, softened
- 3/4 cup granulated sugar
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract
- 1/2 cup buttermilk, room temperature
- FOR THE FROSTING
- 6 tablespoons unsalted butter, softened
- 6 ounces cream cheese, softened
- 2 cups powdered sugar
- 1/4 teaspoon almond extract
- 2–3 drops green gel food coloring (optional)
- 2 tablespoons finely chopped pistachios, for topping
Notes
Use roasted but unsalted pistachios for the best flavor. Grinding part of the nuts into the batter and chopping the rest ensures both depth and texture. Room temperature eggs and buttermilk help the batter mix evenly and rise well. Store cupcakes in the refrigerator if not serving the same day, and allow them to sit at room temperature for 15–20 minutes before serving.
Nutrition Information:
Yield:
12Serving Size:
1Amount Per Serving: Calories: 418Total Fat: 24gSaturated Fat: 13gTrans Fat: 0gUnsaturated Fat: 10gCholesterol: 83mgSodium: 245mgCarbohydrates: 48gFiber: 1gSugar: 37gProtein: 5g

