Chocolate Pistachio Cupcakes

Highlighted under: Baking & Desserts

I love indulging in the delightful combination of rich chocolate and crunchy pistachios, and these cupcakes truly marry the two flavors beautifully. With a moist chocolate cake base topped with creamy pistachio buttercream, this recipe always brings a smile to my face. Whether for a special occasion or just because, these cupcakes are sure to please anyone who takes a bite. Plus, they come together quickly, making them the perfect treat for both novice and experienced bakers alike.

Lucy Price

Created by

Lucy Price

Last updated on 2026-01-13T18:52:16.323Z

When I first experimented with combining chocolate and pistachios in a cupcake, I knew I was onto something special. The smooth chocolate cake is both light and rich, enhanced by the nutty flavor of finely chopped pistachios blended right into the batter. I also found that adding just a touch of espresso powder deepens the chocolate flavor without overpowering it, making these cupcakes undeniably delicious.

After perfecting the basic recipe, I decided to top them with a buttery pistachio frosting that adds a delightful crunch and a pop of color. It was crucial to let the frosting set a bit in the fridge before piping, which gives it a sturdier consistency for the perfect cupcake crown. Trust me, these cupcakes are as enjoyable to make as they are to eat!

Why You'll Love These Cupcakes

  • Rich chocolate cake with a delightful crunch from pistachios
  • Silky pistachio buttercream that adds a unique flavor twist
  • Perfect for any occasion, from casual gatherings to special celebrations

The Role of Each Ingredient

Each ingredient in these Chocolate Pistachio Cupcakes plays a vital role in achieving the perfect texture and flavor. The unsweetened cocoa powder not only adds richness but also contributes to the cake's moistness. Buttermilk acts as a tenderizing agent, resulting in a softer crumb that melts in your mouth. On the other hand, the chopped pistachios not only lend a delightful crunch but also enhance the overall flavor profile, creating a harmonious blend of chocolate and nutty notes.

When it comes to the frosting, the pistachio paste is a standout ingredient. It imparts that signature pistachio flavor, elevating the buttercream from ordinary to extraordinary. If you can't find pistachio paste, you can make your own by blending roasted pistachios with a bit of oil until smooth. Just remember that different brands of paste can vary in flavor intensity, so taste as you go.

Baking Tips for Success

For perfectly baked cupcakes, keep an eye on your oven temperature. An oven that's too hot can cause the cupcakes to rise too quickly, leading to a dense texture. I recommend using an oven thermometer for accuracy, as home ovens can often run hot or cold. When baking, look for a slight dome shape and a dry surface before pulling them out; they should spring back when lightly pressed.

Be sure to let the cupcakes cool completely before frosting them. If they're still warm, the pistachio buttercream will melt and create a gooey mess rather than a lovely swirl. Cooling them for at least 15-20 minutes on a wire rack helps achieve this. If you're in a hurry, you can place them in the fridge for a few minutes, but keep an eye on them to prevent them from becoming too cold.

Serving and Storing

These cupcakes can be stored in an airtight container at room temperature for up to three days, retaining their moistness. If you plan to keep them longer, I recommend refrigerating them for up to a week. Just be sure to bring them back to room temperature before serving to fully enjoy their texture and flavor. You can also freeze the un-frosted cupcakes for up to three months, wrapping each in plastic wrap and sealing in a freezer bag.

For a fun variation, try using different nuts in the frosting, such as hazelnuts or walnuts, for a unique twist on the classic frosting. You can also drizzle melted dark chocolate over the frosted cupcakes for an added layer of decadence. These ideas can help personalize your cupcakes for any event or preference!

Ingredients

For the Cupcakes

  • 1/2 cup unsweetened cocoa powder
  • 1 cup all-purpose flour
  • 1 cup granulated sugar
  • 1/2 teaspoon baking powder
  • 1/4 teaspoon baking soda
  • 1/4 teaspoon salt
  • 3/4 cup buttermilk
  • 1/4 cup vegetable oil
  • 2 large eggs
  • 1 teaspoon vanilla extract
  • 1 tablespoon espresso powder
  • 1/2 cup finely chopped pistachios

For the Frosting

  • 1/2 cup unsalted butter, softened
  • 2 cups powdered sugar
  • 1/4 cup pistachio paste
  • 2 tablespoons heavy cream
  • 1/2 teaspoon vanilla extract
  • Chopped pistachios for garnish

Instructions

Prepare the Oven and Pan

Preheat your oven to 350°F (175°C). Line a cupcake pan with cupcake liners.

Mix Dry Ingredients

In a large mixing bowl, whisk together cocoa powder, flour, sugar, baking powder, baking soda, and salt.

Combine Wet Ingredients

In a separate bowl, whisk together buttermilk, oil, eggs, vanilla extract, and espresso powder until smooth.

Combine Mixtures

Pour the wet ingredients into the dry ingredients and mix until just combined. Fold in the finely chopped pistachios.

Bake the Cupcakes

