Into a large mixing bowl, add the cooled melted butter, granulated sugar, brown sugar, vanilla extract, and kosher salt, and mix with a whisk until well combined.
Add the eggs, and mix until well combined and smooth.
Sift the cocoa powder into the mixture and mix with a whisk until well combined.
Add the flour and baking soda and mix until almost combined.
Add the chocolate chunks and mix until just combined and there are no lumps of flour showing. Do not overmix the dough to keep these cookies fudgy!
Cover the bowl with plastic wrap and let the dough rest in the fridge for at least an hour.
Meanwhile, make the peanut butter filling. In a medium-sized mixing bowl, add the peanut butter, softened butter, powdered sugar, salt, and vanilla extract, and mix with a spoon until well combined and creamy.
Preheat an oven to 180c (350f) and prepare a baking sheet with parchment paper.
Use a cookie scoop to scoop out the cookies or scoop the cookies with a regular tablespoon, 1 ½ tablespoons at a time.
Place the cookie dough balls onto a parchment paper-lined baking sheet and bake in a 180c (350f) preheated oven for 12-14 minutes.
Let the cookies cool for 5 minutes, and then transfer them to a wire rack to cool completely.
While you allow your cookie to cool, make the chocolate topping. Melt dark chocolate and heavy cream in a small to medium mixing bowl in the microwave for about 50 seconds.
Let the chocolate and the cream sit for 10 minutes for the chocolate to melt, then mix until is smooth and silky.
Assembly
Scoop the peanut butter mixture with a 1 tablespoon cookie scoop and roll it into a ball with your clean hands. Then flatten it out into a disk and layer each cookie with a disk of peanut butter. Press it down so it will stick to the cookie.
Then, top the peanut butter layer with 1 teaspoon of the melted chocolate mixture and spread an even layer of it. Garnish with flakey salt if desired and serve!
Notes
Use room temperature ingredients. It is important that you use room-temperature ingredients like eggs. This step ensures that your mixture mixes into a homogenous mixture and bakes perfectly.
Don’t overmix the dough, you don’t want to develop the gluten in the flour. This step ensures you have moist cookies and not dense and dry cookies.
Measure your flour correctly! When measuring your flour, avoid scooping it with a measuring cup. Instead, stir the flour with a spoon to create as many air pockets as possible, and spoon it into your measuring cup. Finally, level it with a back of a knife.
Line your sheet pan with parchment paper or a silicone mat! This step helps the cookies to bake evenly, and it makes sure that your brown butter chocolate chunk cookies release easily from the pan.
Use a cookies scoop to scoop out the cookies, that way you will have even-sized cookies, plus it ensures that your cookies bake evenly.
Chill the dough! This step is crucial and prevents the cookies to spread out too much. After making the cookie dough, cover the bowl with plastic wrap or a clean towel, and chill the dough in the fridge for at least 1 hour.
Be patient! I know it’s incredibly tempting to eat these cookies as they are pulled out of the oven, but let these cookies cool for at least 15 minutes so they will be more firm and won’t crumble up.
Let these cookies cool for 5 minutes and then transfer them to a wire rack to cool for at least 10 more minutes. This step ensures that the bottom of your cookies will not be soggy from the steam.