Craving a fun and easy-to-make dessert that’s bursting with flavor and color? These M&M Cookie Bars are a delicious spin on classic chocolate chip cookies, but even better because they’re baked in bar form! Packed with colorful M&M candies and chunks of chocolate, these cookie bars are soft, chewy, and perfect for sharing at parties, bake sales, or enjoying as a family treat. Follow this recipe to make your own batch of M&M Cookie Bars that everyone will love!
What Are M&M Cookie Bars?
M&M Cookie Bars are essentially thick, chewy cookies baked in a single pan and then sliced into bars. These bars combine the buttery, sugary goodness of classic cookie dough with the added crunch and color of M&M candies. Baking them as bars, rather than individual cookies, is a time-saving method that’s perfect for when you need to whip up a dessert quickly or when you want a more uniform and dense cookie texture.
Ingredients List for M&M Cookie Bars
For the Cookie Bars:
- 1 cup (2 sticks) unsalted butter, softened
- ¾ cup granulated sugar
- ¾ cup brown sugar, packed
- 2 large eggs
- 2 teaspoons vanilla extract
- 2 ¼ cups all-purpose flour
- 1 teaspoon baking soda
- ½ teaspoon salt
- 1 cup M&M candies (plus extra for topping)
- 1 cup semisweet or milk chocolate chips (optional but recommended)
Optional Toppings:
- Extra M&Ms for decorating the top
- Flaky sea salt (for a salty-sweet contrast)
Substitutions and Variations
Here are a few simple swaps and variations you can try to customize this recipe:
- Gluten-Free Option: Substitute the all-purpose flour with a gluten-free baking flour blend. Be sure to use one that’s designed for baking to maintain the proper texture.
- Dairy-Free Option: Replace the butter with a plant-based margarine or vegan butter, and check that your M&Ms are dairy-free (some varieties contain milk).
- Mix-Ins: Along with M&Ms, feel free to add a mix of your favorite ingredients like chopped nuts (pecans, walnuts), shredded coconut, or crushed pretzels for extra texture.
- Candy Substitutes: If you don’t have M&Ms on hand, try using Reese’s Pieces, peanut butter chips, or chopped candy bars for a delicious variation.
- Peanut Butter Twist: For a peanut butter version, reduce the butter to ¾ cup and add ¼ cup creamy peanut butter to the dough.
Step-by-Step Cooking Instructions

