Home » Christmas Desserts » Christmas Magic Cookie Bars (Seven Layer Bars)
Nine square coconut bars topped with chocolate chips, white chips, pecans and red and green M&Ms on parchment over white marble, with a label reading Magic Cookie Bars.

Christmas Magic Cookie Bars (Seven Layer Bars)

On a crowded Christmas cookie tray, magic cookie bars are the squares that vanish before anyone touches the frosted cutouts: a thin graham crust, a chewy layer of coconut and chocolate, and red and green M&Ms on top. One 9×13 pan makes 24 bars with about 15 minutes of hands-on work and a 25 minute bake. The trick is small. Pour the sweetened condensed milk all the way to the edges of the pan, because that milk bakes into the caramel that holds every layer together.

I bake a pan the first weekend of December and freeze half of it, because these travel better than almost anything else on the tray. There is nothing to roll, nothing to frost and no mixer to wash. They keep 5 days at room temperature, so a pan made on Sunday still tastes fresh at a Friday party.

Collage of three stacked coconut and chocolate bars above an unbaked pan of chips, coconut and pecans, with a green band that reads Christmas Magic Cookie Bars, One 9x13 Pan.

Seven Layers at a Glance

  • Crust: 1 1/2 cups graham crumbs pressed into 1/2 cup melted butter, right in the pan.
  • Glue: one 14 ounce can of sweetened condensed milk, poured to every edge.
  • Chips: 1 cup semisweet and 1 cup white chocolate.
  • Top: 1 1/3 cups sweetened flaked coconut and 1 cup chopped pecans.
  • Christmas finish: 3/4 cup red and green M&Ms, pressed in after baking.
  • Oven: 350°F for 25 to 28 minutes in a metal pan, 325°F in glass.

The old name counts the butter as a layer. Hence seven layer bars. Most versions use butterscotch chips; I use white chocolate so the red and green stand out against something pale.

Five square bars with golden coconut, chocolate chips, white chips, pecans and red and green M&Ms on a dark green plate, a red mug of coffee behind it.

A Crust Made Right in the Pan

Line the pan with a parchment sling first: two strips crossed, the paper hanging over all four sides. Pour the melted butter in and tilt the pan so it covers the bottom, then scatter the crumbs over it. Stir them through the butter with a fork, right in the pan, until every crumb looks damp. Then press hard with the bottom of a measuring cup.

A parchment lined 9x13 metal pan holding an evenly pressed graham cracker crumb crust, with a steel measuring cup resting on the crumbs in one corner.

Press the corners too. The crust should be thin, about 1/4 inch, and packed tight; a loose one is why the bottoms crumble off when you lift a bar later. Ten full graham sheets give 1 1/2 cups, and boxed crumbs work the same.

Pouring the Condensed Milk to Every Edge

This is the step most magic bars recipes rush. Pour the sweetened condensed milk slowly in a zigzag over the crust, then push it with an offset spatula into the corners and against the sides. The middle does not need to be neat, since the milk spreads as it heats. The edges do. A dry patch bakes into loose crumbs with nothing holding the chips, and the corner bars fall apart in your hand.

Layering the Chips, Coconut and Pecans

Scatter the semisweet chips first, then the white chips, the coconut and the pecans, each one in an even layer. Then press the whole top down firmly with your palm or the measuring cup. Pressing pushes everything into the milk so it bakes in instead of sitting loose on top. The coconut goes near the top of the stack so its tips brown, and the pecans go last so they toast.

An unbaked 9x13 pan with condensed milk spread to the edges under chocolate chips, white chips, raw coconut and pecans, an offset spatula on the rim and an empty can beside it.

Leave the M&Ms out for now. After 25 minutes in the oven the candy shells crack and the red turns dull, while candies pressed in after baking stay glossy.

How to Tell the Pan Is Done

Bake at 350°F for 25 to 28 minutes and look for three things: golden brown coconut tips, edges bubbling and caramel colored against the pan, and a center that no longer looks wet and white between the chips. Watch the edges. Pulled early, the milk stays runny and the bars never firm up enough to cut. Left too long, the edges go hard and the coconut turns bitter. A glass pan holds more heat, so drop it to 325°F and start checking at 25 minutes.

A baked 9x13 pan with golden toasted coconut, browned bubbling edges and red and green M&Ms pressed into the top, a checked oven mitt and a small bowl of M&Ms beside it.

Right out of the oven, scatter the red and green M&Ms over the top and press each one in gently with a fingertip. The hot milk grabs them as it cools.

Two Hours in the Fridge Before Cutting

Let the pan cool on the counter for 1 hour, then chill it for 2 hours. Warm bars pull and smear, while cold ones cut cleanly through the chips. Lift the slab out by the parchment. Use a long chef’s knife, press straight down instead of sawing and wipe the blade with a hot damp towel between cuts. Four rows of 6 give 24 bars; 6 by 6 gives 36 small squares for a cookie box.

Three bars stacked on a square of parchment, the cut sides showing a thin golden graham crust under a thick layer of coconut, chocolate chips, white chips and pecans.

For bars that all look like the middle ones, trim a thin strip off each outside edge before you cut. The trimmings are the baker’s share.

