These Raspberry Pistachio Magic Bars are an elevated take on the classic cookie bar—sweet, salty, bright with fresh fruit and absolutely delicious.

Magic cookie bars are a nostalgic favorite: a buttery crust topped with chocolate chips, coconut, nuts and sweetened condensed milk. This version keeps that comforting base while adding fresh raspberries and a salty twist.

Instead of a graham cracker crust, I chose a slightly salty pretzel crust—perfect if you love that sweet-and-salty contrast. The pretzel base holds up well and complements the creamy, fruity topping.

The topping is a delightful combination of white and semisweet chocolate chips, unsweetened shredded coconut, chopped pistachios and fresh raspberries. I like using both white and semisweet chips for balance, but you can use whichever chocolate you prefer.
Before baking, I gently press each raspberry into the topping so it releases a little juice and melds with the sweetened condensed milk—adding a bright burst of flavor to every bite.



This dessert is ideal for warmer months: the raspberries add a fresh pop that feels light and summery while the pistachios contribute a pleasant crunch and color contrast. The result is a crowd-pleasing bar that’s sweet, salty and completely irresistible.

If you enjoy fruit-forward desserts, this recipe pairs nicely with other spring and summer treats—think light cookies or small fruit cakes for a seasonal spread.
Serve these bars at gatherings, potlucks or for an easy homemade dessert. They hold together well once cooled and cut, making them simple to transport and share.

Below are a few helpful notes and the full recipe so you can recreate these Raspberry Pistachio Magic Bars at home.
A Few Cook’s Notes for Raspberry Pistachio Magic Bars Recipe:
The pistachio and raspberry pairing is a favorite, but you can substitute other nuts if preferred.
I used both semisweet and white chocolate chips for contrast. Feel free to use just one variety or swap milk chocolate for semisweet if you prefer a sweeter chocolate profile.

Raspberry Pistachio Magic Bars
Ingredients
Pretzel Crust
- 2 cups finely crushed pretzel crumbs
- 3 Tbsp. granulated sugar
- 10 Tbsp. unsalted butter, melted
Topping
- 3/4 cup white chocolate chips
- 3/4 cup semisweet chocolate chips
- 3/4 cup pistachios, shelled and roughly chopped
- 3/4 cup unsweetened shredded coconut
- 1 1/2 cups raspberries
- 1 (14-oz.) can sweetened condensed milk
Instructions
Pretzel Crust
- Heat oven to 350°F. Spray a 9×9-inch pan with nonstick spray and line it with parchment paper; lightly spray the parchment.
- In a medium bowl, combine pretzel crumbs and sugar. Add melted butter and mix with a fork until evenly combined. Press the mixture firmly into the bottom of the prepared pan.
- Evenly sprinkle the crust with white and semisweet chocolate chips, chopped pistachios and shredded coconut. Add the raspberries, gently crushing each one as you place it so the juice spreads slightly. Drizzle the sweetened condensed milk over the top.
- Bake for about 30 minutes, until the topping is lightly browned. Allow the bars to cool completely on a wire rack before cutting into squares.