These Eagle Brand Magic Cookie Bars are the ultimate magic cookie bars recipe! Also known as magic bars or 7 layer bars, they’re made with a graham cracker crust, sweetened condensed milk, chocolate chips, coconut, and chopped nuts. These classic dessert bars are nostalgic, easy to make, and perfect for holidays or anytime your sweet tooth calls!

These Magic Bars are pure Christmas nostalgia in my house. I remember watching my mom bake several batches of treats for her neighborhood goodie trays, like classic Fantasy Fudge, Lemon Dream Bars, Chocolate Crinkle Cookies, and of course, these Magic Cookies.
She would freeze them until ready to assemble the trays, and I’d sneak a cookie bar from the freezer. Even frozen, they were my favorite!
If you’re putting together your own holiday goodie trays, check out my Christmas Cookie Collection for even more ideas!
Quick Look: Eagle Brand Magic Cookie Bars Recipe
- Prep Time: 10 minutes
- Bake Time: 25-30 minutes
- Total Time: 35-40 minutes
- Servings: 16 bars
- Calories: 389 kcal per bar (may vary)
- Difficulty: Easy
- Taste & Texture: Sweet, crunchy, chewy, and chocolaty
- Pro Tip: Line your pan with foil and lightly spray it. Lift the bars out once cooled for cleaner cuts.
Jump to:
What You’ll Love About this Recipe
- Nostalgic Holiday Treat: These bars (also known as Hello Dolly Bars) bring back childhood memories of holiday baking.
- Simple Ingredients: This Eagle Brand magic bars recipe needs just 6 ingredients and is oven-ready in 10 minutes.
- Layered Perfection: Crunchy, creamy, chewy, and chocolaty textures in every bite.
- Make Ahead & Freezer Friendly: Bake early and thaw when ready to serve on holiday trays. My Christmas M&M Cookie Bars are another freezer-friendly favorite!
Ingredient Notes
See the printable recipe card below for exact measurements.

- Graham Cracker Crumbs: Forms a crunchy, sturdy base.
- Butter: Use melted unsalted or salted butter to bind the crust.
- Sweetened Condensed Milk: Eagle Brand is classic, but store brand works too. This is the heart of your magic cookie bars.
- Chocolate Chips: Semisweet chocolate adds gooey, chocolaty sweetness.
- Flaked Coconut: Adds texture and a subtle tropical flavor. If you love coconut and chocolate together, try my Almond Joy Cookies too!
- Nuts: Pecans or walnuts for crunch; optional, but highly recommended.
Variations
- Swap chocolate chips for white chocolate, butterscotch, or peanut butter chips.
- Substitute coconut for dried fruit like cranberries or raisins.
- Add seasonal touches with colored M&Ms or sprinkles.
- Try hazelnuts or almonds instead of pecans or walnuts for a different flavor twist.
How to Make Eagle Brand Magic Cookie Bars

Step 1. Preheat oven to 350°F. Coat a 13×9-inch baking pan with non-stick cooking spray, or line it with foil and lightly spray the foil. Combine graham cracker crumbs and melted butter in a small bowl. Press evenly into the pan.

Step 2. Pour sweetened condensed milk evenly over graham cracker crust. Sprinkle evenly with chocolate chips, coconut and nuts. Press down firmly with a fork.

Step 3. Bake 25 to 30 minutes or until lightly browned.

Step 4. Loosen from sides of pan while still warm; cool on wire rack. Cut into bars or diamonds once cooled. Serve and enjoy!
Recipe Tips for Success
- Press the toppings gently into the sweetened condensed milk so everything holds together once baked.
- Don’t overbake! The edges should be lightly golden brown, and the bars will continue to set as they cool.
- Let the bars cool completely before cutting to help keep the layers together.
- Customize the top layer with your favorite mix-ins for a personal touch.
- For easier removal, line your baking pan with foil and lightly spray it before adding the crust. Once the bars have cooled, lift them out for cleaner cuts.
Love Christmas cookie ideas? How about my Chocolate Covered Oreos next?!
Storage & Serving Suggestions
- Room Temperature: Store in an airtight container for up to 1 week.
- Refrigerate: Keep in an airtight container for up to 1 week for a firmer texture.
- Freeze: Freeze for up to 3 months with parchment paper between layers. Thaw before serving.
- Serving Ideas: Pair with a hot mug of Spiked Bailey’s Hot Chocolate, Spiced Cinnamon Eggnog Coffee, or a Creamy RumChata Christmas Cocktail.

