Irresistible M&M Cookie Bars
I’ve always believed that the kitchen has a way of sparking joy in the simplest moments. For me, it happened one afternoon when my younger brother dropped a bag of M&M’s on the counter and asked, “Can we bake something fun?”
I wasn’t in the mood for fussy layer cakes or delicate pastries, but I couldn’t resist the thought of turning those candies into something colorful and irresistible.
That’s how I landed on cookie bars. They’re easy to make, they fill the house with the nostalgic scent of warm butter and sugar, and they cut perfectly into shareable squares. As I pressed the dough into the pan and scattered extra M&M’s on top, I couldn’t help but smile. It felt like the kind of treat that makes an ordinary afternoon feel brighter.
The moment they came out of the oven, golden at the edges and soft in the center, I knew they were something special. My brother hovered impatiently, and when we finally cut into the slab, the first bite was chewy, melty, and just the right amount of crunchy. Ever since that day, these cookie bars have been a favorite in my kitchen for how easy they are to whip up and the joy they bring to everyone who tastes them.

Short Description
Irresistible M&M Cookie Bars are chewy, buttery, and loaded with colorful chocolate candies. Easy to make and perfect for snacks, dessert, or potlucks, they combine all the fun of cookies in convenient bar form.
Key Ingredients
- 1 cup (2 sticks) unsalted butter, softened
- 1 cup packed light brown sugar
- ½ cup granulated sugar
- 2 large eggs, at room temperature
- 1 tablespoon pure vanilla extract
- 2 ¾ cups all-purpose flour
- 1 teaspoon cornstarch
- 1 teaspoon baking soda
- ½ teaspoon fine sea salt
- 1 ½ cups milk chocolate M&M’s candies, divided
- 1 cup semi-sweet chocolate chips
Tools Needed
- Stand mixer or hand mixer
- Mixing bowls
- Measuring cups and spoons
- 9×13 inch metal baking pan
- Parchment paper
- Spatula
- Wire cooling rack
Cooking Instructions
Step 1: Prep and Preheat
Preheat your oven to 350°F (175°C). Grease a 9×13 inch metal baking pan and line it with parchment paper, leaving an overhang on two sides to lift the bars out easily after baking.
Step 2: Cream Wet Ingredients
In the bowl of a stand mixer fitted with the paddle attachment, or using a hand mixer, beat the softened butter, brown sugar, and granulated sugar together on medium speed for 2 to 3 minutes, until the mixture looks pale, fluffy, and slightly glossy.
Step 3: Incorporate Eggs and Vanilla
Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract until the batter is smooth and fully combined.
Step 4: Combine Dry Ingredients
In a separate bowl, whisk together the all-purpose flour, cornstarch, baking soda, and salt. Gradually add this mixture to the wet ingredients with the mixer on low speed, mixing only until a few streaks of flour remain.
Step 5: Form the Dough
Use a spatula to fold in 1 cup of the M&M’s candies and all the chocolate chips until evenly distributed throughout the dough.
Step 6: Press and Top
Transfer the dough to the prepared pan. Use lightly greased hands or the bottom of a measuring cup to press it into an even layer. Sprinkle the remaining ½ cup of M&M’s over the top and press them down gently.
Step 7: Bake
Bake for 22 to 26 minutes, or until the top turns lightly golden brown and the edges are firm. The center should still look slightly soft—that’s what gives the bars a chewy texture.
Step 8: Cool and Slice
Set the pan on a wire rack and let the bars cool completely in the pan. Once cooled, lift the entire slab out using the parchment overhang, transfer to a cutting board, and slice into even bars.
Why You’ll Love This Recipe
Easy, no-fuss dessert that comes together quickly
Perfectly chewy texture with golden edges and soft centers
Colorful M&M’s add both crunch and a fun pop of color
Great for sharing at parties, potlucks, or family gatherings
A versatile base recipe you can customize with different mix-ins
Mistakes to Avoid & Solutions
Overbaking
Bars continue to cook slightly after leaving the oven. Pull them when the center looks just set to keep them chewy.
Solution: Remove from the oven earlier and let them finish setting as they cool.
Uneven layers
If the dough isn’t spread evenly, the bars will bake inconsistently. Use the bottom of a measuring cup to smooth the surface.
Solution: Spread dough evenly before baking to ensure uniform texture.
Pressing M&M’s too lightly
Candies that aren’t pressed in may fall off after baking. Gently press them into the dough to secure.
Solution: Press firmly enough so candies stick without breaking the surface.
Using cold butter
Softened butter is key for proper creaming. If your butter is too cold, the batter won’t whip up light and fluffy. Let it sit out for 30 minutes before starting.
Solution: Bring butter to room temperature before mixing.
Cutting too soon
Warm bars can crumble. Always let them cool completely before slicing.
Solution: Allow full cooling time or chill briefly for cleaner cuts.
Serving and Pairing Suggestions
Serve warm bars with a scoop of vanilla ice cream for a classic treat.
Pack them in lunchboxes or picnic baskets as a portable sweet.
Pair with a glass of cold milk or a hot cup of coffee.
Present on a dessert platter alongside brownies and blondies for variety.
Wrap individually for party favors or bake sale treats.
Storage and Reheating Tips
Store cooled bars in an airtight container at room temperature for up to 5 days.
For longer storage, refrigerate up to 7 days, though the texture is best at room temp.
Freeze sliced bars in a freezer-safe bag or container for up to 2 months. Separate layers with parchment to prevent sticking.
To reheat, microwave a bar for 10 to 15 seconds for that “freshly baked” feel.
FAQs
1. Can I use peanut M&M’s instead of milk chocolate?
Yes, peanut M&M’s add a nutty crunch and pair wonderfully with the cookie base.
2. Why add cornstarch to the dough?
Cornstarch helps create a soft, tender texture while preventing the bars from becoming too dense.
3. Can I halve the recipe?
Yes, bake in an 8×8 inch pan for about 25 to 28 minutes.
4. Do I need to chill the dough before baking?
Not required, but chilling for 20 minutes can make pressing into the pan easier if the dough is sticky.
5. Can I substitute dark chocolate chips?
Absolutely. Dark chocolate will give the bars a richer, less sweet flavor.
Tips & Tricks
Reserve a handful of chocolate chips to sprinkle on top alongside the M&M’s for a bakery-style finish.
If your bars turn out dry, reduce baking time by 2 minutes next time.
Line your pan with parchment paper for easy removal and cleaner cuts.
For neater slices, use a sharp knife and wipe it clean between cuts.
Double the recipe for a crowd and bake in two pans side by side.
Recipe Variations
Peanut Butter Twist: Replace ½ cup of the butter with creamy peanut butter, and swap in peanut butter M&M’s. Bake as directed.
Festive Holiday Bars: Use seasonal M&M’s (red and green for Christmas, pastel for Easter, etc.) for a themed dessert.
Oatmeal Cookie Bars: Replace ½ cup of flour with quick oats for a heartier, chewier texture.
White Chocolate & Macadamia: Swap the semi-sweet chocolate chips for white chocolate chips, and fold in ½ cup of chopped macadamia nuts.
Gluten-Free Option: Use a cup-for-cup gluten-free flour blend and ensure candies are gluten-free certified.
Final Thoughts
Baking these M&M Cookie Bars reminded me how joy often comes from simple, colorful treats that are easy to share. They don’t require a special occasion, just a craving for something sweet and playful. Each square is a mix of chewy cookie dough, melty chocolate, and the crunch of candy coating that always makes people smile.
The best part is how flexible they are. Whether you’re baking for family, friends, or just to brighten up an afternoon, these bars deliver. They look festive, taste indulgent, and disappear quickly once set out on the table. Give them a try, and you’ll see how fast they become a favorite in your kitchen too.
Irresistible M&M Cookie Bars
Course: DessertsDifficulty: Easy12
servings10
minutes25
minutesIrresistible M&M Cookie Bars are chewy, buttery, and loaded with colorful chocolate candies. Easy to make and perfect for snacks, dessert, or potlucks, they combine all the fun of cookies in convenient bar form.
Ingredients
1 cup (2 sticks) unsalted butter, softened
1 cup packed light brown sugar
½ cup granulated sugar
2 large eggs, at room temperature
1 tablespoon pure vanilla extract
2 ¾ cups all-purpose flour
1 teaspoon cornstarch
1 teaspoon baking soda
½ teaspoon fine sea salt
1 ½ cups milk chocolate M&M’s candies, divided
1 cup semi-sweet chocolate chips
Directions
- Preheat oven to 350°F (175°C). Grease a 9×13 inch pan and line with parchment, leaving an overhang for easy lifting.
- Beat softened butter with brown sugar and granulated sugar for 2–3 minutes until pale and fluffy.
- Add eggs one at a time, then stir in vanilla until smooth.
- Whisk flour, cornstarch, baking soda, and salt in a separate bowl, then mix into wet ingredients just until combined.
- Fold in 1 cup M&M’s and all chocolate chips until evenly distributed.
- Press dough evenly into the pan, then sprinkle remaining ½ cup M&M’s on top and press gently.
- Bake 22–26 minutes until golden at the edges and slightly soft in the center.
- Cool completely in the pan, lift out with parchment, and slice into bars.