What is it about Magic Cookie Bars that warrants the word “magic” right in the title? It is the ooey gooey, crumbly, buttery, sweetness that you taste when you try one! The other thing that makes them “magic” is that they are honestly one of the easiest desserts to make that is out there.

Honestly, just look at that photo! Magic Cookie Bars look impressive, taste even better than they look, and they will only take you 40 minutes to make. What’s not to like?
Table of Contents
How to make Gluten Free Magic Cookie Bars?
This is an easy recipe to convert into a gluten free option. I’ve made these with 1 to 1 gluten free flours and with almond flour. I think the nut flours give these a wonderful taste. To successfully replace regular flour with a gluten free option simply switch them out and use the same measurement. Just keep in mind that most gluten free flours are more crumbly than regular all purpose flour. However, with this particular recipe that doesn’t really make much of a difference because the base is kind of like a shortbread which tends to be crumbly anyways.

Why do I love Magic Cookie Bars?
I kind of gave the answer away with my introduction but the best part about this treat is the taste. If you are someone who likes shortbread type crusts then you will absolutely love this easy homemade recipe.
I like to have a bunch of easy dessert recipes handy that I can put together with ingredients I already have at home. This is one way that I can achieve a more simplified homemaking routine. It allows me to have easy homemade food ready for my guests and family with very little effort from me. That is a win-win in my opinion!
This Magic Cookie Bar recipe is one of the above mentioned recipes. I love it because:
- They taste amazing!
- They only take me 40 minutes to make.
- I can substitute the layers with whatever ingredients I have in my house.
- I can come up with new and unique flavors by substituting out ingredients.
- I have never met someone who doesn’t absolutely love eating these. This is an easy homemade recipe to bring out when you really want to impress someone without having to put in a lot of work.
Magic Cookie Bar recipe and step-by-step guide

Magic Cookie Bars
Equipment
- 1 9×9 baking dish
- 1 sheet of parchment paper
Ingredients
- ½ cup melted and cooled butter
- 1½ cup all purpose flour
- 1 cup coconut shreds
- ½ cup ground flax seed
- ½ cup crushed pecans
- ½ cup white chocolate chips
- ½ cup dark or milk chocolate chips I prefer dark
- 1 12 oz can of sweetened condensed milk
Instructions
- Preheat oven to 350℉. Line a 9×9 baking pan with parchment paper.
- Pour melted butter (once cooled) into the bottom of the dish on top of the parchment paper.

- Sprinkle to flour on top of the butter. No need to mix. Gently press down on top of the flour to pack it down. Be sure to get the corners well.

- Add coconut shreds, then add the ground flax seeds and pecans. Pack them down lightly again.

- Add chocolate chips for the next layer. I like to keep a few chocolate chips out to sprinkle on top after the magic cookie bars have baked (this is optional)

- Pour the whole can of sweetened condensed milk on top.

- Bake for 30 minutes at 350℉. Allow to cool completely before cutting. Serve immediately or place in the fridge to eat in the future. These taste good cold as well as room temperature.

Notes
Ingredient Substitution ideas for your Magic Cookie Bars
- A Nutty Magic Cookie Bar. Try adding 2 or 3 different nut combinations to add more protein to this dessert bar.
- Chocolate chunks. Make these bars more sophisticated by using dark chocolate chunks instead of chocolate chips.
- Peanut butter drizzle. Warm up some peanut butter and drizzle this on top after the magic cookie bars have baked.
- Let your kids decide! Add M&Ms, sprinkles, or anything that is bright and fun for your kids to enjoy.
- Coconut condensed milk. For less dairy, you can switch out the normal condensed milk for coconut condensed milk. This gives a really nice flavor as well!
How to serve Magic Cookie Bars?
I think these bars look pretty fancy. Anytime I bring out this wonderful treat, I hear “ohs” and “ahs” because it just looks so darn good!
I usually cut the squares and then dish them out of an airtight container onto a plate. You can also serve these on a fancy serving dish. These are a great treat to bring to potlucks or holiday gatherings!
Serve alone or with ice cream or whipped cream.
I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn advertising fees by linking to Amazon.com and affiliated websites. This means that I will earn a small amount of money if you purchase through the links on my website at no additional cost to you.

More easy homemade recipes that will be a hit for dessert or a snack!
- Easy no chill sugar cookies
- Fast and easy peanut butter cookies
- Fun mini apple pies
- Sourdough chocolate chip cookies
Thank you so much for taking a look at this easy homemade recipe! I hope you really enjoy making and eating these Magic Cookie Bars. If you have any tips or tricks to make them even better I would love to hear about it below! Also, I would be so grateful if you could share this recipe with someone who would enjoy making these.

Leave a Reply