This post may contain affiliate links. Please read our disclosure policy.
I’ve made more batches of 7 layer bars than I can count, and this is the version I keep coming back to. Graham crackers, chocolate, butterscotch, nuts, and coconut layered over sweetened condensed milk, plus 8 easy swaps if you want to change up the mix-ins. Most people panic when the condensed milk doesn’t cover everything evenly, but the oven melts it into every gap on its own. Layer it, bake it, and you’ve got a bar that never lasts long on any dessert table.

Made these cookies twice during Christmas and gave as gifts. They are one of my favorites!
-Jeanne
7 Layer Bars have been showing up at church potlucks, bake sales, and family gatherings for generations. Some people call them Magic Bars, others say Hello Dolly Bars, and I grew up calling them 7 Layer Bars in the Midwest. Whatever name you use, the magic is really just in the layers.
Here’s the thing about the condensed milk that trips people up. It’s thick straight out of the can, so when you pour it over the chips, it’s not going to look perfectly even. That’s fine. Once it hits the oven, the heat melts it down and it seeps into every little gap between the chips and nuts on its own. You don’t need to spread it around or fuss over it.
The coconut is where I’d actually pay attention. Press it into the milk with a fork before it bakes, or you’ll end up with some pieces toasted dark and others still pale and raw. I also always line my pan with parchment paper first. Lifting the whole thing out before cutting saves you from dragging a knife around the edges of the pan.
And then there’s cutting. This is the step everyone rushes, and it’s the one that ruins bars the most. Cut them warm and they just fall apart into crumbs. Let them cool all the way to room temperature, or pop them in the fridge for an hour if you’re impatient like me, then wipe your knife off between cuts. That’s really the whole secret to bars that hold together instead of ending up as a pile of crumbles on a plate.
At the end of the day these are a staple for a reason. Rich, chewy, packed with flavor in every bite, and they always disappear fast at a potluck or bake sale. If you want to switch things up sometime, a butterscotch brownie hits that same nostalgic note.

Why These are the Best 7 Layer Bars
- Just one bowl and one pan, no mixer required
- Ready in under 40 minutes, with only 7 minutes of prep
- Warmed condensed milk means no dry, powdery spots in every bite
- 8 easy substitutions so you can customize the mix-ins to what you have on hand
- Freezes well, so you can make a batch ahead for the holidays
- A nostalgic recipe that works for potlucks, bake sales, or a weeknight treat
What Are 7 Layer Magic Bars?
The name “7 Layer Bars” stems from the fact that these delicious treats are composed of seven distinct layers of flavors. These layers include butter, a graham cracker crust, chocolate chips, butterscotch chips, nuts, a luscious sweetened condensed milk topping, and coconut.

Ingredients for 7 Layer Bars
- graham cracker crust
- chocolate chips
- butterscotch chips
- chopped pecans or walnuts
- sweetened condensed milk
- shredded coconut

How to Make 7 Layer Magic Bars
- Line a 9×13 inch baking pan with parchment paper.
- In a small mixing bowl combine the melted butter and graham cracker crumbs. Press the crumbs into the pan.
- Sprinkle the chocolate chips, butterscotch chips and chopped nuts over the crust.
- Drizzle the sweetened condensed milk over the chips.
- Sprinkle the shredded coconut over the condensed milk, then use a fork to press the coconut into the milk.
- Bake for 25-35 minutes or until the top is golden in color. Allow the bars to cool to room temperature before slicing.

How to neatly cut a Seven Layer Bar
Use the parchment paper to remove the bars from the pan. Next, use a large sharp knife to cut the bars into squares. To achieve clean cut lines, wipe the knife clean between each cut.
You can also refrigerate the bars for 1 hour before cutting. This will help the bars stay together and ensure clean cutting.

7 Layer Cookie Bars Substitutions
• peanut butter chips
• peanuts
• oatmeal
• caramel pieces
• white chocolate chips
• reese’s pieces
• mini peanut butter cups
• m&ms
Feel free to substitute any of the following for the ingredients listed in the recipe.
Tips for Seven Layer Dessert Bars
- Be sure to use sweetened condensed milk, not evaporated milk.
- Transfer the sweetened condensed milk to a microwave safe bowl and warm it in the microwave. This will help the milk drizzle nice and evenly because it won’t be so thick.
- Line your pan with parchment paper, that way you can remove the bars from the bar to cut them.

