There’s something special about the combination of a chewy cookie base, colorful M&M’s, and melty chocolate chips all in one bite. Classic M&M Cookie Bars take all the best parts of your favorite cookie and transform them into an easy-to-make bar, perfect for sharing or enjoying on your own. With buttery richness, a slight crisp around the edges, and gooey centers loaded with candy and chocolate, these bars are a crowd-pleasing dessert that’s both nostalgic and irresistible.
Baking cookies can be time-consuming with all the scooping, rolling, and baking in batches, but with cookie bars, the process is simplified. Just mix your ingredients, pour them into a pan, and bake—no need for shaping individual cookies. The end result? Bars that are every bit as chewy, gooey, and full of flavor as traditional cookies but with less effort.
Whether you’re preparing a treat for a birthday party, family gathering, or just a cozy night at home, these M&M Cookie Bars deliver the perfect balance of sweetness and texture. Plus, they’re super customizable—you can add nuts, swap in different candy, or adjust the sweetness to suit your preferences. Once you bake these, you’ll find they disappear quickly!
Why You’ll Love This Recipe
- Quick and Easy – Skip the cookie scoop! Simply mix, bake, and slice for perfect treats every time.
- Chewy and Delicious – These bars have the perfect balance of chewy texture and crispy edges.
- Loaded with Candy – Packed with M&M’s and mini chocolate chips, they’re a colorful and sweet bite.
- Customizable – Feel free to swap M&M’s for your favorite candy or add chopped nuts for crunch.
- Great for Sharing – With large squares, they’re perfect for parties, picnics, and gatherings.

Disclosure: This post contains affiliate links.If you click and make a purchase, I may earn a small commission at no extra cost to you.
Ingredients
- Unsalted butter
- Granulated sugar
- Golden brown sugar
- Eggs
- Pure vanilla extract
- All-purpose flour
- Baking soda
- Salt
- M&M’s
- Mini chocolate chips
Variations
- Nutty M&M Cookie Bars: Add 1 cup of chopped walnuts or pecans for a satisfying crunch.
- Dark Chocolate Version: Use dark chocolate chips instead of mini chocolate chips for a richer flavor.
- Holiday-Themed Bars: Use red and green M&M’s for a festive touch, or even seasonal candies for special occasions.
- Peanut M&M’s: Swap regular M&M’s with peanut M&M’s for an extra layer of flavor and crunch.
- Lower Sugar Option: Reduce the sugar by 1/4 cup and use half the amount of M&M’s for a less sweet version.
How to Make the Recipe
Step 1: Preheat the Oven and Prepare the Pan
Preheat the oven to 350°F (175°C). Grease or line a 9×13-inch baking pan with parchment paper.
Step 2: Cream Butter and Sugars
In a large bowl, cream together the unsalted butter, granulated sugar, and brown sugar until light and fluffy, about 2-3 minutes.
Step 3: Add Eggs and Vanilla
Add the eggs, one at a time, beating well after each addition. Stir in the vanilla extract.
Step 4: Mix Dry Ingredients
In a separate bowl, whisk together the flour, baking soda, and salt. Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
Step 5: Fold in M&M’s and Chocolate Chips
Stir in the M&M’s and mini chocolate chips until evenly distributed throughout the dough.
Step 6: Bake
Spread the dough evenly in the prepared pan. Top with additional M&M’s and chocolate chips if desired. Bake for 25-30 minutes or until golden brown and a toothpick inserted in the center comes out clean or with just a few crumbs.
Step 7: Cool and Slice
Allow the cookie bars to cool completely in the pan before slicing into squares.

Tips for Making the Recipe
- Room Temperature Butter: Ensure the butter is at room temperature for the best texture and easy mixing.
- Don’t Overmix: Mix the dough until the ingredients are just combined to avoid tough bars.
- Check for Doneness: Since ovens vary, start checking the bars around 25 minutes to prevent overbaking.
- Cool Completely: Let the bars cool in the pan before slicing to help them set and avoid crumbling.
- Use Parchment Paper: Lining the pan with parchment paper makes it easy to lift the bars out and slice them evenly.
How to Serve
These cookie bars are delicious on their own, but they also pair wonderfully with a scoop of vanilla ice cream for an indulgent dessert. They make a great snack for an afternoon treat, and are perfect for packing in lunchboxes or serving at a party. For an extra special touch, drizzle with melted chocolate or caramel sauce before serving.
Make Ahead and Storage
Storing Leftovers
Store these cookie bars in an airtight container at room temperature for up to 5 days. They will stay soft and chewy for several days.
Freezing
Freeze individual squares by wrapping them in plastic wrap and placing them in a freezer-safe bag or container. They’ll keep for up to 3 months. Thaw at room temperature before serving.
Reheating
To refresh the bars, microwave for 10-15 seconds to warm them up, or serve them cold for a delicious treat.

