These Paleo Magic Cookie Bars are just as rich and delicious as the classic seven-layer bars you know and love! This gluten-free, vegan, and refined sugar-free version features an almond flour crust and homemade coconut milk caramel, making it a healthier magic cookie bar that you’ll be just as obsessed with.

Let’s talk about my favorite childhood dessert for a minute: Magic Cookie Bars. Also known as Seven Layer Bars or Hello Dolly Bars, this chewy, chocolatey dessert is truly delicious and decadent.
I really don’t know that I’ve ever had someone not love them. The combination of so many delicious things piled on top of a buttery graham cracker crust and topped with sweetened condensed milk can only end up delicious.
My mom and I would make so many batches of these for Christmas every year when I was growing up. When I was little, I was constantly sneaking outside to grab a bar (or three) out of the freezer in our garage where my mom would attempt to hide them from us.

Why Make These Paleo Magic Cookie Bars
If you grew up loving classic seven-layer bars (aka magic cookie bars) like me, you’ll adore this healthier twist. These Paleo Magic Cookie Bars are made without gluten, dairy, or refined sugar — but they’re still every bit as rich, gooey, and satisfying.
Here’s why they’re worth baking:
- Naturally gluten-free and dairy-free – made with wholesome ingredients like almond flour, coconut milk, and coconut sugar.
- Indulgent flavor with healthier swaps – a creamy caramel layer, dark chocolate, and toasty coconut taste just like the original, without the heavy processed ingredients.
- Simple to prepare – just layer, bake, and let them set for a treat that looks impressive but comes together easily. They’re especially easy if you skip making the caramel yourself, and use a sweetened condensed coconut milk instead.
- Perfect for holidays and gatherings – they keep well in the fridge or freezer, so you can make them ahead of time and always have a crowd-pleasing dessert ready.
- Nostalgic and comforting – these bars capture the magic of the childhood favorite while fitting a modern, Paleo-friendly lifestyle.

Ingredients Breakdown
Here’s what you’ll need to make these Paleo Magic Cookie Bars and why each ingredient matters:
- Full-fat coconut milk – the base of the homemade caramel, giving it that creamy, luscious texture you’d usually get from condensed milk.
- Coconut sugar – a natural sweetener with a rich, caramel-like flavor that deepens the flavor.
- Coconut butter – replaces melted butter in the crust, and it’s used to thicken the caramel.
- Vanilla extract – adds warmth and complements the sweetness of the caramel.
- Almond flour – forms a sturdy, nutty crust that holds everything together without gluten, while giving a similar texture vibe to graham cracker crumbs.
- Cinnamon – adds a cozy spice that pairs perfectly with the caramel and nuts.
- Sea salt – balances the sweetness and enhances all the flavors.
- Dark chocolate chips – the gooey, melty layer that makes these bars irresistible.
- Walnuts + almonds – add crunch, healthy fats, and a nutty balance to all the sweet layers. You can substitute with pecans, peanuts, or any other nut you love.
- Unsweetened flaked or shredded coconut – toasty and chewy, this finishing touch makes the bars taste just like the classic magic cookies you remember.
The toppings are remarkably similar to the classic magic bars recipe, except for omitting the butterscotch chips. I couldn’t think of a reasonable substitute, and the original chips weren’t a significant loss for me. The bars are still plenty sweet and decadent without them!
Need a shortcut? Skip making the caramel yourself, and use a can of sweetened condensed coconut milk to make this a super quick and easy recipe!

What’s the best way to store them?
My personal storage preference is to keep them in an airtight container in the refrigerator or freezer. It keeps them super chewy and absolutely delicious. They’ll last a week or two in the fridge, or a few months in the freezer.
They’ll be good at room temperature for a few days, if you choose to keep them that way.

Craving healthier holiday treats?
Healthy Homemade Chocolate Recipe
This easy recipe for homemade Chocolate Chunks makes delicious dark chocolate that melts in your mouth with only three ingredients! It’s perfect to use as a Paleo-friendly or refined sugar-free alternative in any recipes calling for chocolate chips or chunks.
Homemade Healthy Cranberry Bliss Bars
These Homemade Cranberry Bliss Bars are a homemade take on the Starbucks holiday favorite! These cakey blondies are chewy and loaded with cranberry, orange, and white chocolate flavors. They’re gluten-free, paleo, and vegan.

