Magnetic Door Lock Systems: How They Work, Wiring and Safety Rules

Magnetic door lock system guide: how maglocks work, parts of a magnetic door entry system, wiring basics, fire code rules and maglock vs electric strike.
Magnetic door lock system: maglock icon on a door

A magnetic door lock system holds a door shut with an electromagnet instead of a bolt. While power flows, a steel plate on the door sticks to the magnet on the frame. Cut the power and the door opens. That simple idea makes maglocks popular for glass doors, office entrances and apartment lobbies.

This guide explains how a magnetic door entry system works, the parts of a door access system with magnetic lock, basic maglock wiring, the safety rules that apply, and how maglocks compare with electric strikes. It is general guidance, so always follow your local codes and a licensed installer.

How a magnetic door lock works

A magnetic door lock has two parts. The electromagnet is a long metal body fixed to the door frame head. The armature plate is a flat steel plate fixed to the door. When the coil is powered, usually at 12 or 24 volts DC, the magnet pulls the plate and holds the door.

There are no moving parts, so maglocks are quiet, hard-wearing and simple to fit on doors where a bolt would be hard to install. In the United States, electromagnetic locks are graded by holding force under the ANSI/BHMA A156.23 standard.

Magnetic door entry system: how the door opens1. PresentCard, fob, PIN orfinger at the reader2. DecideController checks therules3. Cut powerRelay drops power tothe maglock4. ReleasePlate lets go; dooropens5. RelockPower returns after aset timeTypical sequence. Exit side uses a motion sensor and a push button.
A maglock opens by losing power, which is why it is called fail-safe.

Parts of a door access system with magnetic lock

PartRole
Maglock and armature plateHolds the door shut while powered
Power supply with battery backupFeeds the lock and reader
Access controller or standalone keypadDecides who can enter
ReaderCard, fob, PIN, phone or biometric
Request-to-exit (REX) motion sensorReleases the lock as someone approaches from inside
Push-to-exit buttonManual release that cuts lock power directly
Fire alarm interfaceDrops lock power when the alarm activates
Door position switchReports open, closed or held open

For the access side, see our guides to biometric devices and turnstile gates. Many buildings combine maglocks on side doors with turnstiles in the lobby.

Maglock wiring basics

Maglock wiring is simple in principle but has to be done in the right order so the door always releases safely. A typical layout looks like this:

  1. Run the power supply output through the fire alarm release relay first.
  2. From there, go through the access controller’s lock relay, wired so power is removed to unlock.
  3. Add the REX motion sensor contact in series so it also cuts power.
  4. Wire the push-to-exit button so it cuts power directly, not only through software.
  5. Connect the lock to the supply with the correct voltage jumper set on the maglock.
  6. Use a supply with battery backup sized for the lock and reader current.
Maglock wiring path1. Power supply12 or 24 V DC withbattery2. Fire alarmrelayOpens on alarm3. ControllerrelayOpens on validcredential4. REX and exitbuttonOpen on exit request5. MaglockHolds only while allare closedSimplified series layout. Follow the lock maker’s diagram and local code.
Any one device in the chain can release the door.

Many maglocks include protection against the voltage spike that occurs when the coil switches off. If yours does not, the maker will specify a diode or suppressor, which protects the relay contacts in the controller.

Safety rules and fire code

Because a maglock holds a door shut, it can trap people if it is installed wrong. Building codes treat it as a locked exit and set strict rules. The International Building Code, Chapter 10 has sections on sensor release of electrically locked egress doors and on electromagnetically locked egress doors. NFPA 101, the Life Safety Code, covers similar ground where it is adopted.

  • The lock must release when the fire alarm or sprinkler system activates.
  • The lock must release on loss of power.
  • A sensor on the egress side and a manual release device near the door are commonly required.
  • Signs such as “Push to exit” may be required next to the button.
  • Exit hardware may need a built-in switch that releases the lock when pushed.

