Sweetened Condensed Milk Magic Bars are those classic layered bar cookies with a buttery graham crust and a sticky-sweet top that sets up into clean slices. They’re rich, simple, and honestly hard to stop picking at once you start.
I like this version because you get a little bit of everything: chocolate, butterscotch, toasty coconut, and crunchy nuts in every bite. The condensed milk ties the whole pan together and gives that chewy, caramel-ish texture that makes these feel like the real deal.
For me, these are especially good on a holiday cookie tray, but I make them year-round when I need a 9×13 dessert that’s easy to portion. They’re also great for potlucks because they travel well and don’t need frosting or fuss.

Why You’ll Love This Recipe
Fast and Easy: It’s a simple crust plus a few layers, and the oven does the rest. I like recipes that don’t ask for mixers or multiple bowls.
Soft and Chewy: The sweetened condensed milk bakes into the layers and gives you that classic magic bar texture. The edges get a little firmer, which is nice for clean slicing.
Great for Cookie Trays: These bars hold their shape and look good cut into small squares. They’re one of my go-to options when I need a lot of treats without a lot of work.
Flexible with Mix-Ins: You can swap the crust crumbs or change up the chips depending on what you have. It still tastes like a proper seven-layer-style bar.
No Frosting Needed: The top bakes up glossy and sweet on its own. They feel finished as-is, which I appreciate.
Ingredients You’ll Need
Crust
- Graham cracker crumbs: I use plain graham crumbs here for that classic flavor. Vanilla wafer crumbs work too if that’s what you have.
- Unsalted butter: Melted butter is what makes the crust press in firmly and hold together. If you only have salted butter, just go easy on the added salt.
- Granulated sugar: Optional, but I like the little extra sweetness in the crust. If your toppings are on the sweeter side, you can skip it.
- Kosher salt: Just a pinch helps keep the bars from tasting flat. Don’t skip it if you’re using unsalted butter.
Layers
- Semisweet chocolate chips: Semisweet is my go-to here because it keeps the bars from getting too sweet. Milk chocolate is fine if that’s what you have.
- Butterscotch chips: This is the classic “magic bar” flavor to me. White chocolate chips can stand in if you don’t like butterscotch.
- Sweetened shredded coconut: Sweetened coconut gives you the chewy, toasty layer on top. Unsweetened works, but the bars won’t have quite the same texture.
- Pecans or walnuts: Either one is great. I usually chop them fairly small so the bars slice neatly and don’t crumble.
- Sweetened condensed milk: This is the binder that makes the whole pan set. Make sure it’s sweetened condensed milk, not evaporated milk.

Recipe Instructions
- Preheat the oven: Heat the oven to 350 F. Line a 9×13 inch pan with parchment paper or lightly grease it.
- Make the crust: Mix the graham cracker crumbs with the melted butter, sugar (if using), and a pinch of kosher salt. Press firmly into the bottom of the pan in an even layer.
- Add the chocolate: Sprinkle the semisweet chocolate chips evenly over the crust.
- Add the butterscotch: Sprinkle the butterscotch chips evenly over the chocolate layer.
- Add the coconut: Sprinkle the shredded coconut over the chips, spreading it out so it covers the pan.
- Add the nuts: Sprinkle the chopped pecans or walnuts evenly over the coconut.
- Add the condensed milk: Drizzle the sweetened condensed milk evenly over everything. Gently spread it to cover the top without stirring the layers together.
- Bake: Bake for about 25 minutes, until lightly golden and set around the edges.
- Cool: Let the bars cool completely in the pan before slicing so they cut cleanly.

