β οΈ Affiliate Disclosure: This post contains Amazon affiliate links. If you purchase through our links, we may earn a small commission at no extra cost to you. Every product below was checked against its live Amazon listing before publishing. Prices change often, so we don’t list them here. Tap any Buy Here button to see the current price on Amazon.
Ultimate Buying Guide
π Best ESP32 Access Control and Door Lock Parts
RFID cards, NFC phones, fingerprints and PIN codes: everything you need to build an ESP32 door entry system for a workshop, garage, office or cabinet, plus the locks, sensors and safety rules that make it reliable. 11 verified picks.
β
11 Parts Compared
β
Readers, Locks and Sensors
β
Fail-Safe vs Fail-Secure Explained
β
Honest Security Notes
π§
Comparing ESP32 chips? Our
ESP32 chip comparison hub compares every ESP32 chip side by side and links to all of our ESP32 buying guides.
An ESP32 makes a capable access controller: it reads a credential (a card, a tag, a fingerprint or a PIN), checks it against a list, drives a lock through a relay or MOSFET, logs every entry over Wi-Fi, and lets you add or revoke users from your phone or Home Assistant. Projects range from a tool cabinet or a kid-proof snack drawer to a garage side door or a makerspace entrance.
This guide covers 11 parts in three groups: credential readers (RFID, NFC, fingerprint, keypads and Wiegand), locks (solenoid bolts, electric strikes and maglocks), and sensors and tags. We also explain the security limits of cheap RFID and the life-safety rules that apply to any lock on a real door.
β οΈ Security and safety first: Cheap 13.56 MHz MIFARE Classic cards and 125 kHz EM tags can be read and cloned easily, so a DIY system that checks only the card’s ID is a convenience lock, not high security. Combine factors (card plus PIN), use more secure credentials, or keep these systems for low-risk doors. On any door people pass through, you must always be able to get out without power or the controller: maglocks need a mechanical exit path and a release button, and local building and fire codes apply. Keep the ESP32 and its wiring inside the secure area, never in the outdoor reader housing.
β‘ Quick Comparison: All 11 Parts
| Product | Type | Interface | Best For | Buy |
|---|
| π₯ HiLetgo RC522 RFID Kit | 13.56 MHz reader | SPI, 3.3 V | Best Overall | Buy Here β |
| π
Retekess T-AC03 Keypad | Keypad + 125 kHz reader | Wiegand 26 | Outdoor Entry Panel | Buy Here β |
| π± PN532 NFC Module (3-Pack) | NFC reader/writer | I2C / SPI / UART | NFC Tags & Phones | Buy Here β |
| π AS608 Fingerprint Sensor | Optical fingerprint | UART | Keyless Entry | Buy Here β |
| π’ 4×4 Membrane Keypad (4-Pack) | PIN entry | 8 GPIOs (matrix) | Indoor PIN Pads | Buy Here β |
| πΆ Slim Wiegand EM Reader | 125 kHz reader | Wiegand 26/34 | Door-Frame Reader | Buy Here β |
| π© ATOPLEE 12V Solenoid Lock | Bolt lock | 12 V, 0.43 A | Cabinets & Drawers | Buy Here β |
| πͺ UHPPOTE Electric Strike | Door strike | 12 V DC | Real Doors | Buy Here β |
| π§² 600 lb Maglock | Electromagnetic lock | 12 V DC | Glass & Commercial Doors | Buy Here β |
| π§² QWORK MC-31 Door Contact | Reed switch | NC contact | Door Open Detection | Buy Here β |
| π·οΈ NTAG215 NFC Tags (50-Pack) | Credentials | 13.56 MHz NFC | Cards, Stickers, Fobs | Buy Here β |
Specs come from the live Amazon listings.
π Detailed Reviews: Credential Readers
π₯ BEST OVERALL
HiLetgo RC522 RFID Kit (Reader + Card + Key Fob)
β 4.5/5 Β· Over 210 Ratings
Buy on Amazon β

