The Best Homemade M&M Cookie Recipe

Recipe
There’s something magical about biting into a soft, chewy M&M cookie—crisp edges giving way to a buttery center packed with colorful candy-coated chocolate. This recipe? It’s the *only* one you’ll ever need.
I’ve tweaked it over years of baking (and taste-testing), landing on the perfect balance of rich dough and melty M&Ms that stay vibrant even after baking. The secret? A touch of cornstarch for that bakery-style texture and a generous hand with the mix-ins—because every bite should be a confetti party of flavor.
Trust me, your kitchen will smell like a carnival, and these cookies will disappear faster than you can say, “Just one more!”
Ingredients
For the ultimate M&M cookies, the right ingredients are key to achieving that perfect balance of chewy, crunchy, and colorful. Quality matters here—don’t skimp on the butter or vanilla, as they’re the backbone of flavor. And while you can swap a few things, some ingredients are non-negotiable for that bakery-style result.
Essential Ingredients
- Unsalted butter (room temperature) – Softened butter creams better, giving the cookies a rich, tender texture. If you only have salted butter, reduce the added salt by half.
- Granulated sugar – Adds sweetness and helps create a crispy edge.
- Brown sugar – Its moisture guarantees chewiness. Light or dark works, but dark brown sugar adds a deeper flavor.
- Eggs (room temperature) – Helps bind the dough and adds richness.
- Pure vanilla extract – A splash of the real stuff elevates the flavor. Imitation vanilla just won’t cut it here.
Dry Ingredients
- All-purpose flour – The foundation of the cookie. For a slightly chewier texture, swap in bread flour.
- Baking soda – Gives the cookies their lift and spread.
- Salt – Balances the sweetness. Use kosher salt for even distribution.
Star Ingredient
– M&M’s – The classic candy-coated chocolates are a must. Use the regular-sized ones for even distribution, or mini M&M’s for a more colorful look.
Optional Add-Ons
- Chocolate chips – Mix in semi-sweet or dark chocolate chips for extra indulgence.
- Sea salt flakes – A sprinkle on top before baking adds a gourmet touch.
Pro Tips
- Use room temperature ingredients for a smoother dough.
- Don’t overmix the dough—just until the ingredients are combined to avoid tough cookies.
- Reserve a few M&M’s to press into the tops of the cookies before baking for a picture-perfect look.
How to Make the Best Best M&M Cookie Recipe

6. Fold in M&Ms gently – Reserve some to press on top of dough balls for a bakery-style look. *Pro tip: Toss M&Ms in a bit of flour to prevent sinking.*
7. Scoop dough into 2-tablespoon balls and place on a lined baking sheet – Leave 2 inches between cookies—they’ll spread!
Chill dough for 10 minutes if it’s too soft.
8. Bake for 9–11 minutes – Edges should be lightly golden; centers will look slightly underdone (they firm up as they cool).
*Warning: Overbaking = crispy cookies!*
9. Let cookies cool on the baking sheet for 5 minutes – They’ll finish setting.
Transfer to a wire rack to cool completely—if you can wait!
Nutrition
This M&M cookie recipe is a delicious treat that’s perfect for any occasion. Here’s the nutritional information per serving.
| Nutrition Facts | Per Serving |
|---|---|
| Calories | 150 |
| Total Fat | 7g |
| Saturated Fat | 4g |
| Cholesterol | 20mg |
| Sodium | 85mg |
| Total Carbs | 20g |
| Dietary Fiber | 1g |
| Sugars | 12g |
| Protein | 2g |
Chef Tips
Getting perfect M&M cookies every time starts with a few simple tricks. I always chill the dough for at least 30 minutes—it prevents spreading and keeps them chewy.
Don’t overmix; just combine until smooth.
Use room-temperature butter for even creaming.
Press extra M&Ms on top before baking for a polished look.
Finally, let them cool on the baking sheet for 5 minutes to set perfectly.
Frequently Asked Questions
Can I Use Different Candy Colors?
Yes, you can use different candy colors—I’ve swapped M&Ms for other colorful candies before. Just make sure they’re similar in size so they bake evenly. I love how it changes the look!
How Long Do These Cookies Stay Fresh?
Your cookies will stay fresh for about 3-5 days if stored in an airtight container at room temperature. I’d recommend eating them sooner though—they’re best when warm and gooey right out of the oven!
Can I Freeze the Dough?
Yes, I can freeze the dough. I’d scoop it into balls, freeze ’em on a tray, then store ’em in a bag for up to three months. When I’m ready, I’ll bake ’em straight from the freezer.
What’s the Best Way to Store Cookies?
I keep my cookies fresh in an airtight container at room temp for up to a week. If I want them to last longer, I’ll freeze them—just layer them with parchment paper so they don’t stick.
Can I Make These Gluten-Free?
Sure, I can make them gluten-free! I’d swap regular flour for a gluten-free blend, like almond or oat flour. It’s easy, and they’ll still taste amazing—just tweak the recipe and enjoy!
