Preheat the oven to 350°F (175°C). Line baking sheets with parchment paper.
Cream butter, brown sugar, and white sugar in a mixing bowl until light and fluffy.
Add eggs and vanilla extract, mixing until combined.
In a separate bowl, whisk flour, baking soda, and salt. Slowly add to the wet mixture.
Gently fold in M&M candies, reserving a few to press on top for a bakery-style look.
Scoop dough onto prepared baking sheets, spacing about two inches apart.
Bake for 9 to 11 minutes, until the edges are golden but the centers remain soft.
Cool on the sheet for five minutes before transferring to a wire rack.
