Rainbow M&M Cookies

Jump to Recipe

Soft and chewy cookies filled with colorful M&Ms. These are a cookie jar favorite!

Soft and chewy cookies filled with colorful M&Ms. These are absolutely a cookie jar favorite!

These incredibly addicting cookies are super chewy and, by far, the softest cookie I’ve ever baked.  They completely disappeared when I brought them into work, with some people even asking me if they were store-bought.  Store-bought? The horror!

I adapted the recipe from the famous Cooks Illustrated Chewy Chocolate Chip Cookie.

Rather than melting the butter – as directed in the Cooks Illustrated recipe – I creamed the butter with the sugars and eggs, which produced an exceptionally thick and puffy cookie.  Just the way I like them!   Another trick to get a thick and puffy cookie is to chill the dough.  Like, for hours.  Yup… 30 minutes and to up to 5 days of chilling.

Soft and chewy cookies filled with colorful M&Ms. These are a cookie jar favorite!

The unbelievably soft texture and chewiness to this cookie can be attributed to the extra egg yolk.   Egg yolks are the source behind a cookies soft texture.  This recipe calls for 1 whole egg and 1 egg yolk.  Also credited to the chewiness of this cookie is the brown sugar to white sugar ratio.  This recipe calls for double the amount of brown sugar to white.  So, with double egg yolks and double brown sugar, these babies have double the softness and double the chewy texture!

Make these amazing cookies now and learn why you will use this recipe time and time again!

Rainbow M&M Cookies

Soft and chewy cookies filled with colorful M&Ms. These are a cookie jar favorite!


  • 2 cups + 2 tablespoons all-purpose flour
  • 1/2 teaspoons baking soda
  • 1/2 teaspoon salt
  • 3/4 cup (1.5 sticks) unsalted butter, softened to room temperature
  • 1 cup packed light brown sugar
  • 1/2 cup granulated sugar
  • 1 large egg, at room temperature
  • 1 large egg yolk, at room temperature
  • 2 teaspoons pure vanilla extract
  • 1 cup mini M&Ms


  1. Whisk the flour, baking soda, and salt together in a large bowl. Set aside.
  2. In large bowl using a hand-held mixer or stand mixer fitted with a paddle attachment, beat softened butter for about 1 minute on medium speed until creamy. Add the brown sugar and granulated sugar, then beat on medium-high speed until creamy and combined. Scrape down the sides and bottom of the bowl as needed. Beat in egg, egg yolk, and vanilla extract. Scrape down the sides and bottom of the bowl as needed. With the mixer running on low speed, slowly add dry ingredients to wet ingredients. Pour in the M&Ms and beat on low speed for 20 seconds or until combined. Once completely combined, cover cookie dough tightly and chill in the refrigerator for 30 minutes and up to 5 days.
  3. Preheat the oven to 325°F (163°C). Line a large baking sheet with parchment paper or a silicone baking mat. Set aside.
  4. Remove cookie dough from the refrigerator. Drop by Tablespoonfuls onto prepared baking sheet. Bake for 8-10 minutes or until edges are slightly browned. The centers should appear very soft and puffy. If desired, press a few mini M&Ms into the tops of the warm cookies for looks. Repeat with remaining cookie dough.
  5. Make ahead tip: Cookies stay fresh covered at room temperature for up to 1 week. You can make the cookie dough and chill it in the refrigerator for up to 5 days. Allow to come to room temperature and continue with step 4. Baked cookies freeze well for up to 3 months. Unbaked cookie dough balls freeze well for up to 3 months. Bake frozen cookie dough balls for an extra minute, no need to thaw. Click here for my tips and tricks on freezing cookie dough.

Recipe Notes:

Make sure to keep dough cold at all times while the batches are baking. I keep my dough in the refrigerator in between batches. You can easily swap add more add-ins to these cookies (chopped candy bars, nuts, chocolate chips, etc) as long as the total does not go over 1 cup. Get creative!

Did you make a recipe?

Tag @sallysbakeblog on Instagram and hashtag it #sallysbakingaddiction.

© Sally’s Baking Addiction. All images & content are copyright protected. Please do not use my images without prior permission. If you want to republish this recipe, please re-write the recipe in your own words, or link back to this post for the recipe. Some of the links above are affiliate links, which pay me a small commission for my referral at no extra cost to you! Thank you for supporting Sally’s Baking Addiction.


Check out some of my other favorite homemade cookie recipes.

Like these Peanut Butter Cup Oatmeal Cookies 

Peanut Butter Cup Oatmeal Cookies-4


And these Sweet & Salty Potato Chip Toffee Cookies.

