There’s something so nostalgic about desserts that remind us of family gatherings, holiday tables, and cozy weekends in the kitchen. Magic Cookie Bars—also known as “Hello Dolly Bars” or “7-Layer Bars”—are one of those timeless treats that never go out of style. With a buttery graham cracker crust, gooey sweetened condensed milk, and layers of chocolate, coconut, and nuts, they strike the perfect balance of chewy, crunchy, and sweet.
Whether you’re an experienced baker or a beginner, these bars are almost foolproof. No fancy equipment, no complicated steps—just layers of goodness baked into one irresistible pan. If you’ve been searching for a dessert that wows with minimal effort, this Magic Cookie Bars recipe is one you’ll want to bookmark.

What Are Magic Cookie Bars?
Magic Cookie Bars first became popular in the 1960s when Eagle Brand® sweetened condensed milk started featuring the recipe on their cans. The bars quickly earned a reputation as a “busy baker’s dream” because of their simplicity. Unlike many desserts, there’s no need to cream butter and sugar, no whisking eggs, and no rolling dough.
The “magic” happens when the sweetened condensed milk seeps down into the graham cracker crust and caramelizes in the oven, binding all the toppings together. The result? A chewy, fudgy texture that contrasts perfectly with the crunchy nuts and toasty coconut. Over the years, bakers have put their own spins on the classic—swapping out chocolate chips for peanut butter chips, adding caramel drizzle, or even using pretzels for a salty twist.
Ingredients You’ll Need
One of the best things about Magic Cookie Bars is that they rely on simple pantry staples you probably already have at home. Here’s what you’ll need:
- Graham cracker crumbs – the foundation of the crust; you can crush whole crackers or buy pre-crumbed.
- Butter – melted and mixed with the crumbs to hold the crust together.
- Sweetened condensed milk – the star ingredient that works its magic as a binder and sweetener.
- Chocolate chips – semi-sweet is classic, but milk or dark chocolate work too.
- Butterscotch chips – optional, but they add a wonderful caramel flavor.
- Shredded coconut – adds chewiness and a tropical touch.
- Chopped nuts – walnuts or pecans are traditional, but almonds or cashews are also great.
Pro tip: These bars are endlessly adaptable. If you’re missing an ingredient, don’t panic—just swap it out with something else sweet or crunchy!

Step-by-Step Instructions
Making Magic Cookie Bars couldn’t be easier. Follow these steps for perfect results every time:
- Preheat the oven: Set it to 350°F (175°C). Grease a 9×13-inch baking pan or line it with parchment paper for easy removal.
- Make the crust: Combine 1 ½ cups of graham cracker crumbs with ½ cup of melted butter. Press this mixture firmly into the bottom of the prepared pan.
- Pour the condensed milk: Spread one 14-ounce can of sweetened condensed milk evenly over the crust.
- Add the layers: Sprinkle 1 cup of chocolate chips, 1 cup of butterscotch chips, 1 ⅓ cups of shredded coconut, and 1 cup of chopped nuts over the milk. Press down gently with a spatula to help everything stick together.
- Bake: Place the pan in the oven and bake for 25–30 minutes, until the edges are golden brown and the top is lightly toasted.
- Cool completely: Let the bars cool in the pan before slicing. For the neatest squares, chill them in the refrigerator for about an hour before cutting.
Tips for Perfect Magic Cookie Bars
While these bars are nearly foolproof, a few extra tricks can make them even better:
- Use parchment paper: Lining your pan makes cleanup easier and helps lift the bars out in one piece.
- Press down firmly: Use the back of a spatula to gently press the toppings into the condensed milk before baking—this keeps the layers from crumbling apart.
- Try flavor variations: Swap in white chocolate, peanut butter chips, or even crushed pretzels for a salty-sweet kick.
- Cut with a warm knife: Run your knife under hot water, dry it, and slice for clean, even bars.
- Storage tips: Store at room temperature in an airtight container for up to 5 days, or freeze them in layers separated by parchment paper for up to 2 months.

Nutrition Information (per serving, approx. 1 bar out of 24)
While Magic Cookie Bars are undeniably indulgent, it’s always helpful to know what’s in a serving. Here’s an approximate breakdown:
- Calories: 230
- Total Fat: 13g
- Saturated Fat: 7g
- Cholesterol: 15mg
- Sodium: 85mg
- Carbohydrates: 27g
- Fiber: 2g
- Sugars: 20g
- Protein: 3g
Note: Nutrition values may vary based on the exact brands of ingredients you use and portion sizes.
Frequently Asked Questions (FAQ)
1. Can I make Magic Cookie Bars without nuts?
Yes! If you have allergies or just don’t like nuts, you can simply leave them out or replace them with more chocolate chips, coconut, or even crushed pretzels for crunch.
2. Do Magic Cookie Bars need to be refrigerated?
No, they can be stored at room temperature in an airtight container for up to 5 days. However, if your kitchen is very warm, refrigerating them can help keep the chocolate firm.
3. Can I freeze Magic Cookie Bars?
Absolutely! Cut them into squares, layer them with parchment paper, and store them in a freezer-safe bag or container. They’ll last up to 2 months—just thaw at room temperature before serving.
4. What if I don’t have graham crackers?
You can use digestive biscuits, vanilla wafer crumbs, or even crushed Oreos as a crust substitute. Each will add its own unique flavor.
5. How do I keep my bars from falling apart?
Make sure you press down the layers firmly before baking and allow the bars to cool completely before cutting. Chilling them in the fridge makes slicing much easier.
6. Can I make them gluten-free?
Yes! Simply use gluten-free graham crackers (or gluten-free cookies) for the crust, and check that your toppings are certified gluten-free.

Table of Contents
Old-Fashioned Potato Soup: A Classic Comfort Food Recipe for Any Season – labelrecipes.com