M&M Cookies from Scratch: Fun & Easy Recipe
Yes, you can make fun and easy M&M cookies from scratch with basic pantry ingredients and a single bowl. The dough comes together in about 15 minutes, needs no chilling, and bakes in 10–12 minutes, so you get soft, colorful cookies with crisp candy shells in under half an hour.
Why M&M Cookies Are a Scratch-Friendly Classic
M&M cookies are essentially a drop sugar-butter cookie studded with candy-coated chocolate. Because the dough is forgiving and the candies add built-in decoration, they are a popular first scratch-baking project. The recipe relies on the creaming method: softened butter and sugar are beaten until light and fluffy, which incorporates air and helps the cookies rise. An egg provides moisture and structure, while flour, baking soda, and salt form the base. Vanilla rounds out the flavor. The M&Ms go in last so they stay intact.
One common misconception is that you need special “M&M cookie” ingredients or a mix. You do not. Regular all-purpose flour, granulated and brown sugar, unsalted butter, one egg, baking soda, salt, and vanilla are enough. Brown sugar contributes moisture and a slight caramel note; white sugar helps spread and crispness. The ratio of the two sugars is the main lever for chewy versus crisp.
Ingredients and Exact Quantities
This recipe yields about 24 cookies (2 tablespoons of dough each). Use a kitchen scale for the most consistent results; volume measures can vary by 10–20% depending on how flour is scooped.
- 1¾ cups (210 g) all-purpose flour
- ½ teaspoon baking soda
- ½ teaspoon fine salt
- ½ cup (113 g) unsalted butter, softened
- ½ cup (100 g) granulated sugar
- ½ cup (100 g) packed light brown sugar
- 1 large egg
- 1½ teaspoons vanilla extract
- 1 cup (about 170 g) M&Ms, plus extra for pressing on top
If you use salted butter, reduce the added salt to a pinch. For a chewier cookie, increase brown sugar to ⅔ cup and decrease granulated to ⅓ cup; for a crisper cookie, do the reverse. Do not substitute baking powder for baking soda—it will change the spread and flavor.
Step-by-Step Method
- Preheat the oven to 375°F (190°C). Line two baking sheets with parchment paper.
- In a medium bowl, whisk the flour, baking soda, and salt together. Set aside.
- In a large bowl, beat the softened butter, granulated sugar, and brown sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes. Scrape down the bowl.
- Beat in the egg and vanilla until fully incorporated, about 1 minute.
- Add the flour mixture in two additions on low speed, mixing just until no dry streaks remain. Overmixing develops gluten and makes cookies tough.
- Fold in the M&Ms with a spatula. Reserve a handful to press onto the tops of the dough balls for a bakery-style look.
- Scoop 2-tablespoon portions onto the prepared sheets, spacing them about 2 inches apart. Press a few extra M&Ms onto each ball.
- Bake one sheet at a time for 10–12 minutes, until the edges are set and the centers look slightly underdone. They will firm up as they cool.
- Cool on the sheet for 5 minutes, then transfer to a wire rack to cool completely.
No chilling is required for this dough, but if the kitchen is warm and the dough feels greasy, chill it for 15–20 minutes to limit spread. For thicker cookies, chill the portioned dough balls for 30 minutes before baking.
How to Choose and Handle the M&Ms
Standard milk chocolate M&Ms work best because they hold their shape and color. Mini M&Ms distribute more evenly and are less likely to crack the dough, but they can burn faster—reduce bake time by 1–2 minutes. Peanut and peanut butter varieties are larger and heavier; chop peanut M&Ms roughly before folding in, and expect a slightly longer bake. Avoid “pretzel” or “crispy” varieties if you want the classic look, as they can soften and lose contrast.
To keep colors from bleeding, fold the candies in gently at the end and do not overmix. Pressing a few M&Ms onto the dough balls after scooping ensures visible candy on top even if some sink. If using leftover holiday M&Ms, sort out broken pieces; cracked shells release color into the dough.
Common Problems and Fixes
- Cookies spread too much: Butter was too warm, dough was overmixed, or the flour was under-measured. Chill the dough and weigh flour next time.
- Cookies are dry or crumbly: Too much flour or overbaking. Spoon flour into the cup and stop baking when centers are still soft.
- M&Ms crack or sink: Dough is too warm or candies were mixed in too vigorously. Fold gently and press candies on top.
- Uneven baking: Oven hotspots. Rotate the sheet halfway through and bake one sheet at a time on the middle rack.
- Flat, greasy cookies: Butter was melted rather than softened, or the dough was not chilled in a hot kitchen.
Storage, Safety, and Make-Ahead Tips
Store cooled cookies in an airtight container at room temperature for up to 5 days. For longer storage, freeze baked cookies for up to 3 months and thaw at room temperature. Raw dough can be refrigerated for up to 48 hours or frozen as portioned balls for up to 3 months; bake from frozen, adding 2–3 minutes to the bake time.
For food safety, bake until the internal temperature of the cookie reaches at least 160°F (71°C) if you are concerned about raw egg and flour. The FDA advises against eating raw dough. Keep dough away from young children, and wash hands and surfaces after handling raw egg. Use pasteurized eggs if you plan to taste the dough before baking. Do not leave butter or dough at room temperature for more than 2 hours.
Variations and Comparisons
M&M cookies sit between chocolate chip cookies and sugar cookies in texture. Compared with chocolate chip cookies, they are slightly sweeter and more colorful, and the candy shells add a subtle crunch. Compared with plain sugar cookies, they are richer and softer due to brown sugar and egg. For a chocolate base, replace ¼ cup of flour with ¼ cup cocoa powder and add 2 tablespoons milk. For a peanut butter version, add ⅓ cup creamy peanut butter and reduce butter to ⅓ cup. For a gluten-free version, use a 1:1 gluten-free flour blend and add ½ teaspoon xanthan gum if the blend lacks it.
Cost-wise, homemade M&M cookies are generally cheaper per cookie than bakery or store-bought cookies, especially if you buy candy in bulk. The main variable cost is the M&Ms; generic candy-coated chocolates work but may have a different shell texture. A batch of 24 cookies uses about half a standard 10-ounce bag of M&Ms, leaving plenty for snacking or a second batch.
Frequently Asked Questions
Can I use melted butter instead of softened?
Melted butter makes the dough greasier and causes more spread, producing flatter, crisper cookies. If you only have melted butter, chill the dough for at least 30 minutes before baking and expect a thinner result.
Do I have to chill the dough?
No, this recipe is designed to bake immediately. Chilling is optional and mainly useful in a warm kitchen or for thicker cookies. Chilled dough may need 1–2 extra minutes in the oven.
Why did my M&Ms lose their color?
The candy shells can bleed if the dough is too warm or if you mix too vigorously. Use room-temperature dough, fold gently, and press most candies on top rather than stirring them all through.
Can I freeze the dough?
Yes. Scoop the dough into balls, freeze on a tray until solid, then transfer to a freezer bag for up to 3 months. Bake from frozen at 375°F (190°C), adding 2–3 minutes to the usual time.
How do I know when the cookies are done?
The edges should be set and lightly golden, while the centers still look soft and slightly glossy. They continue to set on the hot sheet. For a precise check, the internal temperature should reach 160°F (71°C).
Can I make these cookies smaller or larger?
Yes. Use 1-tablespoon portions for mini cookies and bake 8–9 minutes; use 3-tablespoon portions for large cookies and bake 13–15 minutes. Adjust the candy quantity proportionally.