Soft in the center, lightly crisp at the edges, and packed with colorful chocolate candy, these cookies are the kind of treat that works for birthdays, bake sales, lunchboxes, holidays, and casual weekend baking. This how-to guide walks you through a reliable M&M cookie recipe from start to finish, including how to mix the dough, chill it, shape it, bake it, and store the cookies so they stay tender.
Whether you call them M&M cookies, candy cookies, or you searched for a m amp m cookie recipe and landed here, the goal is simple: bakery-style cookies with chewy centers, bright candy pieces, and a dough that does not spread into thin, flat disks.

What Makes These Cookies So Good
A great M&M cookie is more than sugar, butter, and candy. The best version has balance:
- Brown sugar for chewiness: Brown sugar adds moisture and a deeper flavor.
- Granulated sugar for crisp edges: A little white sugar helps the edges set beautifully.
- Softened butter for easy mixing: Butter should be soft enough to cream, but not melted.
- A short chill time: Chilling helps the m&m cookie dough firm up, which reduces spreading.
- Extra candy on top: Pressing a few M&M’s into each dough ball before baking gives the cookies a colorful, bakery-style look.
This m&m cookie recipe is flexible enough for everyday baking but special enough for parties and holidays.
Ingredients You’ll Need
Gather everything before you start so the process feels easy and organized.
Dry Ingredients
- 2 1/2 cups all-purpose flour
- 1 teaspoon baking soda
- 1 teaspoon cornstarch
- 1/2 teaspoon fine salt
Wet Ingredients
- 3/4 cup unsalted butter, softened
- 3/4 cup packed light brown sugar
- 1/2 cup granulated sugar
- 2 large eggs, room temperature if possible
- 2 teaspoons vanilla extract
Mix-Ins
- 1 1/4 cups M&M’s, plus extra for topping
- 1/2 cup semi-sweet chocolate chips, optional but recommended
The chocolate chips are optional, but they add melted pockets of chocolate between the candy pieces. If you prefer a classic candy-only cookie, simply leave them out and use a little more M&M’s instead.
Equipment
You do not need fancy equipment to make m&m cookies, but a few basics help:
- Large mixing bowl
- Medium mixing bowl
- Hand mixer or stand mixer
- Measuring cups and spoons
- Rubber spatula
- Baking sheets
- Parchment paper
- Cookie scoop or spoon
- Wire cooling rack
A cookie scoop is especially useful because evenly sized dough balls bake at the same rate.
Step 1: Soften the Butter Correctly
Start with butter that is softened but still cool. It should press easily when you touch it, but it should not look oily or melted. If the butter is too warm, the dough can become greasy and the cookies may spread too much.
If you forgot to take the butter out ahead of time, cut it into small pieces and let it sit at room temperature for 15 to 20 minutes. Avoid microwaving it unless you can do so very gently, because melted spots can change the texture of the dough.
Step 2: Mix the Dry Ingredients
In a medium bowl, whisk together the flour, baking soda, cornstarch, and salt.
This step may seem small, but it matters. Whisking the dry ingredients helps distribute the leavening evenly, so every cookie bakes with the same texture. Cornstarch gives the cookies a softer bite and helps create that tender center people love in a good m&m cookie recipe.
Step 3: Cream the Butter and Sugars
In a large bowl, beat the softened butter, brown sugar, and granulated sugar together until the mixture looks creamy and slightly fluffy. This usually takes 2 to 3 minutes with a hand mixer or stand mixer.
Do not rush this step. Creaming creates tiny air pockets in the dough, which helps the cookies bake up thick and soft instead of dense.
Scrape down the sides of the bowl with a rubber spatula so no streaks of butter or sugar are left behind.
Step 4: Add the Eggs and Vanilla
Add the eggs one at a time, mixing well after each addition. Then add the vanilla extract and mix until combined.
The dough may look smooth and glossy at this stage. If it looks slightly separated, do not worry. It will come together once the flour mixture is added.
For the best flavor, use pure vanilla extract if you have it. It gives the cookies a warm, sweet aroma that pairs perfectly with chocolate candy.
Step 5: Combine Wet and Dry Ingredients
Add the dry ingredients to the wet ingredients in two or three additions. Mix on low speed, or stir by hand, just until no dry streaks remain.
Be careful not to overmix. Once flour is added, too much mixing can make cookies tougher. The dough should look thick, soft, and scoopable.
If the dough seems slightly sticky, that is normal. It will firm up during chilling.
Step 6: Fold in the M&M’s
Add the M&M’s and chocolate chips, if using. Fold them in gently with a spatula so they are evenly distributed throughout the dough.
Save a small handful of M&M’s for the tops of the cookies. This little finishing step makes a big visual difference and helps your m&m cookies look colorful after baking.
Avoid mixing too aggressively at this stage, because candy shells can crack and streak color through the dough. A few cracks are fine, but gentle folding keeps the cookies looking bright and clean.
Step 7: Chill the Dough
“Once you master this perfect M&M cookie recipe, you will see how easy it is to customize the dough with your favorite colors.”
Cover the bowl and chill the dough for at least 30 minutes. If you have time, 1 to 2 hours is even better.
Chilling the m&m cookie dough helps the butter firm up and gives the flour time to hydrate. This means thicker cookies, better flavor, and less spreading in the oven.
If you chill the dough for more than 2 hours, it may become quite firm. Let it sit at room temperature for 10 minutes before scooping.

