Raspberry Coconut Magic Bars

By Natalie Quinn

On March 22, 2026

Close up overhead shot of a freshly baked square dessert bar showing the gooey golden-brown condensed milk and crisp coconut topping.

Cuisine

American

Prep time

15 minutes

Cooking time

35 minutes

Total time

50 minutes

Servings

16 slices

There is nothing quite like a freshly baked square dessert bar to satisfy a serious sweet tooth. These Raspberry Coconut Magic Bars deliver a masterclass in contrasting textures and vibrant, fruity flavors. From the gooey center to the crispy top, every bite is an unforgettable experience.

When you pull these from the oven, you will immediately notice the vibrant red softened baked raspberries bleeding slightly into a surrounding gooey golden-brown baked sweetened condensed milk layer. It is a stunning visual that promises an incredibly rich and decadent treat. Best of all, this recipe is remarkably simple for enthusiastic home cooks to master.

Whether you are serving them on a simple white square ceramic plate for guests or grabbing a quick bite from the kitchen counter, these bars will disappear fast. Let’s dive into how to create these perfectly layered, highly addictive dessert squares.

Why You’ll Love This Recipe

  • Incredible Textures: A thick textured baked graham cracker crumb base provides the perfect sturdy foundation for the gooey, melt-in-your-mouth center.
  • Vibrant Flavors: The tartness of the vibrant red softened baked raspberries perfectly balances the extreme sweetness of the melted white chocolate chips.
  • The Perfect Crunch: Generously topped with heavily toasted crispy golden shredded coconut flakes, these bars offer a satisfying crunch in every single bite.
  • Foolproof Assembly: Magic bars require zero mixing of the filling; you simply layer the ingredients and let the oven do the heavy lifting.

Ingredients & Substitutions

Delicious baked magic bar slice resting on a neutral beige marble countertop casting gentle natural shadows.
Look at those vibrant baked red raspberries bleeding perfectly into the gooey center!

Graham Cracker Crumbs: You will need 1.5 cups (180g) of finely ground graham cracker crumbs. This essential foundation builds the thick textured baked graham cracker crumb base that supports the heavy toppings.

Unsalted Butter: Use 0.5 cup (113g) of melted unsalted butter to bind your graham crumbs. The butter toasts the crumbs during baking, ensuring a structurally sound, beautifully textured crust.

Salt: A 0.25 tsp (1.5g) pinch of kosher salt in the crust is a necessary invisible ingredient. It enhances the buttery notes and cuts through the intense sweetness of the top layers.

White Chocolate Chips: Measure out 1 cup (170g) of high-quality white chocolate chips. As they bake, they transform into pools of melted white chocolate that perfectly complement the tart berries.

Fresh Raspberries: You will need 1.5 cups (180g) of fresh, vibrant red raspberries. Fresh berries are crucial here because they bake down into softened, jammy pockets that bleed their juices beautifully into the surrounding milk layer.

Sweetened Condensed Milk: One standard 14 oz (396g) can is the magic binder for this recipe. In the oven, it transforms into a bubbling, gooey golden-brown baked sweetened condensed milk layer that holds the entire bar together.

Shredded Coconut Flakes: Use 1.5 cups (120g) of sweetened shredded coconut flakes to finish the bars. Applied generously on top, they bake into heavily toasted crispy golden shredded coconut flakes that provide essential crunch.

Equipment Needed

  • 8×8-inch Metal Baking Pan: Conducts heat evenly, ensuring the graham base bakes through perfectly.
  • Parchment Paper: Crucial for lining the pan with an overhang so you can cleanly lift the gooey bars out after cooling.
  • Mixing Bowl: For combining the melted butter, salt, and graham cracker crumbs.
  • Silicone Spatula: To firmly and evenly press the thick textured base into the bottom of the pan.

Step-by-Step Instructions

1. Prepare the Pan and Oven

Preheat your oven to 350°F (175°C). Line an 8×8-inch metal baking pan with parchment paper, leaving a slight overhang on two sides for easy removal.

Lightly grease the exposed parchment paper with non-stick baking spray. This ensures the gooey golden-brown baked sweetened condensed milk will not stick to the sides.

2. Build the Textured Graham Base