Divide the batter evenly among the cupcake liners and bake for 15 minutes or until a toothpick comes out clean.

Make the Frosting

In a mixing bowl, beat the softened butter until creamy. Gradually add powdered sugar, then add pistachio paste, heavy cream, and vanilla extract. Beat until smooth.

Frost the Cupcakes

Once the cupcakes are completely cooled, frost them with the pistachio frosting and garnish with extra chopped pistachios.

Secondary image

Pro Tips

  • For an added touch, consider drizzling melted dark chocolate over the frosted cupcakes for a rich finish.

Common Troubleshooting Tips

If you find your cupcakes sinking in the middle, it could be due to overmixing the batter or opening the oven door too soon during baking. Aim to mix until just combined for a light texture and avoid peeking at the cupcakes for the first 12-15 minutes. Trust the oven timer and check for doneness with a toothpick instead.

Another issue can arise if your frosting is too runny. This could happen if your butter is too soft or if you add too much cream. To fix this, simply add a bit more powdered sugar until you achieve the desired consistency. For a thicker frosting, ensure your butter is slightly firmer before beating.

Ingredient Substitutions

If you're looking for a dairy-free option, you can substitute the buttermilk with a plant-based alternative like almond or soy milk mixed with a teaspoon of lemon juice or vinegar. This will replicate the acidity and ensure moisture in the cake. Similarly, if you don't have vegetable oil, melted coconut oil works well and adds a subtle flavor twist without compromising the texture.

For a gluten-free version, consider using a 1:1 gluten-free flour blend in place of all-purpose flour. Many of these blends contain xanthan gum, which helps mimic the binding that gluten provides, giving you a similar structure in your cupcakes.

Questions About Recipes

→ Can I use a different nut instead of pistachios?

Absolutely! Almonds or walnuts would make a lovely alternative.

→ How do I store leftover cupcakes?

Store in an airtight container at room temperature for up to 3 days, or refrigerated for up to a week.

→ Can I make these cupcakes gluten-free?

Yes, you can substitute the all-purpose flour with a gluten-free all-purpose blend.

→ Is there a vegan option for this recipe?

Certainly! Substitute eggs with flax eggs and use a plant-based milk instead of buttermilk.

Chocolate Pistachio Cupcakes

I love indulging in the delightful combination of rich chocolate and crunchy pistachios, and these cupcakes truly marry the two flavors beautifully. With a moist chocolate cake base topped with creamy pistachio buttercream, this recipe always brings a smile to my face. Whether for a special occasion or just because, these cupcakes are sure to please anyone who takes a bite. Plus, they come together quickly, making them the perfect treat for both novice and experienced bakers alike.

Prep Time20 minutes
Cooking Duration15 minutes
Overall Time35 minutes

Created by: Lucy Price

Recipe Type: Baking & Desserts

Skill Level: Easy

Final Quantity: 12 cupcakes

What You'll Need

For the Cupcakes

  1. 1/2 cup unsweetened cocoa powder
  2. 1 cup all-purpose flour
  3. 1 cup granulated sugar
  4. 1/2 teaspoon baking powder
  5. 1/4 teaspoon baking soda
  6. 1/4 teaspoon salt
  7. 3/4 cup buttermilk
  8. 1/4 cup vegetable oil
  9. 2 large eggs
  10. 1 teaspoon vanilla extract
  11. 1 tablespoon espresso powder
  12. 1/2 cup finely chopped pistachios

For the Frosting

  1. 1/2 cup unsalted butter, softened
  2. 2 cups powdered sugar
  3. 1/4 cup pistachio paste
  4. 2 tablespoons heavy cream
  5. 1/2 teaspoon vanilla extract
  6. Chopped pistachios for garnish

How-To Steps

Step 01

Preheat your oven to 350°F (175°C). Line a cupcake pan with cupcake liners.

Step 02

In a large mixing bowl, whisk together cocoa powder, flour, sugar, baking powder, baking soda, and salt.

Step 03

In a separate bowl, whisk together buttermilk, oil, eggs, vanilla extract, and espresso powder until smooth.

Step 04

Pour the wet ingredients into the dry ingredients and mix until just combined. Fold in the finely chopped pistachios.

Step 05

Divide the batter evenly among the cupcake liners and bake for 15 minutes or until a toothpick comes out clean.

Step 06

In a mixing bowl, beat the softened butter until creamy. Gradually add powdered sugar, then add pistachio paste, heavy cream, and vanilla extract. Beat until smooth.

Step 07

Once the cupcakes are completely cooled, frost them with the pistachio frosting and garnish with extra chopped pistachios.

Extra Tips

  1. For an added touch, consider drizzling melted dark chocolate over the frosted cupcakes for a rich finish.

Nutritional Breakdown (Per Serving)

  • Calories: 280 kcal
  • Total Fat: 14g
  • Saturated Fat: 3g
  • Cholesterol: 25mg
  • Sodium: 140mg
  • Total Carbohydrates: 35g
  • Dietary Fiber: 1g
  • Sugars: 20g
  • Protein: 4g