Christmas M&M Cookie Bars with Brown Butter
The butter foams, then the bubbles settle, and suddenly there are amber flecks at the bottom of the pan and a toasted, nutty smell in the kitchen. That’s the moment…
Tip: save now, cook later.The butter foams, then the bubbles settle, and suddenly there are amber flecks at the bottom of the pan and a toasted, nutty smell in the kitchen. That’s the moment these Christmas M&M cookie bars start tasting different from an ordinary batch of cookie bars. The brown butter gives them a deeper, almost toffee-like flavor, while the colorful candies bring a little crunch to each square.
I like bars for this dough because it goes straight into one pan instead of being portioned cookie by cookie. Brown butter does need a little attention, though: browning drives off moisture, so I whisk water into the hot butter before mixing the dough. The result is a bar with golden edges and a soft, chewy middle, not a dry slab that crumbles when you cut it.

Kitchen Note
Let the butter mixture cool until it’s warm, not hot, before the eggs go in. If it’s still piping hot, the eggs can start to cook before they’re whisked through.
Save these Christmas M&M cookie bars with brown butter for a festive bake with chewy centers, toasted-butter flavor, and colorful candy in every slice.
Why Brown Butter Needs Its Water Put Back
When butter browns, its milk solids toast and its water evaporates. That’s useful for building the nutty flavor, but it also means browned butter doesn’t behave quite like melted butter in a cookie dough. These bars need enough moisture for a cohesive dough and a tender middle, so I whisk water into the browned butter before combining it with the sugars.
The water may sputter when it hits the hot butter; that’s expected, and it’s why I add it carefully. Once it’s whisked in, the butter mixture is ready to become the base of the dough. Don’t skip this small adjustment or try to compensate by adding extra water later. The measured amount belongs with the browned butter, where it can be mixed in evenly before the flour goes in.
This balance also helps the bars bake evenly in a 9×13-inch pan. There’s enough dough to make a substantial, chewy bar, and the parchment overhang lets you lift the cooled slab out in one piece. Cut it before it’s fully cool and the middle is more likely to bend or break; a little patience gives you neater squares.
What the Butter, Sugars, and M&M’s Bring to These Bars

