Magic cookie bars are a favorite for any occasion.

Sweetened condensed milk is drizzled over a buttery graham cracker crust, chocolate chips for an easy anytime treat.

This magic cookie bars recipe (AKA 7-Layer Bars or Hello Dolly Bars) is a retro recipe created around 1968. They’re sweet and a little chewy!

  • Crust – Butter and graham cracker crumbs are pressed into the bottom of the pan. So easy!
  • Sweetened Condensed Milk – Condensed milk is the ‘glue’ that holds everything together.
  • Coconut – Use either sweetened or unsweetened flaked coconut.
  • Nuts – I most often use pecans but walnuts, peanuts, or almonds work as well.
  • Chips – I use either all chocolate chips or a combination of butterscotch chips, peanut butter chips, or white chocolate chips.
ingredients to make Magic Cookie Bars

These magic bars couldn’t be easier to make.

  1. Press the graham cracker mixture into a 9×13-inch baking pan.
  2. Pour sweetened condensed milk evenly over the top of the crust.
  3. Sprinkle coconut, pecans, butterscotch, and chocolate chips over the top and bake.

Store the magic cookie bars in an airtight container at room temperature for a few days or in the refrigerator for up to one week.

Keep them tightly wrapped in the freezer for up to 3 months.

More Bars We Love

Stack of peanut butter cookie bars on a plate

Peanut Butter Chocolate Chip Cookie Bars

Did you love these Magic Cookie Bars? Be sure to leave a rating and a comment below! 

image of Everyday Comfort cookbook by Holly Nilsson of Spend With Pennies plus text
stack of Magic Cookie Bars
5 from 31 votes↑ Click stars to rate now!
Or to leave a comment, click here!

Magic Cookie Bars

These magic cookie dessert bars are rich and decadent, loaded with chocolate chips & coconut!
Prep Time 10 minutes
Cook Time 30 minutes
Total Time 40 minutes
Servings 24 bars
Author Holly Nilsson

Equipment

9x13 Baking Pan with white background
9 x 13-inch Baking Pan
Parchment Paper with white background
Parchment Paper
buy hollys book

Ingredients  

  • 2 cups graham cracker crumbs
  • ¾ cup unsalted butter melted
  • 14 ounces sweetened condensed milk
  • 1 ⅓ cups flaked coconut sweetened or unsweetened
  • 1 ⅓ cups chopped pecans
  • 1 cup semi-sweet chocolate chips
  • 1 cup butterscotch chips or additional chocolate chips

Instructions 

  • Preheat the oven to 350°F. Line a 9×13-inch baking dish or pan with parchment paper (optional but recommended).
  • Combine graham crumbs and melted butter in a small bowl. Press into the bottom of the baking dish.
  • Pour the sweetened condensed milk over the graham crumb crust.
  • Sprinkle with coconut, pecans, butterscotch chips, and chocolate chips. Press gently.
  • Bake for 25-30 minutes or until lightly browned.
  • Cool completely. Cut into 24 bars.

Notes

  • Melt the butter in the pan you’ll be baking in by placing it in the oven while it preheats. Stir the crumbs and butter right in the pan. This makes fewer dishes to wash.
  • Option: line the pan with parchment or foil. This makes the bars extra easy to lift out and cut after baking (plus quick cleanup).
  • To save time, purchase chopped pecans.
  • This can be made with any combination of chocolate chips. Semi-sweet balances out the sweetness.
  • Ensure the bars are chilled before cutting.
5 from 31 votes

Nutrition Information

Serving: 1bar | Calories: 274 | Carbohydrates: 27g | Protein: 3g | Fat: 18g | Saturated Fat: 9g | Trans Fat: 1g | Cholesterol: 22mg | Sodium: 148mg | Potassium: 166mg | Fiber: 2g | Sugar: 20g | Vitamin A: 235IU | Vitamin C: 1mg | Calcium: 64mg | Iron: 1mg

Nutrition information provided is an estimate and will vary based on cooking methods and brands of ingredients used.

Course Cookies, Dessert, Snack
Cuisine American
close up of sweet Magic Cookie Bars with writing
7 layer Magic Cookie Bars with writing
Magic Cookie Bars in the dish and slices in a pile with a title
Magic Cookie Bars with pecans and a title

share:

PinFacebookTweetYummly

Categories:

Cookies, , , The Best Christmas Cookie Recipes

Like our recipes?
Follow us on Pinterest!

Follow us on Pinterest

Recipes you'll love

About the author

Holly Nilsson is the creator of Spend With Pennies, where she creates easy, comforting recipes made for real life. With a passion for nostalgic flavors and simplified techniques, Holly helps busy home cooks create delicious meals that always work. She is also the author of “Everyday Comfort,” which promises to inspire even more hearty, home-cooked meals.
See more posts by Holly

Follow Holly on social media:

pinterest facebook twitter instagram

Free eBook!

Subscribe to receive weekly recipes and get a FREE Bonus e-book: Quick & Easy Weeknight Meals!

You can unsubscribe anytime by clicking the “unsubscribe” link at the bottom of emails you receive.

Latest & Greatest

5 from 31 votes (23 ratings without comment)

Leave a Reply

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

Recipe Rating




Comments

  1. My mom used to make these growing up and called them “Hello Dollies”. We also sprinkled the chocolate chips, coconut and nuts on top if the crust, then drizzled the sweetened condensed milk over everything. I still enjoy making them for potlucks or to take to other gatherings. They are always a hit!5 stars

  2. I have been making these for years for my own children and now for the Grands or even my Knitting Group. A found that a 20 year old boy can put away two batches in four days. We call them Chippie Dippies or when they first came out they were called 7 Layer Cookies. I double the crust as I think it gives a better base and I keep them in the fridge. They are easy and what is not to like about them.5 stars

  3. I used to make these for the kids to take to school on their birthdays as treats for the class. I use chocolate chips and replace the nuts with mini m&m’s. The kids call them “Magic Rainbow Cookie Bars”

  4. Do you recommend sweetened or unsweetened flaked coconut? I am leaning towards unsweetened because I’m worried the bars will be too sweet with sweetened coconut, but on the other hand I don’t want them to end up not sweet enough. What kind of coconut do you use when you make these? Thanks!

    1. I haven’t tried it so I can’t say for sure Shirley. If you try it I would love to hear how it turns out!

  5. My husband makes these for us all the time. THEY ARE OUTSTANDING!!! The only thing slightly better is the Death by Chocolate cookie bars. We keep them in the fridge and they are soooooo good.5 stars

  6. My husband made these yesterday and they were delicious! He was a little disappointed because the graham cracker crumbs didn’t stick together as much as he would have liked. I thought the bottom could have been a little firmer but it was still yummy. Any suggestions?5 stars

    1. Make sure that you press the crust firmly before adding the other ingredients, and refrigerate before cutting. So happy you love these cookie bars!

  7. Hi,
    Can I make these with unsweetened shredded coconut or unsweetened flaked coconut? It’s what I have in the pantry currently. If not I’ll go buy the sweetened variety.
    Thanks!

  8. My mom used to make these cookies and they are SO good! I haven’t made them in years myself, but I will now. I bet they’d also be good if you swapped out the butterscotch chips for peanut butter chips.