M&M Cookies

5 from 15 votes
↓ Jump to Recipe 2

This post may contain affiliate links | disclosure policy

Are you looking to put a big smile on someone’s face? Because that tends to happen with these colorful M&M cookies! People can’t resist the perfect combination of flavor, crisp edges, and soft, chewy centers.

Colorful M&M cookies on a white plate.

Since my classic chocolate chip cookie recipe is a massive hit with readers, there’s no use reinventing the wheel. I have taken this recipe’s base dough and added colorful chocolate M&M candies and brown butter. It may take a few extra minutes to brown the butter, but trust me, it’s worth the effort!

Of course, the shell on the milk chocolate candies is not just for looks. It adds a delightful sweetness and crunch to each bite. However, to still get the gooey melted cocoa experience, I still fold a few chips into the batter. Be sure to have a glass of milk handy, as you may have the urge to dunk.

Ingredients portioned out to make cookies with m&m candies.

Stir the dry ingredients

Stirring flour and baking soda in a bowl using a whisk.
Step 1. Prepare dry ingredients

This m&m cookie recipe uses all-purpose flour, which has a moderate amount of protein, 10 to 13%. This develops a denser chew structure instead of a light and cakey experience. Baking soda enhances the surface browning while lifting and spreading for crisp edges.

I stir the dry ingredients into the butter mixture by hand to prevent overmixing. You just want the flour to be hydrated.

Make brown butter

The recipe starts with melting unsalted butter. Once the fat is liquified, I take it one step further by browning the butter. Simply heat it for a few more minutes to toast the milk solids in the dairy product. This process completely transforms the taste. 

The fat turns golden in hue while toffee and butterscotch aromas fill the air. Add a few tablespoons of cold butter to bring the temperature down before making the cookie dough to prevent the curdling of the eggs.

Sugar selection

Sugars and melted butter in a mixing bowl.
Step 3. Mix butter and sugars

I use two types of sugar to yield crisp edges and chewy centers. Granulated sugar has free-flowing crystals that give the cookie structure and crunch on the sides. Dark brown sugar has molasses, which enhances the flavor with notes of caramel.

Brown sugar is a humectant that attracts moisture and helps the cookies stay soft in the middle after baking.

Mix the melted butter and sugars

To maximize the flavor, mix the sugars with the warm butter. Doing so breaks the sucrose sugars down into the monosaccharides, glucose and fructose. These simple sugars caramelize at a lower temperature, which is essential because the cookies are only in the oven for 10 minutes.

It only takes a short period to build flavor! I use a stand mixer fitted with a paddle attachment to do the work. The unique mixing process is done four times, resting in between to create a super shiny and thick consistency.

Chocolate selection

Cookie dough batter with M&M candies and chocolate chips.
Step 5. Add the flour and chocolates

This recipe has two types of chocolate: candy-coated M&M’s and semi-sweet chocolate chips. I use double the amount of M&M’s to ensure you get the characteristic rainbow of colors. I use the regular size, but you can substitute the mini variety for more distribution throughout the dough. 

I chose a higher level of cacao for the chips, the slight increase in bitterness balances the much sweeter and creamier milk chocolate in the candy. But you can use any kind, baker’s choice.

Chill the dough

Let the cookie dough chill or freeze once you mix it so it’s easier to roll and it will also prevent spreading. It will be around 74ºF (23ºC) due to the warm butter and mixing process. It’s ready to shape when it reduces to 65 to 70ºF (18 to 21ºC). 

Portion size

Several m&m cookie dough balls on a parchment paper lined sheet pan.
Step 8. Roll out the dough

To enjoy the transition from crisp to chewy, make dough balls 3 tablespoons in size. This amount gives thick, bakery-style cookies. I break each ball apart down the center, then smoosh them and back together to provide a more rustic surface.

Reserve about ¼ cup of the M&M’s to push onto the tops to see more candies on the surface after baking.

Baking tips

After shaping, I bake the dough right away while just below room temperature to ensure even cooking and a thick texture. If the butter is too warm, the results will be flatter. If you make the dough ahead of time and it’s been refrigerated or frozen, let it sit on the counter to take the chill off before baking. Very cold dough causes raw centers. 

The cookies bake at 375°F (191ºC) until the edges are set and the center is puffy and slightly underdone. Before serving, let them cool completely on the warm tray to gently finish cooking to the centers. The cookies can be removed from the tray after 5 minutes if you want them a little less crispy. My kids usually can only wait that long anyway. They love them warm with plenty of melted chips!

Freshly baked M&M cookies on a baking sheet.
Step 9. Bake the cookies

Frequently asked questions

Can I bake with other types of M&Ms?

Yes! The mini-size will pack the dough with more small pieces throughout. There are many flavors available like peanut, chocolate brownie, pretzel, peanut butter, almonds, crispy, can caramel that you can swap in to switch up the taste. During the holidays, look for seasonal colors and flavors.

Why don’t M&Ms melt in the oven?

The milk chocolate core is covered with a crispy sugar coating that creates a protective shell. It’s water-soluble, which is why it melts in your mouth. It doesn’t melt in the oven because there isn’t a lot of moisture, but some of the shells may crack over time. My thought is that the hardened shell gets more brittle when exposed to the oven’s heat,  then breaks. The only way to avoid this is to press some on top after the first 5 minutes of baking, but there is more chance of them falling off.

Cookies with colorful milk chocolate candies.

Recipe Science

Melted butter improves the texture

Creaming the butter and sugar together yields a more airy, cake-like texture. However, melt the butter first to achieve a more dense, chewy, and soft center. Doing so makes the water in the butterfat more available to bind with the protein in the flour. As the flour hydrates, more gluten bonding forms. Gently mix the dry and wet ingredients to prevent a tough bite.

