Ultimate Magic Bars

I mentioned a couple of weeks ago that our little family has recently moved, and although we didnโt move far (only about 10 minutes from where we were living previously), it kind of threw us into a different area in terms of grocery store, restaurant and pizza options. That means weโreย ordering pizza from multiple locations to see which one we like the best, figuring out which places are the best for take out, and, maybe most importantly, Iโm trying to orient myself with a different grocery store so that it doesnโt take me two hours to shop.
The week that we moved in, my mom was here helping us unpack and she ran out to the grocery store to pick up a few things for us. She stopped at a local bakery on her way backย to get an assortment of sweets and, oh my gosh, talk about insane. I had been to the bakery before, but I forgot how amazingย the desserts are. I couldnโt stop eating their chocolate caramel bar, which is a five-layer bar, which is basically a magic bar on steroids. I immediately tried to figure out how to recreate it at home.
Save This Recipe
My first attempt was a disaster, but this next one was fabulous and I think itโs pretty darn close to those insanely delicious bars. The base is a brown sugar shortbread crust, on top of which I poured a can of sweetened condensed milk, a la magic bars. I then topped the milk with chopped pecans, coconut, caramel and chocolate chips. Theyโre not quite as epic-looking as the ones from the bakery, but they are every bit as delicious.
The fact that I could stop at that bakery every time I go to the grocery store is totally dangerous!
Whatโs your favorite bakery treat?
One year ago: Salted Peanut Butter Cup Chocolate Chip Cookies
Four years ago: Gazpacho
Five years ago: Baby Shower Sugar Cookies

Ultimate Magic Bars
Ingredients
For the Crust:
- 1 cup (227 g) unsalted butter, at room temperature
- ยฝ cup (110 g) light brown sugar
- 1 teaspoon vanilla extract
- 2ยผ cups (281.25 g) all-purpose flour
For the Bars:
- 14 ounce (396.89 ml) can sweetened condensed milk
- 1ยฝ cups (148.5 g) coarsely chopped pecans
- 1ยฝ cups (120 g) shredded coconut
- ยผ cup (56.5 ml) caramel sauce, microwaved for 15 seconds
- 1 cup (180 g) semisweet chocolate chips
Instructionsย
- Preheat oven to 350 degrees F. Line a 9x9-inch square baking pan with parchment paper, allowing it to hang over all sides.
- Using an electric mixer, beat the butter and brown sugar on medium speed until light and fluffy, about 3 minutes. Add the vanilla extract and mix to combine. Reduce the mixer speed to low, add the flour and mix until crumbly. Dump the mixture into the prepared pan and press into an even layer. Bake until the edges are light golden brown, about 15 minutes.
- Remove from the oven, then sprinkle the chopped pecans over the crust, and top with the shredded coconut. Pour the sweetened condensed milk evenly over top, then drizzle with the melted caramel sauce. Sprinkle with chocolate chips and return to the oven until the edges are light brown, 20 to 25 minutes.
- Place pan on a wire rack to cool completely, then refrigerate for at least 30 minutes before cutting into squares. The bars can be kept at room temperature, in an airtight container, for up to 5 days.
Notes
Did you make this recipe?
Leave a review below, then snap a picture and tag @thebrowneyedbaker on Instagram so I can see it!





