M&M Cookie Bars
These soft and chewy M&M cookie bars are the ultimate easy dessert. No chilling, one bowl, loaded with M&Ms and chocolate. Perfect for parties! Get the recipe.
Here’s what to make next: Graham Cracker Toffee, Cranberry Orange White Chocolate Oatmeal Cookies, Crispy Chocolate Chip Oatmeal Cookies, or Chocolate Chip Cookie Bark.
Why These M&M Cookie Bars Are the Perfect Easy Dessert
M&M cookie bars have become my go to for bake sales and game day parties. The sturdy dough presses into a single pan, so there is no scooping or chilling required. Every bite gives you soft, buttery cookie with pockets of melted chocolate and a satisfying crunch from the candy shells. A sprinkle of flaky sea salt on top balances the sweetness perfectly, making it impossible to stop at just one square.
What Makes These Soft and Chewy Cookie Bars So Great
- One bowl, no stand mixer needed if you use a hand mixer or strong spatula. The dough comes together in minutes.
- No chilling required. Press the dough into the pan and bake right away.
- Easily customizable. Swap the M&M color to match any holiday or event.
Key Ingredients for M&M Cookie Bars
- Cornstarch, This is the secret to the soft texture. It tenderizes the dough and prevents the bars from spreading too much. No substitute works quite as well, but you can omit it and add 1 tablespoon more flour if needed.
- Unsalted butter, Using unsalted butter lets you control the salt level. Make sure it is at room temperature, so it creams evenly with the sugars. If you only have salted butter, reduce the added salt to 1/2 teaspoon.
- M&M candies, Classic milk chocolate M&Ms work perfectly, but feel free to use peanut, dark chocolate, or seasonal colors. Avoid the pretzel or crispy varieties as they lose their crunch during baking.
Kitchen Tools for Cookie Bars with M&Ms
- 9×13 inch baking pan
- Parchment paper
- Stand mixer or large bowl with hand mixer
- Whisk
- Offset spatula or greased hands for pressing dough
Tips for Making the Best M&M Cookie Bars Recipe
Let your butter sit out until it softens to room temperature. If it is too cold, the sugar won’t cream properly and the bars can turn out dense. When you mix the dry ingredients into the wet, stop as soon as the flour disappears. Overworking the dough develops too much gluten, which makes the bars tough instead of tender.
To help the dough spread evenly, I like to use a piece of wax paper or lightly greased hands to press it into the pan. That way nothing sticks. Check the bars at 20 minutes. The edges should look set and lightly golden, but the center may still look a little soft. That’s exactly what you want.
Expert Tips for Perfect Chocolate Chip Cookie Bars
The cornstarch in this recipe is not a mistake. It inhibits gluten formation and keeps the bars soft and chewy. If you are out of cornstarch, you can substitute with an extra tablespoon of flour, but the texture will be slightly less tender.
Let the bars cool completely in the pan before lifting them out. Warm bars are very fragile and can fall apart. If you want to speed up cooling, place the pan on a wire rack and let it sit for at least an hour before cutting. For clean squares, use a sharp knife and wipe it clean between cuts.
Fun Variations for M&M Cookie Bars
One of the best things about this recipe is how easily you can dress it up for any occasion. For Christmas, swap in red and green M&Ms. Pastel M&Ms are perfect for Easter, while red, white, and blue ones work great for the Fourth of July. Halloween M&Ms with orange and black candies make a spooky fall treat. You can also switch the M&M flavor itself: try peanut butter, dark chocolate, or caramel filled M&Ms for a different twist. And don’t stop at the candies, swap the semi sweet chips for milk chocolate or dark chocolate chips, or leave them out entirely for a bar that is all about the M&Ms.
What to Serve with M&M Cookie Bars
These bars are fantastic on their own, but a scoop of vanilla ice cream turns them into a full blown sundae. I also like to drizzle a little caramel sauce over the top just before serving. For parties, cut the bars into small bite sized squares and arrange them on a platter. They pair well with a cold glass of milk or a hot cup of coffee.
How to Store Leftover Cookie Bars with M&Ms
Store the cooled bars in an airtight container at room temperature. They will stay fresh for up to 4 days. If your kitchen runs warm or humid, place a piece of parchment between the layers to keep them from sticking together.
How to Freeze M&M Cookie Bars for Later
To freeze, cut the cooled bars into squares and arrange them in a single layer on a baking sheet. Freeze until firm, about 1 hour, then transfer the frozen squares to a freezer bag or airtight container. Label with the date and freeze for up to 2 months. When you are ready to eat, let them thaw at room temperature for about 30 minutes. You can also warm individual bars in the microwave for 10 to 15 seconds if you like them soft.
Best Ways to Reheat M&M Cookie Bars
For a just baked texture, reheat the bars in a 300°F oven for 5 minutes. If you only want to warm one square, pop it in the microwave for 10 to 15 seconds. Be careful not to overheat, or the chocolate can get too melty.
M&M Cookie Bar Recipe FAQs
Can I use salted butter instead of unsalted?
Yes, but reduce the added kosher salt to 1/2 teaspoon. The bars will still taste great, just a bit saltier.
Can I use all-purpose gluten free flour?
Most gluten free all purpose blends will work, but the texture may be slightly more crumbly. Add 1/4 teaspoon xanthan gum if your blend does not include it.
Why did my bars turn out hard?
Overbaking is the most common cause. Pull the bars out when the edges are set and the top is lightly browned, even if the center looks a bit underdone. Also, overmixing the dough can lead to a tougher texture.
Can I use mini M&Ms?
Absolutely. Mini M&Ms distribute more evenly throughout the dough, so you get candy in every bite. You may want to use a full 1 1/4 cups of minis since they take up less volume.
Recipe
M&M Cookie Bars

