We’ve headed right back into the 1950’s and 60’s with our Keto Magic Cookie Bars, aka 7 Layer Cookies, and Hello Dolly Bars. Whatever you call them, there’s no denying the appeal of these delicious bars. Layers of chocolate, butterscotch, coconut and chopped pecans are smothered with thick gooey finger-linking sweetened condensed milk, traditionally over a graham cracker crumb crust. Brings us right back into our childhood. They’re so easy to make that Mom let us make them all by ourselves.
We’ve been thinking about how to ketoize these bars for some time, but the main ingredient, sweetened condensed milk, has always been out of reach. That is, until recently.
We discovered how to create Keto Sweetened Condensed Milk with the same taste and texture of the original. Now we can make our Keto Key Lime Pie, and these Keto Magic Cookie Bars we’ve been dreaming about, with more yummy desserts to follow.
To make Keto Magic Cookie Bars you’ll need the following ingredients:
Almond Flour
Brown Sugar Substitute – Swerve, truvia, or Sukrin GoldÂ
Butter – We use salted
Keto Sugar-Free Sweetened Condensed Milk
Lilys Dark Chocolate Baking Chips and Lilys Butterscotch Flavor Baking Chips – If you’re not a fan of butterscotch, replace with more dark chocolate chips. The butterscotch flavor chips are relatively new to the scene. We found ours at Walmart, and Amazon is also carrying them. We read a few reviews from people who did NOT like the flavor, so we were prepared for the worst, however our picky tastebuds found them absolutely delicious – even better tasting than Lilys dark chocolate chips.
Your Favorite Chopped Nuts – We love pecans, but your favorite will work perfectly.
Shredded Coconut – We’ve used Coconut King Shredded Coconut with no added sweeteners, and later, Birds Eye Fresh Frozen Sweetened Coconut. They both contain the same net carb count – 1 net carb per 2 tablespoons – so either works well in this recipe.
Our suggestion: Make one batch of our Keto Sweetened Condensed Milk first and allow to cool. We usually make a day or two ahead.
The high carb graham cracker crust is replaced by our shortbread crust (we think it tastes even better) using only 3 ingredients. Almond flour and brown sugar replacement are mixed together and drizzled with melted butter. The crumbs are pressed firmly into a 9×13 pan that’s been sprayed with cooking/baking oil and lined with parchment paper for easy removal of the bars. Bake at 350 degrees F for 10 minutes, until lightly browned. It’s important you cool the crust completely before continuing. We put ours in the fridge because we’re so impatient.Â
The next step is widely debated in the Magic Cookie Bar community. Decades ago, we poured sweetened condensed milk on top of all the layers, however this time we tried pouring the sweetened condensed milk over the crust and then layering the rest of the ingredients on top. We were surprised. We found it not only more aesthetically pleasing, but also that it tasted better.
Pop it back into a 350 degree oven for about 25 minutes or until lightly browned. Cool the bars on a rack or countertop for about an hour, then in the fridge for 3-4 hours. Overnight does wonders for the flavors to meld! Â
Using your handy-dandy parchment paper handles, lift the entire slab onto a cutting board. Use a sharp, large knife to divide into 24 bars. If you find an entire bar too much of a great thing, cut into diamond shapes.Â
You can store at room temperature for up to 5 days, but we prefer storing in the fridge for a firm and chewy bar. We hope these Keto Magic Cookie Bars bring back some good memories. And with only 3 net carbs per square, they’re guilt-free! Here’s a link to our Keto Sugar-Free Sweetened Condensed Milk recipe used in these Magic Cookie Bars.Â
Keto Magic Cookie Bars

A shortbread crust topped with our sugar-free sweetened condensed milk, chocolate and butterscotch chips, chopped nuts, and coconut flakes, make these yummy classic magic cookie bars a keto and low carb sweet treat!
- 9 x 13 metal baking pan
- CRUST
- 2 cups almond flour
- â…“ cup brown sugar alternative (Swerve, truvia, Sukrin Gold, etc)
- 6 tbsp butter (melted)
- MAGIC BAR LAYERS
- 1 recipe sugar-free sweetened condensed milk (see link to recipe in blog)
- 1½ cups Lilys Dark Chocolate Baking Chips (no sugar added)
- ½ cup Lilys Butterscotch Flavor Baking Chips (no sugar added )
- 1 cup chopped pecans (or walnuts)
- 6 oz shredded coconut (or flaked (1â…“ cups) )
Prepare one batch of our keto condensed milk recipe and cool.
Preheat oven to 350°F. Spray cooking oil into a 9x13-inch metal baking pan and line with parchment paper, allowing paper on two opposite sides to hang over for easy removal.
Using a fork or fingers, mix together almond flour and brown sugar alternative until lump-free. Drizzle in melted butter and mix until it clumps together. Press firmly and evenly into bottom of prepared pan. Bake for 10 minutes in middle rack. Cool completely.
Pour keto sweetened condensed milk on top of cooled crust. Spread to edges with a spoon. Layer on the toppings in this order: chocolate chips, butterscotch chips, chopped nuts, and coconut flakes. Gently press toppings with your palms to adhere to condensed milk.
Bake for 25 minutes, or until lightly browned and edges begin to pull away from the sides of pan. Cool on rack or countertop for an hour and place in fridge for at least 3 hours. Overnight best. Using parchment paper edges, lift from pan and slice into 24 pieces.
To store: For firm and chewy bars, refrigerate in sealed container with parchment paper between layers for up to one week.Â
To freeze: Wrap individual bars in plastic wrap. Store for up to 2-3 months. Defrost at room temperature before serving.Â
For softer bars, store covered at room temperature for 3-4 days.Â
These were absolutely delicious!
Thanks so much, Dolly! Happy you love our Keto Magic Cookie Bars.
I’ve had nothing but rave reviews from the 1st batch I made with the exception of there were not enough. I’m in the process of making a 2nd round for Christmas morning. The sugar version was one my grandmother made every year, this recipe has helped me to keep the memory alive and well! THANK YOU!!
Thank you! Warms my heart to think of memories that are tied to recipes.