This post may contain affiliate links. Please read our disclosure policy.

I’ve made countless batches of these 7 layer bars over the years, and I’m excited to share not only the classic recipe but also 8 easy substitutions so you can customize them to your taste. Want to swap the nuts? Prefer a different type of chocolate? I’ve tested plenty of variations to help you create your perfect version.

7 layer bars cut into squares stacked on top of each other on dark blue plate with white background
Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

7 Layer Bars have been a beloved dessert for generations, showing up at church potlucks, bake sales, and family gatherings across the country. Whether you call them Magic Bars, Hello Dolly Bars, or 7 Layer Magic Bars, one thing is certain—they’re irresistibly delicious. Growing up in the Midwest, we always called them 7 Layer Bars, but depending on where you’re from, the name might be different. No matter what you call them, the magic is in the layers!

These bars are a true staple—rich, chewy, and packed with layers of flavor. If you’re looking for a crowd-pleasing dessert for your next potluck or bake sale, these are always a hit. And if you want to switch things up, try a butterscotch brownie for another easy, nostalgic treat!

baked 7 layer bars in glass pan

What are 7 Layer 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 to make 7 layer bars

What you’ll need for Seven Layer Bars

  • graham cracker crust
  • chocolate chips
  • butterscotch chips
  • chopped pecans or walnuts
  • sweetened condensed milk
  • shredded coconut
how to make magic bars step by step collage

How to make 7 Layer Bars

  1. Line a 9×13 inch baking pan with parchment paper
  2. In a small mixing bowl combine the melted butter and graham cracker crumbs. Press the crumbs into the pan.
  3. Sprinkle the chocolate chips, butterscotch chips and chopped nuts over the crust. 
  4. Drizzle the sweetened condensed milk over the chips. 
  5. Sprinkle the shredded coconut over the condensed milk, then use a fork to press the coconut into the milk.
  6. Bake for 25-35 minutes or until the top is golden in color. Allow the bars to cool to room temperature before slicing. 
hello dolly bars cut into squares and arranged on a metal baking sheet

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 cut into squares on brown parchment paper

 7 Layer Bars Recipe 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.

Seven Layer Bars Recipe Tips

  • 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. 
hello dolly bars cut into squares and arranged on a metal baking sheet

How to Store 7 Layer 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. 

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 cookie bars cut into squares on brown parchment paper

More Bar Desserts

5 from 1 rating

Tap stars to rate!

7 Layer Bars

By: Beth
Prep Time: 7 minutes
Cook Time: 30 minutes
Total Time: 37 minutes
Servings: 20 servings
I’ve made countless batches of 7 Layer Bars and am excited to share the classic recipe plus 8 easy swaps to customize them—whether you want to change the nuts, chocolate, or other mix-ins!

Ingredients

  • 1 ½ cups graham cracker crumbs, 1 sleeve or 12 crackers
  • ½ cup unsalted butter, melted, 1 stick
  • 1 cup semi-sweet chocolate chips
  • 1 cup butterscotch chips
  • 1 cup chopped pecans or walnuts
  • 1 can sweetened condensed milk, 14 oz
  • 1 cup 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.
  • Evenly sprinkle the chocolate chips, butterscotch chips and chopped nuts over the crust. 
  • 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.
  • Bake for 25-35 minutes or until the top is golden in color. Allow the bars to cool to room temperature before slicing. 

Notes

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. 

Nutrition

Calories: 285kcal | Carbohydrates: 30g | Protein: 4g | Fat: 17g | Saturated Fat: 9g | Polyunsaturated Fat: 3g | Monounsaturated Fat: 4g | Trans Fat: 1g | Cholesterol: 20mg | Sodium: 103mg | Potassium: 188mg | Fiber: 2g | Sugar: 23g | Vitamin A: 209IU | Vitamin C: 1mg | Calcium: 75mg | Iron: 1mg

Nutrition Disclosure

All nutritional values are approximate and provided to the reader as a courtesy. Changing ingredients and/or quantities will alter the estimated nutritional calculations.

Like this recipe? Rate and comment below!

About Beth

I believe that everyone should have a go-to dessert to bring to parties! With hundreds of recipes, I'll help you find yours!

You May Also Like:

5 from 1 vote (1 rating without comment)

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating




7 Comments

  1. 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?

    1. 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!

    2. 1. Butter
      2. Graham crackers
      3. chocolate chips
      4. Butterscotch/ peanut butter chips
      5. Nuts
      6. Coconut
      7. sweetened condensed milk

  2. 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

  3. 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 

  4. I didn’t see the 8 different ways. I’m GF and was hoping to find a crust other than Graham crackers?

  5. 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.