This post may contain affiliate links, please see our privacy policy for details.

Crinkly, wrinkly, and so delicious…these Magic Chocolate Chip Cookies are some of the best. A 7 layer bar, but in cookie form. They’re rich, decadent, heavy on the chocolate, and extra gooey! Made with browned butter, vanilla, sweetened condensed milk, coconut, chocolate chips, and peanuts for a cookie that’s addictingly delicious. Every bite is slightly crisp on the edges but soft and chewy in the center. Absolutely nothing not to love about these crinkly magic cookies. Bonus? These cookies are easy to make, use simple ingredients, and take only minutes to prep. They’re so deliciously easy…they’re magical!

overhead photo of Magic Chocolate Chip Cookies

If there was ever a cookie to make, I think it might just be these. I know that’s a bit of a bold statement, but there’s something very special about these cookies. I wasn’t sure how they would turn out when I started testing them. But it’s safe to say I am more than excited to be telling you guys all about these easy cookies.

First off, it’s no secret that I have really been embracing more “retro” style dessert recipes. I really don’t know why, but the recipes that were made back in the day, the ones our grandmas, and even their moms, were baking up, those are the ones inspiring me most right now. Vintage cakes, old-fashioned pies, upside-down cakes, and the ever so classic 7 Layer Bars sometimes know as Magic Bars.

All are exciting me, but it was the Magic Bar that inspired these cookies.

prep photo of cookie dough balls

(cookies before baking)

cookies on baking sheet after baking

The Idea

Brainstorming recipes is a never-ending thing for me. When I take thirty minutes to write out all my ideas is really when I come up with my favorites. I was jotting a recipe down (ok typing recipes) when I had the idea to make a 7 Layer Bar. For as much as I love a good cookie bar, I think I love cookies just a smidge better.

So I thought about taking everything in those 7 Layer Bars and turning them into circular cookies that could ideally be those flat, crinkly cookies I love so much. I wasn’t sure the concept would work. Stirring sweetened condensed milk into a cookie sounded like it could either be, one amazing, or two totally disastrous. They really had a fifty/fifty chance of being great or a complete flop, so I took my chances…

Five plus batches of cookie dough later, I finally got to the perfect cookie. The extra effort was more than worth it.

overhead photo of Magic Chocolate Chip Cookies

Here are the details

The thing about magic bars? They’re EASY. Which is one part of the “magic”. Well, the same is true for a magic cookie.

Just make my favorite brown butter cookie dough, then stir in chocolate chips, the coconut, so many chocolate chunks, and salty peanuts. Then swirl in the sweetened condensed milk, now bake.

overhead close up photo of Magic Chocolate Chip Cookies

Less than an hour later you’ll have the sweetest, crinkled cookies.  Simple as that.

So simple, they’re magic. But what else makes them magic…they’re chocolatey, salty, sweet, gooey, and have just the tiniest bit of CRUNCH. Basically, they’re everything you could want out of a cookie, and with pockets of chocolate too.

side angled photo of Magic Chocolate Chip Cookie stack

They’re pretty hard not to love.

Soo with that, how about some Tuesday night baking? These are easy enough to have mixed up and baked in less than an hour. And my guess is that you already have all the ingredients on hand too!

Magic Chocolate Chip Cookies

Looking for more magical cookie recipes, try these…

Soft and Crinkly Brown Sugar Peanut Butter Cookies

Gooey Chocolate Oatmeal Bars

Salted Tahini Butter Chocolate Chip Cookies

Magic Chocolate Chip Cookies

Prep Time 15 minutes
Cook Time 10 minutes
Total Time 45 minutes
Servings: 22 cookies
Calories Per Serving: 217 kcal

Nutritional information is only an estimate. The accuracy of the nutritional information for any recipe on this site is not guaranteed.

Save This Recipe To Your Recipe Box

You can now create an account on our site and save your favorite recipes and access them on any device! You can keep track of your favorite recipes and generate a shopping list for recipes in your collections.

Register & Save

Already Registered? Login Now

Ingredients

