With just six ingredients and one pan, these Magic Cookie Bars are perfect for sharing. With a buttery crust, chewy layers, and chocolate in every bite,

These chocolate coconut bars were always one of my favorites to sneak from my mom’s holiday treat tray along with her Nanaimo bars and Snickerdoodle cookies.

Magic Cookie Bars in a stack.

Recipe Highlights: Magic Cookie Bars

  • Flavor: These bars have a sweet and chewy center, light yet crisp top, and a buttery crust with lots of coconut and chocolate flavor.
  • Difficulty: Bar cookies are super easy to make because of a simple layering technique, no mixer needed, and baked in just one pan.
  • Freezing: Perfect to wrap with plastic, freeze, and add to a lunchbox or briefcase for a sweet surprise that will thaw by lunchtime.
  • Serving: Easy to pack for potlucks or add to lunchboxes, they are also a favorite at a cookie exchange or on holiday trays along with peanut butter brownies or pumpkin bars.

Total Time: 1 Hr 40 Mins Servings: 24 to 36 Cooking Method: Oven

Ingredient Notes

pecans , graham cracker crumbs , chocolate chips , coconut , butter , sweetened condensed milk with labels to make Magic Cookie Bars.
  • Crust: Graham cracker crumbs and melted butter make the best base for this recipe.
  • Sweetened Condensed Milk: Is sweet and has a thick consistency which helps hold the layers together.
  • Toppings: Chocolate chips, coconut, and pecans are the basics to get a perfectly chewy bar.

Variations

  • Short on time? Use a pre-made graham cracker pie crust and press it into the bottom of the baking dish.
  • Crushed Nilla or chocolate wafer cookies are a great substitute for graham crumbs.
  • Any combination of candy chips like butterscotch or peanut butter will work.
  • Create cranberry magic cookie bars by swapping in white chocolate chips and adding dried cramberries.
  • Experiment with chopped peanuts, walnuts, almonds, or dried fruit like cherries, or mango to add a little color and chewy flavor.

How to Make Magic Cookie Bars

  1. Press graham cracker mixture into a pan.
  2. Pour sweetened condensed milk evenly over the top of the crust.
  3. Sprinkle with chocolate chips, coconut, and pecans.
  4. Bake (full recipe below). 
Magic Cookie Bars in the pan.

Get Every Layer Just Right

  • Line the casserole dish with parchment paper that overhangs on the horizontal sides so the entire dessert is easy to lift out. Place on a cutting board and cut into desired sizes. This also makes cleanup a breeze!
  • Melt the butter directly in the casserole dish while the oven is preheating, then mix in the crumbs, and press evenly to the corners, saving an extra bowl.
  • Press toppings into the condensed milk layer to help it stick together well.
  • Cool magic cookie bars completely before cutting so they stay firm.
  • Lightly toast coconut and pecans in a dry saute pan to make them extra crunchy and flavorful.
  • Save time and use pre-chopped nuts.
slices of Magic Cookie Bars on a wooden board with parchment.

Storing and Freezing Magic Bars

  • Cool bars completely and store in an airtight container, separating stacked layers with parchment.
  • You can store at room temperature for up to one week, but be sure to keep in a cool spot away from sunlight.
  • Refrigerate for up to one week, or freeze for up to 3 months. 
  • Magic cookie bars are delicious served at room temperature or cold thawed slightly after being frozen. 

Cut, Share, and Enjoy

Did you make these Magic Cookie Bars? Leave a comment and rating below.

Magic Cookie Bars in a pile
5 from 42 votes↑ Click stars to rate now!
Or to leave a comment, click here!

Magic Cookie Bars

Magic cookie bars layer chocolate, coconut, and pecans over a buttery graham cracker crust for a chewy dessert.
Prep Time 15 minutes
Cook Time 25 minutes
Cooling Time 1 hour
Total Time 1 hour 40 minutes
Servings 24 to 36 servings
Author Candace

Ingredients  

Instructions 

  • Preheat oven to 350°F*. Line 9×13 baking pan with parchment paper (or foil) if desired**. (If using foil, spray with oil or non-stick spray.)
  • Add butter to the baking pan and pop into the oven to melt butter. If using parchment paper, add butter to a medium bowl and melt in the microwave on high for 90 seconds.
  • Add crumbs to the pan (or bowl) and mix with butter. Press evenly on the bottom of the baking pan using bottom of a measuring cup or other flat surface.
  • Evenly pour the sweetened condensed milk over the crust. Sprinkle with chocolate chips, coconut, then nuts. Press down firmly using a measuring cup or spoon.
  • Bake for 25 to 30 minutes, or until lightly browned. Remove pan from the oven and run a knife around the edge of the pan (if not lined). Cool completely before cutting.

Notes

*Preheat to 325°F if using a glass dish.
**Lining the pan with parchment paper allows for easy removal and cutting the squares. This is an optional step.
  • Store bars for 1 week in a sealed container in the refrigerator or at room temperature.
  • For 7 layer Magic Cookie Bars, add 1 cup butterscotch chips.
5 from 42 votes↑ Click stars to rate now!
Or to leave a comment, click here!

Nutrition Information

Calories: 159 | Carbohydrates: 11g | Protein: 1g | Fat: 13g | Saturated Fat: 7g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 3g | Trans Fat: 0.2g | Cholesterol: 10mg | Sodium: 67mg | Potassium: 79mg | Fiber: 1g | Sugar: 6g | Vitamin A: 121IU | Vitamin C: 0.1mg | Calcium: 15mg | Iron: 1mg

Nutrition information does not include optional ingredients or garnish and is an estimate. It may change based on actual ingredients and cooking methods used.

Course Dessert
Cuisine American

Like our recipes?
Follow us on Pinterest!

Follow us on Pinterest

REPIN this Magic Cookie Bars recipe

easy to make Magic Cookie Bars with writing.
stack of Magic Cookie Bars with a title.
Magic Cookie Bars on a wooden board with parchment with a title.
close up of Magic Cookie Bars with writing.
Magic Cookie Bars in the pan and in a stack with a title.
stack of Magic Cookie Bars with writing.

Categories:

, ,

Recipes you'll love

About the author

I am a wife, mother of two, and professional accountant. I love fantastic food, and it is so often the center of our lives, from everyday dinner, to family gatherings, and special evenings at fabulous restaurants. I have always loved cooking and baking, with my mom and grandma, and now, with my daughter and son. I love trying new recipes while enjoying my favorites too. I’m so happy to share them with you.
See more posts by Candace

5 from 42 votes (40 ratings without comment)

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Comments

  1. I made magic bars with a pre made toll house chocolate chip cookie dough, for the crust. WoW! they were yummy and not crumb left. Everyone loved them.5 stars

  2. I recall making these by just melted butter on the bottom of the pan/ cookie sheet then Graham crackers on top then layering all the toppings, with coconut last and drizzling the sweetened condensed milk evenly on top then baking… but can’t find the recipe. Turned out fine. Just going to go for it again.

    1. You can click Jump to Recipe at the top or scroll down to see the recipe. Perhaps you are using reader view. The recipe will not show correctly using reader view.

  3. I still have a very old label from the sweetened condensed milk can from long ago! I made these once again last week for a special occasion, and was most certainly not disappointed!