- All-purpose flour — It gives the bars enough structure to hold together after slicing without turning them cakey. Spoon the flour into the measuring cup and level it rather than packing it down; too much flour is an easy route to a dry, dense bar. For a gluten-free version, use a cup-for-cup gluten-free baking blend intended to replace all-purpose flour. The crumb may be a little more delicate, so let the bars cool fully before lifting and cutting.
- Unsalted butter — Butter is both the fat in the dough and the source of its browned, toasted flavor. A light-colored saucepan makes the milk solids easier to see as they change from pale to amber; a dark pan makes that visual cue harder to judge. Unsalted butter also lets the measured salt stay in balance.
- Light brown sugar and granulated sugar — Brown sugar brings moisture and a gentle molasses note, while granulated sugar keeps the sweetness from becoming too heavy and helps the edges bake up nicely. Pack the brown sugar when measuring it. Dark brown sugar works as a swap, but it gives the bars a stronger molasses flavor and a darker color.
- Eggs — Eggs bind the flour and butter into a sliceable bar. Room-temperature eggs blend more smoothly into the warm butter mixture than cold eggs do, which helps the dough stay cohesive.
- Vanilla extract — Vanilla rounds out the toasted butter and brown sugar rather than taking over. Use the extract you keep for baking; there’s no need to reach for an expensive bottle here.
- Christmas M&M’s — The candies add chocolate, crunch, and color without changing the dough’s texture much. Folding most into the dough spreads them through the bars, and pressing the rest on top gives the surface a festive look. Other M&M varieties work in the same role if you want a different color or filling.
How to Brown the Butter and Bake an Even Pan of Bars
Set Up the Pan and Dry Mix
Heat the oven to 350°F and line a 9×13-inch baking pan with parchment, leaving enough overhang to lift out the bars later. Whisk the flour, baking soda, and salt together in a medium bowl so the leavening is distributed before it meets the wet ingredients. Lining the pan matters here: the bars cool in the pan, but the parchment gives you a clean way to transfer the whole slab to a cutting surface.
Brown the Butter Without Taking It Too Far
Melt the butter pieces in a light-colored saucepan over medium heat, stirring often for 6 to 8 minutes. It will foam as it melts, then the milk solids at the bottom will turn amber and smell nutty; take it off the heat when you see and smell that change. If the flecks become dark brown and smell sharp or burnt, the butter has gone too far and will make the bars bitter. Let it sit for 5 minutes, then carefully whisk in the water, watching for sputtering.
Build the Dough and Fold in the Candy
Transfer the butter mixture to a large bowl and let it cool until warm, about 10 to 15 minutes. Whisk in both sugars until smooth, then whisk in the eggs one at a time and the vanilla. Stir in the flour mixture just until no dry streaks remain; mixing longer can make the bars tougher. Fold in most of the M&M’s gently so they stay intact and spread through the dough.
Press, Bake, and Cool Before Slicing
Spread the dough evenly in the prepared pan, then press the remaining M&M’s over the top. Bake for 25 to 30 minutes, until the edges are golden and the center looks set; a toothpick in the middle should come out with a few moist crumbs, not wet batter. Cool the bars completely in the pan for at least 1 hour. Use the parchment overhang to lift them out, then cut into bars once the slab is firm.
Three Swaps for a Different Take on These Cookie Bars
Make Them Gluten-Free
Replace the all-purpose flour with a cup-for-cup gluten-free baking blend formulated for cookies and bars. The flavor stays close to the original, though the texture may be a touch more fragile; give the pan its full cooling time before lifting the bars out.
Use Peanut M&M’s for a Crunchier Bite
Swap the Christmas M&M’s for the same amount of peanut M&M’s, keeping the same division between dough and topping. The candy centers make each bar chunkier and add a roasted peanut note alongside the brown butter.
Trade the Holiday Colors for Dark Chocolate M&M’s
Use dark chocolate M&M’s in place of the Christmas candies for a less sweet, more cocoa-forward bite. Keep the total amount and the dough-to-topping split the same so the bars still have candy in the middle and across the top.
Storage and Reheating
- Room temperature: Keep the cooled bars in an airtight container for up to 4 days. The edges soften a little over time, but the centers stay chewy.
- Freezer: Freeze cut bars in a sealed container, separating layers with parchment, for up to 2 months. Thaw at room temperature before serving.
- Reheating: Warm a bar in the microwave for about 8 seconds if you want the chocolate soft. Longer heating can make the candy coating hot before the center feels warm.
Questions That Come Up When Baking These M&M Cookie Bars

Christmas M&M Cookie Bars with Brown Butter
Ingredients
Equipment
Method
- Heat the oven to 350°F and line a 9x13-inch baking pan with parchment paper, leaving enough overhang to lift out the bars.
- Whisk the flour, baking soda, and salt together in a medium bowl.
- Melt the butter in a light-colored saucepan over medium heat, stirring often, for 6 to 8 minutes, until the milk solids turn amber and smell nutty.
- Remove the butter from the heat and let it cool for 5 minutes.
- Carefully whisk the water into the browned butter; it may sputter.
- Transfer the butter mixture to a large bowl.
- Cool until warm, about 10 to 15 minutes.
- Whisk the brown sugar and granulated sugar into the butter until smooth.
- Whisk in the eggs one at a time, then whisk in the vanilla.
- Stir the flour mixture into the butter mixture just until no dry streaks remain.
- Fold in 1 1/4 cups of the M&M's.
- Spread the dough evenly in the prepared pan.
- Press the remaining 1/4 cup M&M's over the top.
- Bake for 25 to 30 minutes, until the edges are golden and the center looks set; a toothpick inserted in the center should come out with a few moist crumbs.
- Cool completely in the pan, at least 1 hour.
- Lift out the bars using the parchment.
- Cut into bars.