Classic 7 Layer Bars (Magic Bars)

Buttery graham crust layered with coconut, chocolate, butterscotch, pecans and sweetened condensed milk — a nostalgic, easy tray bake that's impossible to resist.

This tray of 7 Layer Bars has been my go-to contribution to potlucks, school bake sales, and holiday cookie exchanges for years. I first learned this combination from my grandmother, who would make a pan whenever family gathered; the house always smelled like warm caramel and toasted coconut. What makes this version special is the balance between a crisp, buttery graham base and the sweet, chewy topping where chocolate, butterscotch and pecans meet a blanket of condensed milk. The contrast in texture is irresistible: a firm, crumbly crust giving way to gooey sweetness and a light crunch from nuts.
I discovered a few small technique tweaks over the seasons that changed the outcome dramatically. Pressing the crust firmly and evenly so it holds together is the single most important step. I also learned to evenly distribute the chips and nuts so each square gets a little of everything. Serve them at room temperature to experience the full gooey luxury of the filling, or chilled for cleaner slices and a firmer bite. Every time I bring a pan to a gathering, I get asked for the recipe — it feels like a warm, sugary kind of applause.
Why You'll Love This Recipe
- Ready in under an hour from start to finish with only a few simple steps, making it ideal for last-minute baking or an easy dessert for guests.
- Uses pantry staples: graham cracker crumbs, sweetened condensed milk, chocolate and butterscotch chips, coconut and nuts — items you can often find on short notice.
- Make-ahead friendly: the bars hold up well refrigerated for several days and freeze beautifully for up to three months when wrapped tightly.
- Crowd-pleasing texture contrast — crisp, buttery crust paired with a chewy, caramel-like topping and crunchy pecans — appeals across generations.
- Customizable: swap nuts or chips to suit dietary preferences or what’s in your pantry; see substitution ideas below for exact ratios.
- Perfect for potlucks, holidays, bake sales and care packages — one 9x13 pan yields about a dozen generous squares.
Personally, I love how simple this treat is to scale and adapt. My kids especially request butterscotch in place of some chocolate chips, and my sister always insists on extra coconut. Over time we learned to double the pecans when hosting a crowd; that little change elevates the flavor while keeping the technique unchanged.
Ingredients
- Graham cracker crumbs (1½ cups): Look for full-flavored whole graham crackers such as Honey Maid for the best aroma. Pulse in a food processor to ensure fine, even crumbs; this helps the crust bind firmly when mixed with butter.
- Salted butter (½ cup), melted: Use real butter (not margarine) for the richest taste and best texture. If you only have unsalted, add a pinch of salt to balance the sweetness.
- Sweetened shredded coconut (1 cup): Choose sweetened flaked or shredded coconut for chewiness and extra sweetness; unsweetened will yield a less sweet result and a drier texture.
- Semi-sweet chocolate chips (1 cup): Standard semi-sweet chips provide a nice counterpoint to the butterscotch. Ghirardelli or Nestle Toll House are reliable options.
- Butterscotch chips (1 cup): These add a caramel-like note that pairs beautifully with condensed milk; substitute with milk chocolate chips for a different flavor profile.
- Pecans, roughly chopped (1 cup): Use fresh, toasted pecans if possible for a deeper nutty flavor. Chop roughly so you get both crunchy bites and some smaller pieces that distribute evenly.
- Sweetened condensed milk (14 ounces): The glue that brings everything together; buy a standard 14-ounce can. Pour slowly over the layered toppings so it soaks into chips and nuts.
Instructions
Prepare and preheat: Preheat the oven to 350°F. Spray a 9x13-inch baking pan with baking spray or line it with parchment paper, leaving an overhang to lift the bars out later. Solid preheating ensures even baking and reliable browning on the edges. Make the crust: Combine 1½ cups graham cracker crumbs with ½ cup melted salted butter in a medium bowl. Mix until the crumbs are evenly moistened. Transfer to the prepared pan and press firmly using the bottom of a measuring cup or a flat spatula to create an even, compact layer about ¼ to ⅓ inch thick. A tightly packed crust bakes to a sturdier base and minimizes crumbling when slicing. Layer the toppings: Sprinkle the 1 cup shredded coconut in an even layer over the crust, followed by 1 cup semi-sweet chocolate chips, 1 cup butterscotch chips, and 1 cup chopped pecans. Try to distribute each ingredient so every square of the pan gets a little of each component. This ensures well-balanced bites and consistent baking. Add the condensed milk: Slowly drizzle the contents of a 14-ounce can sweetened condensed milk over the entire pan, moving your hand back and forth to cover as much surface as possible. Pouring slowly prevents large puddles and promotes even binding of the topping ingredients. Bake: Bake at 350°F for 25 to 28 minutes. You want the edges to be a light golden brown and the center to look set but still slightly glossy; it will firm as it cools. If the edges brown too quickly, tent loosely with foil for the final few minutes. Cool and slice: Allow the bars to cool completely in the pan on a wire rack, at least 1 to 2 hours. Use the parchment overhang to lift the whole slab out, then slice into 12 to 16 bars using a sharp knife. For cleaner cuts, chill the slab for 30 minutes before slicing.
You Must Know
- These bars are best stored in an airtight container at room temperature for up to 3 days or refrigerated for up to a week; they also freeze well for up to 3 months when wrapped tightly.
- Per serving (1 of 12 bars): approximately 460 kcal, high in sugar and fat — enjoy in moderation as an occasional treat.
- To avoid a soggy bottom, ensure the crust is well compacted and avoid over-pouring the condensed milk in one spot.
- If you have nut allergies, omit pecans and increase chips or add seeds such as pumpkin seeds for crunch.
My favorite thing about these bars is their ability to transport me back to neighborhood bake sales and family reunions. A cousin once told me that one bite reminded her of her childhood kitchen — that kind of nostalgic comfort is the real reward. Over the years I’ve fine-tuned how long to bake and cool them to strike the right balance between gooey and sliceable.
Storage Tips
Store the cooled bars in an airtight container. At room temperature they remain soft and chewy for up to three days; refrigeration will firm them and keep them fresh for up to a week. For longer storage, tightly wrap the pan or individual bars in plastic wrap and place into a freezer-safe bag; frozen bars keep well for up to three months. To thaw, move wrapped bars to the refrigerator overnight or let sit at room temperature for an hour for a softer texture. Reheat single servings briefly in a microwave for 8 to 12 seconds to restore gooeyness.
Ingredient Substitutions
If you need to swap ingredients, use these reliable ratios: replace the graham crumbs with an equal volume of crushed digestive biscuits or shortbread for a similar texture. Replace butterscotch chips with milk chocolate chips in a 1:1 ratio. For a nut-free version, substitute the 1 cup pecans with 1 cup of toasted sunflower seeds or additional coconut. To reduce sweetness slightly, use unsweetened shredded coconut and halve the butterscotch chips, replacing with extra semi-sweet chips or chopped dark chocolate.
Serving Suggestions
Serve squares at room temperature as a casual dessert alongside coffee or tea. For a festive presentation, dust with a light sprinkle of powdered sugar or drizzle with melted dark chocolate. These bars pair well with tart accompaniments such as fresh berries or a scoop of vanilla ice cream to cut through the richness. For holiday platters, cut into smaller bite-size squares and arrange with assorted cookies for a varied dessert board.
Cultural Background
Often called magic bars or seven-layer bars, this style of tray bake became popular in American home cooking in the mid-20th century as a simple, no-fuss dessert. The concept of layering available sweet ingredients and binding them with sweetened condensed milk reflects a pantry-based approach common to post-war home baking. Regional variations emerged as cooks substituted locally favored nuts or chocolate types, making the recipe a flexible classic across many American households.
Seasonal Adaptations
Customize the topping to reflect seasons: in autumn, swap pecans for toasted walnuts and stir in a pinch of cinnamon to the crust. For a spring twist, add chopped freeze-dried strawberries and use white chocolate chips in place of butterscotch. Around winter holidays, toast coconut with a little orange zest for brightness and fold in chopped candied ginger for a warming note. The basic technique remains unchanged, making seasonal updates quick and effective.
Meal Prep Tips
Make a pan on Sunday and portion into individual servings for easy grab-and-go snacks throughout the week. Wrap bars individually in parchment or plastic to prevent sticking and place in a single layer in a lunch container. If transporting, place parchment between layers to prevent adhesion. For events, bake two pans and freeze one; thaw the second pan the day before serving for fresh dessert without extra work.
Every time I bake these, the house fills with familiar, comforting aromas and people gravitate toward the plate. Try one of the variations and make this recipe your own — the simplicity and nostalgia are part of the joy of sharing it with others.
Pro Tips
Press the graham crust firmly and evenly using the bottom of a measuring cup to ensure a sturdy base that slices cleanly.
Pour the sweetened condensed milk slowly and in a few passes to avoid large puddles and to encourage even binding of the toppings.
Chill the pan for 30 minutes before slicing for cleaner edges, or warm individual squares briefly in the microwave to restore gooey texture.
This nourishing classic 7 layer bars (magic bars) 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.
Tags
Classic 7 Layer Bars (Magic Bars)
This Classic 7 Layer Bars (Magic Bars) 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
Crust
Layers
Instructions
Preheat and prepare pan
Preheat oven to 350°F. Spray a 9x13-inch baking pan with baking spray or line with parchment paper, leaving an overhang for easy removal.
Make and press crust
Combine graham cracker crumbs and melted salted butter in a bowl until evenly moistened. Press the mixture firmly into the bottom of the prepared pan using the bottom of a measuring cup to form an even layer.
Layer toppings
Evenly sprinkle shredded coconut, semi-sweet chocolate chips, butterscotch chips, and chopped pecans over the crust so each area has a balanced distribution.
Drizzle condensed milk
Slowly drizzle the sweetened condensed milk over the entire pan to cover as much of the chips and nuts as possible without pooling excessively in one spot.
Bake and cool
Bake for 25 to 28 minutes until edges are light golden brown and the center appears set. Cool completely in the pan on a wire rack before slicing into squares.
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
@epicula on social media!

Categories:
You might also like...

Mississippi Mud Brownies
Ultra-fudgy brownies crowned with toasted mini marshmallows and warm cocoa icing, with molten chocolate pockets in every bite.

Buttery Pecan Pie Bars
Buttery shortbread crust topped with a gooey brown sugar pecan filling. Just 10 minutes to prep for bakery-worthy bars with irresistible crunch.

Crack-Free Pumpkin Cheesecake
Ultra-creamy pumpkin cheesecake with a graham crust, bakes without cracks, and shines with caramel and rum-kissed whipped cream.

Did You Make This?
Leave a comment & rating below or tag @epicula 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 Olivia!
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.
