How Do You Make the Best Chocolate Pistachio Cake?

chocolate pistachio cake

Decadent Chocolate Pistachio Cake with Creamy Pistachio Frosting

A rich chocolate cake layered with light pistachio frosting and topped with silky ganache. This Chocolate Pistachio Cake is a dream for any chocolate lover.
Prep Time 25 minutes
Cook Time 50 minutes
Total Time 1 hour 15 minutes
Servings: 1
Course: Cakes, Dessert
Cuisine: American
Calories: 520

Ingredients
  

For the cake
  • 2 cups all-purpose flour
  • cup Dutch-processed cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1 teaspoon salt
  • 4 ounces unsweetened chocolate chopped
  • ¾ cup unsalted butter softened
  • 1 ¾ cups granulated sugar
  • 2 large eggs room temperature
  • 1 tablespoon vanilla extract
  • 1 ½ cups buttermilk room temperature
  • ½ cup strong brewed coffee cooled
For the frosting
  • 1 ½ cups unsalted pistachios shelled
  • 1 teaspoon canola oil
  • 2 cups unsalted butter softened
  • 2 tablespoons heavy cream
  • 1 tablespoon vanilla extract
  • ¼ teaspoon salt
  • 3-6 cups confectioners' sugar sifted as needed
  • 1-2 drops green food coloring optional
  • 1 cup unsalted pistachios chopped, for garnish
For the ganache
  • 2 ounces semisweet chocolate chopped
  • 2 tablespoons unsalted butter
  • 1 tablespoon light corn syrup

Method
 

Make the cake
  1. Preheat your oven to 350°F. Grease three 8-inch round cake pans with nonstick spray. Line the bottoms with parchment paper circles, then spray the paper and dust lightly with cocoa powder. Tap out any excess and set aside.
  2. In a medium bowl, whisk together the flour, cocoa powder, baking soda, baking powder, and salt. Set aside.
  3. Place the chopped unsweetened chocolate in a heatproof bowl set over a pot of barely simmering water. Stir until melted and smooth. Remove from heat and let cool slightly.
  4. In a stand mixer fitted with a paddle attachment (or using a hand mixer), beat the butter and granulated sugar on medium-low speed until light and fluffy. Add the eggs one at a time, beating well after each addition. Scrape down the sides as needed. Beat in the vanilla extract and then the melted chocolate until fully incorporated. With the mixer on low, add about half of the flour mixture, then the buttermilk and coffee, then the remaining flour mixture. Mix just until combined; the batter will be thick.
  5. Divide the batter evenly among the prepared pans. Use an offset spatula to spread it to the edges and smooth the tops. Bake for 30 to 40 minutes, until a toothpick inserted in the center comes out with a few moist crumbs. Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. Peel off the parchment paper before filling.
Make the frosting
  1. In a food processor, process the 1½ cups pistachios until coarsely ground. Add the canola oil if needed to help them break down. Continue processing, scraping the sides occasionally, until smooth and creamy. This may take several minutes. Set the pistachio paste aside.
  2. In a stand mixer with the paddle attachment (or using a hand mixer), beat the 2 cups butter on medium-high until smooth. Add the heavy cream, vanilla extract, and salt, and beat until incorporated.
  3. Add 2 cups of confectioners' sugar and beat on medium-low until moistened. Gradually add more sugar, one cup at a time, until the frosting is thick and spreadable. You may need 3 to 6 cups total depending on your butter. Beat on medium-high until light and fluffy. Scrape down the sides. Add the pistachio paste and green food coloring (if using), and mix until well combined.
Assemble the cake
  1. Place one cake layer on a serving platter. Spread a generous amount of pistachio frosting over the top, right to the edge. Repeat with the second cake layer and more frosting. Top with the third cake layer. Frost the top and sides of the entire cake with the remaining frosting. Press chopped pistachios into the sides of the cake near the bottom, coming up less than halfway. Sprinkle pistachios in a 1-inch border around the outer edge of the top. Place the cake in the freezer for 10 minutes.
Make the ganache
  1. Place the semisweet chocolate, 2 tablespoons butter, and corn syrup in a heatproof bowl over a pot of barely simmering water. Stir until melted and smooth. Remove from heat and let cool for 5 minutes.
  2. Spoon the ganache over the top of the cake within the pistachio border. Use the back of a spoon to spread it into a smooth, even layer. Return the cake to the freezer for another 10 minutes to set the ganache.

Nutrition

Calories: 520kcalCarbohydrates: 56gProtein: 6gFat: 32gSaturated Fat: 16gCholesterol: 80mgSodium: 380mgFiber: 3gSugar: 42g