Instructions

  • 1. Preheat the oven to 350° F. Line a baking sheet with parchment paper. Place 1 stick of butter in a large mixing bowl and set aside.
    2. Add 1 stick of butter to a small saucepan set over medium heat. Cook until the butter begins to brown, about 3-4 minutes. Remove from the heat and pour the butter over the stick of butter in the mixing bowl. Stick in the freezer to chill, 10-15 minutes, but no longer. The butter should be chilled, but mostly melted.
    3. To the mixing bowl, add the brown sugar and vanilla, beat until combined. Beat in the eggs, 1 at a time, until combined. Add the flour, baking soda, and salt. Fold in the chocolate chips, coconut, and peanuts. Drizzle over the sweetened condensed milk and mix until lightly combined, you should see streaks of condensed milk.
    4. Let the dough sit 5 minutes, then roll the dough into 2 tablespoon size balls and place 3 inches apart on the prepared baking sheet. Gently flatten each ball down into a disk using the palm of your hand.
    5. Transfer to the oven and bake for 7 minutes. Remove the pan from the oven and tap the baking sheet on the counter 2 times to flatten them down. Return to the oven and bake another 3-4 minutes or until the cookies begin to set on the edges, but still doughy in the center. Remove from the oven and tap the baking sheet on the counter 1-2 times to flatten them down again. Let the cookies cool on the baking sheet. They will continue to cook slightly as they sit on the baking sheet. Eat warm (highly recommend) or let cool and store in an airtight container for up to 4 days. 

You May Also Like

Add a Comment

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

