These magic cookie bars are a delightful treat that combines layers of graham cracker crumbs, chocolate chips, shredded coconut, and nuts all held together by sweetened condensed milk. Perfect for any occasion, they are easy to make and sure to impress.
While most of the ingredients for this recipe are common pantry items, you might need to pick up sweetened condensed milk and sweetened shredded coconut if they are not staples in your kitchen. These items can usually be found in the baking aisle of your local supermarket.

Ingredients For Magic Cookie Bars Recipe
Graham cracker crumbs: These form the base of the bars, providing a crunchy texture and a slightly sweet flavor.
Butter: Melted butter helps bind the graham cracker crumbs together to form a solid crust.
Semi-sweet chocolate chips: These add a rich, chocolatey layer to the bars.
Sweetened shredded coconut: This adds a chewy texture and a hint of tropical sweetness.
Chopped nuts: Walnuts or pecans add a crunchy texture and nutty flavor.
Sweetened condensed milk: This acts as the glue that holds all the layers together, adding sweetness and moisture.
Technique Tip for Making These Bars
To ensure an even distribution of the sweetened condensed milk, use a spoon to gently spread it over the top of the chocolate chips, shredded coconut, and chopped nuts. This will help prevent any areas from becoming too dry or too soggy, resulting in perfectly balanced magic cookie bars.
Suggested Side Dishes
Alternative Ingredients
graham cracker crumbs - Substitute with crushed digestive biscuits: Digestive biscuits have a similar texture and sweetness, making them a great alternative.
graham cracker crumbs - Substitute with crushed vanilla wafers: Vanilla wafers provide a slightly different flavor but maintain the necessary crumbly texture.
butter - Substitute with margarine: Margarine can be used in place of butter for a similar consistency and moisture content.
butter - Substitute with coconut oil: Coconut oil adds a subtle coconut flavor and works well as a binding agent.
semi-sweet chocolate chips - Substitute with dark chocolate chips: Dark chocolate chips offer a richer, more intense chocolate flavor.
semi-sweet chocolate chips - Substitute with milk chocolate chips: Milk chocolate chips provide a sweeter, creamier taste.
sweetened shredded coconut - Substitute with unsweetened shredded coconut: Unsweetened shredded coconut can be used to reduce the overall sweetness of the bars.
sweetened shredded coconut - Substitute with toasted coconut flakes: Toasted coconut flakes add a nutty flavor and a bit of crunch.
chopped nuts - Substitute with chopped almonds: Almonds offer a different nutty flavor and a satisfying crunch.
chopped nuts - Substitute with chopped hazelnuts: Hazelnuts provide a unique, rich flavor that complements the other ingredients.
sweetened condensed milk - Substitute with evaporated milk and sugar: Combine evaporated milk with sugar to mimic the sweetness and consistency of sweetened condensed milk.
sweetened condensed milk - Substitute with coconut cream and sugar: Coconut cream mixed with sugar can replicate the creamy texture and sweetness.
Other Alternative Recipes Similar to This One
How to Store / Freeze These Bars
- To keep your magic cookie bars fresh and delicious, store them in an airtight container at room temperature. They will stay good for up to a week.
- If you prefer to refrigerate them, place the bars in a single layer in an airtight container. This will extend their freshness for up to two weeks.
- For longer storage, freezing is an excellent option. First, cut the magic cookie bars into individual servings.
- Wrap each bar tightly in plastic wrap to prevent freezer burn and maintain their delightful texture.
- Place the wrapped bars in a resealable freezer bag or an airtight container. Label the container with the date to keep track of their freshness.
- When you're ready to enjoy a frozen magic cookie bar, simply remove it from the freezer and let it thaw at room temperature for about 30 minutes. Alternatively, you can warm it in the microwave for a few seconds for a gooey treat.
- For an extra touch of indulgence, serve your thawed or warmed bars with a scoop of vanilla ice cream or a drizzle of caramel sauce.
How to Reheat Leftovers
Oven Method:
- Preheat your oven to 300°F (150°C).
- Place the magic cookie bars on a baking sheet lined with parchment paper.
- Cover the bars loosely with aluminum foil to prevent them from drying out.
- Heat for about 10-15 minutes or until they are warmed through.
- Allow them to cool slightly before enjoying.
Microwave Method:
- Place a magic cookie bar on a microwave-safe plate.
- Cover it with a microwave-safe cover or another plate to retain moisture.
- Heat on medium power for 20-30 seconds.
- Check the temperature and heat in additional 10-second intervals if needed.
- Let it sit for a minute before eating to avoid burning your mouth.
Toaster Oven Method:
- Preheat your toaster oven to 300°F (150°C).
- Place the magic cookie bars on a small baking tray.
- Cover them with aluminum foil to keep them moist.
- Heat for 10-12 minutes or until they are warmed through.
- Allow them to cool slightly before serving.
Air Fryer Method:
- Preheat your air fryer to 300°F (150°C).
- Place the magic cookie bars in the air fryer basket, making sure they are not overlapping.
- Heat for 5-7 minutes, checking halfway through to ensure they are not overcooking.
- Let them cool for a minute before enjoying.
Best Tools for This Recipe
Oven: Used to bake the cookie bars at the specified temperature of 350°F (175°C).
Baking pan: A 9x13 inch pan to hold and shape the cookie bars while baking.
Mixing bowl: Used to combine the graham cracker crumbs and melted butter.
Spatula: Helps to press the graham cracker and butter mixture evenly into the bottom of the baking pan.
Measuring cups: Essential for accurately measuring the graham cracker crumbs, butter, chocolate chips, shredded coconut, and chopped nuts.
Can opener: Needed to open the can of sweetened condensed milk.
Knife: Used to chop the nuts if they are not pre-chopped.
Cooling rack: Allows the baked cookie bars to cool evenly before cutting.
Cutting board: Provides a surface for chopping the nuts.
Grease spray or brush: Used to grease the baking pan to prevent sticking.
How to Save Time on Making These Bars
Prepare ingredients ahead: Measure and set out all ingredients before starting. This makes the process smoother and quicker.
Use pre-made crumbs: Buy pre-made graham cracker crumbs to skip the step of crushing them yourself.
Melt butter in microwave: Melt the butter in the microwave to save time compared to stovetop melting.
Layer efficiently: Have all toppings like chocolate chips, shredded coconut, and chopped nuts ready to sprinkle quickly.
Line the pan: Use parchment paper to line the baking pan for easy removal and cleanup.

