Magnetic lock (maglock)
An electromagnet mounted on a door frame that holds the door shut while powered, commonly used with access control systems.
A magnetic lock uses an electromagnet on the frame and a metal plate on the door. When power flows, the magnet holds the door closed firmly. When power is cut, whether by a card reader, an exit button or a fire alarm signal, the door releases. Maglocks are popular because they have no moving parts and fit many door types, including glass doors.
Because a maglock releases when it loses power, it is called fail-safe. That is good for life safety, since people can always get out, but it means the door may be unlocked during a power outage unless the lock has battery backup. Building and fire codes have specific requirements for maglocks on exit routes, typically including a way to release the door from inside and a connection to the fire alarm.
Practical tip: ask your access control installer which doors use maglocks and which use electric strikes, what happens to each door when the power goes out and how long backup batteries last. Make sure an electrician and installer familiar with local codes signs off on any maglock on an exit route.