Exact rules depend on the code edition your area has adopted, the building use and the local fire authority. Get approval before installing a maglock on any exit door.

Maglock vs electric strike

FactorMaglockElectric strike
How it locksMagnet holds a plateKeeper in the frame stays closed so the latch cannot pass
Power failureUnlocks (fail-safe)Can be fail-safe or fail-secure
Mechanical exitNeeds sensors and buttonsNormal lever or panic bar works
InstallSurface-mounted, easy on glass doorsCut into frame, needs a latching lockset
Code burdenHigher on exit doorsUsually lower
Power useConstant while lockedOften only when releasing
Typical useGlass doors, double doors, gatesWooden and metal office doors

Electric strikes are often the easier path for code compliance because people leave using normal door hardware. Maglocks shine where there is no room for a strike or on glass and double doors. Our guide to door access control systems for business covers how to choose locks across a whole site.

Pros and cons of maglocks

  • Pros: no moving parts, quiet, strong, easy retrofit, good for glass and double doors.
  • Cons: need constant power, unlock in a power cut unless backed up, extra exit devices and code checks, and a visible lock body on the frame.

How to choose a magnetic door lock

  1. Match the holding force grade to the door and risk: interior office doors need less than exterior or high-security doors.
  2. Pick single or double units for single or double doors.
  3. Check mounting: in-swing doors need a Z or L bracket kit.
  4. Choose a model with a built-in status sensor so the system knows the door is truly locked.
  5. Confirm voltage (12 V or 24 V DC) matches your power supply.
  6. Look for weather rating if the door is outdoors.

Magnetic door lock system for apartments and gates

Apartment buildings often use a magnetic door entry system on the lobby door, linked to an intercom or video door phone. Residents press a button in their flat, the intercom cuts power to the maglock and the visitor walks in. Fobs or keypads let residents enter.

Outdoor gates use weatherproof maglocks with a larger plate. Because gates flex in the wind, the bracket needs to keep the plate square to the magnet or holding force drops.

Common maglock problems and fixes

ProblemLikely causeFix
Door does not holdPlate not flat to the magnet or dirty faceRealign the plate and clean both faces
Door releases slowlyResidual magnetism or missing spike suppressorCheck the maker’s release settings and fit suppression
Door will not lockNo power or a relay stuck openMeasure voltage at the lock; test the relay chain
Lock buzzesAC on a DC lock or a poor supplyUse the correct regulated DC supply
Fails in power cutNo battery or flat batteryFit or replace the backup battery

A door access system with magnetic lock depends on every part of the chain. Regular testing of the fire alarm release and the exit button should be part of building maintenance, not only installation day.

Scorecard

CriterionMaglockElectric strike
Ease of installationEasyModerate
Code compliance effortHigherLower
Power useHigherLower
DurabilityHighHigh
Security during power lossLow without batteryCan stay locked (fail-secure)

FAQ

What is a magnetic door lock system?

A lock that uses an electromagnet on the frame and a steel plate on the door, held together while powered and released when power is cut.

Do maglocks unlock in a power cut?

Yes. They are fail-safe, which is why battery backup is used when the door must stay secure.

Often yes, but only with the safety devices your code requires, such as fire alarm release and manual exit buttons. Check with your local authority.

Can I connect a maglock to a fingerprint reader?

Yes. Most standalone fingerprint and card readers have a relay that can cut maglock power.

Questions for readers

  • Do you use maglocks or electric strikes, and why?
  • Has a maglock ever failed open on you during a power cut?
  • Would you like a wiring diagram guide for a specific reader?

Sources

⚠ Disclaimer: We work to keep this content accurate, but details may be incomplete or outdated, so please verify important facts with official sources. Any inaccuracy about the news, a company, a country or anything else is unintentional. Please contact us immediately if any such case happens.
We will be happy to hear your thoughts

Leave a reply

Biometric Today
Logo