In a medium mixing bowl, combine the 1.5 cups (180g) of graham cracker crumbs, 0.5 cup (113g) melted butter, and 0.25 tsp (1.5g) salt. Stir until the mixture resembles wet sand.

Transfer the mixture to the prepared baking pan. Using the back of a silicone spatula or a flat-bottomed measuring cup, press the crumbs firmly into a thick, even layer.

Bake the crust alone for 8 minutes to set it. A pre-bake is scientifically required to ensure the thick textured baked graham cracker crumb base remains structurally sound under the wet ingredients.

Close up overhead shot of a freshly baked square dessert bar showing the gooey golden-brown condensed milk and crisp coconut topping.
Perfectly baked Raspberry Coconut Magic Bars ready to be sliced and served.

3. Layer the Chocolate and Raspberries

Remove the hot crust from the oven and carefully scatter the 1 cup (170g) of white chocolate chips evenly across the surface. The residual heat will immediately begin to soften them.

Next, gently arrange the 1.5 cups (180g) of fresh raspberries over the white chocolate. Space them out evenly so every slice gets a burst of vibrant red fruit.

4. Pour the Sweetened Condensed Milk

Open the 14 oz (396g) can of sweetened condensed milk and slowly pour it over the raspberries and white chocolate. Ensure the milk coats the ingredients evenly, as this is the glue that binds the magic bars.

Do not spread the milk with a spatula, as you risk crushing the berries. Just let gravity do the work to surround the raspberries.

5. Top with Coconut and Bake

Generously sprinkle the 1.5 cups (120g) of shredded coconut flakes over the wet condensed milk layer. Ensure the entire surface is covered so the coconut can toast properly.

Return the pan to the 350°F (175°C) oven and bake for 25 to 30 minutes. You are looking for specific visual cues: the edges should be bubbling, the berries bleeding slightly into a gooey golden-brown baked sweetened condensed milk layer, and the top generously crowned with heavily toasted crispy golden shredded coconut flakes.

6. Cool Completely Before Slicing

Remove the pan from the oven and place it on a wire cooling rack. This step requires immense patience, but the bars must cool entirely at room temperature for at least 2 hours.

If you cut them while warm, the gooey center will collapse. Once fully cooled, use the parchment overhang to lift the dessert block onto a cutting board, then slice into 16 perfect squares with a sharp, hot knife.

Expert Tips for Success

  • Press the Crust Firmly: To achieve that thick textured baked graham cracker crumb base, apply firm, even pressure. A loose crust will crumble when you slice the gooey bars.
  • Use Fresh Berries: Frozen raspberries hold too much excess water and will prevent the sweetened condensed milk from setting into a gooey golden-brown layer. Always use fresh.
  • Watch the Coconut Closely: Coconut contains high natural sugars and can burn quickly. If the coconut is browning too fast at the 20-minute mark, loosely tent the pan with aluminum foil.
  • Clean Slices: For bakery-style squares, wipe your chef’s knife clean with a warm, damp towel between every single cut.

Storage & Reheating/Freezing

Because these bars contain fresh baked fruit and dairy, store them in an airtight container in the refrigerator for up to 5 days. The chill helps maintain the structural integrity of the thick graham base and gooey center.

To freeze, wrap individual squares tightly in plastic wrap, then place them in a heavy-duty freezer bag for up to 3 months. Thaw overnight in the refrigerator before serving. They are surprisingly delicious enjoyed straight out of the fridge!

What to Serve With This

If you are planning an elaborate dessert spread, pair these bars with other crowd-pleasing treats. A platter featuring white-chocolate-raspberry-fudge alongside these magic bars doubles down on that glorious berry-chocolate combination.

For a beautifully contrasting flavor profile, serve them next to thick slices of lemon-blueberry-pound-cake or a batch of nutty, chewy raspberry-pistachio-bars.

These rich squares also pair phenomenally well with a hot cup of black coffee, an espresso, or a delicate, creamy earl-grey-panna-cotta to balance the profound sweetness.

Frequently Asked Questions

Yes! While white chocolate chips provide a creamy sweetness that pairs beautifully with the tart raspberries, semi-sweet or dark chocolate chips are an excellent substitute if you prefer a richer, more traditional chocolate flavor.

