Magnetic contacts are two-part devices used to safeguard windows and doors. One part of the contact is a switch installed in the window or door jamb; the other contains a magnet and is placed in the window or door itself. Any noticeable shift in contact with the switch results in an alarm.