Step 8: Preheat the Oven and Prepare the Baking Sheets
Preheat your oven to 350°F. Line baking sheets with parchment paper.
Parchment helps prevent sticking and encourages even browning. It also makes cleanup easier, which is always a bonus.
Avoid greasing the baking sheet directly, because extra grease can cause the cookies to spread more than you want.
Step 9: Scoop and Shape the Cookies
Scoop the dough into balls using about 2 tablespoons of dough per cookie. Place the dough balls 2 inches apart on the prepared baking sheets.
For thicker cookies, keep the dough balls slightly tall rather than flattening them. Press a few extra M&M’s onto the top of each dough ball before baking.
If you want a picture-perfect finish, use a mix of colors on top and place them where they will be visible after spreading.
Step 10: Bake Until the Edges Are Set
Bake the cookies for 9 to 11 minutes, or until the edges look set and the centers still look slightly soft.
Do not wait for the centers to look fully baked in the oven. The cookies will continue to set on the hot baking sheet after you remove them. Pulling them out while the centers are still soft is one of the secrets to chewy M&M cookies.
If your cookies look puffed when they come out, that is normal. They will settle as they cool.

Step 11: Cool the Cookies Properly
Let the cookies cool on the baking sheet for 5 minutes. Then transfer them to a wire rack to cool completely.
This short rest helps the cookies firm up without overbaking. If you move them too soon, they may break apart. If you leave them on the hot pan too long, the bottoms may become too firm.
For extra round cookies, you can gently nudge the edges with a round cookie cutter or glass immediately after baking. This is optional, but it creates a polished bakery-style shape.
Tips for the Best Results
This perfect M&M cookie recipe is a family favorite for weekend treats. Use these simple tips to make your cookies turn out beautifully every time:
Measure Flour Carefully
Too much flour can make cookies dry and cakey. For the most accurate result, spoon flour into the measuring cup and level it off with a flat edge. Do not pack it down.
Don’t Skip the Chill Time
You can bake the dough right away if you are in a hurry, but chilled dough usually makes thicker, more flavorful cookies. Even 30 minutes helps.
Bake One Sheet at a Time
For the most even baking, place one baking sheet in the center of the oven. If you bake two sheets at once, rotate them halfway through.
Use Fresh Baking Soda
Old baking soda can lose strength, which may affect the rise and texture of your cookies. If yours has been sitting in the pantry for a long time, it may be worth replacing.
Add Candy on Top Before Baking
Some candy pieces get hidden inside the dough. Pressing extra M&M’s on top before baking gives each cookie a colorful finish.
Flavor Variations
Once you master the basic m&m cookie recipe, try changing it up for different occasions.
Peanut Butter M&M Cookies
Replace 1/4 cup of the butter with creamy peanut butter. The cookies will have a subtle peanut flavor that pairs well with chocolate candy.
Holiday M&M Cookies
Use seasonal M&M colors for Christmas, Halloween, Easter, Valentine’s Day, or birthday parties. The dough stays the same, but the cookies instantly match the celebration.
Extra Chocolate M&M Cookies
Add 2 tablespoons of unsweetened cocoa powder to the dry ingredients and reduce the flour by 2 tablespoons. This creates a chocolate cookie base with colorful candy throughout.
Oatmeal M&M Cookies
Replace 1/2 cup of the flour with quick oats or old-fashioned oats. The texture becomes heartier while still staying soft and chewy.
Mini M&M Cookies
Use mini M&M’s and scoop the dough into smaller 1-tablespoon portions. Start checking them after 7 minutes, since smaller cookies bake faster.
How to Store M&M Cookies
Store cooled cookies in an airtight container at room temperature for up to 4 days. To help keep them soft, place a small piece of sandwich bread in the container. The bread helps maintain moisture, but replace it if it becomes dry.
If stacking the cookies, place parchment between layers to protect the candy tops.
How to Freeze the Dough
This dough freezes well, which makes it great for future baking.
To freeze the dough:
- Scoop the dough into balls.
- Place the dough balls on a parchment-lined baking sheet.
- Freeze until firm.
- Transfer the frozen dough balls to a freezer-safe bag or container.
- Label with the date and baking temperature.
When ready to bake, place frozen dough balls on a lined baking sheet and bake from frozen. Add 1 to 2 extra minutes to the bake time as needed.
For the best appearance, press a few fresh M&M’s on top of the frozen dough before baking.
How to Freeze Baked Cookies
Let the cookies cool completely, then place them in a freezer-safe container. Freeze for up to 2 months.
To serve, thaw at room temperature. If you like warm cookies, heat one briefly in the microwave until just softened. Be careful not to overheat, because the candy can become very hot.
Troubleshooting Common Cookie Problems
Why Did My Cookies Spread Too Much?
The butter may have been too warm, the dough may not have chilled long enough, or the baking sheet may have been hot from a previous batch. Use cool baking sheets and chill the dough before baking.
Why Are My Cookies Dry?
Dry cookies usually come from too much flour or overbaking. Measure flour gently and remove the cookies when the centers still look soft.
Why Are My Cookies Too Puffy?
The dough may have been very cold, or there may be a little too much flour. Let the dough sit for a few minutes before baking the next batch.
Why Did the M&M’s Crack?
Some cracking is normal during baking. To keep the tops looking bright, reserve extra candy and press it into the cookies immediately after they come out of the oven.
Make-Ahead Plan
If you want fresh cookies for a party or gathering, prepare the dough the day before. Chill it overnight, then scoop and bake the next day.
You can also scoop the dough before chilling. Place dough balls in an airtight container with parchment between layers, then refrigerate. This makes baking faster and less messy when guests are on the way.
Serving Ideas
This perfect M&M cookie recipe is so versatile, so here are a few fun ways to serve them: These cookies are delicious on their own, but you can also serve them in fun ways:
- With a cold glass of milk
- Alongside vanilla ice cream
- Crumbled over a sundae
- Packed into lunchboxes
- Wrapped in treat bags for parties
- Added to a holiday cookie tray
For a simple dessert, sandwich a scoop of ice cream between two fully cooled cookies and freeze until firm.

Final Baking Notes
“If you have any leftovers, this perfect M&M cookie recipe stays soft and chewy even the next day.”
The key to this recipe is paying attention to texture. Use softened butter, mix the dough just until combined, chill before baking, and remove the cookies while the centers still look slightly underdone. These small steps create soft, chewy m&m cookies with crisp edges and plenty of colorful candy in every bite.
Once you make this m&m cookie recipe a few times, it is easy to customize for any season, celebration, or craving. Keep a batch of dough in the freezer, and you can have warm homemade cookies whenever the mood strikes.
