This post may contain affiliate links. Please read our privacy policy.

These chewy M&M cookies are loaded with crunchy M&M’s for a childhood classic! Make these with all-purpose flour or follow the alternative directions for a gluten-free version.

4 M&M cookies stacked on a piece of parchment paper in front of a glass of milk, with a 5th cookie leaning against the front of the stack.
Subscribe to My Baking Addiction!
Get updates on the latest posts and more from My Baking Addiction straight to your inbox.
Please enable JavaScript in your browser to complete this form.

Post contains affiliate links.

There are some treats that are essential to childhood.

Classic rice krispie treats. No-bake cookies. Funfetti cupcakes. My favorite chocolate chip cookies.

And M&M cookies, of course.

With everyone getting into their fall routines and Halloween coming up next month, it seemed like the perfect time to remind you about this recipe from my friend Erin from Texanerin Baking.

Whether you’re making these as an after-school treat, a surprise for some hard-working teachers, or as a way to use up leftover Halloween candy, these chewy cookies are always a hit.

Not to mention that you can easily make them gluten-free by following the alternative directions! So they really are perfect for everybody.

M&M cookie with a bite taken out of it set on the edge of a glass of milk.

PERFECT M&M COOKIES

M&M cookies were a favorite of mine growing up. My mother never made them or bought them, so whenever other parents brought them to school parties, I made a beeline for the cookie tray!

Since the days of elementary school class parties, I’ve made my fair share of M&M cookies. I always just mixed the M&M’s into the dough and baked them up. 

One thing that nagged at me is that they never looked as pretty as the cookies from my childhood.

So this time, I experimented with the best way of incorporating the M&M’s. I made them every way imaginable and finally found the best method. 

Dry ingredients for M&M cookies being whisked together in a glass bowl.

My not-so-secret method

So here’s what you do:

Add the M&M’s to the dough like you normally do. Roll the dough into balls and don’t worry about having a lot of M&M’s peeking out.

After baking, add more M&M’s on top!

Butter and sugar creamed together in a white bowl, set next to smaller bowls of eggs and vanilla.

I like my M&M cookies to be loaded with M&M’s and so my recipe calls for a lot more M&M’s than other recipes I’ve seen. 

These cookies are actually 1/3 M&M’s by weight! And that’s before you press more on top of the cookies after baking. 

You can absolutely use fewer M&M’s or toss in some other add-ins like chocolate chips or walnuts.

M&M cookie dough in a white mixing bowl.

HOW TO MAKE THESE M&M COOKIES

The best thing about this recipe is that you can make it with all-purpose flour or you can make these cookies gluten-free by following a super easy alternative option.

Gluten-free option

If you choose to make gluten-free M&M cookies, you will want to replace the 3 ¼ cups of all-purpose flour with a mixture of:

Balls of m&m cookie dough set on a baking sheet to chill.

I know that the mixture above only yields 3 cups of flour, but it works perfectly to replace the all-purpose flour!

If you’re making these gluten-free, make sure you check that all of your other ingredients are certified gluten-free as well. Original M&M’s in the US are gluten-free, but some of the other varieties are not.

Making this recipe

These cookies come together much like most of the cookie recipes you’re probably familiar with, such as paleo double chocolate chip cookies or cornflake cookies.

Start by creaming together the butter and sugars until light and fluffy. Add in the eggs and vanilla and mix to combine.

6 baked m&m cookies on a parchment-lined baking sheet.

Gradually add the all-purpose flour or the gluten-free flour mix combined with the leavening and salt. Add in the M&M’s.

If you’re making these with all-purpose flour:

  • Roll the dough into balls and place on a baking sheet.
  • Place the baking sheet into the freeze for 2 hours, or until the dough balls are firm.

If you’re making the gluten-free version:

  • Wrap the dough in plastic wrap and chill in the fridge for at least 2 hours.
  • Roll the dough into balls and place on lined baking sheets.
M&M cookies arranged on a wire cooling rack to cool.

Once the dough has chilled, bake the cookies for 16-20 minutes. If you’re baking in batches, make sure you keep the dough you haven’t baked in the freezer or refrigerator until it’s ready to go in the oven.

When the cookies are done, press some extra M&M’s into the tops if you like. Let cool for a few minutes on the baking sheet before moving to a wire rack to finish cooling.

M&M cookie broken in half and being held up to the camera.

STORAGE

Store these M&M cookies in an airtight container at room temperature for up to 4 days.

If you’d like to freeze them, store them in an airtight container or a zip-top freezer bag in the freezer for up to a month.
You can also freeze the dough so that you can enjoy these cookies warm from the oven any time! Follow my instructions for how to freeze cookie dough to do that.

5 m&M cookies stacked on a white plate.
Want to save this recipe?
Enter your email and get it sent to your inbox!
Please enable JavaScript in your browser to complete this form.

M&M Cookies

By: Erin
4.50 from 62 ratings
Prep: 20 minutes
Cook: 20 minutes
Total: 40 minutes
Servings: 24
These chewy M&M cookies are loaded with crunchy M&M’s for a childhood classic! Make these with all-purpose flour or follow the alternative directions for a gluten-free version.

Ingredients

*For the gluten-free baking mix:

