
Classic 7-layer bars loaded with graham cracker crust, chocolate and butterscotch chips, pecans, coconut, and sweetened condensed milk—sweet, gooey, and utterly irresistible.

This version of 7-layer bars has been a staple in my kitchen for years and is the kind of dessert that instantly signals a celebration. I first baked these after finding Jamielyn Nye’s simple list of pantry-friendly ingredients, and the combination of textures and sweet, nutty flavors quickly became a family favorite. Each bite balances a crisp graham cracker foundation with molten chips, toasted pecans, and chewy coconut finished with a glossy blanket of sweetened condensed milk. They are indulgent without being fussy, and they travel well to potlucks, school events, and lazy Sunday coffee breaks.
The magic of these bars is in their ease and predictability. You press a buttery crumb base into a 9x13 pan, layer chips and nuts, drizzle condensed milk, and bake for around 20 to 25 minutes. The top browns just enough to give a thin toffee note while the interior remains gooey. I love how they slice into diamonds for a retro presentation that feels extra special. This recipe requires minimal equipment and pantry staples, which is why I reach for it whenever I need a quick crowd-pleasing sweet.
I remember bringing a pan to a neighborhood block party and watching people come back for seconds. The combination of nostalgia and simplicity is what keeps this recipe in my rotation. My kids love picking out the chocolate chips before they melt, and guests almost always ask for the recipe within minutes of the first bite.

My favorite part about making these bars is the aroma as they bake—the sweet condensed milk and butterscotch combine to give a toffee-like fragrance that fills the kitchen and draws everyone into the house. Guests often ask what’s in the oven before I can even set the timer. I also love how forgiving the recipe is; small swaps rarely disappoint, which makes it my go-to when I’m cleaning out the pantry.
Store at room temperature in an airtight container for 3 to 4 days. If you prefer firmer bars, refrigerate for up to 7 days; bring to room temperature for 30 to 60 minutes before serving to soften the chocolate slightly. For longer storage, cut into individual bars and layer with parchment in a freezer-safe container. Freeze up to 2 months. Thaw overnight in the refrigerator or for a few hours at room temperature. Avoid storing in direct sunlight or warm locations to keep the chips from melting together into an oily surface.

If you need to swap ingredients, there are easy options that keep the spirit of the bars intact. Omit coconut for a nut-forward bar or replace with 1 cup crushed pretzels for a sweet and salty contrast. Use pecans, walnuts, or almonds interchangeably at a 1:1 ratio. For a lower-sugar twist, reduce butterscotch chips to 1/2 cup and increase chocolate chips, or choose dark chocolate chips for a less sweet bite. If you need gluten-free, use gluten-free graham-style crumbs or crushed gluten-free cookies and verify that chips are certified gluten-free.
Serve warm for gooey indulgence or at room temperature for clean slices. Present on a platter cut into small diamonds for parties. Pair with strong coffee or a milky tea to balance the sweetness. For a dessert plate, add a spoonful of whipped cream or a small scoop of vanilla ice cream that melts into the warm edges, creating a delightful contrast of temperatures and textures. Garnish with a few toasted pecan halves for visual appeal.
Often called magic cookie bars, these layered bars originated as a mid-20th-century pantry dessert where sweetened condensed milk became a popular shortcut to make sweet, custardy textures without lengthy caramelizing. They are part of a broader tradition of one-pan sweet bars surfaced with chips and coconut that became staples at bake sales, community gatherings, and holiday dessert tables in the United States. The simplicity and durability of the bars helped them spread as an easy treat passed down through home cooks.
Adjust toppings seasonally—add chopped dried cranberries and orange zest in winter for a holiday twist, or swap in toasted macadamia nuts and a sprinkle of lime zest for a summer tropical take. For fall, increase the pecans to 1 cup and add a teaspoon of ground cinnamon to the crust for a warming spice note. Small changes in chips and nuts adapt the profile without altering the straightforward technique.
Make a double batch and freeze half for later. To streamline assembly, measure chips and nuts into small bowls before pressing the crust so you can layer quickly. Bake one pan while preparing another if you expect guests. Label frozen batches with the date and intended use so you can easily reheat a few pieces in a low oven or microwave for a quick dessert fix.
These bars are a celebration of simplicity—pantry ingredients, a 30-minute total time commitment, and a result that always draws compliments. Take a tray to a gathering and watch them disappear; then enjoy the satisfied looks when you share how simple they were to make.
Press the crust firmly into the pan using the bottom of a measuring cup to ensure a compact base that won’t crumble when cut.
Pour the sweetened condensed milk in a thin stream and move slowly so it spreads evenly without displacing chips.
Cool completely before cutting to avoid gooey edges that smear. Use a plastic knife for cleaner cuts.
Toast pecans lightly in a dry skillet for 3 to 4 minutes to boost their flavor before mixing into the layers.
This nourishing 7-layer bars (magic cookie bars) recipe is sure to be a staple in your kitchen. Enjoy every moist, high protein slice — it is perfect for breakfast or as a wholesome snack any time.
This 7-Layer Bars (Magic Cookie Bars) recipe makes perfectly juicy, tender, and flavorful steak every time! Serve with potatoes and a side salad for an unforgettable dinner in under 30 minutes.

Preheat oven to 350°F. Line a 9x13-inch baking dish with parchment paper or foil and lightly grease with nonstick spray. This helps the bars lift out cleanly once cooled.
Combine 1 1/2 cups graham cracker crumbs with 8 tablespoons melted butter in a medium bowl. Mix until crumbs are evenly moistened, then press firmly into the bottom of the prepared pan using the back of a measuring cup.
Evenly sprinkle 1 cup chocolate chips, 1 cup butterscotch chips, and 1/2 cup chopped pecans over the pressed crust. Pour the 14-ounce can of sweetened condensed milk evenly across the top, then sprinkle 1 cup shredded coconut.
Bake for 20 to 25 minutes, until the top is lightly golden and edges bubble slightly. Avoid overbaking to keep the center gooey. Cool completely on a rack before cutting, about 1 to 2 hours at room temperature.
For diamonds, cut horizontal and diagonal lines about 1 1/2 inches apart. Use the parchment overhang to lift bars from the pan. A plastic knife gives cleaner cuts with less sticking.
Last Step: Please leave a rating and comment letting us know how you liked this recipe! This helps our business to thrive and continue providing free, high-quality recipes for you.
Leave a comment & rating below or tag
@feastinarecipe on social media!


Cozy, bright, and ready fast, this Instant Pot lemon chicken orzo soup brings tender chicken, fresh veggies, and a sunny citrus finish.

Feather-light mini cheesecakes with bright strawberry sauce, a tender biscuit-style base, and creamy filling. Just 47 calories each and irresistibly fresh.

Silky mini cheesecakes swirled with melted chocolate and a splash of Kahlua, nestled on Oreo crusts and crowned with fresh whipped cream.

Leave a comment & rating below or tag @feastinarecipe on social media!
Enjoyed this recipe? Share it with friends and family, and don't forget to leave a review!
This recipe looks amazing! Can't wait to try it.
Comments are stored locally in your browser. Server comments are displayed alongside your local comments.

Join to receive our email series which contains a round-up of some of our quick and easy family favorite recipes.