Notes

For a stronger pistachio flavor, use dry roasted pistachios instead of raw. Store the assembled cake at room temperature for up to 3 days or in the refrigerator for up to 5 days; bring to room temperature before serving. You can freeze the frosted cake for up to 2 months; thaw overnight in the refrigerator and bring to room temperature before serving. Make ahead: wrap cooled cake layers in plastic wrap and refrigerate; prepare frosting and refrigerate overnight; assemble within 2 days. If the frosting is too thick, add a splash more heavy cream; if too thin, add more confectioners' sugar. For a California twist, substitute a touch of Meyer lemon zest in the frosting for brightness.

Tried this recipe?

Let us know how it was!

Why This Chocolate Pistachio Cake Works

Ever had a slice of cake that made you stop mid-conversation? That’s what this Chocolate Pistachio Cake does. I’m not kidding. The first time I made it, I was testing it for a spring brunch and honestly thought it might be too much chocolate cake, pistachio frosting, and ganache? But then I took a bite. The deep cocoa flavor, the creamy nutty frosting, that thin layer of shiny ganache on top. My friend actually paused, fork halfway to her mouth, and said, “Wait. What is this?”

That moment is exactly why I keep coming back to this recipe. It’s not just another layer cake. It’s a showstopper that feels special without being fussy. The chocolate pistachio cake has this incredible balance the richness of the cake is cut by the light, almost fluffy pistachio frosting, and the ganache adds just a hint of sweetness on top. Plus, that green and brown contrast when you slice into it? Absolutely gorgeous.

So what makes this recipe actually work? A few things. First, we use Dutch-processed cocoa powder and melted unsweetened chocolate for a deep, dark cocoa flavor that doesn’t get bitter. Second, the pistachio frosting is made from scratch with homemade pistachio paste no artificial flavors here. And third, that hit of coffee in the cake batter? It doesn’t make it taste like coffee. It just makes the chocolate taste more like itself. Trust me on this one.

chocolate pistachio cake - main ingredients

Key Ingredients for the Perfect Chocolate Pistachio Cake

Let’s talk about what goes into this cake, and more importantly, why each ingredient matters. Because I’ve learned the hard way that swapping things out randomly can lead to a dry, dense mess. And nobody wants that.

Dutch-processed cocoa powder is non-negotiable here. It’s been treated to neutralize its acidity, which gives you a smoother, more intense chocolate flavor. Natural cocoa powder will work in a pinch, but the taste won’t be as deep, and the texture might be slightly different. If you only have natural cocoa, you can still make it just know the result won’t be quite as rich.

The unsweetened chocolate gets melted and added to the batter, which gives the cake an extra layer of chocolatey goodness. I know it seems like a lot of chocolate, but trust the process. It’s what makes this cake so decadent.

Buttermilk is another key player. It adds tenderness and moisture, and the acidity helps activate the baking soda for a nice rise. If you don’t have buttermilk, you can make a quick substitute by adding a tablespoon of lemon juice or white vinegar to a cup of milk and letting it sit for 5 minutes. But honestly, real buttermilk is better here.

And then there’s the coffee. I know, it sounds weird. But coffee enhances the flavor of chocolate without making the cake taste like your morning cup of joe. Use strong brewed coffee that’s cooled down. If you really don’t want to use coffee, you can substitute hot water but the flavor won’t be as deep.

For the frosting, we’re making our own pistachio paste from shelled unsalted pistachios. This is where the magic happens. You’ll process the nuts until they turn into a smooth, creamy paste. It takes a few minutes, but it’s so worth it. The natural green color of the pistachios gives the frosting that beautiful pale green hue. I usually add a tiny drop of green food coloring to make it pop, but that’s totally optional.

Step-by-Step: Making Your Chocolate Pistachio Cake

Alright, let’s get into the actual process. I’ll walk you through the four main stages, with some tips and tricks I’ve picked up along the way.

Stage 1: Prep and Dry Ingredients

First things first preheat your oven to 350°F and grease three 8-inch round cake pans. I like to line the bottoms with parchment paper circles, then spray the paper and dust lightly with cocoa powder. Why cocoa powder instead of flour? Because flour can leave white streaks on the dark cake. Cocoa powder blends right in.

Whisk together your dry ingredients: flour, Dutch-processed cocoa powder, baking soda, baking powder, and salt. Set that aside. Then melt the unsweetened chocolate in a heatproof bowl over simmering water. Stir until it’s smooth and glossy, then let it cool slightly while you move on to the next step.

