My grandma Viola calls them Hello Dolly Bars. My neighbor calls them Seven Layer Bars. But in our house, we just stick to the name Magic Cookie Bars, because they disappear like magic the second I cut them! Whatever you call them, this is a true vintage classic. It's an old-fashioned bar recipe that has survived decades of trends because it hits every single craving, crunchy, chewy, gooey, and sweet, in one glorious, retro bite.

This easy magic bar recipe is the original Eagle Brand Magic Cookie Bars that grandmas have been making for generations since 1963. The classic magic bars with condensed milk create that signature chewy, sticky texture that makes these 7 layer magic bars (also called Hello Dolly bars or dream squares) so irresistible. Whether you're bringing them to a holiday potluck, a school bake sale, or just making them for your family, this best magic bar recipe always disappears quickly. The no-mix layer-and-bake method means even beginner bakers can nail this recipe, and the combination of semisweet chocolate chips, butterscotch chip layer, and shredded coconut topping creates a flavor combination that's stood the test of time.
Jump to:
- Why You'll Love These Classic Magic Bars
- Ingredients for Classic Magic Bars
- How to Make Classic Magic Bars
- My Top Tips for Perfect Classic Magic Bars
- Little Moments in the Kitchen
- Substitutions for Classic Magic Bars
- Variations on Classic Magic Bars
- Equipment for Making Classic Magic Bars
- Storage Tips for Classic Magic Bars
- Adam's Tip for Classic Magic Bars
- FAQ About Classic Magic Bars
- Conclusion
- Related
- Pairing
- recipe
Why You'll Love These Classic Magic Bars
- Incredibly easy to make. No mixer needed! You simply press, layer, pour, and bake. This is one of the easiest bar cookie recipes you'll ever make, perfect for busy weeknights or last-minute gatherings.
- Crowd-pleasing flavor combination. The layers of chocolate, butterscotch, coconut, and nuts create a rich, sweet, and satisfying treat that appeals to almost everyone. They're welcome at holidays, potlucks, or any time.
- Customizable and versatile. You can easily swap out ingredients to create magic cookie bar variations like almond joy magic bars, turtle magic bars, or gluten free magic bars. Make them your own!
Ingredients for Classic Magic Bars
This recipe makes about 24 bars, depending on how you cut them. The ingredient list is simple, and the results are spectacular.
What You'll Need

