Magic Cookie Bars Recipe on Food52 (2024)

Bake

by: Posie (Harwood) Brien

November17,2022

4.5

15 Ratings

  • Prep time 10 minutes
  • Cook time 25 minutes
  • Makes 1 (13x9-inch) pan

Jump to Recipe

Author Notes

I've lived nearly 30 years and never made Magic Cookie Bars before this. December remedied this serious oversight for me, and I'm grateful. Here's why: Magic Cookie Bars (also known as Hello Dolly Bars or 7-Layer Bars) are some of the simplest yet most decadent bar cookies you can bake.

You know those occasions when you need a slam dunk, crowd-pleasing dessert? Bake sales? Birthday celebrations at work? Potlucks? Picnics? A baby shower? This recipe is what you should make. Don't hesitate. They are very good: gooey and crunchy and buttery and delicious all at once. They're versatile, too. If you don't like coconut, or your friends dislike pecans, just swap in something else. You can also add extra layers of ingredients. I'm planning to try a Nutella version, and a cookie butter version, and one with cacao nibs and caramel (and and and...).

Making the bars is simple. You melt butter, pour it into your pan, and press a layer of graham cracker crumbs into the butter. Pour a can of condensed milk over the pan. Add a layer of chocolate chips, toasted nuts (any kind you like), and coconut and bake! I like to use a mix of unsweetened coconut flakes and sweetened shredded coconut for texture and to cut back slightly on the sweetness.

Twenty-five minutes later, your bars are ready. If you find the recipe slightly too sweet, try a mix of semisweet and bittersweet chocolate. These bars freeze beautifully, and are a fantastically simple recipe for any baker to keep in their back pocket. Eat one warm from the oven, with a glass of cold milk, and revel in the magic of how a few simple ingredients can be transformed into something so wickedly delicious. —Posie (Harwood) Brien

Test Kitchen Notes

Magic Cookie Bars—aka 7-Layer Bars—are just that: pure magic. The old-fashioned, kid-friendly dessert never, ever disappoints, in part because they’re so easy to make, but also because they’re just so dang delicious. The basic premise of the timeless treat is this: a graham cracker crust topped with a layer of sweetened condensed milk, followed by a sprinkling of chocolate chips, nuts, and sweetened shredded coconut. (Emphasis on the sweet, here. If you don’t have a sweet tooth, this dessert probably won’t thrill you, and that’s okay—more for me!)

Another thing that’s magical about these bars aside from just their name? They’re a one-pan recipe, with the exception–please don’t get mad–of melting the butter in a separate bowl. Rather than mixing the butter and graham cracker crumbs in one large bowl, then adding them to the baking pan, you’ll actually mix the two ingredients together directly in the pan until they create a soft, sand-like texture. Add the toppings one at a time, then bake for just 25 minutes. And though you’ll be eager to dig in, these are best served at room temperature, so try to exercise patience.

This is the most traditional recipe, but you can switch out honey graham crackers for chocolate graham crackers or crushed cookies. (Oreos or gingersnaps would be delicious here.) If you want, use white-chocolate chips instead of dark-chocolate chips. Oh, and go ahead and use any kind of nuts you please, though we recommend pecans or walnuts. As for using sweetened condensed milk and shredded coconut, that’s non-negotiable.
Food52

  • Test Kitchen-Approved

What You'll Need

Watch This Recipe

Magic CookieBars

Ingredients
  • 1/2 cupunsalted butter, melted
  • 1 1/2 cupsgraham cracker crumbs
  • 14 ouncessweetened condensed milk
  • 2 cupssemisweet chocolate chips
  • 1 cupchopped toasted nuts
  • 1 cupsweetened shredded coconut
  • 1/2 cupunsweetened shredded or flaked coconut
Directions
  1. Heat the oven to 350°F. Into a 13x9-inch baking pan, pour the butter, swirling to cover the pan evenly. Sprinkle the graham cracker crumbs over the butter in an even layer. Pour the milk over the graham crackers in an even layer.
  2. Sprinkle the chocolate chips in an even layer over the milk. Add the nuts (in an even layer), then the shredded coconut and coconut flakes. Press down with a fork.
  3. Bake the bars for about 25 minutes, then let cool before slicing and serving.

