The Feast

Home cooking recipes for everyday dinners and easy entertaining

Hello Dolly Bars for a 9x13 Pan

· 5 min read · Baking and Desserts

Time: 25 minutes prep, 25–30 minutes bake · Serves: 24 bars · The key step: press the crust firmly and bake until the edges are deeply golden, not just the center set. These are the classic layered bars—graham cracker crust, chocolate chips, coconut, and nuts—held together by sweetened condensed milk, scaled for a 9x13-inch pan.

The Crust Needs a Firm Press and a Short Pre-Bake

Hello Dolly bars (sometimes called magic cookie bars) work because the condensed milk sinks through the layers and binds everything as it bakes. The crust is the one part that can turn crumbly or soggy, so press it with the bottom of a measuring cup until it feels like packed sand, and pre-bake it for 8 minutes at 350°F (177°C) so it sets before the wet toppings go on. That short pre-bake keeps the bottom crisp and prevents the bars from sticking to the pan.

Use a 9x13-inch metal or glass baking pan. If you use glass, the bake time may run a few minutes longer because glass heats more slowly than metal. Line the pan with parchment paper, leaving a 2-inch overhang on two opposite sides—that becomes the handle for lifting the whole slab out cleanly.

Ingredients for 24 Bars

  • 1½ cups (180 g) graham cracker crumbs (about 12 full sheets)
  • ½ cup (113 g) unsalted butter, melted
  • 2 cups (340 g) semisweet or milk chocolate chips
  • 1½ cups (135 g) sweetened shredded coconut
  • 1 cup (120 g) chopped pecans or walnuts
  • 1 can (14 oz / 396 g) sweetened condensed milk
  • ¼ teaspoon salt (optional, if your butter is unsalted)

For a less sweet version, use dark chocolate chips and reduce the coconut to 1 cup. The condensed milk is not optional—it is the binder that makes the bars hold together. If you leave it out, the layers will not set.

Bake Until the Edges Are Deeply Golden, Not Just Set

  1. Heat the oven to 350°F (177°C). Line a 9x13-inch pan with parchment paper, leaving overhang on two sides.
  2. In a medium bowl, stir the graham crumbs, melted butter, and salt until every crumb is moistened. Press the mixture evenly into the pan bottom. Use the flat bottom of a measuring cup to compact it firmly.
  3. Bake the crust for 8 minutes, until it smells toasted and is lightly golden. Remove from the oven but leave the oven on.
  4. While the crust is still hot, sprinkle the chocolate chips evenly over it, then the coconut, then the nuts. Do not stir.
  5. Pour the sweetened condensed milk evenly over the top. It will look like it doesn’t cover everything at first—use a spatula to spread it gently so it reaches the edges, but don’t press it into the layers below.
  6. Bake for 25–30 minutes, until the edges are deeply golden and the center is set but still slightly jiggly when you shake the pan. The top should be browned in spots, not pale.
  7. Cool completely in the pan on a rack, at least 2 hours. The bars firm up as they cool; cutting too early makes them fall apart.
  8. Lift the slab out using the parchment overhang, then cut into 24 squares (4 rows by 6 rows) with a sharp knife. Wipe the knife clean between cuts for neat edges.

If you want cleaner cuts, chill the cooled slab in the refrigerator for 30 minutes before slicing. The bars will be firmer and the chocolate will not smear.

What Ruins These Bars: Soggy Crust, Overbaking, and Cutting Too Soon

The most common failure is a crust that crumbles or turns soggy. That happens when you skip the pre-bake or don’t press the crumbs firmly enough. Press hard—the crust should feel like a compacted sandcastle. Another mistake is overbaking, which makes the condensed milk caramelize too dark and the bars turn hard and chewy. Pull them out when the edges are deep golden and the center is just set, even if it looks slightly soft. The final mistake is cutting while they are warm; the layers will slide apart. Wait the full 2 hours of cooling, or chill them for cleaner slices.

If your bars come out too crumbly, the likely cause is uneven condensed milk coverage. Pour it in a zigzag pattern and spread it to the edges before baking. If the bottom sticks to the paper, the crust was not pressed hard enough or the pan was not lined—parchment is essential, not optional.

Storage and Make-Ahead: They Keep for a Week, but Only if Sealed

Store the bars in an airtight container at room temperature for up to 5 days, or in the refrigerator for up to 1 week. Layer them with parchment paper between stacks so they don’t stick. You can also freeze the baked, cooled bars for up to 3 months—wrap the whole slab in plastic wrap, then foil, and thaw overnight in the fridge before cutting. Do not freeze the unbaked bars; the condensed milk separates during thawing.

For make-ahead, you can prepare the crust and press it into the pan up to 2 days in advance. Cover and refrigerate, then pre-bake and finish when you’re ready. The fully baked bars also freeze well, so you can bake a batch now and serve them later—just let them come to room temperature for about 30 minutes before serving.

Serve these bars with coffee or cold milk, or crumble them over vanilla ice cream. They are rich, so cut them into 24 pieces rather than 12. If you’re taking them to a potluck, keep them in the pan with the parchment overhang folded over the top—they travel well and stay moist for a day.

In this article
  1. The Crust Needs a Firm Press and a Short Pre-Bake
  2. Ingredients for 24 Bars
  3. Bake Until the Edges Are Deeply Golden, Not Just Set
  4. What Ruins These Bars: Soggy Crust, Overbaking, and Cutting Too Soon
  5. Storage and Make-Ahead: They Keep for a Week, but Only if Sealed