For the Graham Cracker Crust:
- 1 ½ cups graham cracker crumbs (about 10-12 full graham crackers)
- ½ cup (1 stick) unsalted butter, melted
For the Magic Bar Layers:
- 1 can (14 ounces) sweetened condensed milk
- 1 ½ cups semisweet chocolate chips
- 1 cup butterscotch chips
- 1 ⅓ cups sweetened shredded coconut
- 1 cup chopped pecans or walnuts
Why These Ingredients Matter
Graham cracker crust provides the base. Crushed graham crackers mixed with melted butter create a sturdy, slightly sweet foundation that holds all those delicious layers together.
Sweetened condensed milk is the magic ingredient. This is what binds all the layers together and creates that signature gooey, chewy texture. Don't skip this or substitute it with regular milk.
Multiple layers create depth of flavor. The combination of chocolate chips, butterscotch chips, coconut, and nuts gives you different textures and flavors in every single bite. It's what makes these bars so special.
How to Make Classic Magic Bars
Step-by-Step Directions
- Preheat your oven to 350°F (175°C). Line a 9x13-inch baking pan with parchment paper, leaving some overhang on the sides for easy removal. You can also lightly grease the pan instead.
- Make the graham cracker crust. In a medium bowl, mix the graham cracker crumbs and melted butter until the mixture looks like wet sand. Press the mixture firmly and evenly into the bottom of the prepared pan.
- Layer the chocolate chips. Sprinkle the semisweet chocolate chips evenly over the graham cracker crust.
- Add the butterscotch chips. Sprinkle the butterscotch chips evenly over the chocolate chips.
- Add the coconut layer. Sprinkle the shredded coconut evenly over the butterscotch chips.
- Add the nuts. Sprinkle the chopped pecans or walnuts evenly over the coconut.
- Pour the sweetened condensed milk. Drizzle the entire can of sweetened condensed milk evenly over all the layers, trying to cover as much of the surface as possible. Use a spoon to spread it gently if needed.
- Bake. Bake for 25 to 30 minutes, or until the edges are golden brown and the top looks set. The bars may still look slightly soft in the center, but they'll firm up as they cool.
- Cool completely. Let the magic bars cool in the pan for at least 1 hour, then refrigerate for at least 2 hours before cutting. This helps them set and makes clean slicing much easier.
Quick Tip: For even cleaner cuts, chill the bars overnight and use a sharp knife dipped in hot water, wiping it clean between each cut.
My Top Tips for Perfect Classic Magic Bars
- Press the crust firmly. A firmly packed graham cracker crust prevents the bars from falling apart when you cut them. Use the bottom of a measuring cup to press it down evenly.
- Distribute the condensed milk evenly. Try to drizzle the sweetened condensed milk over the entire surface so every layer gets coated. This is what holds everything together.
- Don't overbake. The bars should look golden around the edges but may still seem slightly soft in the center. They'll continue to set as they cool and chill.
- Let them chill before cutting. This is the hardest step but the most important! Chilling for at least 2 hours makes cutting clean squares so much easier and prevents them from falling apart.
Little Moments in the Kitchen
The first time I made these, Adam watched me layer everything and said, "Mom, you're just dumping stuff in a pan. That's not really baking." I laughed and told him to wait and see. When they came out of the oven all golden and bubbling, he said, "Okay, that smells amazing. But it still looks like a mess."
After they cooled and I cut them into neat squares, he took one bite and his eyes went wide. "Wait, how did all that stuff turn into THIS? It's like magic!" I smiled and said, "That's why they're called Magic Bars." Grandma Viola tried one and nodded approvingly. "These are my Hello Dolly Bars! I've been making these since before you were born, and they never get old."
If you love no-fuss desserts like this, you'll also want to try our Strawberry Banana Pudding Dream. It's another easy layered treat.
Substitutions for Classic Magic Bars
- Graham cracker crust: Use crushed vanilla wafers, shortbread cookies, or Oreo cookies for a different flavor base.
- Chocolate chips: Swap with dark chocolate chips, white chocolate chips, or milk chocolate chips.
- Butterscotch chips: Use peanut butter chips, cinnamon chips, or more chocolate chips.
- Coconut: Use chopped dried fruit like cranberries or cherries, or simply add more nuts.
- Pecans: Use walnuts, almonds, cashews, or macadamia nuts.
Variations on Classic Magic Bars
- Almond Joy Magic Cookie Bars: Use dark chocolate chips, sweetened coconut, and chopped almonds. Drizzle with melted dark chocolate after baking for an authentic Almond Joy flavor.
- Turtle Magic Bars: Use chocolate chips, caramel bits, and chopped pecans. Drizzle with additional caramel sauce after cooling.
- Gluten Free Magic Bars: Use gluten-free graham crackers for the crust. Everything else in the recipe is naturally gluten-free.
- Magic Cookie Bars No Coconut: Simply omit the coconut and add an extra ½ cup of chocolate chips and ½ cup of chopped nuts.
- Rhubarb Magic Bars: Add a layer of chopped fresh or frozen rhubarb between the crust and the chocolate chips for a tart, fruity twist.
If you love sweet, gooey desserts, try our Fudgy Chewy Brookies. They're another chocolate lover's dream.
Equipment for Making Classic Magic Bars
- 9x13-inch baking pan: The standard size for this recipe. An 8x8-inch pan will work too, but the bars will be thicker and may need a few extra minutes of baking time.
- Parchment paper: Makes removal and slicing so much easier. Leave overhang on the sides to lift the whole slab out.
- Measuring cups and spoons: For accurate measurements of the crust and toppings.
- Mixing bowl: For combining the graham cracker crumbs and melted butter.
- Sharp knife: For clean cuts after chilling. Wipe between cuts for bakery-style presentation.
Storage Tips for Classic Magic Bars
- Room temperature: Store in an airtight container at room temperature for up to 3 days. They'll stay chewy and delicious.
- Refrigerator: Store in the fridge for up to 1 week. The bars stay fresher longer when chilled and are easier to cut cleanly.
- Freezer: Wrap individual bars in plastic wrap, then place in a freezer-safe bag or container. Freeze for up to 3 months. Thaw at room temperature for about 30 minutes before serving.
- Pro Tip: These bars are delicious served slightly chilled or at room temperature. Some people even prefer them straight from the fridge!
For more delicious dessert inspiration, check out our Churro Stuffed Cheesecake Bites. They're always a hit.
Adam's Tip for Classic Magic Bars
"Don't try to cut them when they're still warm or everything slides around and makes a big mess. Put them in the fridge first and wait until they're really cold!"
FAQ About Classic Magic Bars
What are the 7 layers of 7 Layer Bars?
The 7 layers of 7 Layer Bars (also called Magic Bars) are: 1) graham cracker crust, 2) sweetened condensed milk, 3) semisweet chocolate chips, 4) butterscotch chips, 5) shredded coconut, 6) chopped nuts (usually pecans or walnuts), and 7) more condensed milk drizzled on top. Some recipes count slightly differently, but these are the classic components.
What are the 5 ingredient magic cookies?
The 5 ingredient magic cookies (also called 5 Layer Magic Bars) are a simplified version that typically includes: graham cracker crust, sweetened condensed milk, chocolate chips, shredded coconut, and chopped nuts. This version skips the butterscotch chips for a simpler recipe.
Why are my magic bars falling apart?
Magic bars fall apart if the graham cracker crust isn't pressed firmly enough, if they're cut before fully cooling and chilling, or if the sweetened condensed milk wasn't distributed evenly. Make sure to chill the bars for at least 2 hours and use a sharp knife for clean cuts.
What pan size is best for magic cookie bars?
A 9x13-inch baking pan is the standard and best size for magic cookie bars. This size creates bars that are about 1 inch thick with the perfect ratio of crust to toppings. An 8x8-inch pan can be used for thicker bars, but you'll need to increase the baking time by 5 to 10 minutes.
For the classic Eagle Brand recipe with a different twist, check out these Easy Magic Cookie Bars from Allrecipes. They're a delicious version.
Conclusion
No matter what name you write on the recipe card, the result is always the same: pure, nostalgic joy. I hope sharing this vintage classic brings back happy memories of the past and helps you create sweet new ones today.
If you try this recipe, let me know how it turns out! And if you come up with any fun variations, I want to hear about it. For more easy, nostalgic desserts, check out our Vanilla French Beignets. Tag me on social media or leave a comment below. Happy baking, and enjoy every gooey, magical bite!
Related
Looking for other recipes like this? Try these:
Pairing
These are my favorite dishes to serve with Classic Magic Bars:
recipe

