Peanut Butter Pretzel Magic Bars

These bars are quite rich and decadent. Cut into 25 squares if serving at a potluck or large gathering, or into 16 squares if you're in the mood for a bigger treat.

  • Prep time: 20 minutes
  • Cook time: 35 minutes
  • Yield: 16 large bars or 25 small bars


  • 4 cups (160 g) salted mini pretzels, plus additional for the top
  • 1/2 cup (4 ounces) unsalted butter, melted
  • 3 tablespoons sugar
  • 1 (14-ounce) can sweetened condensed milk (397g), divided
  • 1/4 cup (57g) smooth peanut butter
  • 3/4 cups (100g) peanut butter chips
  • 1/2 cup (100g) mini chocolate chips
  • 1 1/2 cups (75g) unsweetened coconut flakes


1 Prep for baking: Preheat the oven to 350°F. Spray or grease an 8x8-inch square baking pan and line the bottom and two sides with parchment paper.

2 Make the crust: Add the pretzels to the bowl of a food processor and pulse until most of the pretzels are fine crumbs with a few larger bits (no larger than the size of a pea). You can also crush the pretzels in a bag with a rolling pin.

Pulse in the butter and sugar (or stir together in a bowl). It should hold together when pressed together with your palm but it’s sandier than a graham cracker crust.

Press the pretzel mixture into the bottom of the prepared pan. Use the bottom of a measuring cup or glass to really compact the mixture.

Seven Layer Bars with Peanut Butter and Pretzels weigh the pretzels Magic Bars with Peanut Butter and Pretzels make the crust Magic Cookie Bars with Peanut Butter and Pretzels press the crust into the pan

3 Bake the crust for 15 minutes. Remove and place on a rack to cool slightly.

4 Warm the peanut butter: Measure out 4 tablespoons of the condensed milk into a bowl and set to the side to use later. In a 2-cup measuring glass, combine the peanut butter and remaining condensed milk and microwave for 30 seconds. Stir the mixture until smooth.

Seven Layer Bars with Peanut Butter and Pretzels add the milk 7 Layer Bars with Peanut Butter and Pretzels warm the peanut butter

5 Assemble the layers: Spread half of the coconut onto the pretzel crust, followed by half of the peanut butter chips and chocolate chips.

Pour the peanut butter and condensed milk mixture over the top and repeat the layers of coconut and chips. Arrange a few whole pretzels on top and drizzle with the reserved condensed milk.

Magic Bars with Peanut Butter and Pretzels add the coconut Magic Cookie Bars with Peanut Butter and Pretzels add the chips Seven Layer Bars with Peanut Butter and Pretzels add the peanut butter 7 Layer Bars with Peanut Butter and Pretzels add the pretzels

6 Bake the bars: Bake on the center rack of the oven for 35 to 40 minutes or until the edges are just golden around the edges.

Magic Bars with Peanut Butter and Pretzels

7 Cool and store: Remove from the oven and cool completely on a rack before cutting. Lift the block of bars from the pan using the parchment paper, and then use a serrated knife to slice into 16 large bars or 25 bite-sized bars.

Magic bars will keep at room temperature for up to 5 days.

Click on the comments you'd like to print with your recipe. Grayed out comments will not print.


  • Rich

    The crust completely failed. Nice bars sitting in a pile of pretzel dust.


    • Summer Miller

      Hi, Rich! Summer here, I’m an editor at simply recipes. I’m sorry the crust fell apart on you. Thanks for letting us know. We will continue to watch this recipe to see how other people rate the experience.

  • Juliet

    Hello! I see some people had trouble with the crust falling apart. In a “traditional” magic bar you pour the condensed milk over the graham crackers before baking (which I think would *possibly* help hold it together more)? Why do you cook the pretzel crust beforehand instead of baking it all at the same time?


  • Mary

    This is the fifth attempt at this recipe. I love all the flavor combos, esp. the salty! But I have made magic bars since I was a sorority girl 30+ years ago, and these do not hold up.

    The base? Even after adding twice the butter and grinding those pretzels into a close copy of Graham crackers? Nope. No matter what I do with the cooking time I lose the outer borders to burn. I will continue to experiment, but as written, this does not work. I have several pics of the fails, but not sure how to post them here. I’ve been coming to Simply Recipes for years! This is truly the only recipe that has failed me.


    • Summer Miller

      Hi, Mary! Thanks for your detailed feedback on this recipe. I’m sorry the recipe didn’t workout for you. Our goal is always to provide recipes that work. We will continue to watch this recipe and make changes if needed. Unfortunately, we don’t have the capability to upload photos to comments, but I believe you, even without the photo.

  • Alison

    My crust completely crumbled. They were very tasty, but I don’t know why the bottom fell apart so badly :(

    • Cindy Rahe

      Hi Alison! The crust can be a bit crumbly, I am so sorry it didnt work for you. I would try to grind the pretzels a little finer (I find the dusty bits really help keep the crust intact) and maybe add a tablespoon or two more butter.

  • Rachel Knecht

    This was my first foray into magic bars and they were absolutely delicious l! Very balanced flavors and super easy to make. We all loved them and will definitely make again soon. Thank you!


  • Jeff

    This recipe looks wonderful! How would I go about making the recipe for a 9 x 13 pan? Measurements, etc. Thanks for your help.

    • Cindy Rahe

      Hi Jeff! I have not made a version in a 9×13 but I would just do 1 1/2 times the recipe (I think doubling would make the bars too thick).

      • mary brockmeyer

        just double it. it works. but you definitely need more butter in the crust.

  • Jennifer

    How would this work without the coconut?

    • Cindy Rahe

      I think they would be very sweet. I would be tempted to add another dry element in place of the coconut that didn’t add much additional sweetness. Maybe additional pretzels? I have even made an ultra-indulgent version that uses crushed potato chips that was a hit!

    • Summer Miller

      Hi, Jennifer. You can just skip the coconut, and the bars will work just fine.

  • Foodiewife

    Magic Cookie Bars (Hello Dollies) are my husband’s favorite. I am loving this version, and I can’t wait to surprise him with it.