Magic Cookie Bars Recipe
Ingredients
Base
- 1.5 cups graham cracker crumbs
- 0.5 cups butter, melted
Toppings
- 1 cup semi-sweet chocolate chips
- 1 cup sweetened shredded coconut
- 1 cup chopped nuts (walnuts or pecans)
- 1 can sweetened condensed milk 14 oz
Instructions
- Preheat oven to 350°F (175°C). Grease a 9x13 inch baking pan.
- In a mixing bowl, combine graham cracker crumbs and melted butter. Press mixture evenly into the bottom of the prepared pan.
- Sprinkle chocolate chips, shredded coconut, and chopped nuts evenly over the crust.
- Pour sweetened condensed milk evenly over the top.
- Bake in preheated oven for 25 minutes or until lightly browned. Allow to cool before cutting into bars.
Nutritional Value
Keywords
Suggested Appetizers and Main Courses for This Recipe
More Amazing Recipes to Try 🙂
- Panna Cotta Recipe4 Minutes
- Tofu Burgers Recipe25 Minutes
- Cream Cheese Frosting Recipe10 Minutes
- Chocolate Waffles Recipe25 Minutes
- Spaghetti Aglio e Olio Recipe20 Minutes
- Mahi Mahi Fish Tacos Recipe25 Minutes
- Rhubarb Crunch Recipe1 Hours
- Green Grape Salad Recipe15 Minutes
Leave a Reply