
Colorful, crunchy, and gooey bars layered with graham cracker crust, toasted coconut, peanuts, white chocolate, M&Ms, and sweetened condensed milk for the holidays.

This recipe arrived in my kitchen during a holiday open house decades ago and instantly became the treat everyone asked me to bring. I remember unwrapping a pan hot from the oven and watching neighbors and family members hover with small paper plates until the squares were gone. The combination of a honeyed graham cracker base, chewy coconut, salty peanuts, warm white chocolate, festive M and Ms, and the glossy binder of sweetened condensed milk is comforting and celebratory at once. It tastes like a childhood party crossed with a grown up love of contrast where sweet and salty hold hands.
I discovered the version I use now when I wanted a faster, more reliable bar for a cookie exchange. The trick was to press the crumb base firmly so the pan held together, and to keep the coconut and nuts slightly toasted for a richer result. The layers bake into each other so you get a crisp edge, a chewy center, and a glossy top that makes the colors pop. These squares travel well and are sturdy enough to pack for neighbors or to sit proudly on a dessert table.
My family always notices the little details. A slightly toasted coconut note, a browned edge from the oven, or a handful of M and Ms pressed on top fresh out of the oven become the defining memories. Once I swapped peanuts for pecans at my aunt s request and the entire batch was gone in twenty minutes. That personal flexibility is why this sweet treat has stayed in heavy rotation year after year.
My favorite part is how the flavors evolve over a couple of hours. Right after baking you get a warm, slightly molten bite where the white chocolate is soft. After chilling overnight the flavors marry and the bar becomes chewier with deeper notes from the toasted coconut. Friends always debate whether they like them warm or cold, and every time a new favorite emerges.
Store cooled squares in an airtight container at room temperature for up to three days. For longer storage keep them refrigerated for up to two weeks, layering parchment between layers to prevent sticking. To freeze wrap each square individually in plastic wrap then place in a resealable freezer bag for up to three months. Thaw frozen squares in the refrigerator overnight and bring to room temperature before serving for the best texture.
If you need a nut free version replace peanuts with roasted sunflower seeds or pretzel pieces in equal volume. Swap white chocolate chips for semi sweet or dark chips to reduce overall sweetness using a one to one ratio. For a coconut free bar use an extra cup of rolled oats to maintain chew. If you prefer less sugar cut the M and Ms to half a cup and add a quarter cup of chopped dried cranberries for color and a tart note.
Serve squares on a simple white platter so the festive colors pop. Pair with a hot cup of coffee or spiced tea to balance the sweetness. For a party dessert table mix these with other small bites like spiced nuts and shortbread so guests can sample multiple textures. Garnish with a light dusting of powdered sugar or a drizzle of melted dark chocolate for a refined touch.
For winter holidays use red and green M and Ms while for Valentine s Day choose pink and red candies. In autumn swap the M and Ms for chopped caramel candies and add a sprinkle of cinnamon to the coconut before layering. For summer gatherings lighten the bars by using half the sweetened condensed milk and adding a layer of tart freeze dried raspberry powder for brightness.
Make a double batch and freeze half for later holiday hosting. To streamline assembly crush graham crackers in a food processor and measure out toppings into small bowls for an assembly line approach. Bake on the same day you plan to serve if you want the warm melty texture otherwise bake a day ahead and chill for cleaner slices. Use a hot, dry knife between cuts for the sharpest edges.
At one cookie exchange my neighbor made these and everyone asked for the recipe. Another time I layered crushed peppermint candy on top and my niece declared it the best thing she had ever tasted. These moments make the recipe memorable. I often receive messages years later when someone recreates the bars with a personal twist and tells me about the new favorite in their family.
These squares are an invitation to experiment and share. They carry the warm nostalgia of holiday kitchens and the simple joy of candy and crunch combined. Make them, pass them to a friend, and enjoy how something so straightforward can create such special moments.
Press the crumb mixture firmly into the pan so the base holds together once baked.
Toast the shredded coconut lightly in a skillet for two to three minutes to deepen flavor before layering.
Reserve some M and Ms to press on top fresh out of the oven for bright, glossy decoration.
Cool completely and then chill briefly before slicing for the cleanest edges.
This nourishing holiday magic squares recipe is sure to be a staple in your kitchen. Enjoy every moist, high protein slice — it is perfect for breakfast or as a wholesome snack any time.
Yes. To freeze wrap individual squares tightly and store in a freezer safe container for up to three months. Thaw in the refrigerator overnight.
Use a hot dry knife and wipe between cuts for neat slices. Chilling the slab before cutting will also help.
This Holiday Magic Squares recipe makes perfectly juicy, tender, and flavorful steak every time! Serve with potatoes and a side salad for an unforgettable dinner in under 30 minutes.

Preheat oven to 350 degrees Fahrenheit. Line a 9 by 13 inch pan with parchment leaving an overhang for easy removal.
Mix graham cracker crumbs with melted butter until the mixture holds when pressed. Press firmly into the pan for an even base.
Spread shredded coconut evenly over the base, add peanuts, then white chocolate chips, and finish with M and Ms. Reserve some candy to add after baking.
Pour the sweetened condensed milk evenly over the top and bake for 20 to 25 minutes until edges are golden and top is glossy.
Press reserved M and Ms onto the warm surface, cool on a rack for one hour, then chill for 30 minutes before slicing.
Lift the slab from the pan using the parchment tails and cut into 16 squares with a hot dry knife for clean edges.
Last Step: Please leave a rating and comment letting us know how you liked this recipe! This helps our business to thrive and continue providing free, high-quality recipes for you.
Leave a comment & rating below or tag
@festive-cooks on social media!


Crispy, golden Parmesan crusted chicken made in the air fryer for a quick family favorite that stays juicy inside and crunchy outside.

A cozy one-skillet mashup of pot pie comfort and egg noodle ease—ready in about 35 minutes and perfect for weeknight dinners.

A gooey, chocolate-packed loaf with a molten hot-fudge swirl — brownie texture in bread form, perfect warm with a scoop of ice cream.

Leave a comment & rating below or tag @festive-cooks on social media!
Enjoyed this recipe? Share it with friends and family, and don't forget to leave a review!
This recipe looks amazing! Can't wait to try it.
Comments are stored locally in your browser. Server comments are displayed alongside your local comments.
Join to receive our email series which contains a round-up of some of our quick and easy family favorite recipes.