Classic Magic Bars (Eagle Brand 7 Layer Cookie Bars)
Equipment
- 1 9x13-inch baking pan Line with parchment for easy lifting
- 1 Mixing Bowl For crust
- 1 Rubber spatula For spreading milk
- 1 Measuring cups & spoons Accurate layers
- 1 Sharp knife Clean slicing
Ingredients
For the Graham Cracker Crust
- 1½ cups graham cracker crumbs About 10–12 full crackers
- ½ cup unsalted butter Melted
For the Magic Bar Layers
- 1 can sweetened condensed milk 14 ounces
- 1½ cups semisweet chocolate chips
- 1 cup butterscotch chips
- 1⅓ cups shredded coconut Sweetened
- 1 cup chopped pecans or walnuts
Instructions
- I always let my little Olivia turn the oven dial, it makes her feel like the official baker in charge. Preheat your oven to 350°F (175°C) and line your [9x13-inch pan] with parchment paper.
- In a bowl, stir [graham cracker crumbs] and [melted butter] together until sandy and golden. Olivia loves pressing it into the pan with her little hands, it’s messy, but magical.
- Evenly sprinkle [chocolate chips] over the crust. Olivia always sneaks one. I pretend not to notice.
- Scatter the [butterscotch chips] across the chocolate layer. This is the scent Olivia says smells “like candy dreams.”
- Sprinkle the [shredded coconut] and [chopped pecans or walnuts] evenly over the pan for that signature chewy crunch.
- Slowly drizzle the [sweetened condensed milk] over everything. My daughter calls this the “glue that holds happiness together.”
- Bake for 25–30 minutes until the edges are golden and bubbly.
- Cool for 1 hour, then refrigerate for 2 hours before slicing. This is the hardest part for Olivia, waiting.
Notes
- For gluten-free magic bars, use gluten-free graham crackers.
- For magic cookie bars no coconut, replace with extra nuts or chocolate chips.
- For almond joy magic bars, use almonds and dark chocolate.
- Store at room temperature for 3 days, fridge for 7 days, freezer for 3 months.
- Serve slightly chilled for the cleanest slices, or warm with vanilla ice cream for the ultimate treat.













Leave a Reply