Bake & Savor Recipes

  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
menu icon
go to homepage
  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
search icon
Homepage link
  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
×

Easy Magic Cookie Bars Recipe

Published: Nov 21, 2025 by Emily Johnson · This post may contain affiliate links · Leave a Comment

The first time I made magic cookie bars, liam was only three years old. He stood on his step stool, eyes wide as I poured layer after layer into the pan without mixing anything. "Mommy, you forgot to stir!" he kept insisting, convinced I was making a mistake. When those bars came out of the oven with their golden, bubbling top and that incredible smell of toasted coconut and melted chocolate filling our kitchen, his little face lit up. One bite of that gooey, crunchy, perfectly layered square, and he understood why they're called "magic." Now at seven, he still watches in amazement as we build these seven layer bars, and I've perfected every detail through countless batches.

Stacked homemade Magic Cookie Bars on a white plate, showing layers of chocolate chips, toasted coconut, and a golden graham crust, with a rustic, real-kitchen look.
These unbelievably Magic Cookie Bars (also known as Seven Layer Bars) layer graham cracker crumbs, sweetened condensed milk, chocolate chips, butterscotch chips, coconut, and pecans into gooey, chewy, crisp-edged dessert squares. No mixer, no complicated steps — just stack, bake, and enjoy.
Jump to Recipe Print Recipe
Stacked homemade Magic Cookie Bars on a white plate, showing layers of chocolate chips, toasted coconut, and a golden graham crust, with a rustic, real-kitchen look.

Why You'll Love These Magic Cookie Bars

These Magic Cookie Bars changed my weeknight dessert game completely. No stand mixer, no creaming butter, no rolling dough - just layer everything in a pan and walk away. The graham cracker crust gets buttery and crisp, while sweetened condensed milk seeps through every layer, binding chocolate chips, butterscotch, coconut, and nuts into pure heaven. They travel perfectly to potlucks without falling apart, and you can make them start to finish in under 45 minutes including baking time.

What makes these seven layer bars truly special is how forgiving they are. liam helps make them all the time because there's literally nothing to mess up. Forgot to press the crust firmly enough? Still delicious. Added extra chocolate chips? Even better. The magic happens in the oven where everything melts together into those iconic gooey, chewy squares with crispy edges. One pan feeds a crowd, they stay fresh for days, and honestly, they taste like you're some kind of baking genius when you really just stacked ingredients and turned on the oven.

Jump to:
  • Why You'll Love These Magic Cookie Bars
  • Magic Cookie Bars Ingredients
  • How To Make Magic Cookie Bars
  • Substitutions
  • Magic Cookie Bars Variations
  • Equipment For Magic Cookie Bars
  • Storage Tips
  • Top Tip
  • FAQ
  • Sweet Success in Every Square!
  • Related
  • Pairing
  • Magic Cookie Bars

Magic Cookie Bars Ingredients

The Foundation:

  • 2 cups graham cracker crumbs
  • ½ cup melted butter
  • 1 can (14 oz) sweetened condensed milk
  • 2 cups semi-sweet chocolate chips
  • 1 cup butterscotch chips
  • 1⅓ cups sweetened coconut flakes
  • 1 cup chopped pecans

Optional Extras:

  • ½ cup white chocolate chips
  • ½ cup toffee bits
  • 1 cup mini marshmallows

How To Make Magic Cookie Bars

Step 1: Prepare Your Base

Preheat your oven to 350°F and line a 9x13-inch baking pan with parchment paper. Mix your graham cracker crumbs with melted butter until everything looks like wet sand. Press this mixture firmly into the bottom of your prepared pan, making sure to reach all the corners and edges. This creates that essential crispy foundation that holds all your layers together.

A homemade graham cracker crust mixture spread evenly in a metal baking pan, showing a loose, sandy texture before being pressed for Magic Cookie Bars.

Step 2: Add the Magic Binding

Pour the entire can of sweetened condensed milk evenly over your graham cracker crust. Don't worry about spreading it perfectly - it'll find its way during baking. This sticky, sweet layer is what binds everything together and creates that signature gooey texture in your magic cookie bars recipe.

Step 3: Layer Your Toppings

Now comes the fun part where liam always helps. Sprinkle the chocolate chips evenly across the surface, followed by the butterscotch chips. Then add your shredded coconut in an even layer, and finish with the chopped pecans on top. Each layer should cover the previous one completely for that perfect seven-layer effect.

A homemade pan of unbaked Magic Cookie Bars topped with shredded coconut, chocolate chips, and chopped nuts, spread unevenly across the surface in a metal baking pan.

