Preheat oven to 375°F (190°C). Line baking sheets with parchment paper.
In a medium bowl, whisk together the flour, baking soda, and salt.
In a large bowl, cream together the butter, granulated sugar, and brown sugar until light and fluffy.
Beat in the eggs one at a time, then stir in the vanilla extract.
Gradually add the dry ingredients to the wet ingredients, mixing until just combined. Do not overmix.
Stir in the M&M’s.
Chill the dough for at least 30 minutes.
Drop by rounded tablespoons onto the prepared baking sheets.
Bake for 9-11 minutes, or until the edges are golden brown.
Let the cookies cool on the baking sheets for a few minutes before transferring them to a wire rack to cool completely.