Fantasy Recipe

  • Breakfast
  • Dinner
  • Dessert
menu icon
go to homepage
  • Breakfast
  • Dinner
  • Dessert
subscribe
search icon
Homepage link
  • Breakfast
  • Dinner
  • Dessert
×

Classic Magic Bars

Published: Dec 4, 2025 · Modified: Jan 19, 2026 by Olivia · This post may contain affiliate links · Leave a Comment

↓ Jump to Recipe
Pin the Recipe

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.

Classic Magic Bars stacked on a plate, showing gooey condensed milk layers with chocolate chips, coconut, and walnuts.

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

Fresh ingredients for Classic Magic Bars including sweetened condensed milk, butterscotch chips, coconut, chocolate chips, and walnuts.

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

  1. 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.
  2. 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.
  3. Layer the chocolate chips. Sprinkle the semisweet chocolate chips evenly over the graham cracker crust.
  4. Add the butterscotch chips. Sprinkle the butterscotch chips evenly over the chocolate chips.
  5. Add the coconut layer. Sprinkle the shredded coconut evenly over the butterscotch chips.
  6. Add the nuts. Sprinkle the chopped pecans or walnuts evenly over the coconut.
  7. 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.
  8. 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.
  9. 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:

  • Three baked Cheesecake Stuffed Apples with a creamy filling and crunchy brown sugar topping on a dark plate.
    Easy Cheesecake Stuffed Apples
  • Individual Black Forest Trifle servings in glass bowls, featuring layers of chocolate cake, cherries, and whipped cream.
    Easy Black Forest Trifle
  • Elegant Black Forest Cake Roll on a wooden board, featuring a dark chocolate spiral with whipped cream and cherries.
    Easy Elegant Black Forest Cake Roll
  • Red Velvet Cheesecake Layer Cake with a deep red ganache drip, chocolate chips, and a thick creamy cheesecake center.
    Easy Red Velvet Cheesecake Layer Cake

Pairing

These are my favorite dishes to serve with Classic Magic Bars:

  • Blueberry swirl yogurt bites on a marble surface, showing creamy frozen yogurt with deep purple blueberry swirls and fresh blueberries
    Easy Blueberry Swirl Yogurt Bites
  • Blueberry overnight oats in glass jar with Greek yogurt, chia seeds, rolled oats and fresh blueberries layered on top
    Easy Blueberry Overnight Oats
  • Lemon Blueberry Loaf on a ceramic plate, showcasing moist crumb with juicy blueberries, topped with lemon glaze and fresh lemon slices.
    Easy Lemon Blueberry Loaf
  • Chicken enchilada rice casserole with melted cheese, saucy rice, corn kernels, and fresh cilantro in a baking dish.
    Easy Chicken Enchilada Rice Casserole

recipe

Close-up of Classic Magic Bars showing gooey chocolate layers, toasted coconut topping, and golden graham cracker crust on stone surface.

Classic Magic Bars (Eagle Brand 7 Layer Cookie Bars)

These Classic Magic Bars are the gooey, nostalgic dessert my family has baked for generations using sweetened condensed milk, chocolate chips, coconut, and a buttery graham cracker crust. It’s the same easy, magical 7 layer recipe I’m saving for my daughter’s future kitchen memories.
No ratings yet
Print Pin Rate
Course: Dessert
Cuisine: American
Keyword: 7 layer bars, Classic Magic Bars, eagle brand magic bars, easy dessert bars, magic cookie bars
Prep Time: 15 minutes minutes
Cook Time: 30 minutes minutes
Chilling Time: 2 hours hours
Total Time: 2 hours hours 45 minutes minutes
Servings: 24 bars
Calories: 245kcal
Cost: $12

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.

Nutrition

Serving: 1bar | Calories: 245kcal | Carbohydrates: 30g | Protein: 3g | Fat: 14g | Saturated Fat: 8g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 4g | Cholesterol: 22mg | Sodium: 120mg | Potassium: 110mg | Fiber: 2g | Sugar: 21g | Vitamin A: 180IU | Calcium: 65mg | Iron: 1.8mg

More Dessert

  • No-bake gingerbread cheesecake cups with creamy spiced filling, gingersnap crust, and mini gingerbread cookies on top.
    No-Bake Gingerbread Cheesecake Cups
  • Chocolate Moose Farts stacked on a plate showing coconut coating, chocolate chips, and creamy condensed milk center
    Easy Chocolate Moose Farts
  • Mini cheesecakes topped with whipped cream, raspberries, blueberries, and mint on a white plate with graham cracker crust.
    Easy Mini Cheesecakes
  • Caramel apple cheesecake bars on a plate with creamy cheesecake layers, crumb topping, chopped nuts, and caramel drizzle.
    Easy Caramel Apple Cheesecake Bars

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Olivia, the experienced home cook and Fantasy Recipe founder, wearing an apron in the kitchen

hey, I'm Olivia!

your kitchen buddy. I’m here to help you make the cooking process as smooth and stress-free as possible, with simple, flavorful dishes that won’t keep you tied to the stove for hours.

More about me

Popular

  • Lentils with poached eggs in a rustic skillet, featuring creamy red lentils in tomato sauce topped with a soft egg and fresh herbs.
    Easy Lentils with Poached Eggs
  • Easy ham and cheese casserole with creamy elbow macaroni, melted cheddar, and golden crispy topping baked in a glass dish.
    Easy Ham and Cheese Casserole
  • Apple fritter bread loaf with cinnamon sugar swirl and vanilla glaze, showing moist crumb and diced apples on a marble plate.
    Easy Apple Fritter Bread
  • Overnight breakfast casserole slice with golden melted cheese, sausage layers, and custardy eggs on a white plate
    Easy Overnight Breakfast Casserole

Seasonal

  • Easy sausage and egg casserole with melted cheddar, browned sausage layers, and custardy eggs baked in a golden bread base.
    Easy Sausage and Egg Casserole
  • Pesto grilled cheese sandwich stacked on a slate surface, showing gooey mozzarella, basil pesto, sun-dried tomatoes, and golden sourdough.
    Easy Pesto Grilled Cheese
  • Cinnamon roll pancakes stacked on a plate with cinnamon swirls, cream cheese glaze drizzle, powdered sugar, and melted butter on top.
    Easy Cinnamon Roll Pancakes
  • Easy sheet pan pancakes baked in a rimmed pan, showcasing golden fluffy texture topped with strawberries and blueberries for a crowd-friendly breakfast.
    Easy Sheet Pan Pancakes

Footer

↑ back to top

Legal

Privacy Policy

Disclosure Policy

Terms & Conditions

Cookie Recipe

FantasyRecipe - Your Ultimate Destination for Creative Recipes

About

About Me

Contact Us

Recipe Index

Subscribe

Copyright © 2024-2026 Fantasy Recipe

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required