Desserts
This best M&M cookie recipe in the world isn’t just another dessert—it’s the kind that makes people pause mid-bite, eyes wide, as rivers of melted chocolate ooze from the center. 💛 I’ve baked hundreds of variations, and this one delivers the perfect balance: crispy edges that shatter like glass, a chewy interior that clings to your teeth, and M&Ms that stay perfectly crunchy until the very last bite.
The secret? A precise mix of brown and white sugar, plus a technique that ensures those chocolate candies melt just enough to create golden rivers without disappearing completely.
What sets these apart from your average M&M cookie is the dough—it’s sturdy enough to hold its shape during baking but tender enough to create that signature chewy texture.
I use a combination of butter and shortening for the right balance of flavor and structure, and the addition of cornstarch keeps the cookies from spreading too much.
The M&Ms aren’t just an afterthought; they’re the star, and we’ll press them into the dough so they bake into the cookie rather than melting away.
By the time these come out of the oven, you’ll have cookies that look like they belong in a bakery display case—golden brown with glossy chocolate rivers and those signature M&M colors peeking through.
The aroma alone will have everyone in the house gathering around the cooling rack, and the first bite delivers that perfect contrast: crispy shell, melty chocolate, and a satisfying crunch from the M&Ms. These aren’t just cookies; they’re an experience.
Want to take them even further? Swap in dark chocolate M&Ms for a richer flavor, or fold in peanut butter chips for a twist on the classic. The dough keeps well for up to 48 hours, so you can prep ahead and bake fresh whenever the craving hits.
Let’s make these—the best M&M cookies you’ll ever taste.
Ingredients for best m&m cookie recipe in the world
The secret ingredients to these legendary cookies—crispy edges, chewy centers, and rivers of melted chocolate.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 3 ½ cups | Spooning into cup, level off |
| Granulated White Sugar 🍚 | 1 ½ cups | Packed lightly, not compacted |
| Packed Light Brown Sugar 🍯 | 1 ½ cups | With molasses, not dark brown |
| Unsalted Butter 🧈 | 1 cup | Cold, cubed, not melted |
| Vegetable Shortening 🧈 | ½ cup | For structure and chewiness |
| Large Eggs 🥚 | 2 whole | Room temperature for blending |
| Vanilla Extract 🌸 | 2 tsp | Pure vanilla, not imitation |
| Cornstarch 🌾 | ¼ cup | Prevents excessive spreading |
| Baking Soda 🧂 | ½ tsp | Freshly opened for potency |
| Salt 🧂 | 1 tsp | Diamond Crystal preferred |
| Milk Chocolate M&Ms 🍫 | 2 cups | Original, not mini or dark |
| Peanut Butter Chips 🥜 | 1 cup | Optional for extra flavor |
The sugars are non-negotiable. Domino brand flour is my go-to for consistency, but any all-purpose works. For the brown sugar, Light Brown from Wholesale Club has the perfect molasses content—no need for fancy brands. The M&Ms? Original milk chocolate is a must; dark chocolate M&Ms melt differently and can alter the texture. I always buy them in bulk from Costco—cheaper and they last forever. The peanut butter chips add that signature flavor, but if you're feeling adventurous, try white chocolate chips or even crushed pretzels for a twist. Just make sure they're name-brand chips—store brands can be inconsistent in size and quality.
No vanilla extract? Vanilla bean paste works wonders, or a scraped vanilla bean. Shortening out of stock? Coconut oil is a decent substitute, though the texture might be slightly different. Forgot the cornstarch? Extra flour at half the amount can help, but you’ll lose that signature crispness. The dough needs to be sturdy but not dry—if it feels too crumbly, add a splash of milk. And trust me on the cold butter: Don’t melt it. Cubed butter creates pockets that give those glorious chocolate rivers when baked. Pro tip: Chill your dough for 30 minutes before scooping—it makes all the difference in shape and texture.
This dough keeps for up to 48 hours in the fridge, wrapped tightly in plastic. For longer storage, freeze portions for up to 3 months. I like to portion it into golf-ball-sized balls before freezing—just bake straight from frozen, adding 2-3 minutes to the time. Baked cookies? Store in an airtight container with parchment between layers to keep them crisp. They’re best eaten within 5 days, though I’ve been known to sneak one straight from the cooling rack. And if you’re making these for a crowd, double the recipe—they disappear faster than you can say 'chocolate rivers.'
Why You'll Love This Recipe
- No Mixer Needed: I swear by this dough—just creaming butter and shortening until it’s light, then folding in M&Ms like you’re tucking in treasure. The texture comes from that combo of sugars and flour, but honestly? You could do it with a fork if you’re in a rush.
- Melty M&M Magic: That crispy edge with the gooey, caramelized center? The brown sugar and butter work together like a dream, while the M&Ms stay just soft enough to melt into every bite. (Yes, even the white ones—no one skips those.)
- Party in a Jar: Between us, these are my go-to for holidays, bake sales, or when my kid’s soccer team needs snacks. Double the dough, freeze half, and boom—you’ve got a crowd-pleaser that tastes homemade but takes zero last-minute stress.
- Budget-Friendly Indulgence: Flour, sugar, butter—these are pantry staples, and a bag of M&Ms stretches further than you’d think. Plus, the shortening keeps them rich without breaking the bank. I’ve made 36 cookies for $5 before, and no one ever guessed.
Step-by-step instructions for M&M cookie masterpiece
Here's how to create cookies so legendary they'll become your new signature treat.
👨🍳 Step 1: Cream Butter and Sugars to Peak Fluffiness
In a stand mixer fitted with the paddle attachment, combine the 1 cup unsalted butter and both sugars (1.5 cups granulated white sugar, 1.5 cups packed light brown sugar). Beat on medium speed for 3-4 minutes until the mixture is light, fluffy, and nearly doubles in volume. You'll see it go from pale to creamy with ribbons forming when you lift the paddle.
This creaming process is non-negotiable—it incorporates air that will create those signature crackly tops. I press down on the mixture with a spatula every 30 seconds to ensure even blending. If you rush this, your cookies will be dense instead of chewy with crisp edges.
👨🍳 Step 2: Add Eggs, Vanilla, and Dry Ingredients
Add the 2 whole large eggs one at a time, mixing on low speed for 30 seconds after each addition until fully incorporated. Then stir in the 2 teaspoons vanilla extract. Remove the bowl from the mixer and whisk in the 3.5 cups all-purpose flour, 0.25 cup cornstarch, 0.5 teaspoon baking soda, and 1 teaspoon salt until just combined—you should still see some flour streaks.
Overmixing develops gluten and makes cookies tough, so stop as soon as everything comes together. The dough will look shaggy but will come together beautifully when you fold in the M&Ms. Here's the thing—don't skip the cornstarch. It's what prevents these cookies from spreading into flat pancakes in the oven.
🥘 Step 3: Fold in M&Ms and Chill for Perfect Texture
Using a silicone spatula, gently fold in the 2 cups milk chocolate M&Ms and 1 cup peanut butter chips (if using). Be careful not to break the M&Ms—they should remain whole for that perfect crunch. Divide the dough into 24 equal portions (about 2 tablespoons each) and roll each into a ball. Place them on a parchment-lined baking sheet, spacing them 2 inches apart—they'll spread!
Cover the baking sheet with plastic wrap and refrigerate for at least 1 hour (or up to 24 hours). This chilling step is crucial—it prevents excessive spreading and allows the flour to fully hydrate. I like to chill mine overnight because the flavor develops deeper overnight, and the cookies hold their shape better when they hit the oven.
🔥 Step 4: Bake to Golden Perfection
Preheat your oven to 375°F. Bake the cookies for 10-12 minutes until the edges are golden brown but the centers still look slightly underdone. They'll continue cooking on the hot pan after you remove them from the oven. The tops should have those beautiful crackly lines, and the M&Ms should be just starting to melt—this is where the magic happens!
Don't overbake! You want them to be soft in the center with just a hint of gooey chocolate. If you pull them out too soon, the chocolate won't melt properly. If you leave them in too long, they'll dry out. The 10-12 minute window is your sweet spot for that perfect balance of crispy edges and melty centers.
⏰ Step 5: Cool and Enjoy (The Hardest Part!)
Let the cookies cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely. This brief rest prevents the bottoms from cracking as they firm up. The moment they're cool enough to handle, they'll be irresistible—crispy edges with rivers of melted chocolate oozing out.
Here's my pro tip: Serve them warm with a glass of cold milk for the ultimate experience. The contrast of temperatures makes every bite even more decadent. Store leftovers in an airtight container for up to 5 days, but honestly? They won't last that long.
Pro Tips For Making Best M&M Cookie Recipe In The World
- Chill the Dough Longer: I learned this the hard way—rushing the 24-hour fridge rest means chewy, dense cookies instead of crisp edges and a melt-in-your-mouth center. If you’re short on time, at least let it sit in the freezer for 4 hours (yes, even if you’re impatient like me).
- Cut the Butter Shortening Cold: Use ice-cold butter and shortening straight from the fridge, or even frozen for 10 minutes. Warm fat = greasy cookies that spread like pancakes. The cold mix stays firm, holds its shape, and gives that perfect snap when you bite in.
- Don’t Overmix the Dough: Stop stirring the moment the flour disappears—overmixing develops the gluten, and that’s how you end up with tough, brick-like cookies. Two minutes max after adding the wet ingredients, then fold in the M&Ms by hand (they’ll stay whole and distribute evenly).
- Bake Two Trays at Once: Preheat the oven to 375°F (non-negotiable for this recipe) and bake both trays simultaneously on the middle rack. The oven’s hot spots will balance out, and you’ll get even golden-brown cookies instead of one tray underdone and one burned. Rotate the pans halfway through for extra insurance.
Troubleshooting your best m&m cookie recipe in the world
Dough Too Sticky
If your dough feels like playdough and refuses to hold its shape, you likely added too much liquid. The fix? Sprinkle in 1 tablespoon of flour at a time while gently mixing until it comes together.
I’ve found that chilling the dough for 30 extra minutes after adding flour helps it firm up better. Remember, the dough should be soft but manageable—not sticky enough to leave a mess on your hands. 💛
Cookies Spread Too Much
Over-spreading is usually a sign of warm dough or too much butter. First, make sure your dough has chilled for at least 1 hour—this is non-negotiable.
If your oven runs hot, try baking at 350°F instead of 375°F. I also recommend using a light-colored baking sheet (like aluminum) to reflect heat better. For extra insurance, flatten your dough balls slightly before baking—this helps them maintain shape while still giving that classic cookie texture.
M&Ms Melt Completely
If your M&Ms disappear into chocolate pools, your oven might be too hot or the cookies baked too long. The ideal bake time is 10-12 minutes at 375°F—pull them out when the edges are golden but the centers still look slightly soft.
Pro tip: Use a timer and check at 10 minutes to avoid overbaking. If you’re worried about melting, try pressing the M&Ms into the dough after chilling—this gives them a better chance to stay intact during baking.
Cookies Too Dense
Dense cookies often mean overmixing or not creaming the butter and sugars properly. Start by ensuring you cream the butter and sugars for the full 3-4 minutes—this incorporates air for a lighter texture. Also, don’t overmix the dry ingredients; just combine until flour streaks disappear.
If your dough feels dry, add 1 teaspoon of milk at a time until it holds together. And trust me, skipping the cornstarch is a one-way ticket to dense cookies—it’s what gives them that signature crispness!
Chocolate Rivers Not Forming
Those gorgeous chocolate rivers happen when the M&Ms melt just enough to create pockets of gooey goodness. If yours aren’t forming, your oven might not be hot enough or the cookies baked too briefly.
Try increasing the bake time by 1-2 minutes or bumping the temperature to 385°F for the last minute. Another trick? Press the M&Ms into the dough slightly deeper—this helps them melt into the cookie rather than just sitting on top. The result?
Perfect rivers of melted chocolate that make every bite worth it! 🔥
Nutrition facts
Frequently asked questions
Can I substitute regular chocolate chips for M&Ms?
While you can use chocolate chips, they won’t give the same signature look or crunch. For a similar effect, try using white chocolate chips or chocolate-covered pretzels—but nothing beats the vibrant colors and satisfying crunch of M&Ms. If you’re set on chips, use 1 cup less since they’re softer and will melt more during baking.
How do I make these cookies gluten-free?
Swap the all-purpose flour for a 1:1 gluten-free baking flour blend like Bob’s Red Mill. You’ll likely need an extra 0.25 teaspoon xanthan gum to help bind the dough. Chill the dough longer (up to 2 hours) since gluten-free doughs spread more. For best results, use a gluten-free cornstarch substitute too.
Why do some M&Ms turn white after baking?
That’s just the milk chocolate reacting to heat! The sugars in the M&Ms caramelize slightly, creating a creamy white coating. It’s normal and actually adds to the flavor. If you want to prevent it, try baking at 350°F instead of 375°F for a slightly longer time (13-15 minutes).
Can I make these cookies ahead of time?
The dough keeps for 48 hours in the fridge, and baked cookies stay fresh for 5 days in an airtight container. For extra prep, freeze dough balls for 3 months—bake straight from frozen, adding 2-3 extra minutes. The flavor actually improves after chilling, so overnight dough is ideal!
What’s the secret to getting those perfect chocolate rivers?
The magic happens when M&Ms melt just enough to create pockets of gooey chocolate. Press them slightly deeper into the dough and bake at 375°F for 10-12 minutes—edges should be golden but centers still soft. For extra rivers, try using mini M&Ms (press more into each cookie) or adding a few extra peanut butter chips.