Step 1: Whisking dry ingredients
Step 1: Whisking dry ingredients

Stage 2: Creaming and Combining

In a stand mixer with the paddle attachment, beat the butter and granulated sugar until light and fluffy. This takes about 3-4 minutes on medium speed. You want it to look pale and airy. Add the eggs one at a time, beating well after each addition. Then beat in the vanilla and the melted chocolate.

Here’s where it gets a little tricky. With the mixer on low, add about half the flour mixture, then the buttermilk and coffee, then the remaining flour mixture. Mix just until combined. If you overmix, the cake will be tough. The batter will be thick that’s normal. Don’t panic if it looks a little grainy from the pistachio meal later on.

Step 2: Melting unsweetened chocolate
Step 2: Melting unsweetened chocolate

Stage 3: Baking and Cooling

Divide the batter evenly among the prepared pans. I like to use a kitchen scale to weigh the batter it ensures even layers. Bake for 30 to 40 minutes. You’ll know it’s done when a toothpick inserted in the center comes out with a few moist crumbs. Not wet batter, but not completely clean either. The top should spring back when lightly pressed.

Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. Don’t skip this step. If you try to frost a warm cake, the frosting will melt and slide right off. Patience, my friend.

Step 3: Creaming butter and sugar
Step 3: Creaming butter and sugar

Stage 4: Frosting, Assembly, and Ganache

While the cakes are cooling, make the pistachio frosting. Process the pistachios in a food processor until they turn into a smooth paste. This can take 5-7 minutes, so be patient. Add a teaspoon of canola oil if they’re not breaking down. Then beat the butter, heavy cream, vanilla, and salt until smooth. Gradually add confectioners’ sugar until the frosting is thick and spreadable. Finally, beat in the pistachio paste and a drop of green food coloring if you want that vibrant color.

To assemble, place one cake layer on your serving platter. Spread a generous amount of frosting over the top. Repeat with the second layer and more frosting. Top with the third layer. Frost the top and sides of the entire cake. Press chopped pistachios into the sides near the bottom it looks gorgeous and adds a nice crunch.

Pop the cake in the freezer for 10 minutes. While it’s chilling, make the ganache by melting semisweet chocolate, butter, and corn syrup together. Let it cool for 5 minutes, then spoon it over the top of the cake within a pistachio border. Spread it into a smooth layer. Return to the freezer for another 10 minutes to set the ganache.

Step 4: Pouring cake batter into pan
Step 4: Pouring cake batter into pan

Tips for Success with This Chocolate Pistachio Cake

I’ve made this cake more times than I can count, and I’ve definitely made my share of mistakes. Here are the most important things I’ve learned:

  • Weigh your ingredients. A digital scale is your best friend. Flour can vary wildly by how you scoop it. Weighing ensures consistent results every time.
  • Use room temperature ingredients. Eggs and buttermilk straight from the fridge can cause the batter to curdle. Let them sit out for about 30 minutes before you start.
  • Don’t overmix the batter. Mix just until the flour disappears. Overmixing develops gluten, which makes the cake tough and dense.
  • Don’t reduce the sugar. Sugar isn’t just for sweetness it also adds moisture and tenderness. Reducing it will affect the texture.
  • Toast your pistachios for extra flavor. If you have time, toast the pistachios in a dry pan for 2-3 minutes before processing. It brings out their natural oils and makes the frosting even more flavorful.

One more thing if your frosting seems too thick, add a splash more heavy cream. If it’s too thin, add more confectioners’ sugar. Frosting consistency is a personal thing, so adjust until it feels right to you.

Variations and Substitutions

This recipe is pretty flexible, so don’t be afraid to experiment a little. Here are some variations I’ve tried and loved:

  • Gluten-free option: Use a 1:1 gluten-free flour blend like Bob’s Red Mill or King Arthur. The texture will be slightly different, but still delicious.
  • Dairy-free option: Substitute the buttermilk with a dairy-free yogurt or sour cream alternative. For the frosting, use a dairy-free butter substitute and heavy cream alternative. The flavor will change a bit, but it’s still a great cake.
  • Vegan option: Replace the pistachio cream filling with a store-bought vegan pistachio spread. You can also make your own by soaking and grinding pistachios with maple syrup.
  • Bundt pan variation: Grease a 10-cup bundt pan and pour the batter in. Bake for 45-55 minutes. Drizzle with a simple pistachio glaze instead of frosting.
  • Cupcake version: Divide the batter among 24 cupcake liners and bake for 18-22 minutes. Frost with the pistachio buttercream.

