How Fingerprint Sensors Work — Tech Explained

Photo: Elise / Pexels
You press your finger on a glass surface. In under 200 milliseconds, a device that fits in your pocket decides — with roughly 1-in-50,000 odds of error — whether the unique ridge pattern on your skin belongs to you. No image of your fingerprint is sent to the cloud. None is decryptable by the operating system. The match happens inside a chip that even the phone's main processor can't read.
Fingerprint sensing is one of the most quietly elegant pieces of consumer engineering. Here's how it actually works.
A Quick History
Fingerprints have been recognized as unique for millennia (Babylonian clay tablets, Tang Dynasty contracts), but biometric identification as a science begins in the late 1800s:
- 1880 — Scottish surgeon Henry Faulds publishes a paper in Nature proposing fingerprints for criminal identification.
- 1892 — Francis Galton publishes a systematic classification system. The same year, Argentine police officer Juan Vucetich opens the world's first fingerprint identification bureau.
- 1903 — New York Civil Service begins fingerprinting; the FBI's national database follows.
- 2013 — Apple's Touch ID in the iPhone 5s brings capacitive fingerprint sensing to a billion-plus consumers.
- 2019 — Samsung Galaxy S10 ships the first mass-market ultrasonic in-display sensor.
- 2010s–present — India's Aadhaar program enrolls over 1.3 billion fingerprints, the largest biometric database ever assembled.
The Three Main Sensor Types
Almost every fingerprint reader sold today is one of three technologies.
1. Optical Sensors
An optical sensor is essentially a tiny digital camera. An LED illuminates the finger pressed against a glass platen, and a CMOS image sensor captures the pattern of bright valleys and dark ridges.
- Pros: Cheap, robust, well-understood.
- Cons: Easy to fool with a photo or printed image of a fingerprint. Limited to 2D information.
- Where used: Older USB readers, government enrollment scanners, some budget phones (especially Chinese in-display variants that illuminate via the OLED screen).
2. Capacitive Sensors
A capacitive sensor is an array of thousands of tiny capacitors. The ridges of your fingerprint touch the surface; the valleys don't. Skin is conductive enough — and air insulating enough — that each capacitor charges differently depending on whether a ridge or valley is on top. The chip reads the capacitance map and reconstructs a high-resolution surface image.
- Pros: Fast, accurate, harder to fool than optical.
- Cons: Needs a conductive ring around the sensor area, so it traditionally couldn't sit under a screen. Doesn't work well with wet, dry, or dirty fingers.
- Where used: Apple Touch ID (2013–2017), most Android side- and back-mounted readers, Windows Hello laptops with fingerprint power buttons.
3. Ultrasonic Sensors
Pioneered by Qualcomm and shipped in the Samsung Galaxy S10 in 2019, ultrasonic sensors emit a high-frequency acoustic pulse that bounces off the finger. By timing the returning echoes, the sensor reconstructs a true 3D map of ridge depth.
- Pros: Works through OLED screens. Reads through moisture and oils. Harder to fool with 2D fakes. Captures depth, so even silicone overlays struggle.
- Cons: More expensive. Slower than capacitive. Some early implementations had screen-protector compatibility issues.
- Where used: Samsung Galaxy S10 and successors, some Xiaomi and OnePlus flagships.
Sensor Comparison
| Sensor Type | Detects | Spoof Resistance | Cost | Under-Display? |
|---|---|---|---|---|
| Optical | 2D photo of ridges | Low | Very low | Yes (via OLED illumination) |
| Capacitive | Electrical map of ridges/valleys | Medium | Low | No (traditional) |
| Ultrasonic | 3D acoustic depth map | High | Medium-high | Yes |
How Authentication Actually Works
The biggest misconception is that your phone stores a JPEG of your fingerprint. It doesn't.
When you enroll a finger:
- The sensor captures multiple high-resolution images (Touch ID grabbed roughly 12 images per enrollment).
- Software extracts minutiae — specific feature points like ridge endings, bifurcations, and short ridges. Typical extraction yields 40–100 minutiae per finger.
- The minutiae are encoded into a mathematical template and encrypted.
- The encrypted template is stored inside a hardware Secure Enclave (Apple) or TrustZone (Android) — a small isolated processor that the main OS cannot directly read from.
When you unlock the phone:
- The sensor captures a fresh image and extracts new minutiae.
- The Secure Enclave compares them against the stored template.
- It returns a yes/no answer to the OS. The OS never sees the fingerprint data itself.
Apple's advertised False Acceptance Rate (FAR) for Touch ID was 1 in 50,000. Face ID is 1 in 1,000,000. Comparison is non-trivial because false-rejection rate (FRR — locking you out) and FAR trade against each other; vendors pick a balance point.
Why You Still Need a Passcode
Every modern phone requires a passcode (not biometric) in a handful of scenarios:
- After a reboot.
- After 48 hours of inactivity (Apple) or similar timeouts.
- After 5 failed biometric attempts.
- When adding a new finger or face.
This isn't a bug. It's by design — biometric authentication is for convenience, while the passcode is the anchor of trust. The encryption key for your phone's storage derives from the passcode, not the fingerprint.
The Legal Twist
Biometric versus passcode authentication carries different legal protections in many jurisdictions:
- In the United States, courts have generally held that compelling someone to provide a passcode is protected by the Fifth Amendment (self-incrimination). Compelling a fingerprint or face is treated more like compelling physical evidence (handing over a key), and can be done with a warrant.
- A 2020 federal court ruling in Idaho held that police cannot lawfully force someone to use Face ID without a warrant. Case law continues to evolve.
- The European GDPR classifies biometric data as a special category requiring explicit consent and stricter handling.
Practically: if you're worried about being compelled to unlock your phone, restart it before crossing a border. A reboot disables biometrics until the passcode is re-entered.
Spoofing and Limits
Fingerprint sensors are excellent but not unbeatable.
- Latent prints — clean fingerprints left on glass can be lifted and used to make silicone or gelatin molds. Researchers have unlocked iPhones, Galaxy phones, and Pixels with high-resolution molds. It's not trivial — but it's not science fiction either.
- Forensic tools — devices like GrayKey and Cellebrite UFED have been used by law enforcement to bypass phone locks via software vulnerabilities, not by spoofing biometrics directly.
- MasterPrints — a 2017 paper from Roy et al. at NYU showed that partial fingerprints (the size phones actually capture) have enough overlap that synthetic "master" patterns can match a meaningful fraction of real users. Modern sensors with full-finger imaging mitigate this, but small sensor areas remain a theoretical weak point.
- Permanent data — your fingerprint can't be reset. If a biometric template database is breached (as happened with the OPM hack in the US, exposing 5.6 million federal fingerprints), the data is compromised forever.
This is why biometrics are almost never used as the sole factor for high-security applications. They're the username, not the password.
What Replaced Touch ID
Apple dropped Touch ID from flagship iPhones in 2017 in favor of Face ID (TrueDepth infrared dot projector + 3D mapping). Touch ID survives in lower-tier iPads and Macs, often built into the power button. Samsung, Pixel, OnePlus and most Android flagships have moved the opposite direction — keeping fingerprint as the primary biometric (now under-display) and treating face unlock as a convenience.
For the face-mapping side of biometrics, see our article on how Face ID works. For the deeper math, see encryption explained. For the biology of the prints themselves, see why we have fingerprints.
FAQ
Q: Can someone unlock my phone with my fingerprint while I'm asleep? A: With a clean dry finger and good positioning — yes, in theory. This is one reason Apple and Samsung require periodic passcode re-entry. If you're worried, restart your phone before sleep.
Q: What happens if I cut my finger? A: Minor cuts may temporarily fail. Healing usually restores the ridge pattern within weeks — fingerprints regenerate from the dermal layer below. Deep scarring can permanently alter or destroy a print.
Q: Are fingerprints really unique? A: There's no mathematical proof, but among the billions enrolled to date, no two have been documented as identical — including identical twins. Twins share DNA but not ridge patterns (those form by random fetal developmental processes).
Q: Does the sensor store an image of my fingerprint somewhere? A: No. Only an encrypted mathematical template of minutiae points is stored, and only inside the device's secure enclave. It's not uploaded to iCloud or Google.
Q: Why does my sensor fail when my hands are wet? A: Capacitive sensors rely on the conductivity difference between skin and air. Water short-circuits that contrast. Ultrasonic sensors are more tolerant of moisture because they use sound, not electricity.
Q: Can fingerprints be faked from a high-resolution photo? A: Yes, in lab conditions. Researchers have successfully created spoofs from photos of fingers at distances up to 3 meters. Real-world attacks are rare because they require time, equipment, and physical access to the target device.
Sources
- Apple iOS Security Guides (Secure Enclave architecture).
- Qualcomm Sense ID ultrasonic sensor technical briefings.
- Roy, A., Memon, N., & Ross, A. (2017) — "MasterPrint: Exploring the Vulnerability of Partial Fingerprint-Based Authentication Systems."
- Galton, F. (1892) — Finger Prints.
- NIST Biometric Performance Reports.
- Unique Identification Authority of India (UIDAI) — Aadhaar program statistics.
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

fMRI vs MRI — How Brain Imaging Works
MRI shows brain structure, fMRI shows brain activity. Here's how both work, what fMRI can and can't tell us, and how it compares to PET, EEG, and MEG.

How Airplanes Fly — Physics of Flight
The real physics behind lift, thrust, and drag — what every textbook gets wrong and what actually keeps 400-ton jets in the sky.

How VPN Works — Virtual Private Networks
How VPNs work: encrypted tunnels, protocols (WireGuard, OpenVPN, IKEv2), top providers in 2026, limitations, and how they compare to Tor.

How Touchscreens Work — Resistive to Capacitive
The physics behind resistive, capacitive, infrared, and acoustic touchscreens — plus stylus tech, force touch, and foldable displays.

How to Actually Secure Your Digital Life
Most people are one weak password away from a major breach. Here's a no-nonsense guide to actually securing your digital life — what works, what's theatre, and what to prioritise.
Best Clipboard Managers for Mac in 2026 (Compared)
Best clipboard managers for Mac in 2026: Vee, Maccy, Paste, Raycast, Alfred and macOS Spotlight compared on price, history length, privacy and honest limits.