Preheat oven to 375°F (190°C).
Line baking sheets with parchment paper.
Cream butter, granulated sugar, and brown sugar until light and fluffy.
Beat in eggs one at a time, then add vanilla extract.
Whisk flour, baking soda, and salt together.
Gradually mix dry ingredients into the wet mixture until just combined.
Fold in chocolate chips and walnuts if using.
Chill the dough for 30 minutes for thicker cookies (optional but recommended).
Scoop about 1½ tablespoons of dough onto prepared baking sheets, spacing them 2 inches apart.
Bake for 9–11 minutes, until the edges are lightly golden and the centers are still soft.
Cool on the baking sheet for 2–3 minutes, then transfer to a wire rack.
Preheat oven to 375°F (190°C).
Line baking sheets with parchment paper.
Cream butter, granulated sugar, and brown sugar until light and fluffy.
Beat in eggs one at a time, then add vanilla extract.
Whisk flour, baking soda, and salt together.
Gradually mix dry ingredients into the wet mixture until just combined.
Fold in chocolate chips and walnuts if using.
Chill the dough for 30 minutes for thicker cookies (optional but recommended).
Scoop about 1½ tablespoons of dough onto prepared baking sheets, spacing them 2 inches apart.
Bake for 9–11 minutes, until the edges are lightly golden and the centers are still soft.
Cool on the baking sheet for 2–3 minutes, then transfer to a wire rack.