30-MINUTE MEALS! Get the email series now
Yummique

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

5 from 1 vote
1 Comments
Amira
By: AmiraUpdated: Oct 30, 2025
This post may contain affiliate links. Please read our disclosure policy.

Classic 7-layer bars loaded with graham cracker crust, chocolate and butterscotch chips, pecans, coconut, and sweetened condensed milk — simple, nostalgic, and irresistible.

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

This recipe for 7-layer bars has been a dessert table favorite in my family for years. I first tasted a version of these when a neighbor brought a pan to a summer block party; the combination of crunchy graham crust, molten chips, toasted coconut and pecans was immediate comfort. A few tweaks later — using Keebler graham crumbs for consistent texture and measuring out the layers so every bite hits each flavor — and this became my go-to treat for potlucks, holiday cookie exchanges and last-minute drop-ins. The bars are deceptively simple: pantry staples come together in a few easy steps to produce a dessert that tastes like celebration.

What makes these special is the contrast of textures and the warm, sweet aroma while they bake. The bottom crust holds a buttery crunch; the chips and nuts become gooey under a veil of sweetened condensed milk, and the toasted coconut on top adds chew and a faint tropical note. I love how flexible they are — swap the butterscotch for white chips or add mini marshmallows for a s'mores twist. Every holiday, someone asks for the recipe, and I always think back to that summer evening where a simple pan of bars made everyone linger just a little longer.

Why You'll Love This Recipe

  • Ready in about 30 minutes from start to finish — 5 minutes active prep and roughly 20 to 25 minutes in the oven, perfect for last-minute baking when guests arrive.
  • Uses pantry staples: graham crumbs, chips, sweetened condensed milk, coconut and nuts — most ingredients are easy to keep on hand.
  • Crowd-pleasing flavors: sweet chocolate and butterscotch balance the buttery graham base and toasty pecans, making these a hit at parties and bake sales.
  • Make-ahead friendly: they store well at room temperature for several days and freeze beautifully for up to two months, ideal for holiday prep.
  • Customizable: omit coconut for a nut-forward version, swap in pretzels for salty crunch, or use half white chocolate for a sweeter profile.
  • Minimal equipment required — a single 9x13-inch pan and a few bowls are all you need, so cleanup is quick.

Every time I bring a pan, people ask if they can take an extra piece home. My kids insist on helping press the crust and love counting the seven layers as we assemble them. The first time I tried making diamonds instead of squares, a buddy insisted they tasted fancier — I agreed. These bars are one of those nostalgic sweets that make gatherings feel more like family.

Ingredients

  • Graham cracker crumbs (1 1/2 cups): I prefer Keebler because their crackers produce an even, fine crumb that binds well with butter. For 1 1/2 cups, you'll need about 9 to 10 full crackers if you crush them yourself.
  • Butter (1/2 cup / 8 tablespoons), melted: Unsalted butter melted and cooled slightly creates a crisp, flavorful base. Use real butter, not margarine, for the best texture and browning.
  • Chocolate chips (1 cup): Semi-sweet chips give an ideal balance of sweetness; use Ghirardelli or Nestle for consistent results.
  • Butterscotch chips (1 cup): These add a warm caramel note. If you prefer less sweetness, substitute with white chocolate chips and reduce quantity to 3/4 cup.
  • Chopped pecans (1/2 cup): Toasted lightly in a skillet for 3 minutes to bring out oils and deepen flavor. Walnuts work as a substitute.
  • Sweetened condensed milk (1 can, 14 ounces): This is the glue that melts the layers together and gives that glossy, gooey finish. Do not confuse with evaporated milk.
  • Sweetened shredded coconut (1 cup): Use sweetened for the classic chew and extra caramelization; unsweetened will reduce sweetness and change texture.

Instructions