How to Store 7 Layer Cookie Bars
Do 7 Layer Bars Need To Be Refrigerated?
No, you don’t need to refrigerate seven layer bars. They can be stored in an airtight container on the counter for up to 5 days.
How To Freeze 7 Layer Cookie Bars
There are 2 freezing options. You can freeze the entire slab or cut them into squares and freeze.
→ Entire slab: Allow the bars to cool completely. Wrap well in plastic wrap then store in a freezer ziplock bag.
→ Squares: Allow the bars to cool completely then cut into squares. Wrap bundles of 4-5 squares well in plastic wrap then store in a freezer ziplock bag.
To Thaw: Place in the fridge overnight or on the counter for a few hours.

7 Layer Magic Bars FAQs
Yes, this recipe doubles well if you need a bigger batch. Use a half sheet pan or two 9×13 pans instead of stretching one pan too thin, and check for doneness a few minutes early since a larger or shallower pan can bake slightly faster.
Store them in an airtight container at room temperature for up to 5 days. There’s no need to refrigerate them, though a cool spot away from direct sunlight keeps the texture at its best.
Yes, these hold up well for shipping once fully cooled and cut. Wrap bars individually or in small stacks with parchment paper between layers, then pack them snugly in an airtight container so they don’t shift around and crumble in transit.
Runny bars almost always mean they need more time in the oven or more time to cool. Bake until the top is golden, not just set, and let the bars cool completely to room temperature before cutting so the condensed milk has time to firm up.
More Bar Desserts

Tap stars to rate!
7 Layer Dessert Bars
Equipment
Ingredients
- 1 ½ cups (170g) graham cracker crumbs, 1 sleeve or 12 crackers
- ½ cup (113g) unsalted butter, melted, 1 stick
- 1 cup (170g) semi-sweet chocolate chips
- 1 cup (170g) butterscotch chips
- 1 cup (114g) chopped pecans or walnuts
- 1 can sweetened condensed milk, 14 oz
- 1 cup (85g) shredded sweetened coconut
Instructions
- Preheat the oven to 350º F. Line a 9×13 inch baking pan with parchment paper. To get the parchment paper to stick to the pan, butter the bottom and sides of the pan, then press the parchment paper into the pan.
- In a small mixing bowl combine the melted butter and graham cracker crumbs. Press the crumbs into the pan, either using your hands or the bottom of a cup to pack the crust down.1 1/2 cups (170g) graham cracker crumbs, 1/2 cup (113g) unsalted butter, melted
- Evenly sprinkle the chocolate chips, butterscotch chips and chopped nuts over the crust.1 cup (170g) semi-sweet chocolate chips, 1 cup (170g) butterscotch chips, 1 cup (114g) chopped pecans or walnuts
- Evenly drizzle the sweetened condensed milk over the chips. Evenly sprinkle the shredded coconut over the milk, then use a fork to press the coconut into the milk.1 can sweetened condensed milk, 1 cup (85g) shredded sweetened coconut
- Bake for 25-35 minutes or until the top is golden in color. Allow the bars to cool to room temperature before slicing.













Does the butter in the crust count as a “layer”? No matter how I count, I only come up with 6 layers? What am I missing?
Haha, great question! 7 layer bars is just the name, not necessarily meaning there are 7 layers. I think it all depends on what people add!
1. Butter
2. Graham crackers
3. chocolate chips
4. Butterscotch/ peanut butter chips
5. Nuts
6. Coconut
7. sweetened condensed milk
These are wonderful and easy. Been making them for thirty years. Never thought about warming the milk. Can’t figure out why you would want to freeze them ours are lucky if they get to cool completely. Awesome
Made these cookies twice during Christmas and gave as gifts. They are one of my favorite. Thank you for adding in to microwave sweeten condense milk. That was very hard to spread over the Graham cracker crust
I didn’t see the 8 different ways. I’m GF and was hoping to find a crust other than Graham crackers?
My great aunt made these as far back as I can remember. Your post is the first recipe I’ve seen that has mentioned call them Hello Dollys. My aunt called them that and it brought back so many “sweet” memories.
Thank you for putting the amounts in the instructions! Game changer, such a smart idea