
Classic 7-layer bars — gooey, crunchy, and ridiculously easy. Layers of graham cracker crust, sweetened condensed milk, chocolate and butterscotch chips, pecans and coconut come together in under 30 minutes.

Personally, I love how forgiving the process is. You can press the crust with the back of a measuring cup, layer without fuss, and still end up with a bakery-worthy tray. At holiday cookie exchanges this one disappears first — I’ve lost count of how many neighbors have asked for the recipe after trying just one diamond-shaped piece.
My favorite thing about these bars is how quickly they become a nostalgic crowd-pleaser. I’ve brought them to school functions, neighborhood socials, and family reunions; without fail, someone asks for the recipe before the last piece is gone. Small changes — like swapping some butterscotch for white chips — let you customize them for seasonal flavors or personal preference.
Store cooled pieces in a single layer or separate layers with parchment paper in an airtight container. At room temperature they remain chewy and approachable for about 3 to 4 days. Refrigeration firms the coconut slightly and makes pieces easier to handle if you prefer a cleaner cut; bring chilled bars to room temperature for 20 to 30 minutes before serving for the best flavor. For freezing, pre-cut into squares or diamonds, arrange in a freezer-safe container with parchment between layers, and store up to two months. Thaw overnight in the refrigerator to preserve texture and avoid sogginess.
If coconut is not your thing, replace it with 1 cup crushed pretzels for a sweet-salty contrast or 1 cup mini marshmallows for a softer, chewier top. For a nut-free version, omit pecans and increase chips or add toasted sunflower seeds. To reduce sweetness slightly, use semi-sweet chocolate and half white chocolate rather than butterscotch. Gluten-free graham-style crumbs work if you need to avoid gluten; expect a slightly different crumb structure but similar results.
These bars pair beautifully with a simple scoop of vanilla ice cream for an indulgent dessert, or serve them with coffee for an after-dinner treat. For brunch buffets, arrange the diamonds on a tiered tray with seasonal fruit; the sweet, nutty flavors complement fresh berries. Garnish individual squares with a light dusting of powdered sugar or a few extra chopped pecans for a polished presentation.
Often called magic cookie bars or seven-layer bars, this dessert traces its roots to mid-20th-century American home baking. The concept — layering simple pantry items and condensed milk over a pressed crust — became popular because of its speed and the rise of packaged baking goods like chips and sweetened condensed milk. Each region and family has tweaked the layers, which is why you’ll find dozens of delightful variations across American cookbooks and community recipe exchanges.
Adapt these for holidays by swapping chips and toppings: use peppermint white chocolate and crushed candy canes for winter, or milk chocolate and toasted coconut with chopped macadamias for summer luau-style bars. For fall, add 1/2 teaspoon ground cinnamon to the crust and replace butterscotch with caramel chips or chopped soft caramels for a spiced, comforting flavor.
Make a double batch and freeze half for later: bake, cool, cut, and freeze layers in airtight containers for quick desserts when entertaining. If preparing ahead for an event, bake the night before and store at room temperature; the flavors marry nicely overnight and slicing is easier the next day when the slab has fully set. Use parchment overhang to lift the whole slab for clean slicing and easier transport to gatherings.
These 7-layer bars are a dependable, crowd-pleasing treat that reward small hands-on time with consistently joyful results. Whether you stick to Jamielyn Nye’s classic layering or personalize with swaps, you’ll find they disappear fast and leave behind requests for more.
Press the crust firmly with the bottom of a measuring cup to create a compact base that holds together when cut.
Lightly toast the pecans for 4 to 5 minutes at 350°F before adding to intensify nutty flavor.
Use the parchment paper overhang to lift the entire slab from the pan for easy, clean slicing and serving.
Check the bars at 18 minutes if your oven runs hot; you want the coconut lightly golden without burning.
This nourishing 7-layer bars (magic cookie bars) - jamielyn nye 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. Let the bars cool completely before cutting for clean edges. A plastic knife often cuts without dragging the gooey top.
Store at room temperature for 3 to 4 days in an airtight container. Refrigerate to extend a few more days, or freeze up to 2 months.
This 7-Layer Bars (Magic Cookie Bars) - Jamielyn Nye 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 a 9x13-inch pan with parchment paper or foil leaving an overhang and lightly spray with nonstick spray to prevent slipping when pressing the crust.
Combine 1 1/2 cups graham cracker crumbs and 1/2 cup melted butter in a bowl. Mix until crumbs are evenly moistened, then press firmly into the bottom of the prepared pan using the bottom of a measuring cup for a compact base.
Evenly sprinkle 1 cup chocolate chips, followed by 1 cup butterscotch chips, then 1/2 cup chopped pecans over the crust. Pour the 14-ounce can of sweetened condensed milk slowly and evenly over the pan, then finish with 1 cup shredded sweetened coconut.
Bake in the preheated 350°F oven for 20 to 25 minutes, until the coconut and top are lightly golden and condensed milk is bubbling at the edges. Watch closely after 18 minutes if your oven runs hot.
Allow the pan to cool completely on a wire rack, at least 1 hour. Use the parchment overhang to lift the slab out and cut into 24 bars or diamonds with a plastic knife for clean slices.
Store in an airtight container at room temperature for 3 to 4 days, refrigerate to extend life by a few days, or freeze cut pieces up to 2 months. Thaw overnight in the refrigerator or a few hours at room temperature.
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
@royalrecipe on social media!


Easy homemade thin-crust three-cheese spicy chicken and jalapeño pie — a flavor-packed pizza with a satisfying kick, perfect for pizza night or game day.

One-pot taco-spiced beef and spaghetti melted with Monterey Jack cheese for a fun, family-friendly dinner that comes together in about 35 minutes.

A bright, creamy BLT pasta salad tossed with basil pesto, fresh greens, cherry tomatoes, and crisp bacon—perfect for warm-weather gatherings and meal prep.

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