I made these with evaporated milk/chopped almonds instead. It turned out perfect! also very addicting. I think next time Iโll use a 9 x 13 plan so that they arenโt as thick.
Made these and they turned out perfectly!! Did the recipe exactly as it is and turned out great!!!! The one and only thing I did was to double the recipe for friends and they loved tDanny hem. Thanks so much. I also made the Carmel sauce and it was perfect as well.
Thoughts on browned butter for these?
I think that sounds AMAZING! ๐
Awesome! Can you think of any modifications for amounts of ingredients? I am thinking I donโt need anyโฆjust brown the butter and let cool slightly.
Also, I will email youโฆI want to bounce a cheesecake idea off you for my hubbyโs bday planning :-)
I agree, I donโt think you need to make any modifications!
I wanted to make 7 layer bars, but didnโt have graham crackers โ did a search and found your recipe โ yay! I thought the crust seemed too thick for a 9ร9, so I put it in a 9ร13 which is what I wanted to make anyway and it was perfect! I only used 1/4 c sugar in the crust. ย Other than that I just used my reg 7 layer bar recipe โ it works fine using 1 can sweetened condensed milk with a 9ร13 believe it or not and I bake at 325 because it allows for more even browning on top โ not just around the edges. ย I donโt like over baked nuts. ย Thanks for being there!ย
Good morningโฆdid you toast the pecans or coconut in this prior to sprinkling on top?
Hi Carolyn, I did not, but you can definitely do so!
Left a comment, which I thought was a review on the 7 layer bars, oops!! ย In any event these are delicious and my specific tweak ย (referenced the different types of ย oconut I used in each individual batch). ย 5 Stars for sure! Quick, easy and very tasty! Thank you!
Iโve made these twice, once with organic sweetened coconut and tonight with organic desiccated unsweetened coconut (finely shredded) only because itโs what I had in the freezer left from a previous recipe. I used a Carmel Sauce made by Torani (found it in the chocolate, coffee syrup isle). ย Both were delicious, obviously the unsweetened coconut makes this dessert less sweet, but not by much! ย I also ALWAYS use pure Mexican vanilla in all that I bake. I buy it from from MexicanVanilla.com theyโre the best, and no, I have no affiliation with them!!
Fabulous recipe. I made it today in a 9ร13 pan. It is beautiful. I added vanilla chips for color variation..
As I was making these today, ย I wondered why there was no salt in the crust. ย Wish I had gone with my instinct and added a 1/2 teaspoon or so. I do like the idea of a shortbread crust instead of the usual graham cracker crust, but it did need a little salt. ย To compensate for that, I sprinkled the top of the baked bars with kosher salt just before serving. ย I also would use unsweetened coconut next time. I doubled the recipe and baked it in a 10 X 15 pan. ย Worked well
Hello,
In your write up you say that you poured the sweetened condensed milk on the crust, then added the toppings; but in the recipe directions, it says to add the nuts, then the coconut, and pour the condensed milk over top of that โ could you please clarify the correct order?
Thanks!
Hi Vanna, My apologies for the confusion; you should make these as directed in the recipe.
Perfect, thanks so much! I made them as per the recipe and theyโre delicious! :)
I have made this recipe so many times and it is a huge hit. I absolutely love it!ย
PLEASE NOTE: pan size should be 9ร13. Wouldnโt it be great if comments were constructive and not just self-congratulatory back-patters who have their own blogs? Donโt leave a comment unless you have something constructive to say. Thanks.
Actually, the pan size listed in the recipe (9-inch square) is correct for the recipe as written. If youโd prefer a much thinner bar, then a larger size pan would achieve that goal. Anyone is free to comment here, but if youโre looking for feedback from those who have made the recipe or asked questions, all you need to do is click on the โreviewsโ or โquestionsโ tabs at the top of the comment area. Hope that helps.
do you use sweetened or unsweetened shredded coconut?
Hi Wendy, I used sweetened, but you could use either.
Can you use chocolate flavored sweetened condensed milk
Hi Renee, I have never heard of chocolate-flavored sweetened condensed milk!
The chocolate sweetened condensed milk was new last year and is called a โSpecial Editionโ. They also have a caramel flavored one, which is pretty much like caramel ice cream topping, just a little richer.
I made these and they were delicious, but the topping was sooooo gooey. When I cut the bars into squares, the topping did not hold itโs shape at all and oozed all over the plate. I wonder if I did not bake them long enough (22 minutes, caramel was bubbling on top)??โฆI refrigerated them overnight. Iโd love to try these again and hope they turn out a little more user-friendly :)