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.

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.

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

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 do you cut magic cookie bars? ›

Like with other desserts, first bake your bars in a pan lined with non-stick foil. Chill your bars before lifting them with the foil and placing them on a cutting board. Slice, cleaning the knife after each slice. You may also spray the clean knife with cooking spray if they are still sticking.

How long to cool bars before cutting? ›

Make sure cookies are completely cool in order to get best results when cutting them, regardless of whether or not you line the baking pan with foil or simply grease the pan. You can go one step further to get clean cuts by freezing bars or brownies in the pan for two hours or overnight before cutting.

How do you cut pumpkin bars? ›

When you are ready to cut into pumpkin squares, there are a few ways to make it easier.
  1. Freeze the bars for 30 minutes before slicing them to make them easier.
  2. If you use parchment paper sheets, you can lift the bars out of the pan or flip them over onto a cooling rack. ...
  3. Use a plastic knife to cut the bars.
Sep 12, 2022

Who invented magic cookies? ›

History. Magic cookies were already used in computing when computer programmer Lou Montulli had the idea of using them in web communications in June 1994. At the time, he was an employee of Netscape Communications, which was developing an e-commerce application for MCI.

Is condensed milk the same as evaporated 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.

Do Magic bars have to be refrigerated? ›

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.

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.

How do you cut cookie bars evenly? ›

To make precise and accurate cuts, insert three toothpicks, evenly spaced, along all four sides of the cooled bars. Cut diagonally across the bars beginning in one corner—the lower left corner is an easy place to make your first cut—and cutting from one toothpick to the next closest on the perpendicular side.

What happens if you leave cookies on the pan after removing them from the oven? ›

Most cookie recipes, like thumbprint cookies, sugar cookie cutouts, shortbread, and snickerdoodles instruct you to cool cookies on a rack. This is because when cookies are left to cool on a hot-from-the-oven baking sheet, they continue to bake and can become overdone in a flash.

How big to cut bars in a 9x13 pan? ›

For a 13×9 Pan:

On the long side of the pan, make a mark and cut down every 2 1/10-inches, so you have 6 columns. Turn the pan to its shorter side and make one cut down the middle, 4 ½-inches from the edge. You'll end up with 12 2 1/10×4 ½-inch rectangles.

How do you cut lemon squares? ›

To cut, use the foil overhang to lift the baked square out of pan and onto a cutting board. Carefully loosen the foil from the edges of the crust, using a knife if necessary. Using a sharp knife, cut into squares or triangles. Use a fine sieve to dust the squares with Confectioners' sugar.

How do you cut brownies into triangles? ›

To cut brownie into triangles, cut into 3 rows. Cut each row into 5 triangles (See More About This Recipe). Set aside leftover pieces for snacking. Break off curved end of candy cane; insert straight piece into bottoms of triangles to make tree trunks.

What defines cookie bars? ›

A potluck staple, bar cookies (or bars) are made from a batter or stiff dough that is poured or pressed into a baking pan or baking dish, then baked, cooled and cut into bars, squares or diamonds. Bars can be single-layered (like brownies) or multi-layered – with cake-like or chewy textures.

Why do they call it toll house cookies? ›

The Toll House Inn was an inn located in Whitman, Massachusetts, established in 1930 by Kenneth and Ruth Graves Wakefield. The Toll House chocolate chip cookies are named after the inn.

What is the origin of the bar cookie? ›

Bar cookies, or squares, date back to the 1930s, but there is no specific person or place credited as the origin of bar cookies. Typically, bar cookies are prepared in a pan, baked in the oven, and cut into squares. American cookbooks at the time featured date bars as the earliest examples of squares.

Why is it called a Hello Dolly? ›

The Hello Dolly name is a reference to the Broadway musical "Hello, Dolly!" which was a popular musical when these bars were created in the mid-1960s. The bars are assembled in seven layers, and they are incredibly delicious.

References

Top Articles
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 6213

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.