Comments

  1. 1 star
    So eager to try, I skipped my golden rule to always read reviews before attempting a recipe and paid the price.

    These cookies were very disappointing, all went directly into the compost. As others commented, cakey and bland.

    I have made many delicious recipes from HBH and this is the only one to get a strong “No”.

  2. 3 stars
    Hi Chef Tieghan,
    Thank you for sharing so many recipes online for us to try!

    I read comments from other bakers before baking my first batch, so I understood the problem with the cake-like texture and complaints about lack of flavor.

    I baked one batch per your instructions. Cake-like for sure. Not attractive like your photo…not even close. I believe my ingredient measurements were alright and the dough was sort of cold.

    Next batch: Slam the cookie sheet after only 5 minutes of baking instead of 7. I thought I was going to get the “settled” look like yours, but after completing the baking time, the finished cookies just look round and flat 🙁

    I froze dough balls for a third batch, thinking that if I put frozen balls straight into the preheated oven, that might result in the settled look. I’m done for the night, so I’ll let you know if the frozen dough is a possible solution some day in the near future!

    1. Hi there! I am so sorry this recipe didn’t turn out the way you’d hoped! Please let me know how I can help. I really appreciate the feedback! xTieghan

  3. I’m a huge fan of your website. But… these cookies failed. Lacking taste and were soft. I added sea salt and more coconut to help.

    1. Hey Melanie,
      So sorry you did not enjoy this recipe, was there anything you may have adjusted? Please let me know if I can help in anyway! xTieghan

    1. Hey Jaclyn,
      Yes, those will work just fine here. I hope you enjoy these cookies, please let me know if you give them a try! xTieghan

  4. 2 stars
    I followed this recipe to a T and it was just okay. I didn’t have trouble with them being Cakey, but they weren’t as crinkley as in the photos despite dropping the pan throughout baking. I also found they lacked flavor. HBH has cc Cookie recipes that have been better than this

    1. Hey Alex,
      Thanks for giving the recipe a try, so sorry you did not enjoy them. Let me know if I can help in anyway! xTieghan

  5. 5 stars
    These came out incredible. I am an occasional baker and followed this recipe to a T. Chewy, moist, delicious. I subbed 1/3 butterscotch chips instead of all chocolate chips to mirror more of the 7 layer cookie vibes. My whole family devoured them – will definitely be making again. Thank you for this recipe and especially for your step-by-step videos on your IG page!

    1. Hey Breanne,
      I really appreciate you giving this recipe a try, I am thrilled that it was enjoyed! xxTieghan

  6. 4 stars
    I reduced baking soda to 1/2 tsp after reading reviews and they did come out similar to the photo… just not my favorite cookie recipe. I banged the pan about five times each round with some good force (put a dish towel down)!

    1. Hey there,
      Happy Sunday! Thanks a lot for giving this recipe a go, I am so excited that it was enjoyed! xxTieghan

  7. 2 stars
    My husband lives for my chocolate chip cookies and cookie bars. I decided to branch out and try this recipe, and regret it. I cannot figure it out –mine did not brown and are pretty tasteless. Will not be making these again.

    1. Hey Jennifer,
      So sorry to hear this. Was there anything you may have adjusted in the recipe? Let me know how I can help! xTieghan

  8. Do you use a mixer or do you mix by hand? Loved the taste of these! Trying to perfect them! I used high altitude flour and will probably use regular next dime.

    1. Hey Shana,
      So sorry to hear this. Was there anything you may have adjusted in the recipe? Did you bang the sheet pan on the counter? What kind of flour did you use? Let me know how I can help! xTieghan

  9. I added the butter with the brown sugar as this was omitted from the instructions. Unfortunately they came out nothing like your photo however. Do you bake in a convection oven, gas or electric?
    I was really excited for the end result. I will give them another try.

    1. Hey Mary,
      So sorry if you missed this but, 1 stick of butter is used in step 1 and the other stick of butter is used in step 2. This may have been your issue with the recipe. I hope this helps for next time! xTieghan

  10. 5 stars
    How creative! I make “magic” bars – my family calls them 7 layer bars – every Christmas, and these are the best cookie version! I subbed in some of the chocolate chips for butterscotch chips and added some large chunks of graham cracker to imitate the 7 layer bars we make during the holidays. Turned out amazing especially with that browned butter. Yum! This is probably a top five contender in cookies that I love!

  11. 1 star
    My sister made these a few weeks ago, and they turned out nothing like the picture. So I gave them a try to see if she did something wrong, or if it was a problem with the recipe. I made them last weekend, following all steps of the recipe exactly as written. Mine didn’t look like the picture either. We had such high hopes for the recipe cause on paper it sounds so good! All of the recipes we’ve tried by you have turned out, but this one was a bust. Not sure if the quantities printed aren’t correct or if a step is missing.

    1. Hey Melissa,
      So sorry to hear this! A little more info would be helpful. What exactly was wrong with them? Let me know how I can help! xTieghan

      1. They were cakey, yet flat like a pancake. They didn’t have the ripples from banging the pan, and didn’t look/taste gooey like yours. The baking soda was new, everything was at room temp, and the flour was measured using the spoon and sweep method.

        1. Again, so sorry to hear this. If you over mixed the batter at all that also could have been an issue. But they are definitely meant to be flat:) xTieghan

  12. Hi Tieghan! Thank you for your blog: It gives me and my family a lot of recipes and a lot of joy!

    Could you please clarify Step 2? After you pour the brown butter over the second stick of butter, should you chill it immediately before the second stick has melted? Or should you wait until the second stick has melted completely? Basically: What should the second stick look like before you pop the bowl in the freezer?

    Thank you in advance for your clarification, and for all your efforts associated with Half-Baked Harvest!

    Best,
    Jason

    1. Hey Jason,
      Sorry for any confusion, you can chill immediately, because the brown butter is so hot, it will still melt the stick of butter while it’s in the freezer. I hope you love the recipe, please let me know if you have any other questions! xTieghan

      1. Awesome. Thanks for the reply! I’ll make them this afternoon and report back.

        Cheers,
        Jason

  13. To those posting about the cookies not flattening/being too cakey – is it possible you used powdered milk and not condensed milk?

  14. 1 star
    Yup. Like so many others have commented, I love your recipes but this one was a miss. I flattened with my palm, banged on the counter…and all I got were cakey nothing special cookies. The consolation is that I am by no means the only one.

      1. I’m laughing so hard at myself because these turned out to be an epic fail! They are FLAT as can be, HUGE. I basically made this into a sheet cake, but like, not a yummy or pretty one. I realized I didn’t have any salted butter so I used unsalted butter instead, do you think that’s the issue?

        1. Hey Crystal,
          So sorry to hear this. It sounds like your dough may have been too warm, next time pop it in the fridge for a bit before baking. I hope this helps! xTieghan

  15. 3 stars
    I was excited to try these, and I love all your recipes. I have to say I was a little disappointed. First of all they didn’t look anything like yours, and just tasted like your average cc cookie. I feel bad even writing this because like I said I love your recipes and I did just buy your cookbooks for myself and my daughters!!

    1. Hey Pam,
      So sorry to hear this, was there anything you may have adjusted in the recipe? Please let me know if I can help in anyway! xTieghan

  16. 5 stars
    Tieghan, you’ve done it again – these are fantastic! Your recipes just NEVER fail. I adjusted this by using walnuts instead of peanuts, because I just love them, but otherwise followed the recipe. It was easy, fast, and these are the best choco chip cookies I’ve ever made or had. 5 Stars!!!!

    1. Hey Tanya,
      Awesome!! I am so glad this recipe was enjoyed, thanks so much for making it! xTieghan

  17. 2 stars
    I’m not sure what I did wrong but my cookies didn’t have much flavor and came out kinda dry. I’m not sure which step I messed up but if anyone has some helpful tips, I would love to here them.

    1. Hey Diana,
      So sorry to hear this. Was there anything you may have adjusted in the recipe? It’s really hard for me to say without more info. Let me know how I can help! xTieghan

  18. OMG girl you’ve done it again! I absolutely LOVE your recipes. These look amazing 😍 Can not wait to try them this weekend ☺️

    1. Hey Nikki,
      Thanks so much for making this recipe, I am so glad you enjoyed it! Have a great weekend!! xxTieghan

  19. 4 stars
    These cookies taste good but they are a bit time confusing and mine were a bit more cake like and slamming the sheet pan mid bake did not do anything for me.

    1. Hey Jessica,
      Thanks so much for giving the recipe a try, I slam mine on the counter multiple times, this should really help flatten the cookie. Let me know if I can help in anyway! xTieghan

  20. 4 stars
    Hi Tieghan: love your recipes! I too was looking forward to a chewy gooey cookie but turned out to be thick and Cakey. Banging them on The counter didn’t drop it a bit….sure it’s not an altitude difference? LoL

    1. Hey Lorie,
      So sorry about this! I would try gently pressing the dough down with your hand before baking next time:) xTieghan

  21. 5 stars
    Made these after making your coconut almond butter cake for Easter! Like always, your recipes turn out amazing!! Thanks for all the hard work so we can reap the benefits 😊

  22. 3 stars
    Not our favorites. The cookies were cakey and I wanted them more gooey. Too much flour maybe? They looked NOTHING like the picture. Are you high altitude in Colorado? I was wondering if you had to adjust your recipes to reflect that.

    1. Hey Elena,
      So sorry you did not enjoy the recipe, you should not have to adjust anything in the recipe for altitude. Was there anything you adjusted in the recipe? Did you bang the pan on the counter? Let me know how I can help! xTieghan

  23. 3 stars
    I made these today and while the cookie dough itself was delicious, I found the baked cookies to be just ok. Mine had a very cake like texture which I do not love in cookies. I am not sure why as I followed the instructions and ingredients as detailed. I am wondering if anyone made these without the evaporated milk? Could that possibly cause them to be cake-like in texture?

    1. Hey there,
      Thanks for giving the recipe a try! Did you bang the pan on the counter several times? This is key to avoid the cakey texture. I hope this helps for next time! xTieghan

  24. Am I missing something… Why do you not say when you’re supposed to add the butter into the recipe?

    1. Hey Matt,
      Everything is getting mixed into the bowl of butter in step 3:) I hope you love the recipe! xTieghan

  25. 5 stars
    My new favorite cookies!!! Making them for the second time tonight because I can’t stop thinking about them!

    1. Hey Rachel,
      Thanks so much for giving this recipe a try, I am so glad it was enjoyed! Happy Monday! xTieghan

  26. 4 stars
    Really delicious and definitely the key is to hit the pan on the counter. I substituted pecans for the peanuts. Interesting to have the condensed milk. They do remind you of the 7 layer bar without the graham. Thanks for a great recipe!

    1. Hey Anne,
      Thanks so much for giving this recipe a try, I am so glad it was enjoyed! Happy Monday! xTieghan

  27. 4 stars
    Made these last night! Will definitely try the recipe again, and maybe lessen the flour next time as they were pretty cakey and fluffy (not crinkly) as others have mentioned. Thanks for thinking these up! 🙂

    1. Hey Stephanie,
      Thanks so much for giving this recipe a try, I am so glad it was enjoyed! Happy Monday! xTieghan

  28. 4 stars
    Tried out these cookies tonight. I think maybe I did something wrong. I followed the recipe to a T and used all ingredients, but they are “puffy” and did not flatten at all despite hitting the pan on the counter many times. Cake-like consistency with the bottoms burned (cooked 6 and 3 min)! Any suggestions? I love your recipes!

    1. Hey Kristin,
      So sorry to hear this. Maybe try a different rack in your oven next time? I would also gently press the dough balls down before baking. I hope this helps! xTieghan

  29. 5 stars
    These are AMAZING!!! I skipped the peanuts and toasted the coconut and they turned out delicious! Had to increase the cooking time a bit but that’s probably just my oven!

    1. Hey Gab,
      Wonderful!! I am so so glad that this recipe was enjoyed, thanks a lot for giving it a try! Happy Sunday! xTieghan

    1. Hey Cindy,
      So sorry you had issues with the recipe, was there anything you may have adjusted? Did you bang them on the counter? Let me know how I can help! xTieghan

  30. 3 stars
    Have you ever thought to put weight for all your ingredients? I think it would help us all out tremendously. I tried making them tonight and they were also cakey like some of the other comments mentioned, not like your photos unfortunately. Thanks 🙂

    1. Hey Kristina,
      Yes, actually if you click on “metric” below the list of ingredients, the measurements will convert for you:) xTieghan

  31. Another slam dunk, Tieghan! New favs for sure! Thanks! I halved the recipe and it turned out exactly as expected.

    1. Hey Jane,
      Thanks so much for making this recipe, I am delighted that it was enjoyed! Have a great weekend! xTieghan

  32. 5 stars
    First tray is in the oven as I type this! For those who had runny dough, try chilling for an hour or so. I subbed in oatmeal for the coconut and it worked great. Magical indeed! Love the cannabis butter idea 😉 which is what came to mind when I read the recipe title 😂 and at 217 cal. each, they are a worthy munching solution… Thanks!!

    1. Hey Cindy,
      Thanks so much for making this recipe, I am delighted that it was enjoyed! Have a great weekend! xTieghan

  33. Hello! These look so amazing, but like others have mentioned already, mine didn’t crinkle after banging them on the counter either and they came out cakey too. I’ve followed the recipe exactly so I’m not sure where things went wrong. Thanks for a super tasty cookie dough all the same!

    1. Hey Michelle,
      Thanks for giving the recipe a try, next time be sure to press them down gently before baking. I hope this helps! xTieghan

  34. 5 stars
    Seriously magical! I normally don’t even like cookies… they either feel like under-baked dough balls or over-baked hockey pucks. Not these! Idk if it’s the coconut or the sweetened condensed milk, but they turned out amazing!

    1. Hey Victoria,
      Thanks so much for making this recipe, I am delighted that it was enjoyed! Have a great weekend! xTieghan

  35. 3 stars
    The cookies turned out really cakey compared to the photos/ videos. Were we supposed to chill the dough for 5 minutes in the fridge or at room temperature?

    1. Hey Athena,
      Was there anything you adjusted in the recipe? Did you bang the pan on the counter several times? Did you flatten them gently at the beginning? Let me know how I can help! xTieghan

  36. These didn’t work out. Turned out cakey and didn’t flatten with all the taps. They look so good in the picture!

    1. Hey Heidi,
      So sorry these didn’t flatten for you. Did you push them down in the beginning? Was there anything you adjusted? Let me know if I can help in anyway! xTieghan

  37. 3 stars
    Made these today! The cookie dough tastes amazing, but hubby and I decided the dough was better than the baked cookie. I baked for 7 minutes, tapped them on the counter, and baked 3 more minutes amd tapped on the counter several times after I took them out of the oven. I think next time I will tap sooner and severely underbake these. When baked they seem to lose the gooey factor that I love in the 7 layer bars. Or perhaps I’ll increase the amount of sweetened condensed milk.

  38. Can’t wait to try these!! Can I store some of the dough in the freezer? Not sure if that would have an effect on the condensed milk?

    1. Hey Sarah,
      I think the dough would be totally fine to freeze! I hope you love the recipe, please let me know if you have any other questions! xTieghan

  39. 5 stars
    The taste is delicious- everyone loves them! They’re very cakey though, versus chewy…even doing the minimum bake time. The only other thing was tapping them did nothing for them, no crinkle or anything. Still yummy, but the consistency seems to be different.

    1. Hey Heather,
      Fantastic!! I am thrilled that this recipe was enjoyed, thanks so much for making it! Happy Friday:) xTieghan

  40. 5 stars
    Wow, these cookies look delicious. Can’t wait to try this recipe. Thank you for the sharing the recipe.

  41. Hi Tieghan! I tried this recipe out last night but found my cookie dough to be runny and very sticky and hard to handle when shaping. I tried adding a little more flour but the cookies came out a little more cakey than crinkley (even when I banged them on the counter in between baking). Any thoughts on what I can do next time?

    1. Hey Stella,
      So sorry you had issues with the recipe. Was there anything you may have adjusted? Adding the extra flour definitely caused them to be more cakey. Let me know how I can help! xTieghan

  42. These look amazing! Only problem is our household is gluten free. Do you think a gluten free flour blend could be substituted?

    1. Hey Claire,
      You can just skip the sweetened condensed milk. I hope you love this recipe, please let me know if you give it a try! xTieghan

    1. Hey Marike,
      You can just omit the coconut. I hope you enjoy these cookies, please let me know if you have any other questions! xTieghan

    1. Hey Sandria,
      You are going to use the chilled butter in the mixing bowl in step 3, the ingredients will be added to this. I hope you love these cookies, please let me know if you have any other questions! xTieghan

    1. Hey Al,
      Yes, both of those would be totally fine to do! I hope you enjoy the recipe, please let me know if you have any other questions. xTieghan

  43. These cookies look AMAZING!!! Quick one- can we leave out the coconut? If so do we need to increase the flour ratio? Thank you! So excited to make these.

    1. Hey Carla,
      You can simply omit the coconut:) I hope you love these cookies, please let me know if you give them a try! xTieghan

  44. Love all your recipes, make them SO often.
    How do you measure your flour? Do you weigh, scoop and level or sift?
    Thanks

  45. Hi! Just made these with my kids and everyone loves them. Only thing is that I’m not getting that crinkle look. Any suggestions on what I might or might not be doing?

    Thank you and love, love, love cooking along with you!

    1. Hey Andrea,
      Awesome!! I am thrilled that this recipe was enjoyed, thanks so much for giving it a go! Did you bang them on the counter several times? That creates the crinkle xTieghan

  46. OMGoodness! Delicious this looks! Can I use Almond Flour instead of the all-purpose flour? Just checking. I will try these pending your reply. Thank you so much for your creative recipes! Best Ever!
    Sharon

  47. These sound amazing, and seem very similar to magic cookie bars that I’ve made for many years, but not as often as I would like. My son has a sever allergy to nuts, so I am curious to know if I omit the nuts, would I still get a delicious cookie, or would it affect the outcome of the cookie.Thank you. Love your recipes. Happy Spring!

    1. Hey Joanne,
      You can simply omit the nuts with no issues. Please let me know if you have any other questions! xTieghan

  48. Can’t wait to try all of my favorite things minus the nuts. My problem is I never know which brown sugar to use ? I get nervous and do half and half I do wish recipes would say which to use. Anyone have a preference for either when making cookies?

    1. Hey Tina,
      As stated, either light brown or dark brown sugar will work here:) I hope you love the cookies, please let me know if you give them a try! xTieghan

  49. will be making this soon can i use vegan butter instead as am a vegan usually i dont comment on your sweet recipes only savory recipes but i had to comment on this as i love chocolate cookies soooooooooo much perfect for my office snacks will dm you if i make this and let you know how it goes Thanks Ramya

  50. Hi Tieghan, these cookies look so amazing! I am just curious about the consistency of the butter once it has been in the freezer. Should the butter be hard, softened, or still liquid and just cool? Can’t wait to try these!

    1. Hey Avery,
      The butter should still be liquid, but chilled:) I hope you love the recipe, please let me know if you give them a try! xTieghan