Desserts

Magic Cookie Bars

A buttery biscuit base topped with chocolate chips, coconut and pecans, all baked in sweetened condensed milk until golden and gooey.

Prep
10 min
Cook
30 min
Serves
16
Level
Easy
Jump to recipe ↓
Magic Cookie Bars
Photo: sheri silver on Unsplash

Magic cookie bars, also known as seven-layer bars or 'Hello Dollies', are a classic American traybake from the mid-20th century, made famous by recipes printed on cans of condensed milk. They're 'magic' because there's no mixing: the layers are simply scattered into a tin, and as they bake, the condensed milk caramelises and binds everything into a chewy, gooey bar.

Sweetened condensed milk is the key ingredient. In the oven its sugars caramelise, turning it golden and fudgy while it seeps through the toppings and glues them together. Pressing the toppings down gently before baking helps them stick. Let the bars cool completely before cutting, so the caramel can set and the layers don't fall apart.

Condensed milk (not evaporated milk) is sold in tins in the baking aisle. Digestive biscuits make an easy, very British base. Desiccated or sweetened shredded coconut both work. These contain nuts, so swap or skip them for nut-free guests.

Tips for success

  • Press the toppings down firmly so they stick to the condensed milk.
  • Watch the bars towards the end: coconut browns quickly.
  • Cool completely before cutting, or the bars will be too gooey to slice neatly.
  • Use a sharp knife wiped clean between cuts.

Variations and swaps

  • Nut-free: leave out the pecans and use extra chocolate chips or chopped dried cherries.
  • Butterscotch: add 75g butterscotch or white chocolate chips.
  • Ginger: use ginger nut biscuits for the base.
  • Seven-layer: add a layer of 75g white chocolate chips and 75g butterscotch chips for the full 'seven layers'.

Magic Cookie Bars

40 min total · approx. 324 kcal per serving

Ingredients

Servings 16

Method

  1. Heat the oven to 180°C / 160°C fan. Grease and line a 20 x 30cm tin with baking paper, leaving some overhanging to help lift the bars out.
  2. Mix the crushed biscuits with the melted butter and press firmly into the base of the tin.
  3. Pour the condensed milk evenly over the base, spreading it to the edges.
  4. Scatter over the chocolate chips, coconut and pecans, then press down gently with your hands.
  5. Bake for 25–30 minutes until golden brown at the edges and bubbling.
  6. Cool completely in the tin (at least 2 hours, or chill to speed it up), then lift out and cut into 16 bars.
Cook's noteLet the bars cool completely before cutting so the caramel sets.
Nutrition per serving
Calories324
Fat22 g
of which saturates11.8 g
Carbohydrate25.6 g
of which sugars19.2 g
Fibre3 g
Protein4.4 g
Salt0.31 g

Estimated from the ingredients using standard food composition values. Optional and “to serve” items aren’t included.

Calories and nutrition are estimates per serving, calculated from the ingredients. Diet tags are a guide only: always check ingredient labels for allergens, and see our food safety note.

Storing and making ahead

Keep in an airtight container at room temperature for up to 5 days, or in the fridge for a firmer, chewier bar. They freeze well for up to 3 months.

Questions about Magic Cookie Bars

Why are they called magic cookie bars?

Because the layers are simply scattered in a tin without mixing, and the condensed milk 'magically' binds them together as it bakes.

Can I use evaporated milk instead of condensed milk?

No. Condensed milk is sweetened and thick, which is what caramelises and binds the bars. Evaporated milk won't work.

What are seven-layer bars?

Another name for magic cookie bars, usually made with seven ingredients: base, butter, condensed milk, two kinds of chips, coconut and nuts.

How do I cut them neatly?

Let them cool completely, chill briefly, and use a sharp knife wiped clean between cuts.