Tags:

  • Cookie
  • American
  • Chocolate
  • Milk/Cream
  • Bake
  • Holiday
  • Christmas
  • Dessert

See what other Food52ers are saying.

  • Steven Williamson

  • Pamela Tiberius

  • Dishlicious

  • Karen Leibowitz

  • Rebecca Taylor Gay

Popular on Food52

35 Reviews

Steven W. November 18, 2022

And only seventy-five hundred calories per square! Oh, back in the day these were a go to bar and not cut small, either 2 x 2-inch squares or better! Yikes, so good yet bad.

Pamela T. February 8, 2022

My mom made these all the time when I was going up. They still are just as good today. I add cinnamon to the crust and sometime chia seeds

coletteangele February 6, 2022

These were so delicious! I always thought these bars must be so time-consuming to make because of all the layers, but they came together in less than five minutes. I made a gluten-free version for the celiacs in my family - I subbed in almond flour for the Graham crumbs, and I used gf old-fashioned oats in place of the nuts for my picky kids. I took the advice of other commenters and poured the condensed milk on top last and the bars held together perfectly. Next time, to make these both gf and school-safe (completely nut free), I will use ground gf cookies in the base. So so so yummy - everyone loves them!

Dishlicious January 23, 2022

Have made these forever, my Mom’s recipe she called Hello Dollies. Her recipe does call to press the butter crumb mixture as a crust. No unsweetened coconut. But the big difference is the condensed milk is poured on last. I think that keeps the bars together.

Kate January 23, 2022

I made these with my grandmother decades ago, and the recipe was the same — butter-graham cracker crust and sweetened condensed milk poured over last on the other ingredients. Hello Dolly bars.

Lisa L. October 21, 2021

Been making these since the early 70's with the traditional recipe: 1 stick of melted butter, 1C of graham cracker crumbs, 1 can of sweetened condensed milk, 1C each of semisweet chocolate chips & butterscotch chips & chopped walnuts & shredded unsweetened coconut. They were called 7 Layer Bars.

soukie October 25, 2021

Lisa, I use the same recipe and we love them.

Tish F. January 31, 2021

These are so good, but agree that they fall apart as they did for others. I’m either going to add more graham crackers or will bake the crust a bit to let it set and then layer and fully cook.

Smaug January 31, 2021

I have some question about the proportion of butter to crumbs, but it might serve to simply mix the butter and crumbs and pat them into the pan like a standard crumb crust.

Que January 26, 2021

Any recommended/tried substitutes for shredded coconut? Not a big shredded coconut fan but would like to try this, the caramelized condensed milk sounds yummy! Thanks!

Jami G. January 24, 2022

Maybe mini marshmallows or pretzels?

Aditi September 25, 2020

My bars didn’t hold together at all. I first let them cool, then even chilled them for a while, but they didn’t come out cleanly. If I make them again, will probably try mixing a crust and pressing it in first, and baking a little longer than 25 minutes.

Karen L. June 30, 2020

If, by chance (unlikely, right?!), there are leftovers, they are great crumbled on top of ice cream!!!!

Rebecca T. June 28, 2020

I've been making these forever—apparently longer than many of you have been alive! :) Interesting to read all the hacks but I've always done pretty much exactly what's described in this recipe. But here are some of my learned efficiencies:

1) I melt the stick of butter, cut into chunks, right in the prepared (with foil) baking pan while the oven preheats. One less greasy dish and no wasted butter!

2) Definitely line the pan completely with heavy-duty foil. Cool completely before cutting (put in fridge if needed); then lift the entire sheet out with the foil onto the cutting board. Makes for much easier cutting. (I usually peel the foil away from the chilled bars for ease of removal before slicing.)

3) Press down quite firmly before baking. (I use my impeccably clean hands :) I think this helps make them less crumbly.

4) When serving these at a buffet, I cut the bars into small squares—just over an inch—so they are potentially bite-sized. Way less crumbs, and lots more servings!

Julie December 3, 2019

