A gun detection system and method to prevent school and business shootings is provided that is capable of detecting a firearm a significant distance away from the point of entry and triggering response of an alarm and an automatic door locking system.