Potato Chip Toffee Cookies by Sallys Baking Addiction






  1. Hey Sally,
    I made your rainbow m&m cookies, but i realized that the dough was way to thin. Do you know what the problem is? I added the right proportion everything.

  2. Just made a batch of these, they are amazing! I had to taste one when they were still warm and I thought, OK, not bad. But when they cooled down, I tried another and OMG, I was blown away! Yummy and very easy to make, I followed your recipe to a T, and they came out perfect!

  3. Dear Sally,
    I’m going to make these batch of M&M later but I want to ask you if I could make double batch to make it extras? How can I make double plz add one more flour or butter or what?! I appreciate if you could reply me sooner plz cuz I’ll makenit today for birthday party on Friday! By the way I made crinkle n I was amazed n blown away with these crinkle!!!! All my family have eaten all so fast!!!! I love your blog n ever since I use your recipe I keep following you everyday!!!! Keep it up!

      1. Thank u so much for replying fast!!! How can I double recipe ? Shall I repeat again the sama entire recipe? Here said for example 2 cups flours which make 4 cups of flours or shall I repeat the entire same recipe? Sorry for asking much!!!

  4. Hi Sally,

    These look great and I plan on making them for the holidays with red and green colored m&ms. I read some of the comments about cornstarch but can’t seem to find it in the recipe list. How much would you recommend adding to the above recipe?

  5. Hi Sally,

    I have tried many of your recipes, and they were all amazing! I only use your recipes as I know that they will turn out well. These cookies were easy to make and were so yummy. Thanks for all of the incredible recipes!


  6. Hi, first of all, i have loved all of your recipes!
    If I make these ahead of time and refrigerate for a few days. Do I let the dough come to room temp before baking? It does say that in the recipe, but farther up in the recipe it says to remove from the fridge and bake. I’m sure it doesn’t matter that much but if it does, please let me know!

    1. Hi Susan! I recommend waiting for at least 30 minutes if the cookie dough has chilled for a few days. It will be pretty hard, so letting it slightly soften will help with rolling.

  7. I have made these twice now. They are an easy crowd pleaser! However I have found that I need to basically double the bake time to avoid just having raw dough (they are still soft). My oven is new and true to temp, so folks might just want to add some more time if they seem wayyy too soft.

  8. Hi Sally, how can we substitute almond flour for regular flour? Is it the same ratio? Trying to make these cookies for a gluten free friend!

  9. Sally, I am at a total loss. I cannot seem to bake cookies that remain thick and fluffy. I just made these for Valentines and they are flat. I followed the recipe exactly. I put them in the fridge overnight and baked the next day. I tested my baking sofa and it is still good. This happens to me every time I bake which is a lot! Please help!

      1. Thanks for answering! Yes, I have read all your tips! This seems to happen with so many of my cookie recipes(from your site and others). I didn’t but cornstarch in these bc it wasn’t in the recipe but then I was reading comments about adding it….
        I am just wondering what I am doing wrong. I literally have read a million articles on it haha!

  10. It’s tough to find brown sugar (soft, like wet sand, American style) in Spain. I found something called “Panela” that seemed sort of similar in texture… it said it was from Colombia on the bag. Have you ever cooked with this? It smelled and taste a bit different and still wasn’t quite as soft, but closest thing I could find.

    I made the dough with it, still chilling in the fridge. I wanted to make these for my birthday, I’m worried I may have flubbed this.

    We’ll see…..

      1. Thank you, Sally! It actually worked out as a substitution! The taste is very slightly different than with our American-style brown sugar, but the cookies are still very good. Apparently, panela (also known as rapadura) is unrefined whole cane sugar, typical of Colombia, Central, and of Latin America in general. So hopefully this helps any of your readers located in those regions.

  11. I just made these today with Easter M&Ms and they are the best M&M cookies I have ever tried! I followed the recipe exactly, except I used 1 cup of regular size M&Ms and a 1/2 cup of milk chocolate chips. (I think you might have updated this recipe because this one calls for unsalted butter, salt & no cornstarch). I will definitely be making these again! Perfection!

  12. Oh my goodness!!!! These were AMAZING!!!!! I made them exactly as written and my family and I can’t stop eating them! They melt in your mouth and are the BEST M&M cookies I’ve ever had! Thank you, Sally!!!

  13. These definitely need at least 1 full hour of chilling. The first batch I baked were flat and completely broke apart. They were also very undervalued, even after 12 minutes in the oven and 10 minutes cooling on the baking sheets. The second batch (which had been chilling in the fridge for an additional 30 minutes) spread normally and baked up just fine. I did turn up the oven temp to 350 for the second batch as well

1 2 3

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

With kitchen-tested quality recipes and step-by-step tutorials, my goal is to give you the confidence to bake and cook from scratch.

Recipes You’ll Love



Sally's Baking Challenge

Join the community on the 1st of every month as we tackle a new challenge recipe.

View More

Sally's Cookie Palooza

A tradition since 2013, every December we countdown to Christmas with 10 new cookie recipes in a row!

View More

Sally's Pie Week

The first week of every November is all about Thanksgiving Pies.

View More

My Cookbooks


This error message is only visible to WordPress admins

Error: No posts found.

Make sure this account has posts available on instagram.com.

About Sally

Welcome to my Kitchen!

I’m Sally, a cookbook author, photographer, and blogger. My goal is to give you the confidence and knowledge to cook and bake from scratch while providing quality recipes and plenty of pictures. Grab a cookie, take a seat, and have fun exploring! more about Sally