Magnetic Locks

How Does a Magnetic Lock Work?

A magnetic lock holds a door shut with an electromagnet pulling on a steel plate. Learn how it works, why it releases when power fails, and its limits.

On this page
  1. Quick answer
  2. The two parts
  3. How the hold works
  4. Why it releases when power is cut
  5. What controls the lock
  6. The door sensor
  7. Limits to know
  8. Where you’ll see them

Quick answer

A magnetic lock uses an electromagnet to pull a steel plate on the door toward the frame. The door stays shut for as long as the electromagnet has power. Cut the power and the pull stops, so the door can open.

The two parts

  • The electromagnet: a coil of wire in a housing that mounts on the door frame, usually above the door.
  • The armature plate: a flat steel plate that mounts on the door, facing the electromagnet.

When the door closes, the plate sits close to the face of the electromagnet, with the small gap the manufacturer specifies.

How the hold works

When the coil has power, it creates a magnetic field that pulls the plate toward the electromagnet, and the door stays closed. Unlike a deadbolt, nothing slides into a strike. The door is held by the pull alone.

The main specification is the holding force, usually given in pounds. Ratings for common models run from several hundred pounds into the low thousands. A rating comes from the manufacturer’s testing and describes a straight pull. It doesn’t tell you how the door will hold against a shove or a pry.

Why it releases when power is cut

Electromagnetic locks generally need continuous power to hold. When power stops, the pull stops and the door can open. This is called fail-safe. It’s why these locks are common on exit doors: people can always leave, even during a power outage. The same design means a power cut also unlocks the door, so the lock doesn’t suit every situation.

What controls the lock

The electromagnet doesn’t decide when to hold or release. Something else switches its power: a keypad, a card or fob reader, a push button, a timer, or a building’s access control system. The controller sends power to hold the door and cuts it to release.

A key card door access system is one common example. The reader sends a signal, and the controller switches the lock’s power, so the door opens only for a valid card.

The door sensor

A magnetic lock can’t tell whether the door is closed. Many installs add a door position switch, a reed or magnetic contact that reports whether the door is shut. The controller uses that signal to show the door status, and an alarm system can use it to flag a door that is held open.

Sensors can be fooled. A magnet placed near a reed contact can make it read the door as closed, which is one reason some installs use tamper-protected sensors.

Limits to know

  • The door and frame matter. The lock holds as rated only on a well-fitted door and a solid frame.
  • It needs power. Plan for outages with a battery backup, or use a fail-secure design if the door must stay locked.
  • It isn’t a barrier on its own. Its rating doesn’t cover a shove, a kick or a pry, so it works best as part of a complete door setup.
  • Alignment drifts. A door that sags or a plate that shifts can reduce the hold, so check the gap now and then.

Where you’ll see them

Magnetic locks are often used on office and commercial doors with access control, and on interior doors that need controlled access. For how one is wired, the magnetic lock connection diagram covers the relay, power supply and sensor connections.

The complete guide to magnetic locks

Magnetic Lock Connection Diagram and Wiring Guide
Read the guide

Keep exploring

Guides from other topics

All topics →