7-layer magic bars are the perfect make-ahead, bake sale dessert.

They are a pure Midwestern treat for me, often brought to potlucks to round out a shared meal.

Theres no mixing, no creaming butter with sugar, no adding the eggs one at a time.

Overhead shot of 7 layer bars on a serving platter

Simply Recipes / Irvin Lin

(Usually there are seven different ingredients, which explains at least one of the alternate names!)

Bake in the oven until toasty brown and the bars are done.

This sticky, gooey, honey-thick condensed milk is what binds all the ingredients together.

7-Layer Magic Bars on a blue striped plate

Simply Recipes / Irvin Lin

It also caramelizes in the oven, giving a sweet depth to each bite similar to dulce de leche.

What Are the 7 Layers?

Beyond that, you have lots of options!

Overhead shot of sliced 7-layer magic bars on a wood surface

Simply Recipes / Irvin Lin

For one of our favorites try this recipe forPeanut Butter Pretzel Magic Bars.

Here are some other ideas.

While delicious, this can make them difficult to slice.

The graham cracker layer for Magic Cookie Bars in a baking dish

Simply Recipes / Irvin Lin

Place the graham cracker crumbs and the melted butter in a bowl.

Toss with a fork until the crumbs are moist and hold together when squeezed with your hand.

Spread to edges of the pan with a spatula.

Graham cracker layer for magic bars pressed into the baking dish

Simply Recipes / Irvin Lin

Gently press the ingredients down with your palm so they stick to the condensed milk.

Remove from the oven and sprinkle with the sea salt (if using).

(Stick them in the fridge for a few hours or overnight if needed to help firm up.)

Sweetened condensed milk poured over the graham cracker layer for making 7 layer bars

Simply Recipes / Irvin Lin

Cut into 24 pieces and store in an airtight container with wax paper or parchment paper between layers.

The flavor of the bars is even better the day after baking.

Bars stored at room temperature will be fairly soft and are best eaten within 3 to 5 days.

A last layer of shredded coconut sprinkled over the top of the magic cookie bars

Simply Recipes / Irvin Lin

For firm and chewy bars, store in the fridge for up to a week.

Did you love this recipe?

Let us know with a rating and review!

Baked 7-Layer Magic Bars in a baking pan

Simply Recipes / Irvin Lin