Magic Cookie Bars Recipe

4.89 from 27 votes
Jump to RecipePinSave to Favorites

This post may contain affiliate links. See my privacy policy for details.

Is anything more classic for the holidays (or you know, a Monday morning with a coffee) than delicious Magic Cookie Bars, also known as Hello Dolly Bars? These condensed milk and chocolate layer bars are so easy to make and are always a crowd favorite!

stack of Magic Cookie Bars / Hello Dolly Bars in wood background

Magic cookie bars are the original 7 layer bar, even though they don’t technically have 7 layers. The original bar has 6 layers and people have adapted them into 7 layer bars over the years. The original magic cookie bars don’t have butterscotch or extras (hey, not that those don’t make the bars better!) but I wanted to provide you guys with the basic, old a heck, classic magic cookie bar recipe that started it all!

Making magic cookie bars is as easy as 1,2,3!

  1. Press the crumb base into the bottom of the pan.
  2. Place all of the ingredients into the pan in the correct order.
  3. Bake, then cool and slice.
close up stack of Magic Cookie Bars

Magic cookie bars freeze perfectly but there is a trick to it because they are slightly ooey and gooey, so they take an extra step to freeze.

  • Cut the magic bars into the size that you want to freeze them.
  • Place the cookie bars onto a parchment lined baking sheet.
  • Freeze them until they are solid.
  • Place the bars into a container and layer them between parchment paper to ensure that they don’t stick together.
  • Cover the container and freezer for up to 3 months.
close up stack of Magic Cookie Bars in a dessert plate

Why these are also known as Hello Dolly bars I am not quite sure, but they were invented in the 1960’s and started out as Hello Dolly Bars. They are the exact same thing as magic cookie bars, just differently named.

These are super sweet and awesome cookie bars, enjoy!



Enter your email to get this recipe emailed to you, so you don’t lose it and get new recipes daily!

Magic Cookie Bars

Is anything more classic than delicious Magic Cookie Bars? These condensed milk and chocolate coconut layer bars are so easy to make and are always a crowd favorite!
4.89 from 27 votes
Prep Time
10 minutes
Cook Time
25 minutes
Total Time
35 minutes
Karlynn Johnston


  • 1/2 cup salted butter melted
  • 1 1/2 cups graham cracker crumbs
  • one 14 ounces can sweetened condensed milk
  • 2 cups semi-sweet chocolate chips
  • 1 1/3 cups flaked coconut
  • 1 cup chopped nuts’


  • Pre-heat your oven to 350° F, or to 325 °F if you are using a glass dish.
  • Spray a 9×13 pan with cooking spray, or line with parchment paper and set aside for later.
  • Combine the graham cracker crumbs and the salted butter until the graham crumbs are moistened with the butter throughout.
  • Press the mixture into the bottom of your prepared prepared pan.
  • Pour the sweetened condensed milk evenly over the graham crumb crust.
  • Sprinkle even layers of the chocolate chips, coconut and the nuts, making sure they are mixed on the top evenly. ( you want a little of each all over the place)
  • Press these down firmly with the back of a spoon into the condensed milk ( but don’t break through to the crust.!) 
  • Bake for 25 minutes in your preheated oven or until lightly browned all over. If you notice the top browning too fast you can cover with tinfoil for a few minutes and keep baking.  Remove and cool.
  • Cool the bars completely before slicing.
  • Cut into bars or diamonds.
  • Store covered at room temperature or in a closed container in the freezer for up to 3 months.

Nutrition Information

Calories: 247kcal, Carbohydrates: 16g, Protein: 2g, Fat: 19g, Saturated Fat: 10g, Cholesterol: 13mg, Sodium: 86mg, Potassium: 169mg, Fiber: 2g, Sugar: 8g, Vitamin A: 150IU, Vitamin C: 0.2mg, Calcium: 25mg, Iron: 1.8mg

All calories and info are based on a third party calculator and are only an estimate. Actual nutritional info will vary with brands used, your measuring methods, portion sizes and more.

Made this recipe?

Share a photo of what you made on Instagram or Facebook and tag me @thekitchenmagpie or hashtag it #thekitchenmagpie.

Please rate this recipe in the comments below to help out your fellow cooks!

Learn to cook like the Kitchen Magpie

A Very Prairie Christmas Bakebook

Cookies, Candies, Cakes & More: Vintage Baking to Celebrate the Festive Season!

Learn More

a copy of Flapper Pie cook book

Flapper Pie and a Blue Prairie Sky

A Modern Baker’s Guide to Old-Fashioned Desserts

Learn More

The Prairie Table

Suppers, Potlucks & Socials: Crowd-Pleasing Recipes to Bring People Together

Learn More


Is anything more classic than delicious Magic Cookie Bars? These condensed milk and chocolate coconut layer bars are so easy to make and are always a crowd favorite! #magicbars #7layerbars #hellodolly

Karlynn Johnston

I’m a busy mom of two, wife & cookbook author who loves creating fast, fresh meals for my little family on the Canadian prairies. Karlynn Facts: I'm allergic to broccoli. I've never met a cocktail that I didn't like. I would rather burn down my house than clean it. Most of all, I love helping YOU get dinner ready because there's nothing more important than connecting with our loved ones around the dinner table!

Learn more about me

Reader Interactions

Comments & Recipe Tips Share a tip or comment!

  1. Terre says

    I’ve been looking for the vegan version of this recipe, which I still haven’t found. This recipe is really easy to veganize though. Can’t wait to try them. Thank you!5 stars

  2. Lynn says

    My daughter made these today and they were not only scrumptious but easy and will be lovely to serve. Thank you so much for all the extra tips in the instructions. Great recipe. Will definitely make again.5 stars

  3. Janet says

    I think the pan is too large, too thin of a bar. I used dark chips and only half the required amount, family found them too sweet.2 stars

  4. Jess M says

    I just made these for my husband with semi sweet chips, honey roasted peanuts and Biscoff cookies for the base.
    Oh my gosh it’s so delicious, thank you so much for this wonderfully easy recipe!5 stars

  5. says

    I learn to cooks soup recipes by watching youtube videos

  6. Kay says

    I have been making them every Christmas for years, this is the first time I have poured the condensed milk in first. waiting for them to cool the check out the result 🙂5 stars

  7. Dori says

    I’ve been making these since I was a teenager, back when they were called Hello. Dolly bars. To reply to some of the other comments, I use a 13×9” pan, putting the sweetened condensed milk on top of the graham crackers doesn’t make them more moist, it actually makes them drier, put the sweetened condensed milk on top, makes for a much moister cookie bar. These are my granddaughters favorite, make them for her every Christmas.

  8. Sheila P says

    I have never seen this recipe where you pour the sweet condensed milk over the graham crumbs!! All the recipes I’ve seen add it at the end, on top of everything else. This makes so much more sense. This way, the milk bubbles up through everything to hold it together, and doesn’t brown so quickly. Thank you!

  9. Joy Wilson says

    can I use unsalted butter. that’s what I have on hand.

    • Karlynn Johnston says

      Yes, just add a sprinkle of salt to the recipe

  10. susan gortva says

    i used to really love these. can’t believe all the goodies I ate

    • Dawn says

      We call these Simple Simon’s and have been making them since the 60’s. This was in the church cookbook my mother helped put together. Butterscotch chips were in the recipe and the condensed milk was poured on top of everything. So I guess our Simple Simon’s are the 7 layer bars

Leave a Comment or Recipe Tip

Recipe Rating