It is highly recommended to use fresh raspberries for this recipe. Frozen berries release too much excess moisture as they bake, which can prevent the sweetened condensed milk from setting properly and lead to a soggy crust.

Yes. Because these bars contain baked fresh fruit and dairy, it is best to store any leftover squares in an airtight container in the refrigerator to maintain their firm texture and extend their shelf life up to 5 days.

Shredded coconut toasts quickly due to its high sugar content. Keep a close eye on your bars after 20 minutes of baking. If the top becomes heavily toasted before the center is set, loosely tent the baking pan with aluminum foil.

Magic bars fall apart if they are sliced while still warm or if the graham cracker crust wasn’t pressed firmly enough. Ensure you firmly pack the crust before pre-baking, and allow the bars to cool completely at room temperature for at least 2 hours before slicing.

Closing & Subscribe

These Raspberry Coconut Magic Bars are guaranteed to become a household favorite. The beautiful contrast of the heavily toasted crispy golden shredded coconut flakes against the vibrant red softened baked raspberries is truly a feast for the eyes and the stomach.

If you made this recipe and loved it, please leave a comment and a 5-star rating below! Don’t forget to subscribe to our newsletter for more foolproof, visually stunning dessert recipes delivered straight to your inbox. Be sure to pin this recipe to your dessert boards on Pinterest!

A close up overhead shot of a freshly baked square dessert bar, thick textured baked graham cracker crumb base, layered with melted white chocolate chips and vibrant red softened baked raspberries bleeding slightly into a surrounding gooey golden-brown baked sweetened condensed milk layer, generously topped with heavily toasted crispy golden shredded coconut flakes.
Incredible layered Raspberry Coconut Magic Bars with a thick graham crust, vibrant berries, and toasted coconut!

Recipe Card

Close up overhead shot of a freshly baked square dessert bar showing the gooey golden-brown condensed milk and crisp coconut topping.

Raspberry Coconut Magic Bars

These perfectly baked Raspberry Coconut Magic Bars feature a thick graham cracker crust, gooey sweetened condensed milk, vibrant fresh berries, and crispy golden coconut.
Prep Time 15 minutes
Cook Time 35 minutes
Total Time 50 minutes
Servings: 16 slices
Course: Dessert, Snack
Cuisine: American
Calories: 285

Ingredients
  

Raspberry Coconut Magic Bars Ingredients
  • 1.5 cups graham cracker crumbs (180g) finely ground
  • 0.5 cup unsalted butter (113g) melted
  • 0.25 tsp salt (1.5g) kosher salt
  • 1 cup white chocolate chips (170g)
  • 1.5 cups fresh raspberries (180g)
  • 14 oz sweetened condensed milk (396g) one standard can
  • 1.5 cups shredded coconut flakes (120g) sweetened

Equipment

  • 1 8x8-inch Metal Baking Pan Essential for even baking and proper bar thickness.
  • 1 Parchment Paper Used to line the pan for easy removal of the gooey bars.

Instructions
 

Making the Magic Bars
  1. Preheat oven to 350°F (175°C). Line an 8x8-inch metal baking pan with parchment paper, leaving an overhang on two sides. Lightly grease the parchment.
  2. Combine graham cracker crumbs, melted butter, and salt. Press firmly into the prepared pan. Bake for 8 minutes, then remove from oven.
  3. Scatter white chocolate chips evenly over the hot crust. Gently arrange the fresh raspberries on top of the chocolate chips.
  4. Pour the sweetened condensed milk slowly and evenly over the raspberries and white chocolate. Do not spread with a spatula.
  5. Generously sprinkle shredded coconut flakes over the condensed milk. Bake for 25-30 minutes until the edges bubble, the milk is golden-brown, and the coconut is heavily toasted.
  6. Cool completely in the pan on a wire rack for at least 2 hours. Use the parchment overhang to lift the bars out, then slice into 16 squares.

Notes

Tip 1. Press the graham cracker crust very firmly to ensure the bars hold together when sliced.
Tip 2. If the coconut begins to brown too quickly in the oven, loosely tent the pan with aluminum foil.

You might also like these recipes

Leave a Comment

Recipe Rating