Step 4: Bake to Golden Perfection

Slide your pan into the preheated oven and bake for 25-30 minutes. You're looking for golden brown edges and a lightly toasted coconut top. The center might look slightly soft, but that's exactly what you want. The bars will firm up as they cool, creating that perfect chewy-yet-crispy texture everyone loves.

A homemade pan of golden-brown Magic Cookie Bars with toasted coconut, melted chocolate chunks, and crisp edges, baked in a metal pan on a marble countertop.

Step 5: Cool and Cut

This is the hardest part - waiting! Let your magic cookie bars cool completely in the pan, about an hour at room temperature. For the cleanest cuts, refrigerate them for another 2 hours before slicing. Use a sharp knife wiped clean between cuts to get those perfect squares that look bakery-worthy.

Substitutions

Years of recipe testing taught me these substitutions work beautifully:

Quick Changes:

  • Milk chocolate → Semi-sweet chips
  • Walnuts → Pecans
  • Dark chocolate → Regular
  • Vanilla wafers → Graham crackers

Dietary Swaps:

  • Coconut condensed milk → Regular
  • Gluten-free crackers → Graham
  • Nut-free → Extra coconut

Magic Cookie Bars Variations

Peppermint Holiday Version:

  • Replace butterscotch chips with white chocolate chips
  • Add crushed candy canes to the coconut layer
  • Use dark chocolate chips instead of semi-sweet
  • Drizzle melted white chocolate on top after cooling

S'mores Style Bars:

  • Use chocolate graham crackers for the crust
  • Double the chocolate chips and skip butterscotch
  • Add mini marshmallows in the middle layer
  • Top with extra marshmallows last 5 minutes of baking

Tropical Paradise Twist:

  • Swap pecans for chopped macadamia nuts
  • Use only white chocolate chips throughout
  • Add dried pineapple pieces with the coconut
  • Double the coconut for extra island flavor

Peanut Butter Lovers:

  • Replace butterscotch chips with peanut butter chips
  • Use chopped peanuts instead of pecans
  • Drizzle melted peanut butter over warm bars
  • Add mini Reese's pieces to chocolate layer

Equipment For Magic Cookie Bars

  • 9x13 baking pan
  • Measuring cups
  • Mixing bowl
  • Spatula

Storage Tips

Best Fresh

  • Serve at room temperature for optimal gooey texture
  • The chocolate and butterscotch are perfectly melted when fresh
  • Coconut stays toasted and crispy right after cooling
  • Store in single layer with parchment between to prevent sticking

Make Ahead Strategy

  • Prepare and bake bars up to 3 days before serving
  • Store in airtight container at room temperature until needed
  • Freeze cut bars up to 3 months wrapped individually in plastic wrap
  • Thaw at room temperature for 2 hours before serving for best texture

Reheating Instructions

  • Warm in 300°F oven for 5 to 8 minutes to restore gooey center
  • Microwave individual bars for 10 to 15 seconds for melty chocolate
  • Avoid overheating as chocolate can burn and coconut gets too crispy
  • Room temperature is actually best as bars are naturally soft and chewy

Top Tip

  • One Saturday, liam was helping with these bars for his class party. He got distracted by cartoons and forgot to tell me he'd already added the chocolate chips. I didn't notice and added another full layer myself. We ended up with double the chocolate, and honestly? Everyone said they were the best magic cookie bars they'd ever tasted.
  • Now we always do the "double chocolate layer" on purpose. liam still claims it was his master plan all along. The extra chocolate makes them ridiculously indulgent, and they bake perfectly. His distracted moment became our signature version, proving that with these forgiving bars, mistakes often lead to the best results.

FAQ

What are the 5 ingredient magic cookies?

The original eagle brand magic cookie bars use five core ingredients: graham cracker crust, sweetened condensed milk, chocolate chips, coconut, and nuts. This stripped-down version still delivers amazing flavor and gooey texture. Many bakers add butterscotch chips as a sixth ingredient for extra depth, but the five-ingredient version remains a classic for its simplicity and reliably delicious results.

What are the 7 layers in the magic cookie bar?

The traditional seven layer bars include: graham cracker crust, sweetened condensed milk, chocolate chips, butterscotch chips, shredded coconut, chopped nuts, and sometimes a final drizzle on top. Each layer adds distinct flavor and texture. The condensed milk soaks through everything during baking, binding all the layers into those iconic gooey, chewy bars that made this recipe famous.

What kind of pan is best for magic bars?