M&M Cookies

Spread joy with these colorful M&M cookies that have the perfect combination of flavor, crisp edges, and soft, chewy centers.
5 from 15 votes
Prep Time1 hour
Cook Time20 minutes
Total Time1 hour 20 minutes
Servings 16 cookies
Course Dessert
Cuisine American


  • 1 ¾ cups all-purpose flour
  • ½ teaspoon baking soda
  • 14 tablespoons unsalted butter, divided
  • ½ cup granulated sugar
  • ¾ cup dark brown sugar, packed
  • 1 teaspoon kosher salt
  • 2 teaspoons pure vanilla extract
  • 1 large egg
  • 1 large egg yolk
  • 1 cup M&M candies, divided
  • ½ cup semi-sweet chocolate chips


  • Prepare the Dry Ingredients – In a medium bowl, whisk together the flour and baking soda, and set aside.
  • Brown the Butter – Cut the butter into 14 even-sized pieces. In a medium skillet, melt 10 tablespoons of butter over medium-high heat. Continue cooking, swirling pan constantly until golden brown and a nutty aroma forms, 1 to 3 minutes. Remove the skillet from heat. Stir the remaining 4 tablespoons of butter into warm butter until completely melted.
  • Mix the Butter and Sugars – In a stand mixer fitted with the whisk attachment, add the browned butter to the mixing bowl. Add the granulated sugar, brown sugar, salt, and vanilla. Whisk on medium speed (setting 5) until combined, 30 seconds.
  • Whisk and Rest – Add the whole egg and yolk to the mixing bowl. Whisk on medium-high speed (setting 8) until smooth with no sugar lumps remaining, about 30 seconds. Let the mixture stand for 3 minutes.
    Repeat the whisking and resting process 3 more times: 30 seconds mixing at medium-high speed and 3 minutes of rest. After four total times, the mixture should be thick, smooth, and shiny.
  • Add the Flour and M&M's – Using a rubber spatula or wooden spoon, stir in the flour mixture until just combined, about 1 minute. Stir in ¾ cup M&M candies and chocolate chips. Give the dough a final stir to ensure no flour pockets remain.
  • Chill the Dough – Transfer the mixing bowl to the refrigerator for 30 minutes or the freezer for 15 minutes. Chill until the dough firms up, around 65 to 70ºF (18 to 21ºC). The dough should not feel overly sticky.
  • Preheat the Oven – Adjust the oven rack to the middle position. Heat to 375°F (191ºC). Line two baking sheets with parchment paper, then set aside.
  • Roll Out Dough Balls – Divide the dough into 16 portions, each about 3 tablespoons (about 60 grams, 2 ounces), and roll into a ball. If the dough starts to warm and get sticky, place it on a sheet tray and refrigerate for 15 minutes.
    For a rustic appearance, tear the dough balls in half, then press the two halves together again with the lumpy torn sides facing upward to expose the chips. Shape the sides of the dough back into a circle. If desired, use the remaining ¼ cup of M&M candies and press some on top, so they pop out of the surface.
    Arrange dough balls at least 2" apart on lined baking sheets, 8 portions per tray. Smaller baking sheets can be used but will require baking in 3 batches. The dough should be room temperature or just below for even cooking, around 65 to 70ºF (18 to 21ºC).
  • Bake the Cookies – Bake one tray at a time in the center position for 5 minutes, then rotate the baking sheet. Continue to bake until the edges are golden brown and the centers look slightly underdone, about 5 to 7 minutes. The color will continue to darken during cooling.
  • Let Them Cool – Leave the cookies on the baking sheet to cool for 3 to 5 minutes, then transfer them to a wire rack. Make sure the oven returns to 375°F (191ºC) before baking the remaining tray.


  • Make ahead: Cookie dough can be shaped into balls and refrigerated in a resealable plastic bag for up to 1 week or frozen for up to 2 months before baking. Break the dough apart and combine right before baking for a rustic surface.
  • Storing: ​​Baked cookies can be stored in an airtight container at room temperature for 5 days or 3 months in the freezer.

Nutrition Facts

Serves: 16 cookies
Calories 304kcal (15%)Carbohydrates 39g (13%)Protein 3g (6%)Fat 16g (25%)Saturated Fat 10g (50%)Polyunsaturated Fat 1gMonounsaturated Fat 3gTrans Fat 1gCholesterol 40mg (13%)Sodium 194mg (8%)Potassium 65mg (2%)Fiber 1g (4%)Sugar 27g (30%)Vitamin A 353IU (7%)Vitamin C 1mg (1%)Calcium 34mg (3%)Iron 1mg (6%)

Percent Daily Values are based on a 2000-calorie diet. All nutritional information is based on estimated third-party calculations. Each recipe and nutritional value will vary depending on the brands you use, measuring methods, and portion sizes per household.

Tried this recipe?

Tag me on Instagram. I'd love to see how it turns out!

Tag @jessica_gavin

Jessica Gavin

I'm a culinary school graduate, cookbook author, and a mom who loves croissants! My passion is creating recipes and sharing the science behind cooking to help you gain confidence in the kitchen.

Quick & Easy Meals in Under 30 Minutes!
Get 25 simple meals your whole family will love.
Jessica Gavin standing in the kitchen

You May Also Like

Reader Interactions

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating

2 Comments Leave a comment or review

  1. Stefanie says

    Question for you — 1.75 cups of flour is 210 grams but your metric conversion says 248 grams, which is a little over 2 cups. Can you clarify how much flour is correct? I don’t want my cookies to be too dry or too loose.

    Thank you!

    • Jessica Gavin says

      Hi Stephanie- Great question! I use a “dip and sweep” method, which yields 142 g per cup. What gives 248g for 1.75 cups of flour. I always weigh my flour when baking for the most consistent results.