Raspberry Pistachio Magic Bars Recipe — Fruity Nut Dessert

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

Overhead photo of Raspberry Pistachio Magic Bars

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.

Raspberry Pistachio Bars with two raspberries

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.

Photo of one raspberry pistachio bar on a marble board with container of raspberries

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.

Overhead photo of ingredients for raspberry pistachio magic bars on a silver tray

Overhead photo of unbaked raspberry pistachio magic bars

Overhead photo of pretzel crust in white pan on silver tray

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.

Overhead photo of Raspberry Pistachio Magic bars cut into squares

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.

Photo of raspberry pistachio magic bars in white pan

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.

Overhead photo of Raspberry Pistachio Magic Bars

Raspberry Pistachio Magic Bars

These Raspberry Pistachio Magic Bars are a stepped up version of the classic bar—sweet, salty with a pop of fresh fruit and totally delicious.
Prep Time 10 mins
Cook Time 35 mins
Total Time 45 mins

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.
Keyword: cookies, cookie bars
Cuisine: American
Course: Dessert