Prepare yourself for a dessert experience that hits every note of sweet, tart, and gooey perfection. These Raspberry Coconut Magic Bars are a symphony of textures and flavors built on a foundation of pure, simple joy.
Imagine a thick, buttery graham cracker crust that crumbles just so. On top of that, a dense, sticky layer of baked sweetened condensed milk holds everything together in a sweet embrace. This is where the magic truly happens.
We then introduce bright, jammy raspberry preserves, their vibrant red peeking through with the promise of a tart counterpoint. Melted white chocolate chips add creamy sweetness, perfectly balanced by a generous blanket of toasted, golden-brown shredded coconut with irresistibly crispy edges. It’s a handheld masterpiece, a photo-worthy treat that tastes even better than it looks.
Why You’ll Love This Recipe
- A Symphony of Textures: From the crumbly crust to the gooey center and the crispy toasted coconut on top, every single bite is an adventure.
- Perfectly Balanced Flavors: The sweetness of the condensed milk and white chocolate is cut by the bright, tangy raspberry preserves, creating a perfectly balanced treat that isn’t overly sweet.
- Visually Stunning: The vibrant red of the jam against the golden-brown coconut and creamy white chocolate makes these bars a showstopper on any dessert table.
- Incredibly Easy to Make: Despite their complex appearance, these bars are shockingly simple to assemble. It’s a simple layering process that yields spectacular results with minimal effort.
Ingredients & Substitutions
Every ingredient plays a critical role in creating the perfect texture and flavor. Here’s what you’ll need to achieve that picture-perfect result.

For the Graham Cracker Crust
- Graham Cracker Crumbs: 1 1/2 cups (150g). This forms the thick, crumbly, and buttery base of the bars. For the best texture, crush your own crackers into fine crumbs with a few larger pieces remaining.
- Unsalted Butter: 1/2 cup (113g), melted. Butter is the essential binder that holds the crust together, ensuring it’s sturdy enough to support the toppings while providing a rich, savory flavor.
- Granulated Sugar: 2 tbsp (25g). A little sugar helps the crust crisp up during baking, creating that perfect golden-brown finish.
- Salt: 1/4 tsp. A small amount of salt in the crust enhances the buttery flavor and balances the overall sweetness of the bars.
For the Toppings
- Sweetened Condensed Milk: One 14-ounce (396g) can. This is the “magic” ingredient. It bakes into a dense, sticky, caramel-like layer that binds all the toppings together.
- Raspberry Preserves: 1 cup (320g). Use a high-quality preserve with visible seeds for that authentic, jammy texture and a tart flavor that cuts through the richness. The seeds add to the visual appeal.
- White Chocolate Chips: 1 cup (170g). These melt into creamy pockets of sweetness throughout the bars, perfectly complementing the raspberry and coconut.
- Sweetened Shredded Coconut: 1 1/2 cups (150g). This provides the final layer of texture and flavor. As it bakes, it becomes toasted and golden brown with deliciously crispy edges.
Equipment Needed
- 9×13 inch (23×33 cm) Baking Pan
- Parchment Paper
- Mixing Bowls
- Spatula
- Measuring Cups and Spoons
Step-by-Step Instructions
Follow these steps closely to replicate the exact look and texture of these decadent bars. We’ll be listening and looking for specific cues to guide us.
1. Prepare the Crust
First, preheat your oven to 350°F (175°C). Line a 9×13 inch baking pan with parchment paper, leaving some overhang on the sides to act as handles. This is crucial for easy removal later.
In a medium bowl, combine the graham cracker crumbs, granulated sugar, and salt. Pour in the melted butter and mix with a fork until all the crumbs are evenly moistened. The mixture should resemble damp sand.
Pour the crumb mixture into the prepared pan. Press it down firmly and evenly across the bottom to create a thick, compact crust. You can use the bottom of a measuring cup for this. Bake for 10 minutes until the edges are lightly golden brown. This pre-baking step ensures a crispy, not soggy, crust.

