These Pistachio Chocolate Chunk Cookies are thick, chewy, loaded with roasted pistachios and dark chocolate chunks, and have that soft underbaked center that makes you want to eat them straight off the baking sheet before they’ve finished cooling. Which is a completely valid choice and one I fully support.

Pistachio Chocolate Chunk Cookies
Pistachio is my favorite nut. Has been for as long as I can remember. I will choose pistachio ice cream over every other flavor, pistachio baklava over everything else on the tray, and now apparently pistachio cookies over whatever else I was going to bake that day.
These are not the flat crispy cookies that come in a tin at Christmas. These are the big, thick, slightly underbaked in the middle, bakery style cookies that cost an embarrassing amount of money when you buy them individually wrapped in a glass case. Except you’re making them at home for a fraction of the price and they’re better because you made them and also because you can eat them warm.
The pistachio and dark chocolate combination is one of those pairings that makes complete sense the moment you taste it. Slightly salty, slightly sweet, rich, complex, and just interesting enough that people ask what’s in them before they’ve finished the first one.

Why These Cookies Are Different
Most homemade cookies are fine. These are the cookies people text you about after they’ve eaten them. The difference comes down to a few specific decisions baked into this recipe that most basic cookie recipes don’t bother with.
Extra egg yolks. The recipe calls for 2 whole eggs plus 2 additional yolks. Egg whites add structure and make cookies more cakey. Yolks add fat and richness and give you that dense fudgy chew that makes a bakery cookie taste like a bakery cookie. The extra yolks are not an accident. They’re the whole point.
Cornstarch in the dough. Three tablespoons sounds like a lot and it is intentional. Cornstarch inhibits gluten development which means a more tender crumb and a softer center without the cookie spreading out into a flat disc. It’s the ingredient that makes people say these taste like a bakery made them and then look at the recipe and not understand why.
Brown sugar over white. Well, mostly. The combination of mostly brown sugar with some white gives you moisture, chew, and that slight caramel depth that white sugar alone can’t deliver. The molasses in the brown sugar is doing real flavor work here.

About The Pistachios
Shelled roasted pistachios, roughly chopped. That’s what you want.
Roasted pistachios have a deeper, more toasty flavor than raw ones and that flavor survives the oven in a way that raw pistachios don’t quite manage. If you want to take it further, toast them yourself in a dry pan for 3 to 4 minutes until fragrant before chopping. Let them cool completely before they go into the dough or they’ll melt the butter and start the whole process prematurely.
Roughly chopped means some pieces are small, some are medium, and a few are larger. This variation in size gives you pistachio in every bite without it being uniform and predictable. The small pieces almost melt into the dough. The larger pieces give you actual crunch. Both are important.
Ingredients in Pistachio Chocolate Chunk Cookies

- Unsalted butter (1 cup, room temperature): Actually room temperature. Not slightly cold from the fridge, not melted in a moment of impatience. Soft enough that your finger leaves an indent. This is where the cookie structure starts and cold butter won’t cream properly.
- Brown sugar (1¼ cups, packed) and granulated sugar (½ cup): Mostly brown for chew and caramel depth, some white for spread and crisp edges. Both matter.
- Eggs (2 large) and egg yolks (2 large): The whole eggs provide structure. The extra yolks provide richness and that fudgy chew. Don’t skip the yolks, they’re the bakery secret hiding in plain sight.
- Vanilla extract (1 tablespoon): A full tablespoon. These are big cookies with a lot going on and they need it.
- All purpose flour (4 cups): Measure by spooning into the cup and leveling off. Scooping packs the flour and gives you too much and then the cookies are dense and sad and you’ll blame the recipe.
- Cornstarch (3 tablespoons): The tender cookie secret. See above. Don’t skip it, don’t reduce it, trust it.
- Baking soda and baking powder (1 teaspoon each): Both. They do different things. Baking soda browns the cookies, baking powder adds lift. You need both.
- Salt (1 teaspoon): In the dough. Plus flaky sea salt on top after baking if you’re making good decisions.
- Shelled roasted pistachios (1 cup, roughly chopped): My favorite nut. In cookie form. This is a good day.
- Dark chocolate (1½ cups, chopped into chunks): Chop it yourself from a good quality bar rather than using chocolate chips, if you can. Chips have stabilizers that prevent them from melting properly. Chopped chocolate melts into pools and puddles and gives you those dramatic chocolate streaks that make bakery cookies look the way they look.
- Flaky sea salt: Optional in the recipe, mandatory in my opinion. It makes the chocolate taste more chocolatey and the pistachio taste more pistachioey and that’s just science.
How to Make Pistachio Chocolate Chunk Cookies

Cream the butter and sugars: Beat the butter, brown sugar, and granulated sugar together for a full 3 to 4 minutes until pale and fluffy. I know it feels like a long time but this is where the texture of the cookie is built so put on a song and let it run. The mixture should look almost white and noticeably fluffy before anything else goes in.

Add the eggs and vanilla: Add the eggs and yolks one at a time, mixing well after each addition. Then stir in the vanilla. The dough will look glossy and smooth and smell incredible at this point. Try not to eat it. Try harder than you think you need to.