These are always super-popular, no matter when or where. I have a few hacks. Sometimes I partially caramelize the condensed milk by boiling it in its still-sealed can (I know, everyone warns that this is a potential disaster but I've never had a problem), and then pour the warm blond stuff over all the layers. Other times if I'm in a hurry, I just bake the whole thing an extra fifteen minutes or so, just shy of burning (this is with the milk as the top layer, to seal everything together) and the coconut on top gets caramelized and brown. They are lusciously chewy this way. Another hack is using about 1 1/2 to 2x the amount of condensed milk, done as above so it's super-caramelized. Very plush that way. And my last one was an "almond joy bar" hack, where I used a chocolate crumb crust, coconut and dark chocolate chips, and the top layer was a thick one of toasted slivered almonds, again all drenched in the semi-caramelized milk before baking. That one is pretty amazing, although I really love the standard, too.

Lea A. March 24, 2018

The second time I made these, the crust didn’t hold together as much as it should. I measured everything carefully and followed the recipe to the letter. Next time should I mix the crumbs with the butter first and then press it into the pan?

Shanna P. July 13, 2017

How many bars does this recipe make?

susan G. September 4, 2017

It's a 9 x 13" pan, so how big do you want to cut the bars?

foofaraw January 6, 2017

I have caramelized sweet condensed milk. Would that be good; or does normal sweet condensed milk still better?

Leona S. January 5, 2017

We called them 7 layer cookies, first one thin layer of butter to prevent sticking (aluminum is toxic) grahams and butter, a bag of butterscotch chips, a bag of chocolate chips, chopped pecans, shredded coconut and last was the sweetened condensed milk.

Joan August 25, 2019

That is exactly what I thought they were when I read the recipe. Made these
Many years ago and really liked them. Might just have to make them again.

tia January 5, 2017

Oh, I love these! We called them "Hello, Dollies" growing up. Man, I haven't made these in years. Maybe I will soon.

Laura January 3, 2017

I always pour the condensed milk over the top of all the layers. It binds them all together better and makes a more cohesive bar. Super rich, but always a crowd pleaser!

Kris December 31, 2016

What pan would you use ? Baking tray or glass?

Posie (. December 31, 2016

Either would work, I used a ceramic pan actually but any 9" x 13" will be good! I prefer metal for bar cookies usually.

Kris January 2, 2017

Thanls, another question. Can I change the order of the layers ? Add the coconut on top of condensed milk and then add the chocolate chips ?

Posie (. January 2, 2017

Totally! I think that would work just fine, as long as you keep the first three layers (butter/graham crumbs/condensed milk) in order.

Kris January 3, 2017

Awesome thank you for the quick response

Smaug December 31, 2016

Really? That's more than twice the butter for an ordinary crumb crust.

Posie (. December 31, 2016

Oh yeah :) embrace the butter!

Smaug December 31, 2016

I probably won't- does it do anything functionally or is it just extra fat?

Posie (. December 31, 2016

It won't hold together as well -- any classic seven layer/magic bar recipe uses this ratio of graham cracker crumbs to butter. I think it'd be too crumbly to hold up all the heavy top layers otherwise.

Smaug December 31, 2016

Maybe- 3 oz butter to this amount of crumbs produces a crust solid enough to (based on recent experience) pick up half of a two+ inch deep black bottom pie and hand it to your brother, but you have to actually mix it with the crumbs, Maybe this has enough free butter to keep it from sticking.

ChefJune January 5, 2017

You could line the pan with parchment...

Smaug January 5, 2017

Huh what? I've heard a lot about people lining pans with parchment, or even using it for blind pie crusts- I suppose I'll try it some day, but it seems like foil holds a shape so much better. For the record, to keep a crumb crust from sticking- line pie plate with foil, make crust and bake it, freeze, remove from the pan and peel off the foil, replace crust in plate. Also, if you make the crust with margarine and butter the pan it won't stick- other way around doesn't work, though.

Magic Cookie Bars Recipe on Food52 (2024)

FAQs

Should you refrigerate magic bars? ›

Magic bars can be stored at room temperature, in the fridge, or in the freezer. Magic bars do not need to be refrigerated, but if you prefer a cold magic bar, feel free to place them in the fridge. Room temperature: place completely cooled magic bars into a sealed tupperware containerfor up to a week.

How to cut magic cookie bars? ›

For perfectly cut cookie bars, line entire pan with foil, extending foil over edge of pan. Coat lightly with no-stick cooking spray. After bars have baked and cooled, lift up with edges of foil to remove from pan. Cut into bars.

Why are they called magic cookie bars? ›

The reason these are called "magic" is because you layer everything into a pan, pour sweetened condensed milk over the top, and bake. When they come out of the oven, the sweetened condensed milk has baked into each layer, creating a bar that holds together and tastes amazing!

How many carbs are in magic cookie bars? ›

Nutrition Facts (per serving)
167Calories
10gFat
14gCarbs
2gProtein
Nov 28, 2023

How long do cookie bars stay fresh? ›

Information. Bakery or homemade cookies can be stored at room temperature two to three weeks or two months in the refrigerator. Cookies retain their quality when stored in the freezer for eight to 12 months. Moist bars, such as cheesecake and lemon bars, can be refrigerated for seven days.

Is evaporated milk the same as condensed milk? ›

Both are concentrated, shelf-stable milk products that have been heated until at least 60 percent of their water content has evaporated. The main difference between evaporated milk and condensed milk is that evaporated milk is unsweetened while condensed milk is sweetened.

How many bars does a 9x13 pan make? ›

You will get6 bars with a little extra space for a sample for the cook, to taste for quality control. If 9" seem too long , cut in half and you will have a nice dozen. I spray my pans with oil so the food slips out easily, and I start by cutting the food in half; cut the halves in half; and so on.

What size do you cut cookie bars? ›

For an 8×8 pan:

Measure the halfway point between the middle cut and the edge. Cut straight down, and then repeat on the other side of the middle cut. Now you should have four columns of bars that are each 2-inches wide. Turn the dessert and repeat your cuts until you have 16 two-inch squares.

What tool do you use to cut cookie bars? ›

A bench scraper is going to be easier to maneuver. Instead of sawing through those bar cakes and cookies with a knife, the bench scraper has you using a quick and decisive straight-up and straight-down cutting motion, resulting in a clean cut. This means you are less likely to have lots of crumbs to clean up.

Why is it called Magic Cookies? ›

Typically used in Unix systems, a magic cookie may be an identification token or password that activates a function. The "magic" implies some obscure data known only to the software and not the user. The Web cookie term was coined after magic cookie.

Why is it called a Hello Dolly? ›

The name Hello Dolly Bars most likely stemmed from the popularity of the Broadway show Hello Dolly, which starred Carol Channing around the time this recipe began circulating, although the connection is unclear.

What is MIT magic cookie? ›

A magic cookie is a long, randomly generated binary password. At server startup, the magic cookie is created for the server and the user who started the system.

Can you make your own sweetened condensed milk? ›

How to Make Sweetened Condensed Milk. The ingredients are simple: 32 ounces milk, seven ounces sugar, and six ounces heavy cream, plus a pinch of salt and whatever aromatics you choose.

What color is sweetened condensed milk? ›

Can the color of the sweetened condensed milk vary? Yes, it should have an off-white color. However, as the product ages it may darken in color and thicken. As long as the Best If Used By date is still current, the product can still be used.

What can you use sweetened condensed milk for? ›

Milk It: What to Do With the Rest of a Can of Sweetened Condensed Milk
  • Upgrade Iced Coffee or Tea. Swapping out skim for sweetened condensed is a decadence we can get down with. ...
  • Justify Making Another Baked Good. ...
  • Turn Sweet Into Savory. ...
  • Add to Ice Cream. ...
  • Make Dulce de Leche. ...
  • Pour it on Literally Anything.
May 20, 2015

Do lemon bars need to be refrigerated? ›

Lemon bars should be stored in an airtight container and refrigerated in order to prevent bacterial growth or foodborne illness. The filling in lemon bars is made with eggs and can become a breeding ground for bacteria if it's kept in the danger zone (between 41 and 153 degrees F).

How do you store baked bars? ›

Bar cookies may be stored in their baking pan tightly covered with aluminum foil if they will be eaten in a few days. Bar cookies removed from the pan should be stored in an airtight container. Separate bar cookies with waxed paper between layers. Many bar cookies freeze well.

How do you store homemade ice cream bars? ›

Put the ice creams back on the tray to set in the freezer for 10 minutes before serving or store in an airtight container for up to 3 months.

How long can you store homemade energy bars? ›

Another study concluded that an energy bar made from underutilized Chironji seeds was safe to consume within 15 days after production if kept at room temperature . Additionally, energy bars made from sorghum were found to be acceptable up to 60 days of storage and had good shelf life .

References

Top Articles
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 6342

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.