Step 1: Prepare the Dough
- Preheat the oven: Preheat your oven to 350°F (175°C). Grease or line a 9x13-inch baking dish with parchment paper, leaving some overhang for easy removal.
- Cream butter and sugars: In a large mixing bowl, use a hand mixer or stand mixer to beat together the softened butter, granulated sugar, and brown sugar until light and fluffy, about 2-3 minutes.
- Add eggs and vanilla: Beat in the eggs, one at a time, until fully incorporated. Then add the vanilla extract and mix until smooth.
- Mix dry ingredients: In a separate bowl, whisk together the flour, baking soda, and salt.
- Combine wet and dry: Gradually add the dry ingredients into the wet mixture, mixing just until combined. Be careful not to overmix the dough.
- Fold in M&Ms and chocolate chips: Stir in the M&Ms and chocolate chips (if using) with a spatula until evenly distributed throughout the dough.
Step 2: Bake the Cookie Bars
- Spread the dough: Press the cookie dough into the prepared baking dish, spreading it out evenly with a spatula or your hands. The dough will be thick, so make sure it’s pressed evenly into the corners.
- Add extra M&Ms: For a more colorful presentation, sprinkle a handful of extra M&Ms on top of the dough and press them lightly into the surface.
- Bake: Bake the cookie bars in the preheated oven for 25-30 minutes, or until the edges are lightly golden and a toothpick inserted into the center comes out mostly clean with just a few moist crumbs.
- Cool: Remove from the oven and allow the bars to cool completely in the pan on a wire rack before slicing.
Step 3: Slice and Serve
- Cut into bars: Once the cookie bars have cooled, lift them out of the pan using the parchment paper overhang. Slice into squares or rectangles of your desired size using a sharp knife.
- Optional garnish: If you love a sweet and salty flavor combination, sprinkle a little flaky sea salt over the top of the bars before serving.
How to Cook M&M Cookie Bars: A Step-by-Step Guide
These M&M Cookie Bars are quick and easy to make. Start by mixing together the buttery cookie dough, then stir in colorful M&M candies and chocolate chips for extra richness. Once the dough is pressed into a baking dish, it’s ready to bake in the oven until golden and set. After cooling, simply slice into bars and enjoy! Whether you’re making them for a party, a bake sale, or just for fun, these cookie bars are sure to be a crowd-pleaser.
Common Mistakes to Avoid
- Overbaking: Be careful not to overbake your cookie bars. The edges should be lightly golden, and the center should still be soft. The bars will continue to set as they cool.
- Undermixing the Dough: Make sure the butter and sugars are creamed properly to ensure a soft and chewy texture. However, don’t overmix once you add the dry ingredients, as this can result in tough cookie bars.
- Not Lining the Pan: Lining the pan with parchment paper helps with easy removal of the cookie bars. It also prevents sticking, making cleanup a breeze.
- Using Too Many M&Ms: While it’s tempting to add tons of M&Ms, be careful not to overload the dough, as it could make the bars crumbly. Stick to about 1 cup of M&Ms for the best results.
Serving and Presentation Tips
M&M Cookie Bars are vibrant and fun, making them perfect for parties or casual gatherings. To serve, simply place the bars on a platter or stack them on a dessert stand. Their colorful M&Ms make them visually appealing, so no extra decoration is necessary. If you want to take it a step further, you can drizzle them with a little melted chocolate or caramel for added indulgence.
How to Serve M&M Cookie Bars
These cookie bars are best enjoyed at room temperature, but they’re also delicious slightly warm with a scoop of vanilla ice cream for a decadent dessert. For casual serving, cut them into squares and place them in a cookie tin or basket for easy sharing. If serving at a party, cut them into smaller squares so guests can sample a variety of treats without committing to a large portion.
Presentation Ideas for M&M Cookie Bars
- Holiday-Themed Bars: Use seasonal M&Ms (red and green for Christmas, pastel for Easter, etc.) to make these bars perfect for holiday celebrations.
- Gift-Wrapping: Stack a few bars together and wrap them in cellophane with a festive ribbon for a thoughtful homemade gift.
- Cookie Tray: Arrange the bars on a platter alongside other cookies or treats, like brownies, to create a dessert sampler tray for parties.
- Drizzle with Chocolate: For a more elegant touch, drizzle the bars with melted white or dark chocolate before serving.
M&M Cookie Bar Recipe Tips
- Room Temperature Ingredients: Make sure your butter and eggs are at room temperature before starting. This helps with even mixing and gives your cookie bars a smoother texture.
- Press the Dough Evenly: When pressing the dough into the baking dish, make sure it’s evenly spread to ensure that the bars bake uniformly.
- Make Ahead: You can make these cookie bars up to two days in advance. Store them in an airtight container at room temperature, and they’ll stay soft and chewy.
- Freezing: These bars freeze well. Simply wrap them tightly in plastic wrap and store them in a freezer-safe bag for up to 3 months. Thaw at room temperature before serving.
Frequently Asked Questions (FAQs)
Can I make M&M Cookie Bars ahead of time?
Yes! These cookie bars can be made ahead of time. You can bake them a day or two in advance and store them in an airtight container at room temperature. They stay fresh for up to 4-5 days.
Can I freeze M&M Cookie Bars?
Yes, you can freeze these bars. Wrap the cooled bars tightly in plastic wrap and store in a freezer-safe container or bag for up to 3 months. Thaw them at room temperature when ready to serve.
Can I use peanut butter M&Ms or other candy?
Absolutely! Peanut butter M&Ms, crispy M&Ms, or even Reese’s Pieces can be used in place of regular M&Ms. You can also mix different types of candy for a fun twist.
How do I prevent my cookie bars from becoming too dry?
Make sure to measure your flour correctly using the spoon-and-level method (spoon the flour into the measuring cup and level it off). Overbaking can also cause the bars to dry out, so keep an eye on them in the oven and remove them as soon as the edges are set but the center is still soft.
Conclusion
M&M Cookie Bars are the perfect dessert for anyone who loves soft, chewy cookies with a colorful twist. They’re incredibly easy to make, and the combination of buttery dough, sweet M&Ms, and optional chocolate chips makes them irresistible. Whether you’re making them for a party, bake sale, or just a fun treat at home, these cookie bars are sure to be a hit. Ready to bake your own batch? Gather your ingredients and get started today!
PrintM&M Cookie Bars Recipe
These M&M Cookie Bars are thick, chewy, and packed with colorful M&M candies, making them the perfect treat for parties, bake sales, or anytime you crave a fun dessert. Easy to make and full of chocolatey goodness, they're sure to be a crowd-pleaser. Keywords: M&M Cookie Bars, chewy cookie bars, party cookie bars, easy dessert bars, candy-studded cookie bars.
- Prep Time: 10 minutes
- Cook Time: 25 minutes
- Total Time: 35 minutes
- Yield: 24 bars
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Ingredients
- Unsalted butter
- Brown sugar
- Granulated sugar
- Eggs
- Vanilla extract
- All-purpose flour
- Baking soda
- Salt
- M&M candies
- Chocolate chips (optional)
Instructions
- Preheat the oven to 350°F (175°C) and grease a 9x13-inch baking pan.
- Cream together butter, brown sugar, and granulated sugar until light and fluffy.
- Add eggs and vanilla extract, mixing until combined.
- In a separate bowl, whisk together flour, baking soda, and salt.
- Gradually add the dry ingredients to the wet ingredients and mix until just combined.
- Stir in M&M candies (and chocolate chips if using).
- Spread the dough evenly into the prepared pan.
- Bake for 25-30 minutes, or until the edges are golden brown and a toothpick comes out clean.
- Allow the bars to cool before slicing and serving.
Notes
- For extra chocolate flavor, add chocolate chips along with the M&Ms.
- These bars can be stored in an airtight container for up to 5 days.
Nutrition
- Serving Size: 1 bar
- Calories: 210
- Sugar: 18g
- Sodium: 95mg







Leave a Reply