Mix the dry ingredients: Whisk the flour, cornstarch, baking soda, baking powder, and salt together in a separate bowl. Add the dry ingredients to the wet and mix just until combined. Stop the moment you don’t see flour. Overmixing at this point develops gluten and makes the cookies tough and chewy in the wrong way.

Fold in the good stuff: Fold in the pistachios and chocolate chunks until evenly distributed. Cover the dough and refrigerate for at least 1 hour. See the tip below about why this is important and why you should not skip it even though you absolutely want to.

Scoop and prep: Preheat the oven to 375°F and line baking sheets with parchment. Using a half cup cookie scoop, portion the dough into tall mounds placed at least 3 inches apart. Do not flatten them. The height of the mound is what gives you a thick cookie with a soft center rather than a flat crispy one. Press a few extra chocolate chunks and pistachio pieces on top for that bakery presentation that makes people think you really tried.

Bake the cookies: Bake for 12 to 14 minutes until the edges are lightly golden and the centers still look slightly underdone. This is correct. This is intentional. Pull them when they look like they need two more minutes. They don’t need two more minutes.

Finish and cool: Sprinkle with flaky sea salt immediately out of the oven. Let them cool on the baking sheet for 10 minutes before moving them. The centers will continue to set as they cool and if you move them too early they’ll fall apart and you’ll be sad.

The Stuff That Actually Makes a Difference
Chill the dough and don’t even think about skipping it. One hour minimum, overnight is better. Cold dough spreads less in the oven which means thicker cookies. It also gives the flour time to hydrate fully and the flavors time to develop. Baked straight from mixing the cookies spread too much, brown too fast, and lose that thick bakery center that makes this recipe worth making. The chilling is not optional. It’s the difference between a good cookie and the cookie. Set a timer and go do something else.
Cream the butter and sugar properly. 3 to 4 minutes, not 90 seconds. The mixture should be pale almost white and noticeably fluffy before you add anything else. This is where the texture of the finished cookie is built and it cannot be rushed.
Chop your own chocolate. Chocolate chips have stabilizers added specifically to help them hold their shape in the oven. Great for some things, not great here. Chopped chocolate from a good bar melts into those gorgeous streaky puddles that make bakery cookies look the way they do. Two minutes with a knife makes a visible difference in the finished cookie.
Underbake on purpose. Pull these cookies when the edges are set and golden and the centers still look slightly raw. They continue cooking on the hot baking sheet for 10 minutes after you pull them. If they look done in the oven they’ll be overdone by the time you eat them. Slightly underdone in the oven equals perfectly soft and chewy on the plate.
Tall mounds, not flat discs. When you scoop the dough, make the mounds as tall as possible. Taller mound going in equals thicker cookie coming out. Don’t press them down, don’t smooth them, just drop them and leave them alone.
Toast the pistachios if you have 5 minutes. Dry pan, medium heat, 3 to 4 minutes until fragrant. Cool completely before they go into the dough. The flavor difference is real and worth the extra step.
Flaky sea salt on top is not optional. I know the recipe says optional. The recipe is being polite. Do it.

Variations
- White chocolate instead of dark: Sweeter, creamier, and the pistachio flavor comes through even more without the bitterness of dark chocolate to compete with. Also visually beautiful with the green pistachios against the white chocolate.
- Add dried cranberries: A handful of dried cranberries folded in with the pistachios and chocolate adds a tart chewiness that works really well. The pistachio cranberry chocolate combination is genuinely excellent and very festive if you’re making these around the holidays.
- Brown the butter: Instead of room temperature butter, brown it first and let it cool until solid again before creaming. It adds a nutty caramel depth to the dough that takes these cookies somewhere even better. Worth the extra step if you have the time and patience.
- Espresso powder: A teaspoon of espresso powder added to the dry ingredients deepens the chocolate flavor without making the cookies taste like coffee. One of those invisible ingredients that makes people say there’s something about these I can’t quite place.
- Different nuts: Macadamia nuts are the most natural swap and make a very good cookie. Walnuts or pecans work too. Nothing replaces the pistachio for me personally but I understand not everyone is as committed to the pistachio as I am.
- Orange zest instead of nothing: A teaspoon of orange zest in the dough with a dark chocolate and pistachio combination is one of those flavor decisions that sounds questionable and tastes incredible. Try it once and report back.

Storage
These cookies keep in an airtight container at room temperature for up to 4 days and they actually get better on day 2 once everything has settled. If they last that long, which in my experience they don’t.
To freeze baked cookies, let them cool completely, layer between sheets of parchment in an airtight container, and freeze for up to 2 months. Thaw at room temperature for about 30 minutes and they come back almost exactly as good as fresh.
The dough also freezes beautifully. Portion into mounds, freeze solid on a baking sheet, then transfer to a freezer bag. Bake straight from frozen at 375°F adding 1 to 2 minutes to the bake time. This is genuinely one of the most useful things you can do with this recipe because it means fresh warm cookies whenever you want them with zero advance planning required. Future you will be very pleased with past you.