Soft and chewy cookie bars loaded with colorful M&M's, chocolate chips, and sprinkled with flaky sea salt. The perfect dessert for parties, potlucks, or whenever you need an EASY treat!
Ingredients
- 2.75 cup all-purpose flour
- 1 tsp cornstarch
- 1 tsp kosher salt
- 0.75 tsp baking soda
- 0.5 tsp baking powder
- 1 cup unsalted butter, at room temperature
- 1.25 cup packed light brown sugar
- 0.5 cup granulated sugar
- 2 large eggs
- 1 tbsp pure vanilla extract
- 1.25 cup m&m's, divided
- 0.75 cup semi-sweet chocolate chips
- flaky sea salt, for sprinkling on bars
Instructions
- 1
Preheat oven to 350 degrees F. Line a 9×13-inch baking pan with parchment paper and lightly grease. Set aside.
- 2
In a small bowl, whisk together flour, cornstarch, salt, baking soda, and baking powder. Set aside.
- 3
In the bowl of a stand mixer, cream together butter, brown sugar and granulated sugar until well combined. Scrape down the sides of the bowl with a spatula, as necessary.
- 4
Add the eggs and vanilla and beat until combined.
- 5
With the mixer off, add the dry ingredients. Mix on low until all the ingredients are justs combined. Don’t over mix.
- 6
Stir in 1 cup of M&M’s and the chocolate chips.
- 7
Press the cookie dough into the bottom of the prepared pan. Top with the remaining 1/4 cup of M&M’s. Sprinkle with flaky sea salt.
- 8
Bake for 20 to 24 minutes, or until the edges are set, and the top is just lightly browned.
- 9
Remove pan from oven and place on a wire cooling rack. Let the bars cool in the pan for until completely cooled before cutting. Use the parchment paper to lift the cookie bars out of the pan, then cut into squares and serve.
Nutrition (per serving)
Calorie breakdown
How this was calculated — 12 of 13 ingredients matched
Nutrition information is automatically calculated from USDA FoodData Central, so should only be used as an approximation. Actual values may vary depending on the ingredients, brands, and preparation methods used.
Open in analyzerKeyword: baked goods, dessert, Oven Baked, party, vegetarian
This post may contain affiliate links. Read our disclosure policy.
Share this recipe
You Might Also Like
View All →About the Author
NutriforksNutriForks is a home-cooking site built around two simple ideas: recipes should actually work, and you should know what’s in them. Every recipe pairs clear, tested instructions with a full nutrition breakdown, so healthy, everyday cooking is genuinely easy.






