Every electric lock has to answer one simple question: what happens to the door when the power goes off? Get that answer wrong and you either lock people inside a burning building or leave your server room wide open during a power cut. The choice between fail-safe vs fail-secure locks is one of the first decisions on any access control drawing, and it is also one of the most common reasons a Civil Defense inspection fails. This guide explains both types in plain field terms, shows which door gets which lock, and walks through wiring and a real power calculation.
Quick answer: A fail-safe lock unlocks when power is removed, so it needs power to stay locked. A fail-secure lock stays locked when power is removed, so it needs power to open. Maglocks are always fail-safe; electric strikes and electrified locksets can be either. Use fail-safe where the electric lock itself would stop people escaping, and use fail-secure where the door always has a mechanical handle or panic bar for free exit from inside, such as server rooms, stores and most external doors.
Fail-Safe vs Fail-Secure: The Basic Difference
The words describe what the lock does on loss of power, not how secure it is in daily use. Both types are perfectly secure while the system is running normally.
- Fail-safe (power to lock): the lock is energised all the time to keep the door locked. Cut the power and the door is free. The “safe” refers to the safety of people.
- Fail-secure (power to unlock): the lock sits locked with no power. A pulse of power releases it for a few seconds. Cut the power and the door stays locked from outside. The “secure” refers to the security of the property.
One important detail confuses many people: fail-secure normally applies to the outside (secure side) only. A fail-secure electric strike or lockset on an escape door still lets people exit from inside by turning the lever or pushing the panic bar. The electric part only controls entry.

| Feature | Fail-safe | Fail-secure |
|---|---|---|
| Power needed to | Stay locked | Unlock |
| On power failure | Door unlocks | Door stays locked from outside |
| Typical devices | Maglock, fail-safe strike, fail-safe electrified lockset | Fail-secure strike, fail-secure electrified lockset or mortice lock |
| Power consumption | Continuous (24 hours a day) | Only for a few seconds per opening |
| Relay contact used | COM and NC | COM and NO |
| Fire alarm interface | Cut lock power on alarm | Usually stays locked outside; egress by handle |
Which Lock Types Are Fail-Safe or Fail-Secure?
Maglocks (electromagnetic locks) are fail-safe by nature. There is no mechanism, only a magnet that holds a steel plate while current flows. No current, no holding force. A common 600 lb maglock is rated about 272 kg holding force and a 1,200 lb model about 545 kg. We compare them in detail in Maglock vs Electric Strike.
Electric strikes replace the strike plate in the door frame. The door keeps its normal latch, and the strike’s keeper releases the latch. Most strikes are field-selectable between fail-safe and fail-secure by moving a jumper or flipping a module, but check the datasheet, because some models are fixed.
Electrified locksets and mortice locks control the outside lever. Fail-safe versions free the lever on power loss; fail-secure versions keep it locked. The inside lever always retracts the latch for exit.
Pro tip: Write the fail mode next to every lock on the door schedule. Installers set strike jumpers on site, and a missing note is how fail-safe strikes end up on server rooms.
Which Door Needs Which Lock?
The rule I use is simple: if the electric lock is the only thing that can hold the door closed against someone leaving, it must be fail-safe and released by the fire alarm. If the door always has a mechanical, one-movement exit from inside, you can choose by security need.

| Door type | Usual choice | Why |
|---|---|---|
| Fire exit / escape route door with panic bar | Fail-secure strike or electrified panic hardware (entry control only) | Panic bar gives free exit at all times; outside stays secure |
| Escape route door with maglock (glass lobby, corridor) | Fail-safe maglock + sensor + PUSH TO EXIT + fire alarm release | The magnet holds the door from inside, so it must release |
| Stair door, stair side (re-entry) | Fail-safe electrified lever lock, released on fire alarm | People in the stair must be able to leave at another floor if the stair fills with smoke |
| Fire-rated door (stair, corridor, shaft) | Fire-rated fail-secure strike or electrified lockset | A fire door must stay positively latched; a fail-safe strike would free the latch in a fire |
| Server room / IT room | Fail-secure strike or lockset, mechanical key override, lever exit inside | Stays secure during a power cut; staff exit by the lever |
| External / perimeter door | Fail-secure strike or lockset with free exit hardware inside | A power failure should not open the building |
| Internal office door | Either; fail-secure strike is common and cheaper to run | Low risk; choose by budget and power |
Stairwells: Two Different Problems
Stair doors are where I see the most confusion. From the floor into the stair, people must always be able to enter the stair to escape, so that side is never locked against egress. From the stair back onto a floor, many buildings lock the door for security. Life safety codes such as NFPA 101 generally require stair doors locked on the stair side to unlock automatically on fire alarm (or provide re-entry in another approved way), so people can leave a smoke-logged stair. Because the door is also a fire door, the right hardware is a fail-safe electrified lever lock: the lever is freed, but the latch still holds the door closed. A maglock alone gives no latching, and a fail-safe strike frees the latch, so neither is the usual answer here.
Server Rooms and High-Security Rooms
For a server room I specify a fail-secure strike or electrified lockset, a door contact, a reader outside and a lever inside. During a power cut the room stays locked from the corridor and opens with the mechanical key. Avoid maglocks here: they open when the battery runs flat and on fire alarm.
My field advice: If a client insists on a maglock for a high-security room, add a battery sized for the required standby time and a door contact alarm to the security desk, and get the arrangement approved. But first offer a fail-secure lockset, which solves the problem without draining power all day.
Life-Safety Rules: Free Egress and Fire Alarm Release
This section is general guidance. Always follow the approved fire and life safety strategy and the requirements of your authority having jurisdiction (in Saudi Arabia, the General Directorate of Civil Defense and the Saudi Building Code, including SBC 801).
The core principle across NFPA 101, the International Building Code and codes derived from them is free egress: a person must be able to open an exit door from the egress side without a key, card, tool or special knowledge, usually in a single movement. Electric locks are only allowed on egress doors under special arrangements. For a sensor-release electric lock (the typical maglock on a lobby door), NFPA 101 and the IBC typically require:
- A sensor on the egress side that unlocks the door when someone approaches.
- The lock to unlock on loss of power to the sensor or the locking system, which means fail-safe.
- A manual release button on the egress side, about 1,015 to 1,220 mm above the floor and within about 1,525 mm of the door, signed “PUSH TO EXIT”. It must cut power to the lock directly, independent of the access control electronics, and keep it unlocked for at least 30 seconds.
- Automatic unlocking on fire alarm (and sprinkler activation, where provided), staying unlocked until the fire alarm is reset.
Delayed-egress locks (the door opens after a short delay with a local alarm) have their own stricter conditions, and many authorities limit where they are used. Treat them as a special case that needs explicit approval.
GCC rules follow similar principles but are not identical, and many projects add a green emergency break glass beside every electrically locked exit door. Check the specification and Civil Defense requirements before finalising the door schedule. For how the release signal reaches the doors, see Access Control and Fire Alarm Integration and our broader guide on fire alarm integration with BMS, access control and CCTV.
Wiring Fail-Safe and Fail-Secure Locks
The controller’s lock relay has three terminals: COM, NO (normally open) and NC (normally closed). “Normally” means with the relay at rest, when no one is being granted access.
- Fail-safe lock: wire +12 V through COM and NC. At rest the lock is powered (locked). On a valid card the relay switches, NC opens and the lock drops out.
- Fail-secure lock: wire +12 V through COM and NO. At rest the strike is unpowered (locked). On a valid card NO closes and the strike releases.

For fail-safe locks on escape routes, the fire alarm release contact, the emergency break glass and the PUSH TO EXIT button’s NC contact are wired in series with the lock power, so any of them cuts power even if the controller has crashed. Many access control power supplies also have a fire alarm input that switches off selected outputs. Strike and lock coils should have a suppression diode or MOV fitted (many have one built in), otherwise the voltage spike when the coil switches off can damage relay contacts or reset the controller. The full step-by-step terminal layout is in our access control wiring diagram guide.
Practical Example: Office Floor with Six Doors
Let’s design the locks and power for a single office floor in Riyadh with six controlled doors, on one 12 V DC access control power supply with battery backup.
| Door | Lock chosen | Fail mode | Current (12 V, typical) |
|---|---|---|---|
| Main glass entrance (escape route) | 600 lb maglock + sensor + PTE + break glass | Fail-safe | 500 mA continuous |
| Stair door A (stair side) | Electrified lever lock | Fail-safe | 300 mA continuous* |
| Stair door B (stair side) | Electrified lever lock | Fail-safe | 300 mA continuous* |
| Server room | Fire-rated electric strike | Fail-secure | 300 mA when open* |
| Manager office | Electric strike | Fail-secure | 300 mA when open* |
| Store room | Electric strike | Fail-secure | 300 mA when open* |
*Example values; use real datasheet figures on your project.
Step 1: continuous lock load. Only the fail-safe locks draw all the time: 0.5 + 0.3 + 0.3 = 1.1 A.
Step 2: worst-case peak. If all three fail-secure strikes open at the same moment: 3 × 0.3 = 0.9 A. Add the controller and six readers, say 0.6 A in total. Peak = 1.1 + 0.9 + 0.6 = 2.6 A.
Step 3: size the power supply. Add about 25% headroom: 2.6 × 1.25 = 3.25 A. Choose a 12 V DC, 5 A access control supply, which also leaves current available for battery charging.
Step 4: battery. Standby load is the continuous part: 1.1 A locks + 0.6 A electronics = 1.7 A. For 4 hours of backup: 1.7 × 4 = 6.8 Ah. Allow about 25% for ageing and temperature (important in hot plant rooms): 6.8 × 1.25 = 8.5 Ah, so fit a 12 V 12 Ah battery, or two 7 Ah in parallel. Check your figures with the Battery Backup Calculator.
Step 5: voltage drop. The main entrance maglock is 45 m from the power supply. At 0.5 A on 2 × 1.0 mm² copper (about 18 Ω/km per core), the round-trip drop is 0.5 × 0.018 × 90 = 0.81 V, leaving about 11.2 V at the lock. Many maglocks hold well at this voltage, but holding force drops with voltage, so for long runs either increase the cable size or run the maglock at 24 V. Run your numbers in the Voltage Drop Calculator.
Notice that the three fail-safe doors use about two-thirds of the standby load, while fail-secure locks cost almost nothing to run. You can lay out the doors, lock types and power supplies for a full floor in the Access Control Designer.
Common Mistakes and Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Server room opens during a power cut | Strike left in fail-safe mode, or maglock used | Set the strike to fail-secure or replace with a fail-secure lockset |
| Door locks when card is presented and opens at rest | Wired to the wrong relay contact (NO instead of NC, or the reverse) | Move the wire to the correct contact for the lock’s fail mode |
| Maglock does not release on fire alarm | Fire alarm contact wired to the controller input only, not in the lock supply | Put the fire alarm relay contact in series with the lock power or use the PSU fire input; test it |
| Fire door does not stay closed after alarm | Fail-safe strike on a fire-rated door | Use a fire-rated fail-secure strike or a fail-safe electrified lever lock that keeps latching |
| Controller resets when the strike operates | No suppression diode, shared supply sagging | Fit a diode across the coil, separate lock and controller supplies |
| Battery flat after a short outage | Too many fail-safe locks on one battery | Recalculate standby load and resize, or change some doors to fail-secure |
To see where these doors fit in the overall system, read Components of an Access Control System and How to Design an Access Control System.
Frequently Asked Questions
Is a fail-safe lock less secure than a fail-secure lock?
Not in normal use. Both are secure while powered and working. The difference only appears during a power failure: a fail-safe lock opens and a fail-secure lock stays locked. Battery backup keeps fail-safe locks secure through most mains cuts.
Can I use a fail-secure lock on a fire exit door?
Yes, as long as the door has free mechanical egress from inside, such as a panic bar or lever, so nobody needs power, a key or a card to get out. The fail-secure part only controls entry from outside. Confirm the arrangement with the approved fire strategy.
Are maglocks always fail-safe?
Yes. A maglock only holds while current flows through the coil, so it releases as soon as power is removed. That is why maglocks on escape routes must be released by the fire alarm, a PUSH TO EXIT button and an egress sensor.
Which relay contact do I use for a fail-safe lock?
COM and NC. The lock is powered through the closed contact at rest and drops out when the relay operates. A fail-secure lock uses COM and NO.
Should a server room lock be fail-safe or fail-secure?
Fail-secure is the usual choice, with a lever inside for exit and a key override outside. It keeps the room locked during a power cut and uses power only when the door is opened.
Does the fire alarm need to release fail-secure locks?
Usually not for egress, because people exit by the mechanical handle. Doors that must unlock on alarm, for stair re-entry or fire brigade access, need fail-safe hardware as set in the approved cause-and-effect matrix.