Try These Recipes Next
- Double Chocolate Fudge Cookies
- Cinnamon Roll Cookies with Cream Cheese Glaze
- Eat More Bars
- Lunch Lady Bars
- Almond Croissant Bars
- One Bowl Chocolate Cake

Pistachio Chocolate Chunk Cookies
Ingredients
- 1¼ cups brown sugar, packed
- ½ cup granulated sugar
- 1 cup unsalted butter, room temperature
- 2 large eggs
- 2 large egg yolks
- 1 tablespoon vanilla extract
- 4 cups all purpose flour
- 3 tablespoons cornstarch
- 1 teaspoon baking soda
- 1 teaspoon baking powder
- 1 teaspoon salt
- 1 cup shelled roasted pistachios, roughly chopped
- 1½ cups dark chocolate , chopped into chunks
- Flaky sea salt, for finishing (optional)
Instructions
- In a large bowl, beat 1 cup unsalted butter, 1¼ cups brown sugar, and ½ cup granulated sugar together for 3 to 4 minutes until pale and fluffy.

- Add 2 large eggs and 2 large egg yolks, one at a time, mixing well after each addition. Stir in 1 tablespoon vanilla extract until fully combined.

- In a separate bowl, whisk together 4 cups all purpose flour, 3 tablespoons cornstarch, 1 teaspoon baking soda, 1 teaspoon baking powder, and 1 teaspoon salt.

- Add the dry ingredients to the wet ingredients and mix just until combined. Do not overmix.

- Fold in 1 cup chopped roasted pistachios and 1½ cups chopped dark chocolate until evenly distributed throughout the dough.

- Cover the dough and chill for at least 1 hour. Chilling ensures thick cookies and prevents spreading.
- Preheat the oven to 375°F. Line baking sheets with parchment paper.
- Using a ½ cup cookie scoop, portion the dough into tall mounds and place at least 3 inches apart on the prepared baking sheets. Do not flatten.

- Press a few extra chocolate chunks and pistachio pieces onto the tops for bakery style presentation.

- Bake for 12 to 14 minutes, or until the edges are lightly golden and the centers still look slightly soft.

- Remove from the oven and sprinkle lightly with flaky sea salt, if using. Let the cookies cool on the baking sheet for 10 minutes before transferring to a wire rack. The centers will continue to set as they cool.

Recipe Notes
- Chill the dough: Minimum 1 hour, overnight is better. Cold dough spreads less, stays thicker, and develops more flavor. Don’t skip this step.
- Cream properly: 3 to 4 minutes until pale and fluffy. Not 90 seconds. The texture of the finished cookie depends on this step being done properly.
- Extra egg yolks: They add fat, richness, and that fudgy chew that makes bakery cookies taste like bakery cookies. Don’t leave them out.
- Cornstarch: 3 tablespoons inhibits gluten development and gives you a softer tender crumb without the cookie spreading flat. Trust it.
- Chop your own chocolate: Chocolate chips have stabilizers that prevent melting. Chopped chocolate from a good bar melts into pools and puddles. The difference is visible and delicious.
- Tall mounds: Don’t flatten the dough before baking. The height going in determines the thickness coming out.
- Underbake on purpose: Pull when the edges are golden and the centers still look slightly soft. They set as they cool on the baking sheet.
- Toast the pistachios: Optional but worth it. Dry pan, medium heat, 3 to 4 minutes. Cool completely before adding to the dough.
- Flaky sea salt: The recipe says optional. It’s not optional.
- Freeze the dough: Portion into mounds, freeze solid, transfer to a bag. Bake from frozen at 375°F adding 1 to 2 minutes. Extremely useful.
- Storage: Airtight container at room temperature for up to 4 days. They get better on day 2.
Nutrition Information
Frequently Asked Questions
Yes. Use a smaller scoop and reduce the bake time to 9 to 11 minutes. Keep an eye on them since smaller cookies overbake faster. The bakery style thick center is harder to achieve in a smaller cookie but they’ll still be excellent.
I’d really rather you didn’t. The cookies will spread more, brown faster, and lose the thick center that makes these worth making. If you’re genuinely in a hurry, 30 minutes in the freezer instead of an hour in the fridge is a reasonable compromise.
Yes but I’d stay with dark. The slight bitterness of dark chocolate balances the sweetness of the dough and the saltiness of the pistachio in a way milk chocolate doesn’t quite manage. If dark chocolate is too intense for you, a semi-sweet bar is the middle ground.
Yes but reduce the salt in the dough slightly to compensate. The flaky sea salt on top also becomes more optional at that point since the saltiness is already in the cookie.
Yes. Portion into mounds, freeze on a baking sheet until solid, then transfer to a freezer bag. Bake from frozen at 375°F adding 1 to 2 minutes to the bake time. This is genuinely one of the most useful things you can do with this recipe. Future you will be very grateful.
Almost always one of three things. The butter was too warm and melted rather than creamed, the dough wasn’t chilled long enough, or the flour was measured by scooping which packs too much in. Fix all three and the problem goes away.








Leave a Reply