2. Layer the Magic
Once the crust is pre-baked, remove it from the oven. Pour the entire can of sweetened condensed milk evenly over the warm crust. Spread it out to the edges with a spatula.
Next, dollop the raspberry preserves over the condensed milk. Use a knife or a small offset spatula to gently swirl the jam into the milk, creating a marbled effect. Be careful not to mix it in completely; you want distinct pockets of bright red jam.
Sprinkle the white chocolate chips evenly over the raspberry-swirled layer. There’s no need to be gentle here; a generous, even coating is what you want.
3. Add the Coconut and Bake
Finally, pile the shredded coconut thickly on top, making sure it covers everything from edge to edge. This thick layer is key to achieving that signature toasted top with crispy edges.
Place the pan back in the oven and bake for 25-30 minutes. You are looking for specific visual cues: the edges should be bubbly and the coconut on top should be a deep golden brown with some slightly charred, crispy edges. The center should be set and not jiggly.
Let the bars cool in the pan on a wire rack completely—and I mean completely. This can take at least 2 hours at room temperature, or you can speed it up in the refrigerator. Do not attempt to cut them while they are still warm, or you will have a gooey mess instead of clean bars.
Expert Tips for Success
- Patience is Key: The most common mistake is cutting the bars too soon. For those perfectly clean, defined layers you see in the photos, the bars MUST be fully cooled and set. Chilling them in the fridge for an hour before cutting is highly recommended.
- Don’t Scorch the Coconut: Keep a close eye on the bars during the last 5-10 minutes of baking. If the coconut is browning too quickly, you can loosely tent the pan with aluminum foil.
- Use Parchment Slings: Leaving an overhang of parchment paper on two sides of the pan allows you to lift the entire slab of bars out at once, making cutting much easier and cleaner.
- For Extra Crispy Coconut: If you love that toasted flavor, you can toast the coconut on a separate baking sheet for a few minutes before adding it to the bars. This gives you more control over the final color.
Storage & Reheating/Freezing
Store your Raspberry Coconut Magic Bars in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to a week. The texture will be firmer when chilled.
These bars also freeze beautifully. Cut them into individual squares and wrap them tightly in plastic wrap, then place them in a freezer-safe bag. They will last for up to 3 months. Thaw them at room temperature for a few hours before serving.
What to Serve With This
While these bars are a magnificent standalone dessert, they also pair beautifully with a cup of coffee or tea. If you’re creating a dessert spread for a party, consider offering them alongside other delightful treats.
The bright, fruity notes in these bars would be a wonderful companion to the zesty flavor of Lemon Sugar Cookies. For a truly decadent affair, serve them with a slice of rich Butter Pecan Loaf Cake. Or, if you’re planning a brunch, imagine a platter of these next to a decadent pan of Creme Brulee French Toast for the ultimate sweet finish.
Frequently Asked Questions
Absolutely. Simply substitute the regular graham cracker crumbs with your favorite gluten-free graham cracker crumbs. The rest of the ingredients are naturally gluten-free, but always double-check your labels.
Yes, you can experiment with other preserves like strawberry, apricot, or blackberry. However, raspberry is specifically chosen for its tartness, which provides the best flavor contrast to the sweet condensed milk and white chocolate.
Yes, you can. Sweetened shredded coconut is traditional and adds more moisture and sweetness. If you prefer a less sweet dessert, unsweetened coconut will work well and will still toast up beautifully.
The key is to ensure the bars are completely chilled. Use a large, sharp knife. Press down firmly to cut instead of sawing. Wiping the knife clean with a warm, damp cloth between each cut will also help prevent dragging and create perfectly clean edges.
The most common reasons are underbaking or not allowing the bars to cool completely. The sweetened condensed milk needs time to set. For best results, cool them for at least 2 hours at room temperature, then chill in the refrigerator for another hour before cutting.
The Only Magic Bar Recipe You’ll Ever Need
These Raspberry Coconut Magic Bars are more than just a recipe; they’re a guaranteed crowd-pleaser. The combination of textures and perfectly balanced flavors will have everyone asking for the recipe. Give it a try, and don’t forget to leave a comment below with your results!
For more visual recipe inspiration, follow us on Pinterest @CrispCrumbs!
Recipe Schema

The Ultimate Raspberry Coconut Magic Bars Recipe
Ingredients
Equipment
Method
- Preheat your oven to 350°F (175°C). Line a 9x13 inch baking pan with parchment paper, leaving an overhang on the sides for easy removal.
- In a medium bowl, combine the graham cracker crumbs, granulated sugar, and salt. Pour in the melted butter and mix until all crumbs are evenly moistened.
- Press the crumb mixture firmly and evenly into the bottom of the prepared pan. Bake for 10 minutes until the edges are lightly golden.
- Pour the sweetened condensed milk evenly over the warm crust. Dollop with raspberry preserves and gently swirl with a knife.
- Sprinkle the white chocolate chips evenly over the top, followed by a thick, even layer of the shredded coconut.
- Bake for 25-30 minutes, until the edges are bubbly and the coconut is golden brown with crispy edges.
- Let cool completely in the pan on a wire rack for at least 2 hours before using the parchment handles to lift out and cut into bars.
Notes
Don't Scorch the Coconut: If the coconut is browning too quickly, you can loosely tent the pan with aluminum foil.
Use Parchment Slings: Leaving an overhang of parchment paper on two sides of the pan allows you to lift the entire slab of bars out at once, making cutting much easier.
For Extra Crispy Coconut: You can toast the coconut on a separate baking sheet for a few minutes before adding it to the bars for more control over the final color.
