Seven Layer Bars — the American potluck classic
Seven layer bars are an American traybake built from seven layers — melted butter, a graham-cracker crumb base, chocolate chips, butterscotch chips, shredded coconut and chopped nuts — all bound together by a can of sweetened condensed milk poured over the top and baked until golden and chewy. They are also known as magic cookie bars or Hello Dolly bars, and have been a fixture of bake sales, potlucks and holiday cookie tins since the mid-twentieth century. No mixing bowl is required: everything is layered straight into the tin.
i. Origin & history
Seven layer bars are a product of the American convenience pantry of the 1950s and 1960s. Their key ingredient, sweetened condensed milk, had been canned in the United States since Gail Borden's company began producing it in the 1850s and 1860s, and by the mid-twentieth century the Borden company was promoting all kinds of recipes that used it as a ready-made sweetener and binder. A recipe for 'Magic Cookie Bars', printed by the company's Eagle Brand label, made the format famous; the bars were 'magic' because the condensed milk turned a heap of loose ingredients into a cohesive, chewy bar in the oven, with no mixing.
The other components were also new pantry staples at the time. Chocolate chips had been sold since the late 1930s, following the success of the Toll House cookie; butterscotch chips followed; sweetened shredded coconut was widely sold in packets; and graham-cracker crumbs came ready-made in boxes. The bar is essentially a celebration of what was in a mid-century American store cupboard.
The dessert collected several names as it spread through community cookbooks and church fundraisers. 'Seven layer bars' simply counts the layers; 'magic cookie bars' is the branded name; and in the South, particularly, they are often called Hello Dolly bars — a name that, by most accounts, appeared after the 1964 Broadway musical Hello, Dolly!, though nobody seems sure why. 'Coconut dream bars' and 'six-layer bars' (usually without the butterscotch) are other variants.
They are related in spirit to Canada's no-bake Nanaimo bar and to the condensed-milk sweets popular across Latin America, where condensed milk is a central ingredient — from Brazilian brigadeiros to the Argentine chocotorta.
ii. How condensed milk holds the layers together
The 'magic' is simple chemistry. Sweetened condensed milk is milk reduced by about half, with roughly 40–45 per cent added sugar, so it is thick, sticky and full of milk proteins and lactose. Poured over the layers, it seeps down through the gaps between the chips, coconut and nuts. In the oven, its water evaporates and its sugars and proteins undergo the Maillard reaction, browning and thickening into something close to a soft caramel or dulce de leche. As the tray cools, that caramel sets and glues every layer together.
That is why even coverage matters. Condensed milk poured in one spot pools there and leaves the corners dry and crumbly; drizzled evenly over the whole surface in thin lines, it reaches every part of the tray. It is also why the bars must cool completely before cutting: warm, the caramel is still soft and the layers slide apart.
The base works on a different principle. In the classic method, butter is melted in the tin and the crumbs are sprinkled over it. That gives a crisp, buttery, slightly loose base. Mixing the crumbs with the butter first and pressing them firmly into the tin gives a sturdier crust that cuts more neatly, which is the method used here.
The order of the layers changes the result too. Chips go next to the crust, where they melt into a chocolatey seam under the coconut. Coconut and nuts go near the top, where they toast to a golden crunch. And the bars are baked at a moderate temperature — about 175 °C — because condensed milk scorches easily at the edges if the oven is too hot.
iii. Ingredients
Makes 24 servings · scroll the side panel to adjust
- 115 g unsalted butter, melted
- 170 g graham-cracker or digestive biscuit crumbs
- 170 g semi-sweet chocolate chips
- 170 g butterscotch chips
- 100 g sweetened shredded or flaked coconut
- 110 g pecans or walnuts, roughly chopped
- 397 g tin sweetened condensed milk
- ¼ tsp flaky sea salt, optional
The seven layers are the first seven ingredients. Graham crackers are traditional; British digestive biscuits work perfectly, and crushed shortbread or chocolate biscuits make richer bases. Butterscotch chips can be hard to find outside North America; use white chocolate, peanut butter chips or extra chocolate instead. American recipes use sweetened flaked coconut; unsweetened desiccated coconut gives a less sugary bar. Use full-fat sweetened condensed milk, not evaporated milk, which has no added sugar and will not set. A pinch of flaky salt on top balances the considerable sweetness.
iv. Method
- Heat the oven to 175 °C (350 °F), or 160 °C fan. Line a 23 × 33 cm baking tin with baking paper, leaving an overhang on the long sides to lift the bars out later.
- Stir the biscuit crumbs into the melted butter until evenly moistened, then press firmly and evenly over the base of the tin with the back of a spoon or the bottom of a glass.
- Scatter the chocolate chips evenly over the crust, then the butterscotch chips, then the coconut, and finally the chopped nuts. Press down very lightly with your palm.
- Drizzle the condensed milk evenly over the whole surface in thin lines, back and forth, making sure it reaches the corners and edges.
- Bake for 25–30 minutes, until the top is golden brown, the coconut is toasted and the edges are bubbling and lightly caramelised.
- Sprinkle with flaky salt, if using, and leave to cool completely in the tin on a rack, at least 2 hours. For the neatest squares, chill for 30 minutes more.
- Lift out using the paper and cut into 24 bars with a large, sharp knife, wiping it clean between cuts.
v. Tips & common mistakes
- Line the tin. Condensed milk caramelises and sticks like glue to bare metal; baking paper lets you lift the whole slab out to cut it cleanly.
- Pack the crust firmly. A loosely pressed base crumbles when cut. Press hard, especially at the edges and corners.
- Drizzle the milk evenly. Pools of condensed milk leave other areas dry and crumbly. Go back and forth in thin lines over the whole tray.
- Watch the edges. Condensed milk burns quickly. Pull the tray when the edges are golden and bubbling, before they turn dark brown.
- Cool completely before cutting. Warm bars fall apart because the caramel has not set. Patience, or a short chill, gives clean squares.
- Use a sharp, wet knife. A large knife dipped in hot water cuts through the chewy layers without dragging the toppings.
vi. Variations
Six-layer bars leave out the butterscotch chips. Holiday versions swap in white chocolate, dried cranberries and pistachios, or crushed candy canes. Pretzel seven layer bars use crushed pretzels in the base for a salty contrast. Peanut butter bars replace the butterscotch with peanut butter chips and the nuts with salted peanuts. For a dairy-free version, use coconut oil or vegan butter and sweetened condensed coconut milk, which sets in the same way.
For more condensed-milk sweets on DessertCat, try the Argentine chocotorta, Brazil's layered pavê or a slab of Australian caramel slice, another layered traybake held together by cooked condensed milk. For a no-bake chocolate bar, the Italian chocolate salami is a close relative.
vii. Serving & storage
Seven layer bars are very rich, so cut them small — 24 bars from a standard tray is generous. Serve at room temperature with coffee or a glass of cold milk, pack them into lunchboxes, or stack them in a cookie tin for the holidays. They travel well, which is why they are such a potluck staple.
Store in an airtight container at room temperature, layered with baking paper, for up to 1 week; in hot weather, keep them in the fridge, where they become firmer and chewier. They freeze very well for up to 3 months: wrap individual bars or the whole slab tightly and thaw at room temperature for an hour. Because they keep so well, they are an easy make-ahead for parties and gifts.
viii. Common questions
What are the seven layers in seven layer bars?
Melted butter, graham-cracker crumbs, chocolate chips, butterscotch chips, shredded coconut, chopped nuts and sweetened condensed milk. The condensed milk binds everything together as it bakes.
Why are they called magic cookie bars?
Magic Cookie Bars was the name used on the recipe promoted by Eagle Brand condensed milk. The 'magic' is that loose layers of crumbs, chips, coconut and nuts set into a solid, chewy bar with no mixing.
What is the difference between seven layer bars and Hello Dolly bars?
There is essentially none; they are regional names for the same bar. Hello Dolly bars is a common name in the American South, thought to date from around the time of the 1964 musical Hello, Dolly!
Can I use evaporated milk instead of condensed milk?
No. Evaporated milk has no added sugar and will not thicken and caramelise into a binder, so the bars will not hold together. Use sweetened condensed milk, or sweetened condensed coconut milk for a dairy-free version.
Why are my seven layer bars falling apart?
They were probably cut while still warm, the crust was not pressed firmly, or the condensed milk did not reach every part of the tray. Cool them completely and chill before cutting.
How long do seven layer bars last?
Up to a week in an airtight container at room temperature, or longer in the fridge. They freeze well for up to 3 months.