Go Back
+ servings
Seven layer magic cookie bars on parchment paper

Seven Layer Magic Cookie Bars

Seven Layer Magic Cookie Bars are sweet, chewy layers of buttery graham cracker crust, sweetened condensed milk, coconut, dark chocolate chips and pecans.  This magic bar recipe may be made traditionally or gluten free!

Leave a Review »


  • 1 stick unsalted butter melted
  • 1 1/2 cups gluten free or regular graham cracker crumbs*
  • 1/4 teaspoon sea salt
  • 14 ounces sweetened condensed milk
  • 1 cup unsweetened coconut flakes
  • 1 cup dark chocolate chips
  • 1/2 cup pecan pieces
  • Flaky sea salt for sprinkling (optional)


  • Preheat the oven to 350 degrees. Line a 13 x 9" baking dish with parchment paper or foil.
  • Melt the butter in the microwave in a medium sized heat proof bowl. Add the graham cracker crumbs and 1/4 teaspoon sea salt and stir until the graham cracker crumbs are well coated.
  • Press the graham cracker crumbs evenly into the bottom of the baking dish.
  • Pour the sweetened condensed milk evenly over the graham cracker crumbs, followed by the coconut, dark chocolate chips, and pecans. Press the mixture down across the entire top of the bars with a fork, then bake for 25 minutes or until lightly golden brown.
  • Cool completely on a wire rack, then cut into bars. Serve and enjoy!


  • *I used one 7.5 ounce package of Pamela's gluten free graham crackers for this recipe and processed them in my food processor. Any type of gluten free crackers or cookies will work well for these magic bars.
  • Substitute the dark chocolate chips with your favorite variety or a combination. Butterscotch, peanut butter or white chocolate chips are all great options!
  • Swap out the pecans with your favorite nuts or omit altogether. Chopped dried fruit is also a great option.
  • Store magic bars in an air tight container at room temperature for 3-5 days or freeze for up to 3 months.


Serving: 1bar, Calories: 302kcal, Carbohydrates: 29g, Protein: 4g, Fat: 19g, Saturated Fat: 12g, Cholesterol: 25mg, Sodium: 143mg, Potassium: 235mg, Fiber: 2g, Sugar: 21g, Vitamin A: 259IU, Vitamin C: 1mg, Calcium: 124mg, Iron: 1mg

Nutrition is estimated using a food database and is only intended to be used as a guideline for informational purposes.

Did you try this recipe?Be sure to tag @flavorthemoments with the hashtag #flavorthemoments on Instagram so I can see what you made!