Magic cookie bars are so incredibly simple to prepare you may even think they're magical! Our magic cookie bar recipe consists of only six ingredients!

These decadent treats go by many names: Hello Dolly bars, coconut dream bars, or the iconic signature magic cookie bar. No matter what you prefer to call them, these ooey-gooey chocolate coconut bars are always a tremendous hit no matter where you bring them.



  • 1 cup finely chopped pecans or walnuts
  • 1 1/2 cups graham cracker crumbs
  • 1/2 cups unsalted butter, melted
  • 1 (14-ounces) can sweetened condensed milk
  • 2 cups semi-sweet chocolate chips
  • 1 1/4 cups sweetened flaked or shredded coconut


  1. Preheat your oven to 350 degrees. Lightly grease a 9x13 inch baking dish with cooking spray. Finely chop the nuts into small bite-size pieces. Set aside.

  2. In a medium bowl combine the graham cracker crumbs and melted butter. Using a wooden spoon, blend until a fine crumbly mixture forms. Transfer the graham cracker mixture to the baking dish.

  3. Spread and press the graham cracker mixture into the bottom of the prepared baking dish to form a crust. Next, pour the sweetened condensed milk over the crust so that it covers the surface.

  4. Begin layering by adding a layer of chocolate chips, then flaked coconut, and chopped nuts. Bake for 25 minutes or until the coconut is lightly toasted. Cool, and slice into bars. Or, chill in the refrigerator overnight for firmer bars.


  • 9x13 inch baking dish
  • cooking spray
  • medium bowl
  • wooden spoon

Recipe Notes

If you're unable to find graham cracker crumbs at your local grocer, simply use whole graham crackers, and crush them yourself. One sleeve of crackers is equal to 1 1/2 cups of graham cracker crumbs.

Use a food processor or blender, then pulse in small bursts until you have fine crumbs. If you don't have a blender or processor handy, place the graham crackers in a heavy-duty plastic bag, and use a rolling pin to crush them.

Magic Cookie Bars: The Perfect Party Dessert!

jar of m&ms

With the holidays fast approaching, you may be sifting through your recipes for the perfect party dessert. You're in luck! Magic cookie bars are not only an easy go-to recipe, but they're also incredibly versatile to dress up for the season. Here are some magic cookie bar variations you can try!


Your guests will be goblin up your ghoulishly good Halloween themed magic cookie bars. Swap out graham crackers for Oreo cookies for a chocolate Oreo crust. Black magic cookie bars will add some deliciously good fun to your Halloween bash! Sprinkle your magic cookie bars with mini candy bars or mixed Halloween sprinkles.


Add some festive holiday flair to your magic cookie bars by sprinkling on some red and green holiday M&M's.

Magic cookie bars are a simple, impressive dessert that can be whipped in a matter of minutes. We guarantee that these delicious treats won't last for long! Magic cookie bars will become a family favorite in no time!

The Best Nacho Recipe Ever The Best Nacho Recipe Ever
Quick and Easy Refrigerator Dill Pickles Quick and Easy Refrigerator Dill Pickles
After Trying This Recipe, You'll Never Eat Salmon the Same Way Again After Trying This Recipe, You'll Never Eat Salmon the Same Way Again