These Peanut Butter Pretzel Magic Bars are a MUST for your next party! Think: Super Bowl, office party, or birthday. They have a pretzel crust with layers of peanut butter, chocolate, coconut, and sweetened condensed milk topped with more pretzels.

Photography Credit: Cindy Rahe

Have you ever had a magic cookie bar? They’re shaggy little squares of graham cracker, coconut, chocolate, butterscotch chips, and condensed milk.

This is an amalgam of pantry goods that, when combined, make for much more than the sum of their parts.


And while I do love a good old magic cookie bar, for me, the original version leans a little too sweet. So, I made a version with pretzels and peanut butter to bring some salty balance to the party (salt + sugar is my baking language).

The results are these cookie bars layered with a sandy pretzel base, chewy coconut, peanut butter chips, and chocolate chips, bound together with sweetened condensed milk fortified by peanut butter.

They are at once, sticky, chewy, crunchy, sweet, salty, and totally craveable.

Magic Cookie Bars with Peanut Butter and Pretzels


  • To make sure the center of these bars set enough to slice, be sure to bake them until the edges caramelize and turn golden. Then cool them completely to room temperature for a few hours before cutting.
  • When you are ready to remove the bars from the pan and cut them, run a knife around the edges and gently turn out the bars. They should be firm enough to handle but the crust can crumble a bit.
  • Cut into squares with a serrated knife.

Magic Bars with Peanut Butter and Pretzels


You can also make these bars a day ahead. Just cover the pan of cooled bars in foil and leave them on the counter.

The sliced bars can be stored at room temperature for up to 5 days. Store them with parchment between the layers or individually wrapped in plastic wrap (easy for grab-and-go treats!).

The bars can also be frozen for up to a month, either individually wrapped in plastic, or with parchment between the layers. Place the bars inside a freezer bag with as much air pressed out as possible.

To thaw, remove the bars from the bag and let them thaw at room temperature.


Peanut Butter Pretzel Magic Bars Recipe


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.


  • 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 8×8-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 pretzelsMagic Bars with Peanut Butter and Pretzels make the crustMagic 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 milk7 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 coconutMagic Cookie Bars with Peanut Butter and Pretzels add the chipsSeven Layer Bars with Peanut Butter and Pretzels add the peanut butter7 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. 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.

Hello! All photos and content are copyright protected. Please do not use our photos without prior written permission. If you wish to republish this recipe, please rewrite the recipe in your own unique words and link back to Peanut Butter Pretzel Magic Bars on Simply Recipes. Thank you!


Products We Love

Pyrex 8x8 Baking Dish

Pyrex 8×8 Baking Dish

$10.09 on Amazon

Serrated Paring Knife

Serrated Paring Knife

$11.95 on Amazon

Plastic Food Wrap

Plastic Food Wrap

$29.90 on Amazon

This post may contain links to Amazon or other partners; your purchases via these links can benefit Simply Recipes. Read more about our affiliate linking policy.

Cindy Rahe

Cindy Rahe is the recipe maker and picture taker behind Hungry Girl por Vida. She loves to bake from scratch and make things that taste as good as they look. Cindy was born near Seoul but grew up in California and Nevada. She believes strongly in homemade birthday cakes, creamy coffee, and making room for dessert.

More from Cindy

Category: Recipes