Some of my tips!
This is the part that really makes a difference. If you only read one section, make it this one because this is where I share the little trick that helps the recipe turn out so well.
Recipe Tips & Tricks
Press the crust firmly. Use the bottom of a measuring cup or a glass and really compact it. A tight crust keeps the bars from falling apart when you lift and slice.
Drizzle the condensed milk slowly. I pour it back and forth across the pan, then fill in any dry-looking spots. If you dump it in one place, it’s harder to spread without disturbing the layers.
Watch the edges for doneness. I pull the pan when the edges look set and lightly golden and the center doesn’t look wet anymore. They’ll keep firming up as they cool.
Chill before cutting. If you want neat squares, chill the whole pan for about 30 minutes once it’s cool. It makes a big difference with these sticky layers.
Toast the nuts if you have time. It brings out a deeper flavor and keeps the nut layer from tasting a little raw. Just don’t toast them too dark since the bars bake again.
Make some touches!
There are plenty of easy ways to serve this depending on the occasion. Keep it simple, or add a few small touches to make it feel a little more special.
Serving Suggestions
- Coffee or espresso: These are really good with coffee, especially if you cut them into smaller squares. I like them with a latte or plain black coffee.
- Milk: A cold glass of milk is classic with rich bar cookies like this. It’s simple, but it works.
- Ice cream: Serve a square with vanilla ice cream on the side if you want a plated dessert. I usually warm the bar for just a few seconds so it’s slightly soft.
- Fruit: Fresh berries are nice if you want something lighter on the plate. Strawberries or raspberries are my favorite with the chocolate and coconut.
Save it for later
This section covers how to store leftovers and what parts of the recipe you can prepare ahead of time.
Storage and Make Ahead
Store the bars covered at room temperature for 2 to 3 days. If your kitchen is warm, I usually move them to the fridge so the layers stay firm.
For longer storage, store leftovers covered in the fridge for up to 5 days. They’re chewier straight from the fridge, which I actually like.
You can also freeze individual portions so you can grab one or two at a time. Thaw at room temperature for a bit, or thaw in the fridge overnight if you want cleaner edges.
If you’re making these ahead for an event, bake them the day before and chill overnight. They slice very neatly the next day.

A few quick answers
This section covers a few extra details that may help before you head to the recipe card.
Recipe FAQs
Are these the same as seven layer bars?
Pretty much, yes. People call them seven layer bars, magic cookie bars, or condensed milk bars, and the layers can vary a little depending on the recipe.
Can I use a different crust besides graham crackers?
Yes. Vanilla wafer crumbs work well, and chocolate cookie crumbs are great if you want a darker, more chocolatey base. The rest of the recipe stays the same.
How do I know when magic bars are done baking?
Look for lightly golden edges and a top that looks set, not wet. The center will still be soft when hot, but it firms up a lot as it cools.
Can I leave out the nuts?
You can. Just skip them, or replace them with extra coconut if you want a thicker top layer. The bars will be a little softer without the crunch, but they still hold together once cool.
Why are my bars hard to cut cleanly?
They usually just need more cooling time. Let them cool completely, then chill the pan for about 30 minutes before slicing, and wipe your knife between cuts.
You might also like
Before you go, take a look at a few other recipes below the recipe card. They use similar ingredients in a different way and are worth saving too.

Sweetened Condensed Milk Magic Bars
INGREDIENTS
Crust
- 1 1/2 cups graham cracker crumbs
- 1/2 cup unsalted butter melted
- 1 tbsp granulated sugar optional
- pinch of kosher salt.
Layers
- 1 cup semisweet chocolate chips
- 1 cup butterscotch chips
- 1 1/3 cups sweetened shredded coconut
- 1 cup chopped pecans or walnuts
- 1 can sweetened condensed milk 14 oz.
INSTRUCTIONS
Prep and Crust
- Heat oven to 350 F and line a 9x13 inch pan with parchment or lightly grease
- mix graham cracker crumbs with melted butter and sugar and salt if using then press firmly into an even layer.
Layer and Bake
- Sprinkle chocolate chips then butterscotch chips then coconut then nuts evenly over the crust
- drizzle sweetened condensed milk evenly over all layers and gently spread to cover without mixing
- bake until lightly golden and set around the edges about 25 minutes then cool completely before slicing for clean bars.
