In a bowl, mix together flour, cornstarch, salt and baking soda. Set aside.
2 cups all-purpose flour, 1 tablespoon cornstarch, ½ teaspoon salt, 1 teaspoon baking soda
In the bowl of a stand mixer, or using a hand mixer (see note), cream together butter and both sugars on medium speed until light and fluffy (2 to 3 minutes). With the mixer on low, add egg and vanilla. Return mixer to medium and mix until incorporated. Scrape sides if needed.
¾ cup packed brown sugar, ¾ cup unsalted butter, softened, ½ cup granulated sugar, 1 large egg, 1 teaspoon vanilla bean paste
With the mixer back on low, add dry ingredient mixture gradually until dough forms. Stir in M&Ms by hand (see note). Refrigerate dough for at least 30 minutes.
1 package (10.7 ounces) M&Ms
Preheat oven to 350°F. Line baking sheets with parchment paper or Silpat, and set aside.
Form each ball from approximately 1 tablespoon of dough. Place dough balls evenly spaced on prepared baking sheet. Allow room for spreading.
Bake for 9 to 11 minutes or until edges are just barely golden. Remove from oven and let cool for a couple of minutes on baking sheet before removing and placing on wire rack to finish cooling.
Store in airtight container when completely cooled.
Video
Notes
Butter: The butter should be softened to room temperature. It should still hold its shape when you press it with your finger. Using butter that's too warm or melted will make the cookies spread too much.
Mixer: I usually use my stand mixer (with the flat beater/paddle attachment) to make cookies but a good hand mixer works well, too. If you'd rather use arm power, that works, too.
Bakery-style cookies: To really showcase the colorful M&Ms, don't mix them all into the dough. Set a few aside to press into the surface of each cookie immediately after you take them out of the oven.
Yield: The yield will vary, depending on how large you make the cookies. I use a 1 tablespoon scoop and usually get about 4 ½ dozen.
Variations: Change it up and use mini M&Ms or another variety such as peanut butter M&Ms, dark chocolate M&Ms, mint M&Ms, and so on. M&M's in seasonal colors are fun, too.
Storage: Cookies can be kept on the counter in an airtight container for up to a week or frozen for up to 3 months.