These M&M bar cookies are soft and chewy in the middle with slightly crisp edges, and the candy-coated chocolate bits stay bright and crunchy throughout. Baking them as bars instead of drop cookies means less fuss and a thicker, more satisfying bite. This method uses melted butter for extra chewiness and a short chill so the bars hold together cleanly when you cut them.
Ingredients
- 2 1/2 cups (315 g) all-purpose flour
- 1 tsp baking soda
- 1/2 tsp salt
- 1 cup (2 sticks, 226 g) unsalted butter, melted and slightly cooled
- 1 cup (200 g) packed light brown sugar
- 1/2 cup (100 g) granulated sugar
- 2 large eggs, at room temperature
- 2 tsp vanilla extract
- 1 1/2 cups (270 g) M&M candies, divided
Instructions
- Preheat the oven to 350°F (175°C). Line a 9×13-inch (23×33 cm) baking pan with parchment paper, leaving overhang on two opposite sides for easy lifting.
- In a medium bowl, whisk the flour, baking soda, and salt together. Set aside.
- In a large bowl, stir the melted butter, brown sugar, and granulated sugar until smooth and no lumps remain. The mixture will look glossy.
- Add the eggs one at a time, stirring well after each. Stir in the vanilla. The batter should be thick and shiny.
- Fold in the flour mixture with a spatula until just combined. Do not overmix — a few streaks are fine.
- Fold in 1 cup (180 g) of the M&Ms, reserving the rest for the top. The dough will be thick and slightly sticky.
- Press the dough evenly into the prepared pan. Use your hands or the back of a spatula to smooth the top. Sprinkle the remaining 1/2 cup (90 g) M&Ms over the surface, pressing them gently into the dough.
- Bake for 22–26 minutes, until the edges are golden brown and the center looks set but still soft. A toothpick inserted in the center should come out with a few moist crumbs, not wet batter. The top will not be deeply browned.
- Cool the bars in the pan on a wire rack for 15 minutes. Then lift them out using the parchment overhang and cool completely on the rack before cutting, about 30 minutes more. Cut into 24 squares.
Substitutions & Swaps
If you don’t have M&Ms, use any candy-coated chocolate pieces — peanut or mini versions work too. For a less sweet bar, swap the M&Ms for 1 1/2 cups (255 g) of chocolate chips and add 1/2 cup (60 g) chopped nuts if you like. To make them softer and more cake-like, replace 1/4 cup (30 g) of the flour with cornstarch — the texture will be more tender but slightly less chewy. For a gluten-free version, use a 1:1 gluten-free baking flour blend; the bars will be a bit crumblier but still good.
Storage & Make-Ahead
Store the bars in an airtight container at room temperature for up to 4 days. They also freeze well: wrap tightly in plastic wrap and then foil, and freeze for up to 3 months. Thaw at room temperature for about 1 hour. If you want to prep ahead, you can make the dough, press it into the pan, cover, and refrigerate for up to 2 days before baking — just add 2–3 minutes to the bake time. Do not leave the bars out for more than 2 hours total; refrigerate if your kitchen is warm.
Serving & Pairing
These bars are great for bake sales, lunchboxes, or a casual dessert table. Serve them with a glass of cold milk or alongside vanilla ice cream. For a more dressed-up dessert, warm a bar for 10 seconds in the microwave and top with a scoop of ice cream and a drizzle of chocolate syrup. They also hold up well in a picnic basket — no frosting means they won’t melt or smear.
Related
- Quick Guide to Real Tree Recycling After Holidays
- How to Plan an Apple Cider Donut Trail
- How to Hang a Heart Shaped Bird Feeder
Spotted a mistake? Tell us and we will correct it. How we write and check articles.