If you adore the delicate crunch and subtle sweetness of pistachios, then you are in for an absolute treat with this Homemade Pistachio Cupcakes Recipe. These moist, fluffy cupcakes are infused with finely ground pistachios and enhanced by a luscious pistachio frosting that truly brings out the nutty flavor in every bite. The charming pale green hue and gentle almond undertones make them an irresistible dessert that feels both elegant and comforting, perfect for sharing with friends or indulging in a cozy moment alone.

Ingredients You’ll Need
Gathering just the right ingredients is the first step to creating these delightful cupcakes. Each component plays a vital role in achieving the perfect balance of flavor, texture, and color that defines the Homemade Pistachio Cupcakes Recipe.
- 1 1/2 cups all-purpose flour: Provides the cupcake’s tender structure while allowing the pistachios to shine through.
- 1/2 cup finely ground unsalted pistachios: Brings authentic nutty flavor and a subtle texture; finely grinding keeps the crumb soft.
- 1 1/2 teaspoons baking powder: A key leavening agent that helps the cupcakes rise beautifully.
- 1/4 teaspoon baking soda: Supports the rise and creates a tender crumb alongside the baking powder.
- 1/4 teaspoon fine salt: Balances the sweetness and enhances the pistachio flavor.
- 1/2 cup unsalted butter (softened): Adds richness and moisture to the cake base.
- 1 cup granulated sugar: Sweetens while contributing to the perfect cakey texture.
- 2 large eggs (room temperature): Helps bind ingredients and adds to the cupcake’s structure and moisture.
- 1 teaspoon vanilla extract: Offers warmth and depth, complementing the pistachio’s natural tone.
- 1/4 teaspoon almond extract (optional): Elevates the nutty profile with a gentle almond twist.
- 1 to 1 1/2 teaspoons pistachio extract (optional but boosts flavor): Intensifies the pistachio notes for a more pronounced taste.
- 1/2 cup sour cream or plain Greek yogurt (room temperature): Adds moisture and tenderizes the crumb for a soft bite.
- 3/4 cup whole milk (room temperature): Keeps the batter smooth and ensures a moist texture.
- 1 to 2 drops green food coloring (optional): Enhances the cupcakes’ lovely pistachio-green appearance.
- For the frosting: 1/2 cup unsalted butter (softened), 2 cups powdered sugar (sifted), 3 tablespoons pistachio paste, 1 teaspoon vanilla extract, pinch of salt, 2 to 4 tablespoons heavy cream or milk, chopped pistachios for topping (optional).
How to Make Homemade Pistachio Cupcakes Recipe
Step 1: Prepare Your Oven and Dry Ingredients
Start by preheating your oven to 350°F and line a 12-cup muffin pan with cupcake liners. In a medium bowl, whisk together the all-purpose flour, finely ground pistachios, baking powder, baking soda, and salt. This dry mix forms the flavorful foundation of your cupcakes, with the pistachios bringing that unmistakable nutty aroma right from the beginning.
Step 2: Cream Butter and Sugar
In a large bowl, use an electric mixer to beat the softened butter and granulated sugar until the mixture is light, fluffy, and pale in color. This process incorporates air, creating a light texture that makes these cupcakes so wonderfully tender.
Step 3: Add Eggs and Flavors
Beat in the eggs one at a time, ensuring each is fully incorporated before adding the next. Then, mix in vanilla extract, almond extract if you’re using it, and pistachio extract to amplify the pistachio essence. These extracts add that distinct personality to your batter, making it unmistakably pistachio.
Step 4: Incorporate Sour Cream
Beat in the sour cream or Greek yogurt until the mixture is smooth and creamy. The luscious tanginess of sour cream helps keep the cupcakes moist while adding a subtle depth of flavor.
Step 5: Combine Dry Ingredients and Milk
Add the dry ingredients to the wet mix in two parts, alternating with the milk to maintain a smooth batter. Be mindful to mix just until combined to avoid overworking the batter, which helps preserve the delicate crumb you’d expect from perfect cupcakes.
Step 6: Add Food Coloring (Optional)
If you want to highlight that beautiful pistachio hue, stir in a drop or two of green food coloring until you reach your desired shade. This gives your cupcakes a fun, festive look while keeping all-natural flavors intact.
Step 7: Bake the Cupcakes
Divide the batter evenly among the liners, filling each about two-thirds full to allow room for rising. Bake in the preheated oven for 16 to 20 minutes, or until the cupcakes spring back lightly to the touch and a toothpick inserted into the center comes out with just a few moist crumbs.
Step 8: Cool Fully Before Frosting
Let the cupcakes cool in the pan for 5 minutes before transferring them to a wire rack to cool completely. Frosting warm cupcakes can cause melting, so patience here ensures the prettiest finish.
Step 9: Make the Pistachio Frosting
To create the luscious frosting, beat the softened butter until creamy. Gradually add sifted powdered sugar, pistachio paste, vanilla extract, and a pinch of salt. Adjust the consistency with heavy cream or milk a tablespoon at a time until the frosting is perfectly fluffy and pipeable.
Step 10: Frost and Garnish
Pipe or spread the frosting generously atop each cooled cupcake, finishing with a sprinkle of chopped pistachios for an appealing crunch and a hint of extra nutty goodness.
How to Serve Homemade Pistachio Cupcakes Recipe

