Preheat your oven to 350°F (180°C) and grease a 9x13-inch baking dish.
Combine the graham cracker crumbs and melted margarine in a bowl. Press the mixture firmly into the bottom of the prepared dish to form a crust.
Pour the sweetened condensed milk evenly over the crust.
Sprinkle the shredded coconut, chocolate chips, and chopped nuts in even layers on top.
Bake for 25–30 minutes, or until the edges are golden brown and the center is set.
Allow the bars to cool completely in the pan on a wire rack. For cleaner slices, chill in the refrigerator for 1–2 hours.
Cut into 12 squares and enjoy your homemade magic bars!