There’s a certain magic that happens when the oven timer goes off and that warm, buttery scent of freshly baked cookies fills the house. For me, that scent is forever tied to these Ultimate Chewy M&M Cookie Bars. I remember making them for the first time on a snowy afternoon, the colorful M&M’s looking like little jewels in the dough. They were an instant hit, disappearing from the pan in minutes. While I adore the festive cheer of treats like my favorite peppermint bark, the pure, simple joy of these M&M cookie bars makes them my year-round comfort dessert.
Why This Dish is a Go-To in My Kitchen
I absolutely adore this recipe because it delivers that perfect from-scratch cookie experience without the fuss of scooping individual dough balls. With just 15 minutes of prep and a 28-minute bake time, these M&M Cookie Bars come together so quickly. The combination of simple pantry staples like unsalted butter, light brown sugar, and all-purpose flour creates an incredibly rich and chewy base that’s impossible to resist. It’s my secret weapon for potlucks and last-minute cravings.
Let’s Talk About the Ingredients
The key to that perfect chewiness is using both light brown and granulated sugar; don’t skip this! I also insist on pure vanilla extract for the richest flavor. If you want to get creative, feel free to toss in other goodies like in my kitchen sink cookies.


Ultimate Chewy M&M Cookie Bars
Ingredients
Equipment
Method
- Preheat your oven to 350°F (175°C). Line a 9×13 inch baking pan with parchment paper, leaving an overhang on the sides to easily lift the bars out later. Lightly grease the parchment paper.
- In a medium bowl, whisk together the all-purpose flour, cornstarch, baking soda, and salt. Set aside.
- In a large bowl, combine the melted butter, light brown sugar, and granulated sugar. Using an electric mixer, beat on medium speed for about 1-2 minutes until well combined and smooth.
- Add the eggs one at a time, beating well after each addition. Beat in the vanilla extract until just combined.
- Gradually add the dry ingredient mixture to the wet ingredients, mixing on low speed until just combined. Be careful not to overmix.
- Reserve about 1/2 cup of the M&M’s for the topping. Gently fold the remaining 1 cup of M&M’s and the semi-sweet chocolate chips into the cookie dough with a spatula.
- Scrape the dough into the prepared 9×13 inch pan. The dough will be thick. Use the spatula or your hands to press it evenly into the pan.
- Sprinkle the reserved 1/2 cup of M&M’s evenly over the top of the dough, gently pressing them in slightly. Bake for 25-30 minutes, or until the edges are golden brown and a toothpick inserted into the center comes out with moist crumbs attached.
- Let the cookie bars cool completely in the pan on a wire rack for at least 2-3 hours. This is crucial for clean cuts and a chewy texture. Do not attempt to cut them while warm.
- Once completely cooled, use the parchment paper overhang to lift the entire slab out of the pan. Place on a cutting board and slice into 24 bars.
Notes
Don’t Overbake: For the ultimate chewy texture, it’s better to slightly underbake than overbake these bars. The center should look a little soft when you pull them from the oven; they will continue to set as they cool.
Variations: Feel free to use any variety of M&M’s (peanut, peanut butter, mini) or substitute other mix-ins like white chocolate chips or chopped nuts.
How I Make M&M Cookie Bars Step-by-Step
Bringing these bars to life is one of my favorite kitchen rituals. I start by creaming the softened butter with both sugars until it’s light and fluffy—this step is crucial for the texture. Then, I beat in the eggs and vanilla, creating a fragrant, golden mixture. After gently mixing in the dry ingredients, I fold in the chocolate chips and M&M’s. Spreading the thick, colorful dough into the pan always makes me smile, just like when I’m making a batch of classic buttery spritz cookies.

My Tips for the Perfect Outcome
- Don’t Overmix: Once you add the flour, mix until just combined to keep the bars tender.
- Press Gently: Spread the dough evenly in the pan without compacting it too much.
- Slightly Underbake: Pull them from the oven when the edges are golden but the center is still soft.
How I Serve and Store This Dish
I love serving these cookie bars warm with a scoop of vanilla ice cream for an extra decadent treat. They’re also perfect on their own with a tall glass of milk. Once they’ve cooled completely, I store them in an airtight container at room temperature for up to four days. For a fun, no-bake alternative that also stores well, you have to try my delicious No-Bake Moose Farts.
Frequently Asked Questions
Can I use other types of chocolate chips?
Absolutely! While I love semi-sweet, you can easily substitute them with milk chocolate, dark chocolate, or even white chocolate chips. Using a mix is also a fantastic way to add more flavor depth to your M&M cookie bars.
Why did my cookie bars turn out dry?
This is often caused by overbaking or measuring the flour incorrectly. Make sure to spoon your flour into the measuring cup and level it off, rather than scooping directly from the bag. Also, watch them closely and pull them from the oven when the center still looks a little soft.
Can I make this recipe ahead of time?
Yes, this dough is perfect for making ahead. You can prepare the dough, press it into your baking pan, cover it tightly, and refrigerate it for up to two days before baking. You may need to add a couple of extra minutes to the bake time.
Can I freeze the baked cookie bars?
These bars freeze beautifully! Once they are completely cooled, I recommend slicing them into squares and placing them in a single layer in a freezer-safe bag or container. They will stay fresh for up to three months. Just thaw them at room temperature.
Conclusion
This recipe holds a special place in my heart, and I truly hope it brings as much joy to your table as it does to mine. The chewy texture and colorful crunch make these M&M Cookie Bars an unforgettable treat. If you try them, I’d absolutely love to hear what you think!
