Seven layer cookies, also called seven layer bars or magic bars, are bar cookies built in a 9×13-inch pan: a buttery graham cracker crust topped with chocolate chips, butterscotch chips, sweetened flaked coconut and chopped walnuts, with a can of sweetened condensed milk poured over everything. They bake at 350°F (175°C) for 25 to 30 minutes. With 5 minutes of prep they take about 35 minutes, plus cooling, and make 18 bars.

The seven layers
The name counts the seven ingredients: butter, graham cracker crumbs, chocolate chips, butterscotch chips, coconut, walnuts and condensed milk. There is no dough to mix. The condensed milk seeps down through the layers and binds them into a chewy bar as it bakes.
Tips for clean, chewy bars
- Line the pan. In addition to cooking spray, a sheet of parchment with overhang lets you lift the whole slab out for neat cutting.
- Press the crust firmly. Use the bottom of a measuring cup to pack the buttered crumbs into an even layer so the bars do not fall apart.
- Pour the milk evenly. Drizzle it back and forth over the whole surface, right to the edges, then spread gently without disturbing the layers.
- Watch the edges. The bars are done when the edges are golden brown and the center is set and lightly colored.
- Cool completely. Warm bars are sticky and will not hold a cut. For the cleanest squares, chill the pan for 30 minutes first.

Swaps and variations
Pecans can replace the walnuts, and the butterscotch chips can be swapped for peanut butter chips or white chocolate chips. Be sure to use sweetened condensed milk, not evaporated milk; the two are not interchangeable here. Crushed vanilla wafers or digestive biscuits work if you have no graham crackers.
Storage and freezing
Store the bars in an airtight container at room temperature for up to 4 days or in the fridge for a week. To freeze, wrap them individually and keep for up to 3 months. Thaw at room temperature.

FAQ
Why are my seven layer bars crumbly?
The crust was not pressed firmly enough, or the condensed milk did not reach the edges.
Do seven layer cookies need to be refrigerated?
No, but chilling keeps them firmer and extends their shelf life.
What similar cookies can I bake?
Try Almond Joy cookies, butterscotch cookies or kitchen sink cookies.