Preheat your oven to 350°F (175°C) and line baking sheets with parchment paper.
In a large mixing bowl, cream together the butter, granulated sugar, and brown sugar using an electric mixer until light and fluffy.
Add the eggs and vanilla extract, mixing until well combined.
In a separate bowl, whisk together the flour, cocoa powder, baking soda, and salt.
Gradually add the dry ingredients to the wet mixture, mixing until just combined. Be careful not to overmix.
If desired, fold in the chocolate chips.
Using a cookie scoop or tablespoon, drop dough onto the prepared baking sheets, spacing them about 2 inches apart.
Bake in the preheated oven for 10 to 12 minutes, or until the edges are set but the centers are still soft.
Remove from the oven and let the cookies cool on the baking sheet for a few minutes before transferring them to a cooling rack.
For extra flavor, consider adding a pinch of espresso powder to the dry ingredients.
Store cookies in an airtight container at room temperature for up to a week.
Enjoy these cookies warm or with a glass of milk.