Magic Cookie Recipe FAQs
The sweetened condensed milk binds the layers together as they bake, creating a gooey, chewy treat with very little effort!
No, these bars can be stored in an airtight container at room temperature for up to 1 week. Refrigerating them gives them a firmer texture.
Yes! Substitute gluten-free graham crackers for the crust and double-check that your remaining ingredients are gluten-free.
Yes! Place the cooled bars in an airtight container with parchment paper between layers and freeze for up to 3 months. Thaw before serving.
More Cookie Bar Recipes You’ll Love
This original magic cookie bars recipe is sure to become a holiday favorite! Tried this recipe? Leave a ⭐⭐⭐⭐⭐ rating and let me know what you think in the comments! You can also follow me on Pinterest for even more easy, family-friendly recipes.
Want to save this recipe?
Enter your email & I’ll send it to your inbox. Plus, get great new recipes from me every week!

Magic Cookie Bars Recipe
Ingredients
- 1 ½ cups graham cracker crumbs
- ½ cup melted butter
- 14 oz Eagle Brand Sweetened Condensed Milk
- 2 cups semisweet chocolate chips
- 1 ⅓ cups flaked coconut
- 1 cup chopped nuts (pecans or walnuts, optional)
Instructions
- Preheat oven to 350°F. Coat a 13×9-inch pan with non-stick spray or line with foil.
- Combine graham cracker crumbs and melted butter. Press evenly into the pan.
- Pour sweetened condensed milk over crust. Layer chocolate chips, coconut, and nuts evenly. Press lightly with a fork.
- Bake 25-30 minutes until lightly browned. Cool on a wire rack and loosen edges while still warm.
- Once completely cooled, slice into bars or diamonds. Serve and enjoy!
Notes
- Room Temp: Up to 1 week in an airtight container.
- Refrigerate: Up to 1 week in an airtight container.
- Freeze: Up to 3 months with parchment paper between layers. Thaw before serving.
- Swap chocolate chips for white chocolate, butterscotch, or peanut butter chips.
- Substitute coconut with dried fruit like cranberries or raisins.
- Add seasonal touches like colored M&Ms or sprinkles.
- Try hazelnuts or almonds instead of pecans or walnuts for a different flavor and crunch.










Vidhya says
These Magic Cookie Bars were so good! I served them with turmeric tea!
Kristin Hayes says
Great combination! Glad you enjoyed!
Tammy says
Omgosh these were so good! The whole family loved them! So easy to make too…coconut and chocolate is my favorite.
Kristin Hayes says
Love hearing this! Glad you enjoyed!
Catalina says
I made these yesterday and they were amazing. Gooey, crunchy, and full of flavor. We finished the whole pan.
Kristin Hayes says
Love hearing this! Glad you enjoyed the recipe as much as my family!
Ben says
These are awesome! They’re just like the ones my Mama Ruby used to make.
Kristin Hayes says
So glad you enjoy too! Great memories in every bite!
Terri says
These are so good and so easy. I made them last night, and they’ll definitely be making an appearance on my Christmas table.
Kristin Hayes says
Yay!! Love hearing this! Such a nostalgic treat!
Maria says
We loved these. Pure comfort food sweetness in every way.
Kristin Hayes says
Such a classic treat!!
Beth says
These are so good! I love the coconut and chocolate. Yum!
Kristin Hayes says
So glad you enjoyed!!
Josh H. says
Such a blast from the past! These are one of my favorites!