
A festive layered bar with a buttery graham crust, chewy coconut, crunchy salted peanuts, and a gooey white chocolate and condensed milk topping studded with holiday M&Ms.

This recipe has become my holiday shorthand for joy: quick to assemble, impossibly forgiving, and perfect for gifting or a crowded cookie table. I first put these together one December afternoon when I wanted something bright, colorful, and very, very easy to bring to a neighbor gathering. The first bite—crisp, buttery base, chewy coconut, a shower of salty peanuts, and a molten white chocolate topping studded with tiny holiday M&Ms—felt like every good thing the season should taste like. It quickly graduated from a last-minute plan to a tradition, the kind of recipe I reach for when I need something that looks festive but doesn’t require me to cancel whatever else I’ve scheduled.
What I love most is how the ingredients each play a role: the graham crumbs bring warmth, the melted butter makes a shortbread-like crust, the sweetened coconut adds chew, salted peanuts slice through sweetness with savory crunch, and the sweetened condensed milk turns everything into one gluey, blissful layer. I discovered a simple trick on my second batch—reserve a few M&Ms to press gently on top right out of the oven. The color pops and the presentation reads like intentional holiday cheer. Over the years I’ve adapted nuts, swapped chocolates, and learned how tolerant this mixture is of substitutions without losing its magic.
I remember handing a tray of these to a neighbor who’d just had a baby; she texted later that the colorful bites gave her the first real sugar boost and smile in weeks. At a family cookie swap, people assumed I’d spent hours—when in reality I’d zipped through the prep during half a football game. That balance of low effort and high delight is exactly why these keep coming back to my holiday table.

My favorite part is how these squares travel. I once packed a tin and took them to a potluck on a snowy evening; people immediately asked if I’d made them from scratch or bought them. When a child at the table declared them the best thing that day, I realized how a simple combination of pantry staples can create an unexpectedly joyful bite that stitches holiday memories together.
Store cooled squares in an airtight container layered with parchment to prevent sticking. At room temperature they remain tender for 2 to 3 days; refrigeration firms the topping and extends life to about a week. To freeze, wrap the pan (or individual squares) tightly with plastic wrap then foil; defrost overnight in the refrigerator. Reheat single squares briefly in a 325°F oven for 5 minutes if you prefer the topping slightly softened before serving. Look for loss of color or oil separation as signs they’ve passed their best window.
If coconut isn’t your thing, replace the 1 1/2 cups of shredded coconut with an extra 1 cup of rolled oats plus 1/2 cup finely chopped pretzel pieces for chew and salt. Swap white chocolate chips for semisweet chips to reduce sweetness, or use dark chocolate for a richer contrast. For a nut-free version, use roasted sunflower seeds or crushed pretzels in place of peanuts. Keep the sweetened condensed milk as written; it’s critical for the right texture.
Cut into 16 uniform squares and serve on a festive platter lined with parchment. Garnish with a light dusting of powdered sugar or a few whole peanuts for presentation. These pair beautifully with strong coffee or mulled wine; for an afternoon treat, serve with cold milk. If you want to dress them up for a party, place each square in a mini cupcake liner and drizzle a little melted dark chocolate over the top.

Layered bars like these are part of a broad American tradition of traybakes and pan bars that became popular during the mid-20th century when convenience ingredients like sweetened condensed milk and packaged crackers made assembly desserts faster. They owe a nod to classic “seven-layer bars” and magic bars, where sweetened condensed milk binds a series of layers into a cohesive and portable treat. The festive M&Ms are a modern American addition that turns a familiar home-bake into something seasonally celebratory.
For winter holidays, use red and green M&Ms and a sprinkle of crushed peppermint for a minty twist. In summer, switch to toasted coconut and chopped macadamia nuts with tropical colored candy. For autumn, swap M&Ms for chopped caramel candies and add a pinch of ground cinnamon to the crust. These small swaps let the same method work year-round with a seasonal voice.
Double the recipe and bake in a 9x13-inch pan for larger gatherings, increasing bake time by 5 to 8 minutes. Portion into single-serve containers for grab-and-go desserts, or cut and individually wrap squares in cellophane tied with ribbon for gifting. If you plan to assemble ahead, prepare the crust and dry layers a day ahead, refrigerate, then pour the condensed milk and bake the next day for fresher topping color.
These squares are simple, generous, and distinctly joyful—just the sort of thing that turns an ordinary afternoon into a small holiday moment. Make them your own, and don’t be surprised if they become your new go-to for parties.
Press the crust firmly into the pan with the back of a measuring cup to create a compact base that slices cleanly.
Reserve a few M&Ms to press into the hot top right after baking so they stay glossy and don’t crack.
Chill the pan for at least two hours before slicing to allow the condensed milk topping to fully set.
If using unsalted butter, add a pinch of fine salt to the crust to enhance flavor contrast.
To speed up cooling, place the pan on a wire rack in a cool spot but do not refrigerate immediately while piping hot.
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.
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°F. Line an 8x8 inch pan with parchment paper leaving an overhang for easy removal. Lightly grease parchment with a bit of melted butter.
Combine 1 1/2 cups graham cracker crumbs with 1/2 cup melted butter in a bowl until the texture holds together when pressed. Press firmly into the bottom of the prepared pan with the back of a measuring cup.
Evenly sprinkle 1 1/2 cups sweetened shredded coconut over the crust, then scatter 1 cup roughly chopped salted peanuts, followed by 1 cup white chocolate chips and 1 cup holiday M&Ms. Reserve a small handful of M&Ms for topping.
Pour the entire 14 ounce can of sweetened condensed milk evenly over the layered ingredients, using a spatula to fill any gaps. The milk should coat and bind the toppings without completely drowning them.
Bake at 350°F for 18 to 22 minutes, until edges are lightly golden and the condensed milk is bubbling. Remove from oven and immediately press reserved M&Ms into the hot surface for a glossy finish.
Allow to cool to room temperature, then chill in the refrigerator for at least 2 hours to set. Use parchment overhang to lift from pan and cut into 16 squares with a sharp knife.
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
@solushcooks on social media!


A lighter take on a classic comfort favorite that swaps pasta for roasted spaghetti squash and keeps all the creamy, cheesy goodness with optional broccoli or chicken for extra heartiness.

A dreamy no-cook breakfast that tastes like coconut cream pie — creamy coconut milk, tangy Greek yogurt, shredded coconut, and optional banana make mornings feel indulgent and effortless.

Crisp-edged sweet potato rounds roasted until tender, finished with salty feta, a drizzle of honey, and fresh parsley—an effortless crowd-pleaser for gatherings or weeknights.

Leave a comment & rating below or tag @solushcooks 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.