Prep the pan and oven: Preheat the oven to 350°F. Line a 9x13-inch baking dish with parchment paper or foil, leaving an overhang on the long sides for easy removal. Lightly grease the paper or foil with nonstick spray to prevent sticking. Lining the pan makes it simple to lift out the whole slab and cut clean bars. Make the crust: In a medium bowl, combine 1 1/2 cups graham cracker crumbs with 1/2 cup (8 tablespoons) melted butter. Mix with a fork until evenly moistened — the texture should hold together when pressed between fingers. Press the mixture firmly and evenly into the bottom of the prepared pan; use the bottom of a measuring cup to compact it tightly for a sturdy base that won’t crumble when cutting. Layer the toppings: Starting with 1 cup chocolate chips, sprinkle an even layer over the crust. Next, add 1 cup butterscotch chips in an even layer, followed by 1/2 cup chopped pecans. Pour the 14-ounce can of sweetened condensed milk evenly over the top — pour slowly in a thin stream so it coats and soaks into the chips and nuts. Finish by sprinkling 1 cup sweetened shredded coconut across the surface. The condensed milk will seep into the layers and bind them as it bakes. Bake until golden: Bake in the preheated oven for 20 to 25 minutes, or until the top is lightly browned and bubbling at the edges. Keep an eye in the last 5 minutes to avoid over-browning; you want the coconut to toast slightly but not burn. A gentle jiggle in the middle should show a set surface with minimal movement. Cool and cut: Remove from the oven and cool completely on a wire rack — at least 1 to 2 hours. Cooling allows the sweetened condensed milk to set so the bars hold their shape. For clean edges, lift the slabs using the parchment overhang and slice into 24 squares or cut into diamonds by making horizontal and diagonal cuts about 1 1/2 inches apart. A plastic knife often gives the cleanest cuts without dragging the topping. User provided content image 1

You Must Know

  • Storage: Keep at room temperature in an airtight container for 3 to 4 days. Refrigerate to extend to about a week, though refrigeration will firm them up.
  • Freezing: After cooling, cut into squares and freeze in a single layer in a freezer bag for up to 2 months. Thaw overnight in the fridge or for a few hours at room temperature.
  • Nutrition: These are a rich, indulgent treat — high in sugar and calories, so serve in small portions when offering to guests.
  • Allergens: Contains dairy, gluten (graham crackers), and tree nuts (pecans). Adjust accordingly for guests with allergies.
  • Baking tip: Press the crust firmly; a compact base keeps the bars from crumbling and makes cutting easier.

My favorite aspect is the ritual of layering — the visual of seven distinct layers before they melt together in the oven is incredibly satisfying. Friends often tell me they love how every bite gives a little of everything: crunchy, chewy, sweet and nutty all at once. It’s one of those recipes that sparks conversation and requests for seconds.

User provided content image 2

Storage Tips

Store these in a single layer in an airtight container at room temperature for up to four days to keep the coconut chewy and the crust crisp. For longer storage, place them in a freezer-safe bag with parchment between layers and freeze up to two months. To serve from frozen, move them to the refrigerator overnight or leave at room temperature for a couple of hours; avoid microwaving whole bars as it can make the coconut chewy and the crust soggy. For gift-giving, stack bars in a box with wax paper between layers to prevent sticking.

Ingredient Substitutions

If you don’t have butterscotch chips, swap in white chocolate chips or increase the chocolate chips to 1 1/2 cups for a double-chocolate version. Replace pecans with chopped walnuts or almonds for a different nutty note. Omit coconut and sprinkle chopped pretzels for a salty contrast, or fold in 1 cup mini marshmallows for a campfire-inspired bar. For a gluten-free variation, use gluten-free graham crumbs and confirm the chips and sweetened condensed milk are certified gluten-free.

Serving Suggestions

Serve these on a dessert tray at room temperature; they pair well with coffee, milk, or a scoop of vanilla ice cream for a decadent treat. For parties, cut into diamonds for a more elegant presentation and garnish with a light dusting of cocoa or a drizzle of melted chocolate. They also make excellent plate additions to holiday cookie assortments and are sturdy enough to pack in lunchboxes or care packages.

Cultural Background

Commonly called “magic cookie bars” in many American kitchens, this layered treat gained popularity in the mid-20th century when sweetened condensed milk and boxed ingredient convenience made quick desserts accessible. The concept of layering sweet components over a buttery crust draws from bar cookie traditions that value ease and portability, often seen in potlucks and community gatherings across the United States.

Seasonal Adaptations

For winter holidays, fold in 1/2 cup chopped dried cranberries and swap butterscotch for white chocolate chips for a festive red-and-white look. In summer, add a handful of chopped toasted macadamias and a touch of lime zest to the coconut for a tropical spin. For fall, sprinkle cinnamon into the crust and use pecans with a dash of nutmeg on top to echo classic seasonal flavors.

