If you’ve never tried seven layer bars, you’re in for a real treat. These gooey, chewy dessert bars combine chocolate, butterscotch, shredded coconut and crunchy nuts on a buttery graham cracker crust. Each bite is a little bit of dessert magic.

This magic cookie bar recipe is one of the simplest treats you can make. You don’t need a mixer or many bowls — just layer the ingredients in a baking pan and bake for about half an hour. It’s straightforward and reliably delicious.
This seven layer bars recipe has been a family favorite for decades. Some call them magic cookie bars or Hello Dolly bars, but whatever the name, they never go out of style. Once you try them, you’ll understand why they’re called magic.
Why You’ll Love These Seven Layer Bars
- Quick and easy: Layer the ingredients—no special equipment required.
- Perfectly gooey: Sweet, chewy and full of chocolate in every bite.
- Crowd-pleaser: Ideal for holidays, bake sales, or casual get-togethers.
- Customizable: Swap chips, nuts or omit coconut to suit your tastes.
- Make-ahead friendly: They store and freeze well for later.

Ingredients
- Butter – Margarine works in a pinch.
- Graham cracker crumbs – Use pre-crushed crumbs or crush graham crackers in a food processor until fine.
- Shredded coconut – Medium shred is best; sweetened or unsweetened, depending on your preference.
- Semi-sweet chocolate chips – Or swap with other chocolate varieties as desired.
- Butterscotch chips – Toffee bits are a tasty alternative.
- Chopped walnuts or pecans – Use your preferred nut or omit for nut-free bars.
- Sweetened condensed milk – Full-fat condensed milk yields the best results.

Gluten-Free Option
To make gluten-free seven layer magic bars, substitute gluten-free graham cracker crumbs or crush certified gluten-free graham crackers. Use gluten-free chocolate and butterscotch chips (check labels—brands sometimes change). Otherwise follow the same layering and baking steps as the regular recipe.
If you or someone you’re baking for is highly sensitive to gluten, always verify ingredient labels before using them.

How To Make The Best Seven Layer Bars
Making these magic cookie bars is simple and fast. Follow these steps for reliable results.
Step 1
Preheat the oven to 350°F (175°C).
Tip: Line a 9x13x2″ baking pan with parchment paper to make removal and cleanup easier.
Step 2
Melt the butter and pour it into the prepared pan so it just covers the bottom. You can melt butter in the microwave or on the stove—both work well.
Step 3
Sprinkle graham cracker crumbs evenly over the melted butter. It does not have to be perfectly even—this forms the crust.
Step 4
Sprinkle chocolate chips and butterscotch chips evenly over the graham cracker layer. If you prefer, swap butterscotch for milk chocolate or another chip variety.

Add the shredded coconut, followed by the chopped walnuts or pecans.


Finally, pour the sweetened condensed milk evenly over the top so it covers the layers.

Step 5
Bake for 25–30 minutes, or until the edges are starting to turn golden brown.

Step 6
Allow the bars to cool completely so they set, then cut into squares or bars.

There you have it—simple, irresistible magic cookie bars perfect for parties, holidays or an everyday sweet treat.
Storage
Store cooled bars in an airtight container at room temperature or in the fridge. They also freeze well: place cut squares in a freezer-safe bag and freeze for up to three months.
To thaw, remove from the freezer and let come to room temperature before serving.
Variations
Try these swaps to keep the recipe fresh:
- Coconut-free: Simply omit the shredded coconut.
- Change the chocolate: Use milk, white or dark chocolate chips, or mix varieties.
- Peanut butter twist: Replace butterscotch chips with peanut butter chips for a chocolate–peanut butter combo.
- Mint version: Use chopped mint candies or mint chips in place of butterscotch.
- Add marshmallows: Scatter mini marshmallows on top for extra gooeyness.
- Toffee lovers: Stir in toffee bits for more crunch and caramel flavor.
- Extra nuts: Add more walnuts, pecans or peanuts to suit nut preferences.
Seven Layer Bars FAQs
Below are answers to common questions about making these bars.
Do I need to press the crumb mixture into the bottom of the pan?
No. For this version, simply sprinkle the graham cracker crumbs over the melted butter rather than pressing them down. The condensed milk and baking will bind the layers together.
Can I replace the coconut?
Yes. Rolled oats make a great substitute and can add chewiness. If you need the bars to be gluten-free, use certified gluten-free oats.
Whichever way you make them, these bars are sure to disappear quickly. Enjoy!
More Cookie Recipes To Try:
- Gluten-Free Sugar Cookies
- Classic Peanut Butter Blossoms
- Gluten-Free Snickerdoodles
- Russian Tea Cookies / Snowballs
- Candy Caramel Bars
- Ooey Gooey Chunky Bars

Magic Cookie Bars | Seven Layer Bars
These Magic Cookie Bars feature a buttery graham cracker base topped with chocolate, butterscotch, coconut and nuts, all bound by sweetened condensed milk into a gooey, melt-in-your-mouth bar.
- Author: Erika at Living Well Mom
- Prep Time: 5 mins
- Cook Time: 30 mins
- Total Time: 35 mins
- Yield: 1 9×13 pan
- Category: Dessert
- Method: Baking
- Cuisine: American
Ingredients
- 1/2 cup (1 stick) butter or margarine
- 1 1/4 cups graham cracker crumbs (about 8–9 crackers; use gluten-free if needed)
- 1 cup chocolate chips
- 1 cup butterscotch chips
- 1 cup shredded coconut
- 1 cup chopped walnuts
- 1 (14 oz) can sweetened condensed milk
Instructions
- Preheat oven to 350°F (175°C).
- Melt the butter and pour evenly into a 9x13x2″ pan so it just covers the bottom. Spread the graham cracker crumbs over the butter. Sprinkle the butterscotch and chocolate chips on next, followed by the coconut and nuts.
- Pour the sweetened condensed milk evenly over the top, covering the layers.
- Bake 25–30 minutes or until the edges start to turn golden brown.
- Cool completely, then cut into bars.
Copyright © Living Well Mom. All content and images are copyright protected. Please do not use images without prior permission. If you want to republish this recipe, please rewrite it in your own words or link back to the original post.