Desserts
This chewy M&M cookie bars recipe delivers the perfect balance of crispy edges and gooey centers with rivers of melted chocolate and colorful M&Ms in every bite.
The secret lies in a precise ratio of butter to brown sugar and a touch of corn syrup for that signature chewy texture—no shortcuts, just reliable results every time.
What sets these apart is the two-stage baking process: a crispy bottom crust that holds up perfectly when cutting, followed by a chewy middle that stays soft even after cooling.
The M&Ms stay vibrant and crunchy, while the chocolate rivers create pockets of melty goodness that make these bars impossible to resist.
By the time they emerge from the oven, you'll have a pan of golden, crackly-edged bars with a tender interior and pockets of chocolate that cut cleanly for neat, satisfying squares.
The aroma alone will have everyone gathering in the kitchen, and the first bite proves why this recipe becomes a holiday staple.
Serve warm with a scoop of vanilla ice cream or enjoy at room temperature for a treat that's rich, indulgent, and perfectly balanced. These bars keep well for days, making them ideal for baking ahead and sharing with neighbors or coworkers.
Ingredients for chewy m&m cookie bars
These ingredients create the perfect chewy M&M cookie bars with crispy edges and melty chocolate pockets.
| Ingredient | Amount | Notes |
|---|---|---|
| Unsalted Butter 🧈 | 1 ½ cups | Room temperature, not melted |
| Light Brown Sugar 🍚 | 2 cups | Packed firmly, no substitutions |
| Granulated Sugar 🍚 | ½ cup | For crispy texture contrast |
| Corn Syrup 🍯 | ¼ cup | Keeps bars chewy, not sticky |
| Large Eggs 🥚 | 2 whole | Room temperature for even mixing |
| Vanilla Extract 🌿 | 2 tsp | Pure extract, not imitation |
| All-Purpose Flour 🌾 | 3 ½ cups | Sifted for light texture |
| Baking Soda 🧂 | ½ tsp | Ensures proper rise |
| Salt 🧂 | ½ tsp | Kosher or sea salt |
| Milk Chocolate Chips 🍫 | 2 cups | Semi-sweet, 1.56 oz bag |
| M&M's Plain 🍬 | 2 cups | Colorful variety preferred |
| Semisweet Chocolate Chunks 🍫 | 1 cup | 60% cacao for balance |
| White Chocolate Chips 🍫 | ½ cup | Optional for contrast |
The butter and sugars are non-negotiable here—use room-temperature butter to avoid lumps, and pack the brown sugar tightly for maximum chew. Costco or grocery store brands work fine for butter, but avoid salted. For chocolate, Hershey's or Ghirardelli chips are reliable; M&M's should be the colorful variety for visual appeal. The corn syrup might be hiding in the baking aisle—Karo brand is standard. Flour? King Arthur or Gold Medal are consistent, but any all-purpose works if stored properly. Baking soda and salt are pantry staples, but Diamond Crystal salt dissolves better than table salt.
No corn syrup? Light corn syrup or honey in a pinch, but expect slightly different texture. Swap chocolate chips for chopped bars if needed—break them into even pieces. M&M's can be omitted entirely for a classic chocolate chip version. For a richer flavor, add 0.25 cup cocoa powder to the dry ingredients. The vanilla extract should be pure—imitation smells artificial. If your chocolate chips are pre-melted or caked, toss them in the freezer for 15 minutes to firm up before using. And if you're feeling fancy, add 0.25 cup chopped nuts for crunch.
Store the baked bars in an airtight container at room temperature for up to 5 days, or freeze for 3 months for maximum freshness. The chocolate stays vibrant longer if you press parchment paper directly on top before sealing. For cutting, let bars cool completely—2 hours at room temperature or 1 hour in the fridge. These bars reheat beautifully: 30 seconds in microwave brings back the melty chocolate rivers. Portion into squares for easy serving, and keep extras in the freezer for spontaneous treats.
Why You'll Love This Recipe
- No Fuss Mixing: I swear by the 30-second creaming method—just butter, sugars, and corn syrup until it’s smooth. No need to measure flour perfectly or worry about overmixing. The eggs blend right in, and suddenly, you’ve got a dough that’s almost too easy to resist rolling out.
- Melted Chocolate Magic: That combo of brown sugar, corn syrup, and melted butter? It creates a chewy, caramel-like base that’s ridiculously good on its own. Add the M&Ms, and you’ve got pockets of gooey chocolate with every bite—like a cookie and candy bar had a perfect lovechild.
- Party-Ready in 30: Bake these for a crowd and watch them disappear. They’re sturdy enough to cut into squares (no crumbling!) and packable for potlucks or lunchboxes. Honestly, I’ve served them at book clubs, game nights, and even as a “dessert” for my kids’ school bake sale.
- Budget-Friendly Indulgence: You’re using pantry staples—no fancy ingredients, just butter, sugar, and a bag of M&Ms. A single batch feeds six, and leftovers? They last forever in the fridge. I’ve reheated slices in the oven for days, and they taste just as fresh. (Yes, even on a Tuesday night.)
Step-by-step instructions for chewy M&M cookie bars
Here's the method for creating bars with a crispy shell and gooey chocolate rivers that'll impress everyone.
Cream Butter and Sugars Together
In a large mixing bowl, combine the 1.5 cups unsalted butter with the 2 cups light brown sugar and 0.5 cup granulated sugar. Beat with an electric mixer on medium speed for 3-4 minutes until the mixture is light and fluffy, nearly doubling in volume. You'll see the texture transform from grainy to pale and airy—this is crucial for that perfect chewy texture.
Here's the thing—I always check the butter first. It should be soft enough to leave a slight indentation when pressed with your finger, but not melted. If it's too cold, the mixture won't cream properly, and if it's too warm, you'll end up with greasy bars. The corn syrup will be added next, so don't worry about the mixture looking too wet yet.
Add Eggs, Vanilla, and Wet Ingredients
Add the 2 whole large eggs, one at a time, mixing well after each addition. Then stir in the 2 teaspoons vanilla extract and 0.25 cup corn syrup. Mix until completely combined—this should take about 1-2 minutes. The batter will look slightly thicker now, but still smooth.
I like to scrape down the sides of the bowl with a rubber spatula at this point to ensure everything is evenly incorporated. The corn syrup helps prevent the bars from becoming too crispy, keeping that perfect chewy center we're after. Don't rush this step—the thorough mixing ensures even distribution of all ingredients.
Combine Dry Ingredients and Chocolate
In a separate bowl, whisk together the 3.5 cups all-purpose flour, 0.5 teaspoon baking soda, and 0.5 teaspoon salt. Gradually add this dry mixture to the wet ingredients, mixing on low speed until just combined. Be careful not to overmix—you should still see some flour streaks.
Now fold in the 2 cups milk chocolate chips, 2 cups M&M's plain, 1 cup semisweet chocolate chunks, and 0.5 cup white chocolate chips by hand using a spatula. Make sure they're evenly distributed throughout the dough. The chocolate will melt slightly from the warmth of the mixture, which is perfect for creating those beautiful chocolate rivers when baked.
Press into Pan and Bake
Preheat your oven to 350°F and line a 9x13-inch baking pan with parchment paper, leaving an overhang on the sides for easy removal. Press the dough evenly into the pan using a spatula or your hands—this is where the magic happens. You want the dough to be about ¼-inch thick throughout the pan.
Bake for 25-30 minutes until the edges are golden brown and the center still looks slightly underdone. The bars will continue cooking as they cool. Here's the key: they should pull away slightly from the edges of the pan but still be soft in the center. If you're unsure, insert a toothpick—it should come out with a few moist crumbs, not completely clean.
Cool and Cut for Perfect Bars
Remove the pan from the oven and let the bars cool in the pan for 15 minutes. Then transfer to a wire rack to cool completely for another 1 hour. This cooling period is crucial—it allows the chocolate to set properly and prevents the bars from being too soft.
Once fully cooled, lift the bars out using the parchment overhang and cut into 16 equal bars (about 3x2-inch rectangles). The chocolate should be set but still slightly melty when you cut through—this is what creates that perfect chewy texture with pockets of gooey chocolate. Store in an airtight container at room temperature for up to 5 days or freeze for up to 3 months.
Pro Tips For Making Chewy M&M Cookie Bars
- DON’T OVERMIX THE DOUGH: I learned this the hard way—beating the butter, sugars, and corn syrup into a light foam (not stiff peaks) is non-negotiable. Once you add the eggs, mix just until combined; overworking it turns your gooey bars into dense, dry bricks. Stop when the batter looks like wet sand, not wet cement.
- MELT THE BUTTER FULLY: Cold butter pockets in the dough mean uneven texture—your bars will have soft spots that never set right. Microwave the butter in 20-second bursts, stirring between, until it’s completely liquid. No guesswork: it should be smooth, not glistening with flecks of white.
- PRESS THEM EVENLY: Uneven pressure = uneven baking. Use a bench scraper or the back of a fork to spread the dough into the pan—press down firmly but not so hard you compact the M&Ms. Aim for a thickness of about ½ inch; thicker spots stay doughy, thinner spots burn.
- LET THEM REST (YES, REALLY): Skipping the 10-minute chill before baking is a shortcut you’ll regret. The dough needs time to firm up slightly—otherwise, the M&Ms sink, and the edges spread into a messy, uneven mess. Pop the pan in the fridge while you preheat; trust me, it’s worth the wait.
Pro cooking tips for this dish
Butter Temperature Matters
Use room-temperature butter—this is non-negotiable for creamy, fluffy cookie bars. Press a finger into the butter: it should leave a slight indentation but not be greasy. If it's too cold, the mixture won't cream properly, leading to dense bars.
If too warm, you'll end up with greasy, spread-out bars. I always let my butter sit out for 30-60 minutes before starting. 🧈
Two-Stage Baking Secret
Bake at 350°F for 25-30 minutes until edges are golden but the center still looks soft. The key is to pull them out when they're slightly underdone—they'll firm up as they cool.
For extra crispy edges, place the pan on a baking sheet in the oven to prevent heat from escaping from the bottom. This two-stage approach creates the signature chewy texture with crispy edges.
Press Evenly for Perfect Thickness
Press the dough into the 9x13-inch pan to a ¼-inch thickness—this ensures even baking and clean cuts. Use a spatula to press firmly, then smooth the top with the back of a spoon. If the dough is too sticky, chill it for 15 minutes before pressing.
Uneven thickness leads to some bars being too crispy and others too soft. I always weigh down the pan with a second baking sheet for 10 minutes while preheating to help with spreading.
Chocolate Melting Magic
The chocolate chips and chunks melt slightly during baking, creating those beautiful rivers when cut. For even distribution, fold them in by hand with a spatula after mixing the dry ingredients. If your chocolate is pre-melted or caked, freeze it for 15 minutes to firm up before adding.
This ensures the chocolate stays in chunks rather than spreading into a thin layer. The contrast between crispy edges and melty chocolate is what makes these bars irresistible. 🍫
Cut While Still Warm
Let the bars cool in the pan for 15 minutes, then transfer to a wire rack to cool completely for 1 hour. Cutting too soon makes them crumble, while waiting too long makes the chocolate set too hard.
For clean cuts, use a hot knife—dip it in hot water between cuts. This creates sharp edges and prevents the bars from sticking. I like to cut into 16 equal bars (about 3x2 inches) for perfect portions.
Storage for Maximum Freshness
Store in an airtight container at room temperature for up to 5 days, or freeze for 3 months for maximum freshness. To prevent the chocolate from turning grainy, press parchment paper directly on top before sealing.
For reheating, microwave individual bars for 10-15 seconds to restore the melty chocolate rivers. These bars also freeze beautifully—just thaw at room temperature for 1 hour before serving. ❄️
Nutrition facts
Frequently asked questions
Can I make these bars without corn syrup?
Yes, but the texture will be slightly different. Replace the 0.25 cup corn syrup with 0.25 cup honey or 0.25 cup light corn syrup for a similar effect. Without it, your bars may be slightly crispier rather than chewy. The corn syrup helps retain moisture and creates that signature soft, gooey center.
How do I prevent the M&M's from sinking to the bottom?
Fold the M&M's in by hand with a spatula after mixing in the dry ingredients—this helps distribute them evenly. For extra insurance, gently press the dough into the pan in stages, adding more M&M's between layers. Avoid overmixing once the chocolate candies are added, as this can cause them to sink. The two-stage pressing method also helps keep them suspended in the dough.
Why did my bars turn out too crispy?
Overbaking is the most common cause—pull them out when the edges are golden but the center still looks slightly underdone. If your oven runs hot, reduce the temperature by 25°F or check for doneness 2-3 minutes early. Also, ensure your butter is room temperature (not melted) and don't overmix the dough, which can make bars denser and crispier.
Can I use white chocolate instead of milk chocolate chips?
Replace the 2 cups milk chocolate chips with 2 cups white chocolate chips for a sweeter, creamier flavor. For best results, use high-quality white chocolate that melts smoothly. The white chocolate will create beautiful rivers when baked, though it may set slightly faster than milk chocolate. For extra richness, mix both types of chocolate chips.
How do I make these bars gluten-free?
Replace the 3.5 cups all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob's Red Mill or King Arthur). Add 0.5 teaspoon xanthan gum to help bind the dough. Keep all other ingredients the same, but press the dough into the pan more firmly to compensate for the different texture. These bars may be slightly less chewy but still delicious.