Storing and Freezing a Batch

Keep the bars in an airtight tin with parchment between the layers. They last 5 days at room temperature and up to 2 weeks in the fridge, a little firmer there. To freeze, wrap the cut bars in pairs, put them in a freezer bag and keep them up to 3 months. They thaw in about 30 minutes on the counter, still wrapped, so the chocolate does not sweat.

A red round tin lined with white paper and packed with rows of coconut bars, its lid set behind it, while one hand lifts a bar topped with a pecan and M&Ms.

For gifts, stand the bars on their sides in a paper lined tin. More fit. They also hold their shape better than stacked flat.

What Goes Next to Them on the Tray

As Christmas cookie bars go, these sit well beside soft Christmas M&M cookies, Rolo pretzel bites and a few shards of Christmas cracker toffee, which keep just as long. If the coconut is your favorite part, coconut macaroons are the next bake, and a spare can of condensed milk becomes caramel sauce from condensed milk for the hot cocoa table. Boxes, bags and tins are covered in these Christmas cookie packaging ideas.

Collage of a red tin of bars with one bar lifted by a hand above a baked pan studded with M&Ms, with a cream band that reads Christmas Seven Layer Bars, Makes 24 Bars.

One pan fills two medium gift tins, a dozen bars in each.

Yield: 24 bars

Christmas Magic Cookie Bars

Nine square coconut bars topped with chocolate chips, white chips, pecans and red and green M&Ms on parchment over white marble, with a label reading Magic Cookie Bars.

Made it? Tap the stars to rate it.

Magic cookie bars are a one pan bar cookie built from seven layers: melted butter, a graham cracker crust, sweetened condensed milk, semisweet and white chocolate chips, flaked coconut and pecans, finished here with red and green M&Ms for Christmas. The condensed milk is spread to every edge of a 9x13 pan so it bakes into a chewy caramel that binds the layers. Bake at 350°F for 25 to 28 minutes until the coconut is golden and the edges bubble, then chill 2 hours for clean cuts. They fill cookie trays, gift tins and cookie exchange boxes. Swap butterscotch chips for the white chips or walnuts for the pecans, and keep them airtight for 5 days or frozen for 3 months.

Prep Time 15 minutes
Cook Time 25 minutes
Additional Time 3 hours
Total Time 3 hours 40 minutes

Ingredients

  • 1/2 cup (113 g) unsalted butter, melted
  • 1 1/2 cups (150 g) graham cracker crumbs (about 10 full sheets)
  • 1 can (14 oz / 397 g) sweetened condensed milk
  • 1 cup (170 g) semisweet chocolate chips
  • 1 cup (170 g) white chocolate chips
  • 1 1/3 cups (100 g) sweetened flaked coconut
  • 1 cup (115 g) pecans, roughly chopped
  • 3/4 cup (150 g) red and green M&M candies

Instructions

  1. Heat the oven: Set a rack in the middle and heat the oven to 350°F (175°C), or 325°F (160°C) for a glass pan. Line a 9x13 inch pan with two crossed strips of parchment paper, leaving an overhang on all four sides.
  2. Make the crust: Pour the melted butter into the pan and tilt it to coat the bottom. Scatter the graham crumbs over the butter, stir with a fork until every crumb is damp, then press firmly and evenly into the pan, corners included.
  3. Add the condensed milk: Pour the sweetened condensed milk evenly over the crust and spread it with an offset spatula so it reaches every edge and corner.
  4. Layer: Scatter the semisweet chips, white chips, coconut and pecans evenly in that order, then press the whole top down firmly with your palm or a flat measuring cup.
  5. Bake: Bake for 25 to 28 minutes, until the coconut is golden brown, the edges bubble and look caramel colored and the center no longer looks wet.
  6. Add the M&Ms: Right away, scatter the red and green M&Ms over the hot top and press each one in gently with a fingertip.
  7. Cool and chill: Cool in the pan at room temperature for 1 hour, then refrigerate for 2 hours until firm.
  8. Cut: Lift the slab out by the parchment onto a board. Trim the edges if you like, then cut into 4 rows of 6 with a long knife, pressing straight down and wiping the blade between cuts.

Notes

The one mistake to avoid: dry spots. Spread the condensed milk to every edge and corner, or the corner bars crumble apart.
Press the toppings down before baking so they bake into the milk.
Add the M&Ms after baking; baked M&Ms crack and fade.
Glass pan: bake at 325°F and start checking at 25 minutes.
For 36 small squares, cut 6 by 6.
Make ahead: store airtight with parchment between the layers for 5 days at room temperature or 2 weeks in the fridge. Freeze cut bars, wrapped in pairs, for up to 3 months; thaw 30 minutes on the counter, still wrapped.

Nutrition Information

Yield

24

Serving Size

1 bar

Amount Per Serving Calories 272Total Fat 16gSaturated Fat 8gCholesterol 15mgSodium 65mgCarbohydrates 30gFiber 1gSugar 24gProtein 3g

Made it? Tap the stars to rate it

Leave a Comment

Your email address will not be published. Required fields are marked *

*