Garnishes
A simple yet elegant way to elevate these cupcakes is by adding a sprinkling of chopped pistachios on the frosting. You could also dust lightly with powdered sugar for a whimsical finish or add a small edible flower for fancy occasions. These touches not only add visual appeal but enhance texture.
Side Dishes
Pistachio cupcakes pair wonderfully with light accompaniments like fresh berries or a scoop of vanilla bean ice cream. For gatherings, a lightly brewed green tea or a subtly floral white tea complements the nutty flavor without overpowering it.
Creative Ways to Present
Try stacking the cupcakes on a tiered stand to showcase their charming color and texture at parties. For a playful twist, serve them inside petite cupcake boxes tied with pastel ribbons for a delightful gift. Alternatively, arrange on a rustic wooden board with fresh pistachios scattered around to highlight their ingredient inspiration.
Make Ahead and Storage
Storing Leftovers
Store frosted cupcakes in an airtight container at room temperature for up to 1 day. For longer freshness, place them in the refrigerator where they will last up to 4 days. Bringing refrigerated cupcakes to room temperature before serving dramatically improves the texture and flavor.
Freezing
Unfrosted cupcakes freeze beautifully for up to 3 months. Wrap each cupcake tightly in plastic wrap and place in a freezer-safe container. Thaw overnight in the refrigerator before frosting. You can also freeze frosted cupcakes if well wrapped, but the texture of the frosting may change slightly.
Reheating
If you prefer warm cupcakes, gently microwave unfrosted cupcakes for 10 to 15 seconds once thawed. Avoid heating frosted cupcakes to maintain frosting integrity. Warm cupcakes paired with cool frosting create a delightful contrast in each bite.
FAQs
Can I use pistachio flour instead of grinding my own pistachios?
Absolutely! Pistachio flour is a great time saver and will provide excellent nutty flavor without changing the recipe. Just ensure it’s finely ground to keep the cupcake texture tender.
What if I don’t have pistachio extract? Can I skip it?
Yes, the cupcakes will still be delicious without pistachio extract, especially if you use plenty of finely ground pistachios and add the pistachio paste in the frosting. The extract simply boosts the pistachio aroma.
Is there a substitute for sour cream in this recipe?
Plain Greek yogurt is a perfect substitute for sour cream. It adds similar moisture and tang, helping to keep the cupcakes soft and flavorful.
Can I make these cupcakes vegan?
With some careful substitutions like vegan butter, flax eggs instead of regular eggs, and plant-based yogurt, you can adapt this recipe for a vegan diet, though the texture may vary slightly.
How do I make pistachio paste if I can’t find it in stores?
Simply blend unsalted pistachios in a food processor until they become a thick, spreadable paste. Add a teaspoon or two of neutral oil if needed to help achieve the smooth texture required for frosting.
Final Thoughts
There is something truly special about the rich, nutty flavor and creamy frosting of these Homemade Pistachio Cupcakes Recipe that makes every bite a celebration. Whether you are baking for a special occasion or simply treating yourself, these cupcakes are sure to delight your taste buds and warm your heart. Go ahead, give this recipe a try and experience the magic of pistachios in cupcake form—you won’t regret it!
Print
Homemade Pistachio Cupcakes Recipe
- Prep Time: 20 minutes
- Cook Time: 18 minutes
- Total Time: 1 hour 10 minutes
- Yield: 12 cupcakes
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Description
Delight in these moist and flavorful Homemade Pistachio Cupcakes, featuring finely ground pistachios in the batter and a luscious pistachio buttercream frosting. Perfectly balanced with subtle vanilla and almond extracts, these cupcakes offer a tender crumb and nutty richness, ideal for dessert or special occasions.
Ingredients
Cupcakes
- 1 1/2 cups all-purpose flour
- 1/2 cup finely ground unsalted pistachios (or pistachio flour)
- 1 1/2 teaspoons baking powder
- 1/4 teaspoon baking soda
- 1/4 teaspoon fine salt
- 1/2 cup unsalted butter, softened
- 1 cup granulated sugar
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract
- 1/4 teaspoon almond extract (optional)
- 1 to 1 1/2 teaspoons pistachio extract (optional but boosts flavor)
- 1/2 cup sour cream or plain Greek yogurt, room temperature
- 3/4 cup whole milk, room temperature
- 1 to 2 drops green food coloring (optional)
Frosting
- 1/2 cup unsalted butter, softened
- 2 cups powdered sugar, sifted
- 3 tablespoons pistachio paste (or very finely ground pistachios blended into a thick paste)
- 1 teaspoon vanilla extract
- Pinch of salt
- 2 to 4 tablespoons heavy cream or milk, as needed
- Chopped pistachios for topping (optional)
Instructions
- Prepare Oven and Pan: Preheat the oven to 350°F (175°C) and line a 12-cup muffin pan with cupcake liners to ensure easy removal and even cooking.
- Mix Dry Ingredients: In a medium bowl, whisk together the all-purpose flour, finely ground pistachios, baking powder, baking soda, and fine salt until evenly combined.
- Cream Butter and Sugar: In a separate large bowl, beat the softened unsalted butter and granulated sugar together using an electric mixer until the mixture becomes light and fluffy, indicating proper aeration.
- Add Eggs and Extracts: Beat in the eggs one at a time, ensuring each egg is fully incorporated before adding the next. Then mix in the vanilla extract, almond extract (if using), and pistachio extract (if using) to enhance flavor complexity.
- Add Sour Cream: Beat in the sour cream or Greek yogurt until smooth, which adds moisture and tenderness to the batter.
- Combine Wet and Dry Ingredients: Add the dry ingredients to the wet mixture in two parts, alternating with the whole milk, mixing just until combined after each addition. Be careful not to overmix to maintain cupcake tenderness.
- Add Food Coloring: Stir in 1 to 2 drops of green food coloring (optional) until the desired shade of pistachio green is achieved.
- Fill the Cupcake Liners: Divide the batter evenly among the cupcake liners, filling each about two-thirds full to allow room for rising.
- Bake the Cupcakes: Bake in the preheated oven for 16 to 20 minutes, or until the cupcake tops spring back when lightly pressed and a toothpick inserted into the center comes out with a few moist crumbs.
- Cool: Allow the cupcakes to cool in the pan for 5 minutes before transferring them to a wire rack to cool completely, ensuring the frosting does not melt upon application.
- Make the Frosting: In a mixing bowl, beat the softened butter until creamy. Gradually mix in the sifted powdered sugar, pistachio paste, vanilla extract, and a pinch of salt. Add heavy cream or milk one tablespoon at a time until the frosting reaches a fluffy and pipeable consistency.
- Frost the Cupcakes: Once the cupcakes are completely cool, frost them generously with the pistachio buttercream.
- Add Toppings: Optionally, sprinkle chopped pistachios on top of the frosted cupcakes for extra texture and visual appeal.
Notes
- Use fresh, unsalted pistachios and grind them very finely to ensure the cupcakes maintain a tender texture and rich pistachio flavor.
- If pistachio paste is unavailable, make your own by blending pistachios in a food processor until they turn into a thick, spreadable paste, scraping the bowl as needed. Add 1 to 2 teaspoons of neutral oil if necessary to achieve consistency.
- If the frosting is too soft, chill it for 10 to 15 minutes to firm up; if too thick, add a small splash more heavy cream or milk and beat again.
- Store frosted cupcakes covered at room temperature for up to 1 day or refrigerate for up to 4 days. Bring cupcakes to room temperature before serving to restore optimal texture and flavor.

