7-Layer Bars (Magic Cookie Bars) - Jamielyn Nye

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.

Why You'll Love This Recipe
- Incredibly quick to assemble: ready in about 30 minutes from start to finish, with only 5 minutes of active prep time.
- Uses pantry staples like graham cracker crumbs, chocolate chips, butterscotch chips, and sweetened condensed milk, so you can usually make it without a grocery run.
- Perfect for crowds: this 9x13-inch pan yields 24 bars or diamonds, great for potlucks, bake sales, or holiday trays.
- Highly adaptable: omit the coconut, swap in pretzels, or use white chocolate for a twist — all with predictable results.
- Make-ahead friendly: they keep well at room temperature for several days and freeze beautifully for up to two months.
- Strong crowd-pleaser: the combination of textures and sweet layers consistently gets compliments and requests for the recipe.
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.
Ingredients
- Graham cracker crumbs (1 1/2 cups): I prefer Keebler for consistent flavor and texture; look for finely crushed crumbs so the crust presses together easily. You can pulse whole crackers in a food processor or use pre-crushed crumbs.
- Butter (1/2 cup / 8 tablespoons), melted: Use unsalted butter and melt gently; this binds the crumbs and browns slightly in the oven to create a sturdy base.
- Chocolate chips (1 cup): Semi-sweet chips are a great balance to the sweet condensed milk; use quality brands like Ghirardelli or Nestle for consistent melting.
- Butterscotch chips (1 cup): If you prefer, use half butterscotch and half white chocolate chips for a milder flavor and visual contrast.
- Pecans (1/2 cup), chopped: Lightly toasting the pecans for 5 minutes at 350°F enhances their nutty aroma; reserve a few chopped for sprinkling on top.
- Sweetened condensed milk (1 can, 14 ounces): This provides the caramel-like glue that creates the gooey top layer. Use a standard 14-ounce can found in most grocery stores.
- Sweetened shredded coconut (1 cup): This adds chew and toasted flavor; if you prefer, use unsweetened coconut but expect a less sweet result.
Instructions
Prep the pan and oven: Position a rack in the center of the oven and preheat to 350°F. Line a 9x13-inch pan with parchment paper or foil, leaving an overhang to lift the bars out later; lightly spray the liner with nonstick cooking spray to prevent shifting when pressing the crust. Make the crust: In a medium mixing bowl combine 1 1/2 cups graham cracker crumbs and 1/2 cup (8 tablespoons) melted butter. Use a fork or the back of a spoon to fully incorporate until the crumbs are evenly moistened. Press the mixture firmly and evenly into the bottom of the prepared pan; press with the bottom of a measuring cup for a compact crust that will hold together when cut. Assemble the layers: Over the pressed crust, scatter 1 cup chocolate chips in an even layer, followed by 1 cup butterscotch chips. Sprinkle 1/2 cup chopped pecans across the pan. Pour the entire 14-ounce can of sweetened condensed milk evenly over the chips and nuts, pouring slowly and tilting the pan slightly if needed to help it spread. Finish by sprinkling 1 cup shredded sweetened coconut across the top. Bake and watch for color: Slide the pan into the preheated oven and bake for 20 to 25 minutes. You are looking for the coconut and top layer to be lightly golden and for the condensed milk to be bubbling around the edges. If your oven runs hot, check at 18 minutes to avoid over-browning. Cool and cut: Remove the pan and let it cool completely on a wire rack — at least 1 hour. Use the parchment overhang to lift the slab out and transfer to a cutting board. To make diamond shapes, cut horizontal lines about 1 1/2 inches apart, then make diagonal cuts. A plastic knife often slices more cleanly without dragging the gooey top. Store or freeze: Store at room temperature in an airtight container for 3 to 4 days. For longer storage, cut into pieces, layer with parchment, and freeze for up to 2 months. Thaw in the refrigerator overnight or on the counter for a few hours.
You Must Know
- These bars are fairly high in calories and sugar because of the condensed milk and chips; a single piece is a rich treat — roughly 320 calories per serving depending on cut size.
- They keep well at room temperature for 3 to 4 days in an airtight container; refrigeration extends life by a few days but can firm the texture.
- Freeze fully cooled and cut pieces for up to two months; wrap tightly to avoid freezer burn and thaw overnight in the fridge.
- Substitutions like pretzels or mini marshmallows change the texture: pretzels add salt and crunch, marshmallows add chew and make the top softer.
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.
Storage Tips
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.
Ingredient Substitutions
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.
Serving Suggestions
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.
Cultural Background
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.
Seasonal Adaptations
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.
Meal Prep Tips
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.
Pro Tips
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.
FAQs about Recipes
Can I cut these bars while still warm?
Yes. Let the bars cool completely before cutting for clean edges. A plastic knife often cuts without dragging the gooey top.
How long do these keep?
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.
Tags
7-Layer Bars (Magic Cookie Bars) - Jamielyn Nye
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.

Ingredients
Base
Toppings
Instructions
Preheat and prepare pan
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.
Make 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.
Layer the toppings
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
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.
Cool and cut
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 or freeze
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.
Nutrition
Did You Make This?
Leave a comment & rating below or tag
@royalrecipe on social media!

Categories:
You might also like...

Spicy Chicken and Jalapeño Thin Crust Pizza
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.

Creamy Pesto BLT Pasta Salad
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.

Bang Bang Shrimp Pasta
Tender sautéed shrimp tossed with spaghetti and a creamy sweet-spicy bang bang sauce—ready in under 30 minutes for a weeknight favorite.

Did You Make This?
Leave a comment & rating below or tag @royalrecipe on social media!
Rate This Recipe
Share This Recipe
Enjoyed this recipe? Share it with friends and family, and don't forget to leave a review!
Comments (1)
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.
Hi, I'm Amara!
What's Popular
30-Minute Meals!
Join to receive our email series which contains a round-up of some of our quick and easy family favorite recipes.