Paleo Magic Cookie Bars (Gluten Free + Vegan)
Ingredients
For the coconut milk caramel (see notes for a shortcut)
- 1 15.5 oz can full-fat coconut milk
- ½ cup coconut sugar
- 2 tablespoons coconut butter, you can substitute vegan butter or coconut oil
- ½ teaspoon vanilla extract
For the bars
- 1 cup (96g) almond flour
- ½ teaspoon cinnamon
- ½ teaspoon sea salt
- 3 tablespoons coconut butter, melted
- ¾ cup dark chocolate chips
- ½ cup coarsely chopped walnuts
- ¼ cup coarsely chopped almonds
- ½ cup unsweetened flaked coconut
Instructions
For the coconut milk caramel
- In a heavy saucepan, heat the coconut milk and sugar over medium heat, stirring often, until coconut milk begins to boil. Lower heat to simmer and reduce by half, stirring often to prevent the sugar from scorching. (If thicker, caramelized sugar begins to form on sides or bottom, use a whisk to reincorporate it.)
- When it reaches a similar consistency to a thick sweetened condensed milk or a drippy caramel sauce, in around 30 minutes, add 2 tablespoons coconut butter and vanilla. Stir well and remove from heat. You should end up with a little over a cup of caramel-colored, sweetened coconut milk.
For the crust/bars
- Preheat the oven to 350°F and line an 8×8″ pan with parchment paper, then lightly grease with coconut oil.
- While the caramel is simmering (be sure to continue stirring every few minutes), mix together the almond flour, cinnamon, salt, and coconut butter. Sprinkle the crust mixture into the prepared baking pan. Using your fingers or a spatula, press the mixture down in an even layer, covering the bottom of the baking dish.
- Sprinkle the chocolate chips, chopped nuts, and coconut flakes evenly over the crust. Pour the sweetened coconut milk evenly over everything. Bake for 25-30 minutes, until lightly browned.
- Let chill in the refrigerator for about an hour or until completely chilled and set. Cut into 16 squares with a sharp knife and serve!





I just made these today. They literally just came out of the oven. Not sure if they are still suppose to be liquid so should i put them in the fridge or wait a little bit?
Hi Hope! Yes, I would definitely put them in the fridge until they’re completely chilled and set before cutting. Hope you like them!
these look incredible!! Starbucks just released Hello Dolly bars here in Canada but I can’t try them as I can’t have gluten. And I’m Paleo, so these looks perfect for me. I have never heard of coconut butter though, do you make it yourself? I’ve got a block of coconut cream, and also coconut flakes (the big chunky kind, not the shredded flakes) so perhaps I can process it into a butter texture. If not, is there something else to substitute? I’ll try googling recipes and maybe see if I can find it next time I’m at the store. Haven’t even heard of it before.
thanks so much. I’m sure I’m going to love these! :)
Hi Dana! You can either make or buy your own coconut butter. The coconut flakes you have are perfect, and are exactly what I used to make mine. I have a recipe for toasted coconut butter here, for regular coconut butter just skip the toasting and put the coconut flakes straight into the food processor. You can also buy coconut butter. I find it at health food stores, Artisana is a great brand, but it does tend to be expensive. Thanks so much for stopping by, I hope you love these bars!!
Love these cookie bars! They sound really delicious and I can’t wait to try them! Would love to also include them in a recipe roundup for Valentine’s Day! May I?
Sure! As long as it links back here, feel free to include the bars in your roundup.
I never post comments but I’ve made these twice now and they are so damn GOOD. I add a layer of a pureed medjool dates and they’re totally addictive
The date idea sounds delicious – I’ll have to try that!! So glad you like them, Leslie. Thanks for commenting! :)
Hi Rachel,
I love love love your recipes! I wanted to say thank you!
Also for this recipe, what are some options that I can use to substitute for the coconut butter?
Best,
Adee
Hi Adee, you could use coconut oil instead. Thanks so much for the love, I’m so thrilled you enjoy my recipes! Hope you love this one too :)
Love these Rachel!!!! I love making a lighter version of something classic. And these may be the best healthy-ier version of anything I’ve seen. And those photos
Magic cookie bars are the best! Can you believe I’ve never made my own?! Yikes, I need to get on that, and soon! I’m wishing I had this ENTIRE batch for breakfast since my stomach is growling! :) Looks delicious, Rachel!
Thanks so much Gayle – magic cookie bars are definitely one of the best thing ever!
What a clever “cleaned up” interpretation of this classic treat. I am intrigued!
These cookie bars look delicious and extremely addictive!
Ahhh I kinda wish I didn’t see this recipe because I’m on Whole30 and I wish I could eat one of these cookie bars! I bet they taste soooo magically delicious ;)
Hi Bethany – ahh so tragic! I’ve got a Whole30 friendly recipe coming tomorrow though ;) thanks so much girl!