Magic bar pie turns the familiar layers of a seven-layer magic bar into an easy slice-and-serve dessert, with a buttery graham cracker crust, sweetened condensed milk, coconut, chocolate, and nuts. The milk binds the toppings as the pie bakes, so there is no separate filling to prepare—just layer, bake, and let it cool completely for neat slices.
Ingredients
- 1 ½ cups (about 170 g) graham cracker crumbs
- 6 tablespoons (85 g) unsalted butter, melted
- 2 tablespoons granulated sugar
- 1 can (14 ounces/397 g) sweetened condensed milk
- 1 cup (85 g) sweetened or unsweetened shredded coconut
- 1 cup (170 g) semisweet chocolate chips
- ¾ cup (85 g) chopped pecans or walnuts
- ½ cup (about 85 g) butterscotch chips
- ¼ teaspoon fine salt, if using unsalted nuts
Instructions
- Prepare the pan and oven. Heat the oven to 350°F (175°C). Set a 9-inch pie plate on a baking sheet to catch any butter that might escape. Lightly butter the plate or coat it with nonstick spray.
- Make the crust. Stir the graham cracker crumbs, melted butter, and granulated sugar in a bowl until the crumbs are evenly damp and hold together when pressed. Tip them into the pie plate and press firmly over the bottom and up the sides. Use the bottom of a measuring cup to compact the crust evenly. Bake for 8 minutes, then set the plate aside. The crust should look set, not deeply browned.
- Add the condensed milk. Pour the sweetened condensed milk over the warm crust and spread it carefully into an even layer, taking it close to the edges without letting it spill over. This layer acts as the binder for the toppings.
- Layer the toppings. Sprinkle the coconut evenly over the milk, followed by the chocolate chips, nuts, and butterscotch chips. Add the salt over the top if your nuts are unsalted. Distribute the toppings rather than piling them in the center so the pie bakes evenly and each slice holds together.
- Bake. Bake for 25–30 minutes, checking at 25 minutes. The edges should be bubbling and golden brown, and the center should look set rather than wet or liquid. If the coconut or crust edge is browning too quickly, loosely cover that area with foil for the final few minutes. Avoid extending the bake just to melt every visible chip; the filling firms as it cools.
- Cool completely. Place the pie plate on a cooling rack and leave it at room temperature for at least 2 hours before cutting. For cleaner slices, refrigerate it for another 30–60 minutes after it has cooled. Run a thin knife around the edge and wipe the knife between cuts. Do not cut into the pie while it is hot: the condensed milk needs time to set.
Tips
- Press the crust firmly. A loose or uneven crumb base is more likely to crumble when sliced. Compact it into the corners and up the sides, but do not make the crust excessively thick at the rim.
- Measure toppings rather than adding extra. Overloading the pie can leave the center greasy or make slices fall apart. Keep the total toppings close to the listed amounts, especially if swapping one kind of chip for another.
- Watch the edges near the end. Ovens and pie plates vary. Take the pie out when the edges are bubbling and the middle is set; it will continue to firm as it cools. If using a glass plate, avoid sudden temperature changes that could crack it.
- For easier serving, cool patiently. A fully cooled pie cuts much more cleanly than a warm one. Use a sharp, thin knife and wipe it after each slice to keep the layers distinct.
Serving Suggestions
Serve slices at room temperature for a soft, chewy texture, or chilled for a firmer, denser bite. A modest slice is satisfying because the filling is sweet and rich. Add a spoonful of lightly sweetened whipped cream or a scoop of vanilla ice cream if you like; fresh berries can bring a tart contrast. For a dessert platter, cut the cooled pie into small wedges or narrow bars and offer it alongside coffee or unsweetened tea.
Variations
For a classic seven-layer-bar feel, swap the pecans for chopped walnuts and add ½ cup of crushed graham crackers over the toppings. Use milk chocolate chips for a sweeter pie or dark chocolate chips for a less-sweet finish. To make it nut-free, omit the nuts and replace them with an equal amount of extra chocolate chips, toasted pumpkin seeds, or crushed pretzels; check all package labels for allergen warnings. You can also replace the butterscotch chips with peanut butter chips or white chocolate chips. Keep the overall topping quantity similar so the pie sets properly.
Storage and Reheating
Once fully cooled, cover the pie or transfer slices to an airtight container and refrigerate for up to 5 days. For the best texture, let a chilled slice stand at room temperature for about 10–15 minutes before serving. To freeze, wrap individual slices tightly and place them in a freezer-safe container for up to 2 months; thaw overnight in the refrigerator. This pie is usually best served cool or at room temperature, so reheating is optional. If you prefer a warm slice, heat one portion on a microwave-safe plate for about 10 seconds, then add short 5-second bursts as needed. Do not warm the whole pie for storage or leave it at room temperature for more than 2 hours; refrigerate leftovers promptly.
Related
Frequently Asked Questions
Do I need to prebake the crust?
Yes. A brief 8-minute bake helps the crumb crust set and reduces the chance of a soft, crumbly base under the moist filling. Let it rest while you prepare the toppings; it does not need to cool completely.
Can I use a store-bought graham cracker crust?
You can use a ready-made 9-inch crust, but it may be shallower and more delicate than a crust made in a pie plate. Check its package directions and do not overfill it; you may have some topping left over. Bake the filled pie at 350°F and begin checking for doneness around 20 minutes, since thin prepared crusts can brown sooner.
How can I tell when the pie is done?
Look for bubbling around the edges and a center that is set rather than visibly liquid. The surface will still be sticky, and some chocolate chips may keep their shape. The pie firms considerably as it cools, so do not wait for the center to become hard in the oven.
Why did my pie fall apart when I sliced it?
The most common reason is cutting it before it has cooled completely. Too many toppings, a loosely pressed crust, or inaccurate measurements can also make slices unstable. Chill the cooled pie briefly and use a sharp knife for cleaner wedges.
Can I make magic bar pie ahead?
Yes. Bake it a day ahead, cool it completely, cover it, and refrigerate it. Let it stand at room temperature for 10–15 minutes before serving if you want the chocolate and filling a little softer. It also freezes well in wrapped slices for up to 2 months.
Can I use unsweetened coconut?
Yes. Unsweetened shredded coconut works well and makes the pie a little less sweet, while sweetened coconut gives a more traditional candy-bar flavor. Use the same 1 cup quantity for either, and avoid very large coconut flakes, which may toast unevenly.