The short answer
A digital door lock replaces (or supplements) a metal key with an electronic credential: a PIN code, a key card or fob, a fingerprint, or a signal from your phone. Inside the lock, a small circuit board checks that credential against the ones it has stored. If it matches, the board powers a small motor or solenoid that either moves the bolt itself or connects the outside handle so you can open the door. Most residential models run on batteries and include some form of backup entry, often a traditional key.
That is the whole idea in a nutshell. The details below explain each step and the differences between the main types.
The three jobs every digital lock does
Reading a credential
The outside part of the lock has some kind of input:
- a keypad (physical buttons or a touchscreen)
- a card or fob reader
- a fingerprint sensor
- a Bluetooth, Wi-Fi, Z-Wave, Zigbee or similar radio for phone or hub control
Some locks combine several of these, for example a keypad plus fingerprint plus app.
Deciding whether to open
The input passes to a controller, a small processor on a circuit board, usually housed on the inside half of the lock where it is harder to tamper with. The controller compares what it received with its stored list of valid codes, cards or fingerprint templates. It may also check rules, such as a guest code that only works on weekdays or a temporary code that expires.
Many locks count failed attempts and temporarily disable the input after several wrong tries in a row.
Moving the bolt or freeing the handle
If the credential is accepted, the controller sends power to an actuator. What happens next depends on the design, which is covered in a section below. Once the door has been opened or after a short delay, many locks can relock automatically if that feature is turned on.
Common ways to unlock a digital lock
Keypad codes
The most common type. You enter a PIN, usually several digits long, and the lock checks it. Many keypad locks let you create separate codes for family members, guests and service workers, and delete them individually. Some offer “anti-peep” features that let you type extra random digits before or after the real code so someone watching cannot easily learn it. If you are shopping for one, our roundup of the best keypad deadbolts compares options.
Key cards and fobs (RFID/NFC)
These locks read a small chip in a card, fob or sticker using short-range radio. They are common in hotels, offices and apartment buildings. Our explainer on how an RFID lock works goes into the technology in more depth.
Fingerprints
A biometric sensor reads the ridges on your fingertip and compares them with enrolled templates. These are popular with families because nobody needs to remember a code or carry anything. For the internal details, see our full guide to the fingerprint based door lock system, including how enrollment and matching work.
Phone apps over Bluetooth or Wi-Fi
Smart locks can be unlocked from a phone app. Bluetooth works when you are nearby; Wi-Fi (directly or through a bridge or hub) allows remote control and notifications. Some locks can unlock automatically as you approach, based on your phone’s location. App control usually adds features like activity logs and sharing access with others.
Motorized bolts vs. clutch-based handles
Digital locks generally use one of two approaches:
- Motorized bolt: a small geared motor physically throws and retracts the deadbolt. This is typical of electronic deadbolts. You may hear a whirring sound as it moves.
- Clutch mechanism: the motor does not move the bolt directly. Instead, it engages a clutch that connects the outside handle or knob to the latch. When the clutch is engaged, turning the handle opens the door; when it is disengaged, the outside handle spins freely. This is common in lever-handle sets and mortise-style digital locks. It uses less energy because the person turning the handle supplies the force.
Inside the home, there is normally a thumbturn or handle that works mechanically, so you can get out without relying on electronics.
Power, batteries and backup entry
Most residential digital locks run on AA batteries, though some use rechargeable packs. Battery life depends heavily on the model, how often the lock is used and whether Wi-Fi is built in, since constant wireless connections tend to drain batteries faster.
Good locks give you warning before power runs out, using a flashing light, a beep or an app notification. If the batteries do die completely, there is usually a fallback:
- a mechanical key cylinder hidden behind a cover
- external terminals for a 9-volt battery, or a USB port, to give the lock just enough power to accept a code
- the interior thumbturn, which keeps working regardless
Our article on what happens to smart locks when power goes out covers this in more detail.
Common styles: deadbolts, lever sets, mortise locks, rim locks
- Electronic deadbolts replace a standard deadbolt in the usual bored holes and are the most common DIY upgrade in US homes.
- Lever handle sets combine the latch and handle in one unit and are common on interior or side doors.
- Mortise digital locks fit into a pocket cut into the edge of the door and often combine handle, latch and deadbolt. They are common in some regions and on commercial doors.
- Rim locks and retrofit units mount on the inside surface of the door. Some smart locks fit over an existing deadbolt’s interior thumbturn so the outside key and look stay the same.
Things to check before you buy one
- Fit: door thickness, backset and whether your door is prepared for a deadbolt, a lever set or a mortise lock.
- Mechanical strength: check for a recognized durability or security grade where available, such as ANSI/BHMA grades in the US.
- Backup entry: know how you will get in if the batteries die or the electronics fail.
- Connectivity: decide whether you really need remote access, and whether the lock works with your existing phone or smart home system.
- Weather rating: an exterior lock in direct sun, rain or freezing weather needs to be rated for it.
- Downsides: electronics, batteries and apps add points of failure. Our piece on the downsides of smart locks and the disadvantages of electronic locks lays these out.
A digital lock is still a lock: the bolt, strike plate and door frame do the real work of resisting force. The electronics simply change how you tell it to open.