The RC522 is the classic starting point for ESP32 RFID projects, and HiLetgo’s kit (about 4.5 stars from 217 ratings) includes the reader, a blank MIFARE card and a key fob. It runs at 3.3 V and connects over SPI, so it wires straight to an ESP32 with no level shifting, and it’s supported by Arduino libraries and ESPHome. Read a card’s UID, compare it with your allow-list, and pulse a relay to open the lock. Remember that UID-only checks can be cloned, so treat it as a convenience lock or add a PIN. 10 were in stock when we checked.
β
Pros- 3.3 V SPI, direct wiring
- Card and fob included
- Huge library support
- Very cheap
β Cons- Short range (a few cm)
- Not weatherproof
- UID cloning risk
π― Verdict: The easiest RFID reader to start an ESP32 access project.
π Check Price on Amazon β
π
BEST OUTDOOR ENTRY PANEL
Retekess T-AC03 RFID Access Control Keypad
β 4.3/5 Β· Wiegand 26-Bit Output
Buy on Amazon β

Bare modules aren’t built for outdoor walls. The Retekess T-AC03 (about 4.3 stars from 208 ratings) is a finished zinc-alloy keypad with backlit keys, a 125 kHz card reader and an epoxy-sealed, weatherproof circuit board. It works as a standalone controller for up to 2,000 users, but for an ESP32 build the key feature is its Wiegand 26-bit interface: it sends card numbers and PINs to your ESP32, which keeps the logic, logs and lock relay safely indoors. ESPHome includes a Wiegand component. Wiegand lines are typically 5 V, so use a level shifter or voltage divider. 15 were in stock when we checked.
β
Pros- Weatherproof metal housing
- PIN + card
- Wiegand to ESP32
- Works standalone too
β Cons- 125 kHz cards are clonable
- 5 V signals need shifting
- Programming via keypad menus
π― Verdict: The outdoor-ready reader that keeps your ESP32 safely inside.
π Check Price on Amazon β
π± BEST NFC READER Β· β 4.1/53. PN532 NFC RFID Module V3 (3-Pack)
NFC read/write Β· I2C, SPI or UART Β· MIFARE and NTAG Β· three modules
Buy Here β

The PN532 is the more capable 13.56 MHz option: it reads and writes MIFARE cards and NFC tags such as NTAG215, and supports I2C, SPI or UART, selected with switches. I2C makes wiring easy, and ESPHome has a native PN532 component that triggers automations when a tag is scanned. That’s also how Home Assistant’s tag feature works for NFC stickers. This 3-pack (about 4.1 stars from 24 ratings) leaves spares for several doors.
β
Pros: NFC tags; I2C/SPI/UART; ESPHome support.
β Cons: Few reviews; short range.
π― Verdict: The reader for NFC tags and Home Assistant tag scanning.
π BEST FINGERPRINT SENSOR Β· β 4.4/54. AS608 Optical Fingerprint Sensor Module
Optical Β· onboard template storage and matching Β· UART
Buy Here β

Fingerprint entry means nothing to lose or forget. The AS608 (about 4.4 stars from 33 ratings) is an optical sensor that stores fingerprint templates and does the matching itself, so the ESP32 just asks “which ID matched?” over a UART. Popular Arduino fingerprint libraries and ESPHome’s fingerprint component work with this family of sensors. Optical sensors struggle with wet, dirty or very dry fingers and in direct sunlight, so mount them indoors or under cover, and always keep a backup way in. 8 were in stock when we checked.
β
Pros: Onboard matching; simple UART; no credentials to lose.
β Cons: Not weatherproof; finger condition matters.
π― Verdict: The keyless option for indoor doors and cabinets.
π’ BEST PIN PAD Β· β 4.3/55. 4×4 Membrane Matrix Keypad (4-Pack)
16 keys Β· matrix wiring (8 pins) Β· adhesive back
Buy Here β

For indoor PIN entry on a cabinet, safe or alarm panel, a 4×4 membrane keypad is the cheapest option (this 4-pack has about 4.3 stars from 76 ratings). It uses 8 pins in a row/column matrix; ESPHome’s matrix keypad component and Arduino’s Keypad library scan it for you. Save GPIOs by connecting it through an MCP23017 I/O expander. Combine it with an RFID reader for two-factor entry: card plus PIN.
β
Pros: Cheap; thin; 4-pack.
β Cons: Indoor only; uses 8 pins.
π― Verdict: The budget PIN pad for indoor projects.
πΆ BEST DOOR-FRAME READER Β· β 4.4/56. Slim Waterproof Wiegand 26/34 125 kHz EM Reader
Mullion-size Β· waterproof Β· Wiegand 26 or 34 output
Buy Here β

This slim, waterproof reader (about 4.4 stars from 84 ratings) fits on a narrow door frame and outputs card numbers over Wiegand 26 or 34. It’s the clean way to put a card reader outdoors while the ESP32 stays inside. Like all 125 kHz EM readers, it’s for convenience-level security. Level-shift the 5 V data lines to the ESP32. Only 6 were in stock when we checked.
β
Pros: Slim; waterproof; Wiegand.
β Cons: No keypad; low stock; clonable cards.
π― Verdict: The discreet outdoor card reader.
π© Detailed Reviews: Locks
π© BEST CABINET LOCK Β· β 4.1/57. ATOPLEE Mini 12V Solenoid Lock
12 V DC Β· 0.43 A Β· slim tongue-down bolt Β· drawers and cabinets
Buy Here β

For cabinets, drawers, lockers and parcel boxes, a small solenoid bolt is the simplest lock. ATOPLEE’s slim 12 V lock (about 4.1 stars from 368 ratings) draws about 0.43 A while energised and retracts its bolt to open. Drive it from the ESP32 through a MOSFET module or relay with a flyback diode, and only energise it briefly: these locks are designed for short pulses, not continuous power. They’re “fail-secure”, meaning they stay locked when power is lost. 20 were in stock when we checked.
β
Pros: Compact; cheap; fail-secure.
β Cons: Not for main doors; pulse use only.
π― Verdict: The lock for smart cabinets and drawers.
πͺ BEST DOOR STRIKE Β· β 4.4/58. UHPPOTE Electric Door Strike (Fail-Secure/Fail-Safe)
12 V DC Β· selectable fail-secure or fail-safe Β· adjustable
Buy Here β

For a real door with a normal latch, an electric strike replaces the strike plate in the frame, and when the ESP32 energises it, the latch can push through and the door opens. Crucially, the inside handle still opens the door mechanically, so people can always get out. UHPPOTE’s strike (about 4.4 stars from 291 ratings) is selectable between fail-secure (stays locked without power) and fail-safe (unlocks without power). Fitting it means cutting the door frame, so it’s a careful installation. 18 were in stock when we checked.
β
Pros: Keeps mechanical exit; selectable mode.
β Cons: Frame modification; fit varies by door.
π― Verdict: The right lock for an ESP32-controlled house or garage door.
π§² BEST MAGLOCK Β· β 4.0/59. 600 lb Electromagnetic Lock with Z and L Brackets
12 V DC Β· 600 lb (280 kg) holding force Β· fail-safe Β· brackets included
Buy Here β

A maglock holds the door with an electromagnet and a steel plate, with no moving parts and 600 lb of holding force here (about 4.0 stars from 341 ratings). Z and L brackets fit inward-opening and glass doors. Maglocks are inherently fail-safe: they release when power is cut, which is why they’re used on commercial exits. That also means a power cut leaves the door unlocked unless you add a battery backup. Because the magnet holds the door shut against any handle, you need a request-to-exit button or sensor, and codes often require additional emergency release measures. Check local rules before fitting one to an exit door.
β
Pros: Strong; no moving parts; brackets included.
β Cons: Unlocks on power loss; strict egress rules.
π― Verdict: The heavy-duty lock for glass and commercial doors, installed carefully.
π§² Detailed Reviews: Sensors and Credentials
π§² BEST DOOR CONTACT Β· β 4.1/510. QWORK MC-31 Wired Door Contact Sensor
Surface-mounted Β· normally closed reed switch Β· wired
Buy Here β

An access system should know whether the door is actually closed. The MC-31 (about 4.1 stars from 497 ratings) is a wired normally closed reed switch: wire it to a GPIO with the internal pull-up and you’ll know when the door opens, whether it was left ajar, or if it was forced open without a valid credential. Use it to relock automatically after the door closes and to send alerts. Normally closed wiring also detects a cut wire as an “open” event.
β
Pros: Reliable; no batteries; detects cut wires.
β Cons: Wiring to the controller required.
π― Verdict: The sensor that tells you the door really closed.
π·οΈ BEST CREDENTIALS Β· β 4.5/511. NTAG215 NFC Tags (50-Pack)
Programmable NFC stickers Β· 13.56 MHz Β· works with PN532 and phones
Buy Here β

You’ll need credentials to hand out, and NTAG215 stickers are the cheapest, most flexible option (this 50-pack has about 4.5 stars from 3,582 ratings). Stick them on key rings, phone cases or cards, read them with the PN532, or tap them with a phone to trigger Home Assistant tag automations such as “arm the alarm when I leave”. As with all simple tags, a tag’s ID can be copied, so use them for convenience and automation rather than high-security doors.
β
Pros: 50 tags; phone-compatible; huge review base.
β Cons: Small memory; IDs can be copied.
π― Verdict: Cheap credentials and automation triggers.
π Example Builds
ποΈ
Smart tool cabinet
RC522 + solenoid lock + MOSFET module, logging who opened it.
π
Garage side door
Retekess keypad outside + ESP32 inside + electric strike + door contact.
π
Keyless office or study
AS608 fingerprint + 4×4 keypad backup + strike.
π·οΈ
NFC automation hub
PN532 + NTAG215 tags triggering Home Assistant scenes.
β Frequently Asked Questions
What’s the difference between fail-safe and fail-secure?
A fail-safe lock unlocks when power is lost (maglocks, some strikes), which protects people in an emergency. A fail-secure lock stays locked without power (solenoid bolts, most strikes), which protects property. Choose based on the door: exits and escape routes usually need fail-safe or a mechanical exit, while cabinets and stores are usually fail-secure.
How do I drive a 12 V lock from an ESP32?
Never from a GPIO directly. Use a relay module or a logic-level MOSFET module, powered from a 12 V supply sized for the lock’s current, with a flyback diode across the coil. Our ESP32 relay board guide covers suitable boards.
What if Wi-Fi or Home Assistant goes down?
Design the ESP32 to check credentials locally against a list stored in flash, so the door works offline, and sync the list when the network returns. Always keep a mechanical key or another backup entry method.
Where should the ESP32 go?
Inside the secured area, in an enclosure, with only the reader outside. If the controller is outside, someone can open the housing and short the lock wires. Wiegand and other remote readers exist exactly so the brain stays protected. See our enclosures guide.
π Final Verdict: Best ESP32 Access Control Parts
Our top recommendations:
Start with an RC522 and a solenoid lock on a cabinet to learn the basics, then move to a weatherproof Wiegand keypad outside and an electric strike for a real door, with a door contact to confirm it closed. Add a fingerprint sensor or PIN for two-factor entry, keep the ESP32 inside, check credentials locally, and always preserve a safe way out. Then log every entry with our ESP32 MQTT tutorial, and compare chips in our ESP32 chip comparison hub.
π¬ Built an ESP32 door system? Tell us what you secured and how in the comments below.
All Amazon links above use our affiliate tag (esp32tutorials-20). Purchasing through them supports esp32tutorials.com at no extra cost to you. Prices and availability change frequently, so always confirm the current price on Amazon before buying.
We are a team of experienced Embedded Software Developers with skills in developing Embedded Linux, RTOS, and IoT products from scratch to deployment with a demonstrated history of working in the embedded software industry. Contact us for your projects: admin@esp32tutorials.com