Door position switch
A small sensor fitted to a door and frame that tells an alarm or access control system whether the door is open or closed.
A door position switch, also called a door contact, usually has two parts: a magnet on the door and a sensor in the frame. When the door closes, the magnet and sensor line up and the system registers the door as closed. When the door opens, the connection breaks and the system knows. Contacts can be surface-mounted or recessed into the door and frame so they are hidden and harder to defeat.
In an alarm system, an opened contact while the system is armed triggers an alarm. In an access control system, the switch lets the system raise a "door forced open" alert when a door opens without a valid card, or a "door held open" alert when someone props it open for too long. Those alerts are often the first sign of tailgating, a broken closer or a staff member wedging an exit door for convenience.
Practical tip: when quoting access control, make sure each controlled door includes a door position switch, not just a reader and lock. Then decide who receives forced and held-open alerts, and review them regularly so they do not become background noise.