If you want a stronger pistachio flavor, use dry roasted pistachios instead of raw. And for a California twist, add a touch of Meyer lemon zest to the frosting it brightens everything up beautifully.

chocolate pistachio cake - final presentation

Storage and Make-Ahead Tips

This cake is perfect for making ahead, which is great for parties and holidays. Here’s how to store it:

  • Unfrosted cake layers: Wrap each layer tightly in plastic wrap and store at room temperature for up to 2 days, or refrigerate for up to 5 days.
  • Frosted cake: Store in an airtight container in the refrigerator for up to 5 days. Let it come to room temperature before serving about 30 minutes on the counter.
  • Freezing: You can freeze the frosted cake for up to 2 months. Wrap it well in plastic wrap and then foil. Thaw overnight in the refrigerator, then bring to room temperature before serving.
  • Make ahead: You can prepare the cake layers and frosting up to 2 days in advance. Assemble the cake within 2 days for best results.

One tip if you’re storing a frosted cake in the fridge, use a tall cake dome to avoid messing up the frosting. And never store an uncovered cake in the fridge it will absorb all those weird fridge odors. Trust me, a garlic-scented cake is not a good thing.

Frequently Asked Questions

I hope you love this Chocolate Pistachio Cake as much as I do. It’s one of those recipes that feels fancy but is actually pretty straightforward once you get the hang of it. The first time I made it, I was nervous about the pistachio paste would it be smooth enough? Would the color be right? But it turned out beautifully, and now it’s my go-to for spring gatherings and special occasions.

If you bake this, tag me when you do I want to see that gorgeous green and brown contrast! And if you have any questions, drop them in the comments. I’m always here to help. Happy baking!

For more inspiration, check out my Pinterest board for spring dessert ideas.

Source: Nutritional Information

Can I use all-purpose flour for this Chocolate Pistachio Cake?

Yes, all-purpose flour is exactly what this recipe calls for. It gives the cake structure without making it too dense. Just make sure to measure it correctly spoon it into your measuring cup and level it off, or better yet, weigh it on a digital scale for accuracy.

Can this Chocolate Pistachio Cake be made dairy free?

Absolutely. Substitute the buttermilk with a dairy-free yogurt or sour cream alternative. For the frosting, use a dairy-free butter substitute and heavy cream alternative. The flavor and texture will be slightly different, but it’s still a delicious cake. Just make sure all your substitutions are room temperature.

Can this cake be made gluten-free?

Yes, use a 1:1 gluten-free flour blend like Bob’s Red Mill or King Arthur. The texture will be a bit more tender and slightly crumbly, but still very good. Don’t overmix the batter, as gluten-free flours can get gummy if overworked. Let the cake cool completely before frosting.

Can I make this Chocolate Pistachio Cake ahead of time?

Definitely. You can bake the cake layers up to 2 days ahead and wrap them tightly in plastic wrap. The frosting can also be made ahead and refrigerated. Just bring everything to room temperature before assembling. The assembled cake can be stored in the fridge for up to 5 days.

Do I have to use black cocoa powder?

No, this recipe calls for Dutch-processed cocoa powder, not black cocoa. Dutch-processed gives you a rich, smooth chocolate flavor without the bitterness. Black cocoa is much darker and has a different taste almost like Oreo cookies. Stick with Dutch-processed for the best results here.

How do I know when this Chocolate Pistachio Cake is done baking?

Insert a toothpick into the center of the cake. It should come out with a few moist crumbs attached, not wet batter. The top of the cake should spring back when lightly pressed. Bake time is 30-40 minutes at 350°F, but ovens vary, so start checking at 30 minutes.

What Does Adding Pudding to a Cake Mix Do?

Adding pudding mix to a cake mix (not this recipe) adds extra moisture, tenderness, and flavor. It also helps stabilize the crumb and can make the cake more forgiving. But this recipe doesn’t use pudding the buttermilk, coffee, and melted chocolate do all that work naturally.

3 Responses

  1. 5 stars
    I made this for a birthday party last weekend and it was a huge hit! The pistachio frosting is absolutely divine, and the coffee in the cake batter really does enhance the chocolate flavor without being noticeable. My only question: I had trouble getting the pistachio paste smooth enough; any tips for a creamier texture?

    1. Thanks, Sarah! So glad it was a hit. For a smoother paste, try pulsing the pistachios in a food processor for a full 5-7 minutes, scraping down the sides often, until it turns into a runny butter consistency before adding the oil.

  2. 4 stars
    Great recipe overall, but I found the cake a bit too dense for my liking. I might try reducing the flour by a quarter cup next time. The frosting was perfect though, not too sweet at all.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating