
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.
Parts of a door access system with magnetic lock
| Part | Role |
|---|---|
| Maglock and armature plate | Holds the door shut while powered |
| Power supply with battery backup | Feeds the lock and reader |
| Access controller or standalone keypad | Decides who can enter |
| Reader | Card, fob, PIN, phone or biometric |
| Request-to-exit (REX) motion sensor | Releases the lock as someone approaches from inside |
| Push-to-exit button | Manual release that cuts lock power directly |
| Fire alarm interface | Drops lock power when the alarm activates |
| Door position switch | Reports 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:
- Run the power supply output through the fire alarm release relay first.
- From there, go through the access controller’s lock relay, wired so power is removed to unlock.
- Add the REX motion sensor contact in series so it also cuts power.
- Wire the push-to-exit button so it cuts power directly, not only through software.
- Connect the lock to the supply with the correct voltage jumper set on the maglock.
- Use a supply with battery backup sized for the lock and reader current.
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
| Factor | Maglock | Electric strike |
|---|---|---|
| How it locks | Magnet holds a plate | Keeper in the frame stays closed so the latch cannot pass |
| Power failure | Unlocks (fail-safe) | Can be fail-safe or fail-secure |
| Mechanical exit | Needs sensors and buttons | Normal lever or panic bar works |
| Install | Surface-mounted, easy on glass doors | Cut into frame, needs a latching lockset |
| Code burden | Higher on exit doors | Usually lower |
| Power use | Constant while locked | Often only when releasing |
| Typical use | Glass doors, double doors, gates | Wooden 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
- Match the holding force grade to the door and risk: interior office doors need less than exterior or high-security doors.
- Pick single or double units for single or double doors.
- Check mounting: in-swing doors need a Z or L bracket kit.
- Choose a model with a built-in status sensor so the system knows the door is truly locked.
- Confirm voltage (12 V or 24 V DC) matches your power supply.
- 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
| Problem | Likely cause | Fix |
|---|---|---|
| Door does not hold | Plate not flat to the magnet or dirty face | Realign the plate and clean both faces |
| Door releases slowly | Residual magnetism or missing spike suppressor | Check the maker’s release settings and fit suppression |
| Door will not lock | No power or a relay stuck open | Measure voltage at the lock; test the relay chain |
| Lock buzzes | AC on a DC lock or a poor supply | Use the correct regulated DC supply |
| Fails in power cut | No battery or flat battery | Fit 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
| Criterion | Maglock | Electric strike |
|---|---|---|
| Ease of installation | Easy | Moderate |
| Code compliance effort | Higher | Lower |
| Power use | Higher | Lower |
| Durability | High | High |
| Security during power loss | Low without battery | Can 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.
Are maglocks legal on exit doors?
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
- ICC, International Building Code, Chapter 10 Means of Egress
- NFPA 101, Life Safety Code
- BHMA, ANSI/BHMA standards

