01 -
Preheat your oven to 350°F (175°C). Line baking sheets with parchment paper for easy cleanup.
02 -
In a large mixing bowl, cream together the softened butter, granulated sugar, and packed brown sugar until light and fluffy.
03 -
Beat in the eggs one at a time, making sure each is fully incorporated. Stir in the vanilla extract.
04 -
In a separate bowl, whisk together the flour, cocoa powder, baking soda, and salt. Gradually add this mixture to the creamed butter mixture, stirring until well combined.
05 -
Fold in the chocolate chunks and chopped walnuts (if using) until evenly distributed throughout the dough.
06 -
Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them evenly.
07 -
Bake in the preheated oven for 10-12 minutes, or until the edges are firm. Let the cookies cool on the baking sheets for 5 minutes before transferring them to a wire rack to cool completely.