A 9x13-inch metal baking pan works best for magic cookie bars because it conducts heat evenly and creates perfectly crispy edges. Glass pans work too but may require reducing oven temperature by 25°F to prevent over-browning. Dark pans brown faster, so watch timing closely. Always line your pan with parchment paper for easy removal.

What kind of nuts are best in magic cookie bars?

Pecans and walnuts are traditional favorites because their slightly bitter flavor balances the sweetness perfectly. Pecans stay crunchier during baking, while walnuts offer softer texture. Almonds work for milder taste, and cashews add buttery richness. Toast nuts before adding for deeper flavor. For nut allergies, substitute sunflower seeds or extra coconut flakes.

Sweet Success in Every Square!

You now have all the secrets to making foolproof magic cookie bars that'll become your go-to dessert for every occasion. These seven layer bars prove that sometimes the simplest recipes create the most memorable moments - no fancy techniques, no complicated steps, just pure delicious magic that happens in your oven. From liam's double chocolate discovery to understanding exactly why that sweetened condensed milk is the key to perfection, you're ready to create bars that'll have everyone begging for the recipe.

Looking for more irresistible desserts? Bring holiday cheer with our Easy Christmas Tree Cupcakes Recipe that turns simple cupcakes into festive showstoppers perfect for December gatherings. Chocolate lovers won't be able to resist our Easy Black Forest Cookies Recipe that captures all the flavors of the classic cake in a chewy cookie. And when you're craving something truly decadent, master our The Best Brown Butter Brownies that take ordinary brownies to an extraordinary level with nutty, caramelized butter flavor.

Share your magic Magic Cookie Bars success! Tag @EmilyAndliamKitchen and #MagicCookieBars. We love seeing your layered creations and hearing about your own happy accidents in the kitchen!

⭐⭐⭐⭐⭐ Rate this Magic Cookie Bars and join our baking community!

Related

Looking for other recipes like this? Try these:

  • A slice of rich Chocolate Olive Oil Cake topped with fresh raspberries and a dusting of powdered sugar, served on a white plate.
    Chocolate Olive Oil Cake Recipe
  • Three Carmelitas Recipe stacked on top of each other, with gooey caramel and chocolate chips oozing out between layers of crumbly oat crust.
    Carmelitas Recipe: Easy Caramel Chocolate Cookie Bars
  • A slice of No Bake Cheesecake with a heart-shaped strawberry, blueberries, and whipped cream on top, served on a white plate.
    Easy No Bake Cheesecake Recipe
  • Bite taken from a Strawberry Thumbprint Cookies with pink cream and jam.
    Best Strawberry Thumbprint Cookies

Pairing

These are my favorite dishes to serve with Magic Cookie Bars

  • A stack of Mini Egg Brownies with visible chunks of white chocolate and colorful mini eggs, placed on a table with more mini eggs scattered around.
    Easy Mini Egg Brownies Recipe
  • A beautifully plated Panna Cotta topped with vibrant strawberry sauce and a fresh strawberry garnish, with a spoon resting beside it.
    Classic Panna Cotta Recipe
  • A slice of Homemade Savory Galette served on a white plate, featuring roasted tomatoes, zucchini, corn, and a golden, flaky crust with fresh basil on top.
    Easy Homemade Savory Galette Recipe
  • A slice of Oreo pie with creamy filling, topped with whipped cream and a whole Oreo cookie, served on a white plate.
    The Best Oreo Pie Recipe
Stacked homemade Magic Cookie Bars on a white plate, showing layers of chocolate chips, toasted coconut, and a golden graham crust, with a rustic, real-kitchen look.

Magic Cookie Bars

5 from 1 vote
These unbelievably Magic Cookie Bars (also known as Seven Layer Bars) layer graham cracker crumbs, sweetened condensed milk, chocolate chips, butterscotch chips, coconut, and pecans into gooey, chewy, crisp-edged dessert squares. No mixer, no complicated steps - just stack, bake, and enjoy.
Print Recipe Pin Recipe
Prep Time 10 minutes mins
Cook Time 25 minutes mins
Cooling Time 1 hour hr
Total Time 1 hour hr 35 minutes mins
Servings: 24 bars
Course: Dessert
Cuisine: American
Calories: 295
Ingredients Equipment Method Nutrition Notes

Ingredients
  

  • 2 cups graham cracker crumbs
  • ½ cup unsalted butter - melted
  • 1 can (14 oz) sweetened condensed milk
  • 2 cups semi-sweet chocolate chips
  • 1 cup butterscotch chips
  • 1⅓ cups sweetened shredded coconut
  • 1 cup pecans - chopped