Instructions 

  • In a medium mixing bowl, stir together the flour, baking soda, cream of tartar and salt. Set the bowl aside.
  • In a large mixing bowl using a stand mixer or electric hand mixer, beat the butter, brown sugar and granulated sugar at medium speed until light and fluffy. Beat in the eggs and vanilla at low speed until well combined.
  • On low, gradually add the flour mixture and beat just until combined. Beat in the M&Ms on low.
  • If making the all-purpose flour version, roll into 1 1/2″ balls (about 65 grams) – pushing any M&Ms that stick out back in. If your dough is too soft to roll into proper balls, refrigerate for about 30 minutes or until firm. Freeze dough balls on a lined baking sheet for 2 hours, or until firm.
  • If making the gluten-free version, freezing is not necessary. Wrap the dough in plastic wrap and refrigerate for at least two hours. Then roll into balls.
  • Preheat the oven to 350°F for the all-purpose flour version or 375° F for the gluten-free version.
  • Line a baking sheet with a piece of parchment paper. Place the dough balls 4″ apart on the prepared baking sheet. Bake the cookies for 16-20 minutes or until lightly and evenly browned. Keep unused dough frozen or refrigerated until ready to bake if baking in batches.
  • Remove from the oven and immediately press more M&Ms on top of each cookie, if desired. Let the cookies cool for 5 minutes on the baking sheet before removing to a wire rack to cool completely. 
  • Store in an airtight container for up to 4 days.

Video

Notes

If you need these cookies to be gluten-free, make sure all your ingredients are certified gluten-free. Original M&Ms in the US are gluten-free but some of the other varieties are not.
While the all-purpose flour version uses 3 1/4 cups of flour, the noted gluten-free flour mixture, which yields 3 cups of flour, works beautifully in this recipe.

Nutrition

Serving: 1cookie (made with AP flour), Calories: 304kcal, Carbohydrates: 43g, Protein: 3g, Fat: 13g, Saturated Fat: 8g, Polyunsaturated Fat: 0.4g, Monounsaturated Fat: 2g, Trans Fat: 0.4g, Cholesterol: 37mg, Sodium: 118mg, Potassium: 49mg, Fiber: 1g, Sugar: 29g, Vitamin A: 305IU, Vitamin C: 0.1mg, Calcium: 40mg, Iron: 1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

4.50 from 62 votes (62 ratings without comment)

Leave a comment

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

Recipe Rating




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

51 Comments

  1. Kimberley McNees says:

    Thank you for this wonderful recipe!  I needed to make cookies with pink and teal chocolate pieces, and this recipe was perfect for the task!!  Turned out beautiful!

    1. Jamie says:

      So happy to hear you enjoyed the cookies, Kimberley! I bet they were lovely. Thanks so much for stopping by and leaving your feedback!
      -Jamie

  2. Teresa says:

    Would I be able to just substitute an all purpose gluten-free flour for the regular flour?
    Thanks!

    1. Jamie says:

      Hello! I haven’t attempted this recipe with this substitution, so I am not sure of the result. If you happen to give it a try, I’d love to know how they turned out. Thanks so much for stopping by.
      -Jamie

  3. Lori Merner says:

    Made these today. I used all butter and added a bit of lemon extract with the vanilla. Rolling them and freezing the balls worked great! I only baked them for 12 minutes though. I’ll make these again!

    1. Jamie says:

      Yay! So happy to hear you enjoyed the cookies! Thanks so much for stopping by and leaving your feedback. Happy Baking!
      -Jamie

  4. Kelly says:

    These were perfect for red and green M&M cookies for Christmas!! Thanks so much for the recipe and tips!

  5. Lauren says:

    Just want to say these cookies were great! I made them last week (made half, kept half frozen). Yesterday we baked the second dozen and they are almost gone. My kids love them – even my daughter that doesn’t even usually like cookies! Thanks for a great recipe

    1. Erin says:

      I’m happy that your daughter could enjoy the cookies, too! That’s great. :) And good idea on freezing half! Thanks for your comment.

  6. Natasha says:

    Really awful. I halved the recipe but no other substitutions. I tested three dough balls only thank God so I picked out all my m&ms so I can use them in a different recipe. Awful dry and just awful.

    1. Erin says:

      I’m sorry you thought they were awful! I’ve made these several times and they’ve never been dry so I have to wonder if something went wrong. Did you make any subs or any changes at all to the recipe? I’m guessing you might have used too much flour. Did you scoop your measuring cup into the flour or spoon it into the cup? (you can read more about how to measure flour here.)

  7. Faye says:

    Thanks so much, Erin! They’re delicious

    1. Jamie says:

      You’re so welcome, Faye!

  8. Faye says:

    Question…do you refrigerate and then freeze? Both steps are listed in the directions. Please let me know. Thank u

    1. Erin says:

      Hi there! If the dough is too soft to roll into balls, then refrigerate the dough for 30 minutes or until firm enough to roll into balls. Then roll into balls and freeze. I hope you’ll enjoy the cookies!

  9. Monica Batra says:

    TOO GOOD! I mean it…they are the BEST, BESTIEST ever and i used baking powder and 3and1/4 ucp APF

    1. Erin says:

      Awesome! I’m so happy to hear that you enjoyed them! Thanks a bunch for your comment. :)

  10. Amy says:

    Hi there!  I just finished making a batch of these and they came out really hard.    Any thoughts on what I might have messed up? I skipped freezing bc I didn’t have time and after the first round came out of the oven hard,  I cut the cooking time 10 min and still hard.  The flavor is great tho! 

    1. Erin says:

      Hello! They definitely shouldn’t be hard. I freeze the dough because it helps them bake up properly. If you don’t do that, they spread more quickly, spread out flatter, and cook more quickly. So that could have been the issue. And I’m guessing you might have used too much flour. Did you scoop your measuring cup into the flour or spoon it into the cup? (you can read more about how to measure flour here). Next time, I’d measure out 406 grams flour and freeze the dough. I hope they’re still enjoyable! Merry Christmas. :)