Go Back
Stack of four magic cookie bars made of coconut, chocolate, graham crackers, each on a square of paper
Print Recipe
4.80 / 5 votes

Magic Cookie Bars | 7 Layer Bars

These magic cookie bars, also known as 7 layer bars, include a graham cracker base and sweetened condensed milk, chocolate chip, shredded coconut, and pecan topping. And they taste like childhood, too.
Prep Time10 minutes
Cook Time30 minutes
Chilling time2 hours
Total Time2 hours 40 minutes
Course: Dessert
Cuisine: American
Servings: 12 16 bars
Calories: 297

Ingredients

For the crust

  • 1/4 cup all-purpose flour, plus more for the pan
  • 1/4 teaspoon baking powder
  • 1 teaspoon salt
  • 1 cup graham cracker crumbs, (from about 10 whole crackers)
  • 1/3 cup light brown sugar
  • 7 tablespoons unsalted butter, at room temperature, plus more for the pan

For the topping

  • 1 1/4 cups sweetened flaked coconut
  • 1/2 cup semisweet chocolate chips
  • 1/4 cup milk chocolate chips
  • 3/4 cup sweetened condensed milk
  • 1/3 cup chopped pecans or any other nut you fancy, if desired

Instructions

Make the crust

  • Preheat the oven to 350°F (176°C). Butter an 8-by-8-inch or 9-by-9-inch baking pan, dust with flour, and tap out the excess.
  • Combine the flour, baking powder, and salt in a bowl. Stir in the graham cracker crumbs and light brown sugar and mix well.

    ☞ TESTER TIP: You can make the graham cracker crumbs in the food processor, or do it the old-fashioned way by putting whole crackers in a resealable plastic bag and crushing them with a rolling pin.

  • Work the butter into the crumb mixture with your hands until the crumbs are evenly coated with buttery goo. Spread the crumb crust in the prepared baking pan, pressing down gently with your hands. You don't want to make the crust too dense or compact. Bake for 10 minutes, or until the crust is slightly golden. Remove from the oven and let cool while you make the topping. Oh, and leave the oven on.

Make the topping and assemble the magic cookie bars

  • While the crust is cooling, mix together the coconut, both chocolates, and the condensed milk. Add the pecans or other nuts, if desired. Spread the mixture evenly over the warm crust. Return to the oven and bake for 20 to 23 minutes, or until the top is set and light brown. Watch carefully toward the end of the baking time to make sure the top doesn't become too bubbly or dark.
  • Let the pan of bars cool on a wire rack for 2 hours or so, until the chocolate is no longer soft and they slice easily.

    ☞ TESTER TIP: Don't learn the hard way that the bars really do need to rest a while before slicing. They're simply too gooey to devour right away...unless you simply dig in with a spoon.

  • Cut into whatever size or shape you fancy.

Nutrition

Serving: 1bar | Calories: 297kcal | Carbohydrates: 34g | Protein: 3g | Fat: 17g | Saturated Fat: 10g | Monounsaturated Fat: 5g | Trans Fat: 0.3g | Cholesterol: 25mg | Sodium: 294mg | Fiber: 2g | Sugar: 25g