Gather the ingredients. Preheat the oven to 325 degrees F (165 degrees C).
Combine flour, salt, and baking soda in a bowl. Set aside.
Beat butter, brown sugar, and white sugar together in a large bowl until smooth; beat in eggs, one at a time, until well combined. Stir in vanilla extract.
Stir flour mixture into butter mixture until just blended; mix in oats, walnuts, and chocolate chips. Drop batter by heaping spoonfuls onto ungreased baking sheets.
Bake in the preheated oven for 12 minutes. Cool cookies on baking sheets for 3 to 5 minutes minutes before transferring to a wire rack to cool completely.