Optional Add-Ins
  • ½ cup white chocolate chips
  • ½ cup toffee bits
  • 1 cup mini marshmallows

Equipment

  • 1 9x13-inch baking pan (Metal pan preferred for crisp edges)
  • 1 Large mixing bowl (For crust mixture)
  • 1 Spatula (For spreading layers)
  • 1 Parchment paper (For easy removal)

Method
 

  1. Preheat oven to 350°F. Line a 9×13 pan with parchment paper. Mix graham cracker crumbs and melted butter until consistency resembles wet sand. Press firmly into the pan.
  2. Pour the sweetened condensed milk evenly over the crust. It does not need to be spread perfectly.
  3. Sprinkle chocolate chips, then butterscotch chips. Add coconut evenly, and top with chopped pecans.
  4. Bake 25-30 minutes until edges are golden brown and coconut is lightly toasted. Center may look soft.
  5. Cool 1 hour in pan. For cleaner slices, refrigerate 2 hours before cutting.

Nutrition

Serving: 1bar (~55-60 g)Calories: 295kcalCarbohydrates: 33gProtein: 3.5gFat: 17gSaturated Fat: 10gPolyunsaturated Fat: 2gMonounsaturated Fat: 3gCholesterol: 10mgSodium: 115mgPotassium: 150mgFiber: 2gSugar: 24gVitamin A: 120IUCalcium: 75mgIron: 1.5mg

Notes

Nutrition information is automatically calculated and should be considered an approximation. Actual values may vary based on specific ingredients used and portion sizes

Tried this recipe?

Let us know how it was!

More Cookies

  • Golden Chewy Lemon Sugar Cookies, one broken open, with lemon slices and flowers.
    Chewy Lemon Sugar Cookies
  • Close-up of Homemade Chocolate Lava Cookies, dusted with powdered sugar. The cookies are cracked open, revealing a rich molten chocolate center spilling out.
    Homemade Chocolate Lava Cookies
  • Almond Cookies topped with slivers of almonds and powdered sugar, with one broken to show the interior.
    The Best Almond Cookies Recipe
  • A stack of gooey Sticky Toffee Pudding Cookies filled with toffee and drizzled with caramel sauce.
    Easy Sticky Toffee Pudding Cookies
5 from 1 vote (1 rating without comment)

Leave a Reply Cancel reply

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

Recipe Rating




emily seo and founder of bake and savor

Hi bakers!

I'm Emily, the baker and creator behind Bake and Savor. I transform classic recipes into foolproof treats that bring joy to every kitchen. From my family's treasured recipes to modern favorites, I'm here to share the sweet science of baking with you! 🧁

More about me

Popular

  • A close-up of a freshly baked Cinnamon Swirl Quick Bread, with a cinnamon sugar swirl inside, topped with a light drizzle of icing. The bread is placed on a wooden cutting board with cinnamon sticks.
    Delicious Cinnamon Swirl Quick Bread
  • Peanut Butter Cup Cupcakes with frosting and a peanut butter center.
    Easy Peanut Butter Cup Cupcakes
  • A soft, moist slice of White Chocolate Raspberry Cake filled with raspberry jam, topped with fresh raspberries and white chocolate swirls.
    White Chocolate Raspberry Cake Recipe
  • A stack of freshly baked Peach Cobbler Bars with a golden crumble topping and sweet peach filling, drizzled with icing for extra sweetness.
    Easy Peach Cobbler Bars Recipe

Seasonal

  • A close-up of a Lemon Poppy Seed Muffins with a bite taken out, showcasing a fluffy interior, poppy seeds, and a crumbly topping with icing drizzle, accompanied by lemon slices.
    Moist Lemon Poppy Seed Muffins Recipe
  • Chai Cheesecake Bars with a cinnamon caramel topping, garnished with star anise.
    Easy Chai Cheesecake Bars Recipe
  • Stack of moist Red Velvet Oreo Brownies with visible Oreo chunks, dusted with powdered sugar, looking freshly baked and delicious.
    Easy Red Velvet Oreo Brownies Recipe
  • A Party Piñata Cupcakes with a white frosting topping, filled with colorful sprinkles inside.
    Easy Party Piñata Cupcakes Recipe

Footer

Logo bake and savor recipes
↑ back to top

Explore

  • About
  • Contact
  • Subscribe

Legal

  • Privacy Policy
  • Terms & Conditions
  • Accessibility

Copyright © 2025 Bake and Savor. All recipes developed and tested by Emily. Bake with love, serve with joy.

Rate This Recipe

Your vote:




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

Recipe Ratings without Comment

Something went wrong. Please try again.