FAQs
1. Can I make these bars without eggs?
Yes, you can use egg substitutes like flaxseed meal or a commercial egg replacer if you need a vegan version.
2. Can I use salted butter instead of unsalted butter?
Yes, but reduce the amount of salt in the recipe to account for the salt in the butter.
3. How can I make these bars thicker?
If you prefer a thicker bar, use a smaller pan (8×8 inches) to increase the dough’s depth.
4. Can I add other mix-ins to the dough?
Yes! You can add dried fruit, coconut, or other types of candy to make these bars even more unique.
5. What if I don’t have mini chocolate chips?
Regular-sized chocolate chips work just as well, but mini chips ensure an even distribution.
6. Can I use dark brown sugar instead of light brown sugar?
Yes, dark brown sugar will give the bars a slightly richer, molasses-like flavor.
7. Can I skip the chocolate chips?
Absolutely! If you want a more M&M-focused bar, feel free to omit the chocolate chips.
8. How do I know when the bars are done baking?
Check for a golden brown color around the edges and insert a toothpick into the center—if it comes out clean, it’s done.
9. Can I freeze the dough?
Yes, you can freeze the dough for up to 3 months. Just scoop it onto a baking sheet, freeze until firm, then transfer to a bag. Bake directly from frozen, adding a few extra minutes to the baking time.
10. How many servings does this recipe yield?
This recipe yields about 16-20 bars, depending on how large you slice them.
Conclusion
These Classic M&M Cookie Bars are the perfect combination of rich, buttery dough, colorful M&M’s, and gooey chocolate chips. They are easy to make, perfectly chewy, and completely customizable to suit your taste. Whether you’re baking for a special occasion or just want a delicious homemade treat, these bars will quickly become a favorite in your baking rotation. With their irresistible flavor and simple ingredients, they’re sure to be a hit with kids and adults alike!
Print
Classic M&M Cookie Bars
- Total Time: 40 minutes
- Yield: 12 bars 1x
Description
These chewy, sweet, and colorful M&M cookie bars are a fun and delicious treat for any occasion. Loaded with M&M’s and mini chocolate chips, they are the perfect dessert for kids and adults alike!
Ingredients
-
2 sticks unsalted butter, at room temperature
-
1 cup granulated sugar
-
1 cup golden brown sugar, firmly packed
-
3 large eggs
-
1½ teaspoons pure vanilla extract
-
3 cups all-purpose flour
-
¾ teaspoon baking soda
-
¾ teaspoon salt
-
1½ cups M&M’s (plus more for topping)
-
1 cup mini chocolate chips (plus more for topping)
Instructions
-
Preheat your oven to 350°F (175°C). Grease a 9×13-inch baking dish or line it with parchment paper.
-
In a large mixing bowl, cream together the softened butter, granulated sugar, and brown sugar until light and fluffy, about 3-4 minutes.
-
Add the eggs, one at a time, beating well after each addition. Stir in the vanilla extract.
-
In a separate bowl, whisk together the all-purpose flour, baking soda, and salt. Gradually add the dry ingredients to the wet mixture, mixing until just combined.
-
Gently fold in the M&M’s and mini chocolate chips.
-
Spread the cookie dough evenly into the prepared baking dish. Sprinkle additional M&M’s and mini chocolate chips on top for extra color and sweetness.
-
Bake for 25-30 minutes, or until the bars are golden brown and a toothpick inserted into the center comes out clean.
-
Allow the bars to cool in the pan before cutting them into squares.
- Serve and enjoy!
Notes
-
These cookie bars are best when served fresh but can be stored in an airtight container at room temperature for up to 5 days.
-
You can mix and match the types of M&M’s used for different flavor combinations. Try adding peanut butter M&M’s for an extra twist!
- For extra chewy bars, underbake slightly and let them set for a few minutes in the pan.
- Prep Time: 15 minutes
- Cook Time: 25 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American


