Magic bars were one of my favorite childhood treats! My mom had a few dessert recipes she rotated through – her famous watergate salad was a big one, and 7-layer magic bars were a close second. So when I got hit with this insane craving for magic bars, I looked up a few recipes and was pretty shocked by what I found. Most magic bars are made with tons, and I mean TONS of processed sugar. Though since I’ve basically made it my life’s work to turn our favorite desserts into healthier ones, I knew I had to get working on a healthier magic bar recipe!
This recipe took quite a few tries, but I ultimately perfected it! I used the same almond flour shortbread crust as my healthy pecan pie bars recipe, and riffed off my healthy vegan caramel sauce for a healthier sweetened condensed milk alternative. I then topped these bars with plenty of coconuts, chopped nuts, and of course – chocolate chips! The end result is a bar just as indulgent as the classic magic bars we all know and love, made with healthier ingredients and a fraction of the sugar. I just know you’re gonna LOVE these!
Why You’ll Love This Recipe
- Naturally Sweetened – No refined sugar, just maple syrup and coconut cream for a rich, caramel-like sweetness.
- Easy & Quick – Simple ingredients, one bowl for the crust, and a short bake time.
- Customizable – Easily make them nut-free, keto-friendly, or extra chocolatey!

What Makes These Magic Bars Healthier?
Traditional magic bars are loaded with processed sugars and condensed milk, but this healthier version swaps in:
- Almond flour for a grain-free, nutrient-dense crust.
- Maple syrup instead of refined sugar.
- Coconut cream for a dairy-free caramel alternative.
- Dark chocolate chips with minimal added sugar, or opt for a refined sugar-free chocolate chip like these!
Sam’s Recipe Tips
- For Extra Firm Bars – Let them chill in the fridge overnight before slicing.
- For More Chocolate Flavor – Drizzle melted chocolate over the top before serving.
- For a More Caramel-Like Texture – Use cashew butter instead of almond butter.

Adjust This Recipe to Your Dietary Needs
Nut-Free Option – Use sunflower seed butter instead of almond butter and swap the nuts for pumpkin or sunflower seeds.
Keto-Friendly Option – Substitute maple syrup with a keto-friendly syrup and use sugar-free chocolate chips.
Refined Sugar-Free – Stick with pure maple syrup and dark chocolate for a naturally sweet treat!
Storage Instructions
Fridge: Store bars in an airtight container in the refrigerator for up to one week.
Freezer: For longer storage, freeze them for up to 3 months and thaw before serving.

Healthy Gluten-Free Magic Bars
Equipment
- 1 9×9-inch baking pan
- 1 large bowl
- 1 small saucepan
Ingredients
For the shortbread crust:
- 2 cups almond flour
- 1/4 cup melted coconut oil
- 1/4 cup maple syrup
- 1 teaspoon vanilla extract
For the topping:
- 1/2 cup coconut cream (the thick white part at the top of a can of full-fat coconut milk)
- 1/4 cup maple syrup
- 1/4 cup almond butter or peanut butter
- 1 cup chopped walnuts or pecans
- 1 cup unsweetened shredded coconut
- 1 cup dark chocolate chips
Instructions
- Preheat oven to 350° Fahrenheit and line a 9×9-inch baking pan with parchment paper.
- Add all shortbread crust ingredients to a large bowl and mix to combine. Then, transfer the crust to your prepared baking pan and press the crust down into an even layer over the base of the baking dish. Bake for 10 minutes or until lightly golden brown around the edges.
- Remove the crust from the oven to cool, and while it cools make the caramel by adding the coconut cream, maple syrup, and almond butter to a small saucepan over medium-low heat. Whisk the mixture together and cool for 3-5 minutes, whisking constantly, until the caramel has melted together and slightly thickened.
- Remove the saucepan from the heat and allow the caramel to cool slightly, then mix the chopped walnuts or pecans and shredded coconut into the caramel.
- Pour the caramel mixture over the cooled crust and spread it into an even layer over the crust. Sprinkle the chocolate chips evenly over the caramel layer (if you’d like, you can then sprinkle an additional 1-2 tablespoons of shredded coconut and chopped walnuts or pecans over the chocolate chips to make the bars a little prettier), then bake the bars for an additional 20 minutes.
- Remove the bars from the oven and leave them to cool at room temperature for about 30 minutes, then transfer them to the fridge to completely set for at least one hour. Remove the bars from the fridge, cut into square, and enjoy!