Meal Prep Tips

Make a double batch and freeze half for future events. Line pans with parchment and bake as directed, cool, then slice and separate with parchment before freezing. Label containers with the date and reheat individual pieces in a low oven (300°F) for 5 to 7 minutes to refresh the topping without melting the structure. For grab-and-go breakfasts, pair a small bar with Greek yogurt for a sweet morning treat.

These bars are pure comfort — quick to assemble, flexible to adapt, and always guaranteed to get compliments. Make them your own with simple swaps and share with friends and family; I promise memories will follow the first bite.

Pro Tips

  • Press the graham crust firmly with the bottom of a measuring cup for a compact base that holds together when cutting.

  • Toast pecans lightly in a dry skillet for 2 to 3 minutes to intensify flavor before layering.

  • Cool completely before slicing; refrigerate briefly if you want cleaner cuts, and use a plastic knife to prevent sticking.

  • Pour sweetened condensed milk in a thin stream so it distributes evenly and soaks into the chips, preventing pooling.

  • Use parchment or foil with an overhang to lift the bars out of the pan for effortless slicing and serving.

This nourishing 7-layer bars (magic cookie bars) by 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

How do I get clean slices?

Yes. Let the bars cool completely before cutting so the condensed milk sets. For clean cuts, chill briefly in the fridge and use a plastic knife or warm metal blade wiped between cuts.

Can these be frozen?

Yes. After cooling, cut into squares and freeze in a single layer in a freezer bag for up to 2 months. Thaw overnight in the fridge before serving.

Can I omit or swap ingredients?

Yes. Omit coconut and substitute with 1 cup chopped pretzels or 1 cup mini marshmallows. You can also replace pecans with walnuts or almonds.

Tags

VegetarianDessertsBakingBar CookiesPotluckHoliday TreatsFamily Favorite
No ratings yet

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

This 7-Layer Bars (Magic Cookie Bars) by 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.

Servings: 24 steaks
7-Layer Bars (Magic Cookie Bars) by Jamielyn Nye
Prep:5 minutes
Cook:25 minutes
Rest Time:10 mins
Total:30 minutes

Ingredients

Crust

Layers

Instructions

1

Prep

Preheat oven to 350°F. Line a 9x13-inch baking dish with parchment paper or foil and lightly grease. Prepare all ingredients so layering goes smoothly.

2

Make the crust

Combine 1 1/2 cups graham cracker crumbs with 1/2 cup (8 tablespoons) melted butter until evenly moistened. Press firmly and evenly into the bottom of the prepared pan using the bottom of a measuring cup for compactness.

3

Assemble layers

Sprinkle 1 cup chocolate chips evenly over the crust, followed by 1 cup butterscotch chips, then 1/2 cup chopped pecans. Pour the 14-ounce can of sweetened condensed milk in a thin stream across the top so it distributes evenly. Finish with 1 cup sweetened shredded coconut spread evenly.

4

Bake

Bake for 20 to 25 minutes or until the top is lightly browned and bubbling at the edges; watch the coconut in the final minutes to avoid burning.

5

Cool and cut

Cool completely on a wire rack, at least 1 to 2 hours. Lift out using the parchment overhang and cut into 24 squares or diamonds using a plastic 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.

Nutrition

Calories: 260kcal | Carbohydrates: 33g | Protein:
3g | Fat: 13g | Saturated Fat: 4g |
Polyunsaturated Fat: 3g | Monounsaturated Fat:
5g | Trans Fat: 1g | Cholesterol: 253mg | Sodium:
0mg | Potassium: 953mg | Fiber: 0g | Sugar:
0g | Vitamin A: 577IU | Vitamin C: 3mg | Calcium:
47mg | Iron: 6mg

Did You Make This?

Leave a comment & rating below or tag
@yummique on social media!

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

Categories:

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

Did You Make This?

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

Leave a Comment

0/1000 characters
Food Lover
1 day ago

This recipe looks amazing! Can't wait to try it.

Rating:

Comments are stored locally in your browser. Server comments are displayed alongside your local comments.

Family Photo

Hi, I'm Amira!

Chef and recipe creator specializing in delicious Vegetarian cooking. Passionate about sharing easy-to-follow recipes that bring families together around the dinner table.

30-Minute Meals!

Join to receive our email series which contains a round-up of some of our quick and easy family favorite recipes.