Few cookies bring as much joy as a batch of homemade M&M cookies.
With their soft, chewy centers and colorful candy-coated chocolate pieces, they’re a fun treat that never goes out of style.
They’re just as perfect for birthday parties and holiday gatherings as they are for an after-school snack or a simple weekend bake.
The best part? These cookies are easy to make and consistently delicious.
In this recipe, you’ll learn how to create cookies with the perfect texture, how to keep them soft and chewy, and a few simple tips for getting bakery-style results right at home.
Why You’ll Love This M&M Cookies Recipe
- Soft and Chewy Texture – Every bite is perfectly soft in the center with lightly crisp edges for a classic cookie texture.
- Easy Pantry Ingredients – Made with simple baking staples and a bag of M&Ms that you may already have on hand.
- Kid-Friendly and Fun to Make – Mixing colorful candies into the dough makes this a fun baking project for children and adults alike.
- Ready in Under 30 Minutes – From mixing the dough to enjoying warm cookies, the whole process is quick and easy.
- Great for Any Occasion – These cookies are perfect for parties, lunchboxes, holiday trays, bake sales, or everyday treats.

What Are M&M Cookies?
M&M cookies are classic drop cookies made with a soft cookie dough and colorful M&M candies mixed throughout the batter.
They combine the rich, buttery flavor of a traditional homemade cookie with the sweet crunch of candy-coated chocolate pieces.
These cookies are loved for their bright appearance, chewy texture, and chocolate-filled bites.
Unlike plain cookies, M&M cookies instantly stand out on a dessert table because of their vibrant colors and playful look.
They are a popular choice for birthdays, school events, holidays, bake sales, and family gatherings.
One of the reasons bakers love this recipe is its flexibility.
You can use regular M&Ms, mini M&Ms, seasonal colors, or even specialty flavors to create a unique batch for any occasion.
The recipe itself is simple and beginner-friendly, making it a great option for anyone who wants impressive results without complicated steps.
The Difference Between M&M Cookies and Chocolate Chip Cookies
At first glance, M&M cookies and chocolate chip cookies may seem very similar.
Both are typically made from a buttery cookie dough that includes flour, sugar, eggs, and vanilla.
The main difference comes from the chocolate that is mixed into the dough.
Chocolate chip cookies use chocolate chips, which melt as they bake and create pockets of soft chocolate throughout the cookie.
M&M cookies use chocolate candies coated in a thin candy shell.
While the chocolate inside becomes softer during baking, the colorful outer shell helps the candies keep their shape.
This gives M&M cookies a different texture and appearance.
Instead of melted chocolate pockets, you get small bursts of chocolate surrounded by a slight crunch from the candy coating.
The bright colors also make the cookies much more visually appealing.
Many bakers enjoy using M&Ms because they instantly add personality and fun to an otherwise simple cookie recipe.
Some recipes even combine chocolate chips and M&Ms to get the best of both worlds.
Why M&Ms Work So Well in Cookies
M&Ms add more than just color to a batch of cookies.
Their candy shell helps them hold their shape while baking, which creates a beautiful finished cookie with colorful pieces visible on top.
This simple detail makes homemade cookies look more polished and bakery-worthy.
The chocolate center provides sweetness and rich flavor without overwhelming the cookie dough.
Each bite offers a balanced combination of buttery cookie and smooth milk chocolate.
M&Ms also distribute evenly throughout the dough.
Because they are small and lightweight, it’s easy to get a little chocolate in every bite.
Another advantage is the variety they offer.
Seasonal M&M colors can transform the same recipe into a festive holiday treat, a birthday dessert, or a themed party snack.
They are also easy to find in most grocery stores, making them a convenient ingredient for last-minute baking.
Perhaps the biggest reason M&Ms work so well in cookies is the sense of fun they bring.
Their bright colors, familiar flavor, and cheerful appearance make these cookies appealing to both kids and adults.
The result is a cookie that tastes great, looks inviting, and always seems to disappear quickly from the cookie jar.
Ingredients You’ll Need
Dry Ingredients
- 2¼ cups (280g) all-purpose flour – Provides the structure for soft and chewy cookies.
- 1 teaspoon baking soda – Helps the cookies rise and spread evenly while baking.
- ½ teaspoon salt – Balances the sweetness and enhances the overall flavor.
Wet Ingredients
- 1 cup (226g) unsalted butter, softened – Creates a rich flavor and tender texture.
- ¾ cup (150g) brown sugar – Adds moisture and contributes to the chewy texture.
- ½ cup (100g) granulated sugar – Helps create lightly crisp edges.
- 2 large eggs – Bind the ingredients together and add richness.
- 2 teaspoons vanilla extract – Adds warm, classic cookie flavor.
Mix-Ins
- 1½ cups (255g) M&M candies – Provide colorful bursts of chocolate throughout the cookies.
- ½ cup (85g) chocolate chips (optional) – Adds extra chocolate flavor and gooey pockets of melted chocolate.
Ingredient Notes and Substitutions
Can You Use Mini M&Ms?
Yes, mini M&Ms work wonderfully in this recipe.
Because they are smaller than regular M&Ms, they spread more evenly throughout the dough.
This means you’ll get a little bit of chocolate and candy coating in almost every bite.
Many bakers prefer mini M&Ms because they create a more colorful appearance across the entire cookie.
You can substitute mini M&Ms in equal amounts without making any other changes to the recipe.
If you want extra visual appeal, reserve a small handful and press them into the tops of the cookie dough balls before baking.
This simple step helps the finished cookies look bright and inviting.
You can even combine regular and mini M&Ms for added texture and variety.
Salted vs. Unsalted Butter
Unsalted butter is usually the preferred choice for baking.
It allows you to control exactly how much salt goes into the recipe.
This creates more consistent results from one batch to the next.
If all you have is salted butter, don’t worry.
You can still make excellent cookies.
Simply reduce the added salt in the recipe by about half.
The difference in flavor is usually small, but adjusting the salt helps keep the cookies from tasting overly salty.
Whichever butter you choose, make sure it is softened before mixing.
Softened butter blends more easily with the sugars and creates a smoother cookie dough.
Gluten-Free Options
If you need a gluten-free version, a good-quality gluten-free all-purpose flour blend can often be substituted for regular flour.
Look for a blend that is designed for one-to-one replacement in baking.
These blends are formulated to behave similarly to traditional flour.
The texture may be slightly different, but the cookies should still turn out soft and enjoyable.
Be sure to check the labels on your M&Ms and any additional mix-ins if you are baking for someone with dietary restrictions.
Ingredient formulations can occasionally change, so it’s always a good idea to verify packaging information before baking.
For the best results, avoid making multiple ingredient substitutions at the same time.
Testing one change at a time makes it easier to achieve a successful batch.
Alternative Candy Coatings
M&Ms may be the classic choice, but they are far from the only option.
Candy-coated chocolates from other brands can often be used in the same quantity.
Seasonal candy-coated chocolates are especially fun because they allow you to match holidays, birthdays, and special events.
You can also experiment with peanut butter-filled, caramel-filled, or crunchy candy-coated chocolates if you enjoy trying new flavors.
Each variety adds its own personality to the cookies while maintaining the colorful look that makes this recipe so popular.
If you’re creating cookies for a themed celebration, choosing candies in matching colors can make the finished batch feel extra special.
No matter which candy coating you choose, the goal is the same.
You want a mix-in that adds color, sweetness, and plenty of chocolate flavor to every bite.
Essential Baking Equipment
- Mixing Bowls – You’ll need separate bowls for the wet and dry ingredients before combining them into the cookie dough.
- Electric Mixer or Hand Mixer – Makes it easy to cream the butter and sugars together for a smooth, fluffy mixture.
- Baking Sheets – Provide a sturdy surface for baking the cookies evenly and achieving lightly golden edges.
- Parchment Paper or Silicone Baking Mats – Prevent the cookies from sticking and make cleanup much quicker and easier.
How to Make M&M Cookies
Step 1: Prepare the Dough
Start by preheating your oven to 350°F (175°C).
Line two baking sheets with parchment paper or silicone baking mats to prevent sticking and make cleanup easier.
Set the butter, eggs, and other ingredients on the counter if they are still cold.
Room-temperature ingredients blend together more smoothly and help create a consistent cookie dough.
Having everything measured and ready before you begin can make the entire process feel much easier.
Step 2: Mix Dry Ingredients
In a medium mixing bowl, whisk together the flour, baking soda, and salt.
Whisking helps distribute the ingredients evenly throughout the flour.
This step may seem small, but it helps ensure that the cookies bake evenly and develop a consistent texture.
Set the bowl aside once everything is well combined.
Step 3: Cream Butter and Sugars
In a large mixing bowl, beat the softened butter, brown sugar, and granulated sugar together until the mixture becomes light and fluffy.
This usually takes about two to three minutes with an electric mixer.
Creaming introduces air into the mixture, which helps create soft and tender cookies.
Don’t rush this step.
A well-creamed butter mixture can make a noticeable difference in the final texture.
Step 4: Add Eggs and Vanilla
Add the eggs one at a time, mixing well after each addition.
This helps the eggs incorporate fully into the butter mixture.
Pour in the vanilla extract and continue mixing until everything is smooth.
The dough should look creamy and evenly blended at this stage.
Vanilla adds warmth and depth of flavor that complements both the cookie dough and the chocolate candies.
Step 5: Combine Wet and Dry Ingredients
Gradually add the dry ingredients to the wet ingredients.
Mix on low speed until the flour disappears and a soft dough forms.
Avoid overmixing once the flour is added.
Mixing too much can lead to denser cookies instead of soft and chewy ones.
Stop as soon as the ingredients come together into a uniform dough.
Step 6: Fold in M&Ms
Add the M&M candies and any optional chocolate chips to the bowl.
Use a spatula or wooden spoon to gently fold them into the dough.
Folding helps distribute the candies evenly without crushing them.
For extra colorful cookies, save a small handful of M&Ms to press onto the tops of the dough balls before baking.
This simple trick makes the finished cookies look even more appealing.
Step 7: Scoop the Dough
Use a cookie scoop or tablespoon to portion the dough into evenly sized balls.
Place them on the prepared baking sheets, leaving about two inches of space between each cookie.
Evenly sized portions help the cookies bake at the same rate.
If desired, gently press a few extra M&Ms onto the tops of each dough ball before placing them in the oven.
Step 8: Bake Until Golden
Bake the cookies for 10 to 12 minutes, or until the edges are lightly golden.
The centers may still look slightly soft when you remove them from the oven.
This is completely normal.
The cookies will continue to set as they cool on the baking sheet.
Avoid waiting until the centers look fully baked, as this can lead to dry cookies.
A slightly underbaked center is one of the secrets to a soft and chewy texture.
Step 9: Cool and Serve
Allow the cookies to cool on the baking sheet for about five minutes.
This gives them time to firm up without becoming overbaked.
Transfer them to a wire rack to cool completely.
If you enjoy warm cookies, you can serve them while they are still slightly warm and the chocolate is soft.
Pair them with a glass of milk, a cup of coffee, or simply enjoy them on their own.
Once cooled, store any leftovers in an airtight container to help keep them soft and fresh for days.
Tips for Perfect M&M Cookies Every Time
- Measure Flour Correctly – Spoon the flour into your measuring cup and level it off to avoid adding too much, which can make cookies dry.
- Don’t Overmix the Dough – Mix only until the ingredients are combined to keep the cookies soft and tender.
- Save Extra M&Ms for the Tops – Press a few extra candies onto each dough ball before baking for a colorful, bakery-style appearance.
- Avoid Overbaking – Remove the cookies when the edges are lightly golden and the centers still look slightly soft.
- Let Cookies Cool Properly – Allow the cookies to rest on the baking sheet for a few minutes so they can finish setting without becoming dry.
Common Mistakes to Avoid
- Using Warm Butter – Butter that is too warm can cause the cookies to spread excessively and become thin.
- Overcrowding the Baking Sheet – Leaving too little space between dough balls can cause the cookies to bake together as they spread.
- Skipping the Cooling Time – Allowing the cookies to cool briefly helps them set properly and improves their texture.
- Baking Too Long – Overbaking removes moisture from the cookies, making them dry instead of soft and chewy.
Fun Variations to Try
Double Chocolate M&M Cookies
If you’re a chocolate lover, this variation is hard to resist.
Replace a portion of the all-purpose flour with unsweetened cocoa powder to create a rich chocolate cookie base.
The colorful M&Ms stand out beautifully against the darker dough.
For even more chocolate flavor, add a handful of chocolate chips along with the M&Ms.
The combination creates a cookie with a deep chocolate taste and plenty of chocolate in every bite.
These cookies are especially popular for parties, holidays, and special occasions.
Peanut Butter M&M Cookies
Peanut butter and chocolate are a classic pairing that works perfectly in this recipe.
Replace part of the butter with creamy peanut butter to add a rich, nutty flavor.
The peanut butter makes the cookies extra soft while adding a delicious twist to the traditional recipe.
Peanut butter M&Ms can make the flavor even more pronounced if you have them available.
A sprinkle of flaky sea salt on top before baking can also help balance the sweetness.
The result is a cookie that feels familiar while offering something a little different.
Oatmeal M&M Cookies
Adding oats creates a heartier cookie with extra texture.
Simply replace a portion of the flour with old-fashioned rolled oats.
The oats add chewiness and a subtle nutty flavor that pairs well with the chocolate candies.
This variation is a great option if you enjoy cookies with a little more substance.
You can also add a small handful of chopped nuts or raisins if you want additional texture.
Even with the oats, the cookies remain soft and enjoyable.
Holiday-Themed M&M Cookies
Holiday-themed M&M cookies are an easy way to make this recipe feel festive.
Use seasonal M&Ms that match the occasion.
Red and green candies work beautifully for Christmas.
Pastel colors are perfect for spring celebrations and Easter gatherings.
Orange and brown candies make a fun choice for Halloween baking.
The cookie recipe stays exactly the same.
Only the candy colors change.
This simple swap makes the cookies look special without requiring extra work.
M&M Cookie Bars
When you’re short on time, cookie bars can be a convenient alternative to individual cookies.
Instead of scooping dough into portions, spread the dough evenly into a greased or parchment-lined baking pan.
Bake until the top is lightly golden and the center is set.
Once cooled, cut the bars into squares or rectangles.
Cookie bars offer the same flavor and texture as traditional M&M cookies while eliminating the need to bake multiple batches.
They are especially useful when baking for parties, potlucks, school events, or large family gatherings.
Many bakers also find them easier to transport and serve.
How to Store M&M Cookies
Room Temperature Storage
Once the cookies have cooled completely, place them in an airtight container.
Keeping air out is the key to maintaining a soft and chewy texture.
Stored properly, M&M cookies will stay fresh at room temperature for up to five days.
If you’re stacking the cookies, place a sheet of parchment paper between layers to help prevent sticking.
For extra softness, you can add a small piece of bread to the container.
The cookies absorb moisture from the bread, which can help keep them from drying out.
Replace the bread if it becomes stale.
Keep the container in a cool, dry place away from direct sunlight and heat sources.
This helps preserve both the texture of the cookies and the colorful candy coating.
Refrigerating Cookie Dough
If you’d like to prepare the dough ahead of time, refrigeration is a great option.
Cover the bowl tightly with plastic wrap or transfer the dough to an airtight container.
The dough can be refrigerated for up to three days before baking.
Chilling the dough has an added benefit.
It allows the ingredients to fully hydrate and can create an even richer flavor.
Cold dough also spreads more slowly in the oven, which often results in thicker cookies.
When you’re ready to bake, scoop the chilled dough onto prepared baking sheets and bake as directed.
If the dough feels very firm, let it sit at room temperature for a few minutes to make scooping easier.
Freezing Baked Cookies
M&M cookies freeze beautifully, making them perfect for meal prep, holiday baking, or future cravings.
Allow the cookies to cool completely before freezing.
Place them in a freezer-safe container or resealable freezer bag.
For best results, separate layers with parchment paper.
This helps prevent the cookies from sticking together.
Properly stored cookies can be frozen for up to three months.
When you’re ready to enjoy them, let the cookies thaw at room temperature for about 30 minutes.
If you prefer warm cookies, a few seconds in the microwave can bring back that fresh-baked taste and texture.
Can You Freeze M&M Cookie Dough?
Yes, M&M cookie dough freezes extremely well, making it a convenient way to enjoy freshly baked cookies whenever the craving strikes.
Freezing the dough ahead of time allows you to bake only the number of cookies you need instead of preparing an entire batch at once.
To freeze the dough, scoop it into individual dough balls using a cookie scoop or tablespoon and place them on a parchment-lined baking sheet.
Arrange the dough balls in a single layer so they do not touch each other during the initial freezing process.
Place the baking sheet in the freezer for about one to two hours, or until the dough balls feel firm to the touch.
Once frozen, transfer the dough balls to a freezer-safe container or resealable freezer bag.
Label the container with the date so you can keep track of freshness.
Properly stored cookie dough can remain in the freezer for up to three months while maintaining excellent flavor and texture.
When you’re ready to bake, there is no need to thaw the dough beforehand.
Simply place the frozen dough balls on a prepared baking sheet, leaving enough space between each one for spreading.
Bake them at the same temperature listed in the recipe.
Because the dough is frozen, you will usually need to add an extra one to three minutes to the baking time.
Keep an eye on the cookies and remove them when the edges are lightly golden and the centers still look slightly soft.
Serving Suggestions
- With a Glass of Milk – The classic pairing that balances the sweetness of the cookies and makes every bite even more enjoyable.
- Ice Cream Sandwiches – Place a scoop of your favorite ice cream between two cookies for a fun and delicious frozen dessert.
- Cookie Platters for Parties – Arrange M&M cookies alongside other baked treats to create a colorful and crowd-pleasing dessert spread.
- Lunchbox Treats – Pack a cookie or two in lunchboxes for a simple homemade snack that travels well and stays fresh.
Final Thoughts
This M&M cookies recipe works because it combines simple ingredients, easy steps, and reliable results to create cookies that are soft, chewy, and full of chocolate flavor.
Feel free to make the recipe your own by trying different M&M varieties, seasonal colors, or favorite mix-ins to create a batch that suits your taste.
FAQs
Why Are My M&M Cookies Flat?
Cookies often spread too much when the butter is too warm, the dough isn’t chilled, or too little flour is used.
Can I Make the Dough Ahead of Time?
Yes, the cookie dough can be covered and refrigerated for up to 3 days before baking.
Can I Use Different Flavors of M&Ms?
Absolutely, you can use peanut, mini, caramel, peanut butter, or seasonal M&M varieties for different flavors and textures.
How Do I Keep Cookies Soft Longer?
Store the cookies in an airtight container at room temperature and add a small piece of bread to help retain moisture.
Can I Freeze Baked M&M Cookies?
Yes, baked M&M cookies freeze well for up to 3 months when stored in a freezer-safe container or bag.
M&M Cookies: Soft, Chewy, and Packed with Chocolate Candy
Difficulty: Easy24
Cookies15
minutes10
minutes25
minutesThese soft and chewy M&M cookies are packed with colorful chocolate candies and rich cookie flavor. They’re easy to make, perfect for any occasion, and ready in under 30 minutes.
Ingredients
2¼ cups all-purpose flour
1 tsp baking soda
½ tsp salt
1 cup unsalted butter, softened
¾ cup brown sugar
½ cup granulated sugar
2 large eggs
2 tsp vanilla extract
1½ cups M&M candies
½ cup chocolate chips (optional)
Directions
- Preheat oven to 350°F (175°C) and line baking sheets with parchment paper.
- Whisk together the flour, baking soda, and salt in a bowl.
- In a separate bowl, beat the butter, brown sugar, and granulated sugar until light and fluffy.
- Mix in the eggs and vanilla extract until combined.
- Gradually add the dry ingredients and mix until a soft dough forms.
- Fold in the M&Ms and chocolate chips, if using.
- Scoop dough onto prepared baking sheets, spacing cookies about 2 inches apart.
- Bake for 10–12 minutes, or until the edges are lightly golden.
- Let cool on the baking sheet for 5 minutes before transferring to a wire rack.
Notes
- For thicker cookies, chill the dough for 30 minutes before baking.
- Press extra M&Ms onto the tops of the dough balls before baking for a bakery-style look.
- Store in an airtight container for up to 5 days.


Hi, I’m Sorenna Blythe, the baker and writer behind Mix Whisk Bake. I share simple, reliable recipes and honest kitchen moments to help home bakers bake with confidence and joy. When I’m not testing new treats, you’ll find me sipping coffee and dreaming up my next bake.