Touch ID is a fingerprint scanning system developed by Apple for user authentication on iPhone, iPad and Mac. The technology debuted in the iPhone 5S in 2013 and became the first mass-market biometric sensor in smartphones. According to Apple Security White Paper, 2024, the probability of a random fingerprint matching someone else’s template is 1 in 50,000, and the sensor itself can distinguish up to five registered fingerprints on a single device.
Key Takeaways
Touch ID is a biometric sensor built into the Home button (iPhone 5S–iPhone 8/SE) or the side button (iPad Air 4+, iPad mini 6+). It consists of a sapphire crystal cover (scratch protection), a capacitive sensor array, and a finger detection ring that activates the scanner upon touch.
During initial setup, the user registers a fingerprint — the sensor captures multiple images of the finger from different angles and creates a mathematical template. According to Apple, the scanner reads the papillary pattern at the subdermal level — beneath the top layer of skin, which protects against lifted fingerprints.
Touch ID supports up to five fingerprints — you can add fingers from both hands or fingerprints of family members. The sensor works with any finger orientation thanks to 360-degree recognition. Since its launch in 2013, Touch ID has been used to unlock iPhones, confirm App Store purchases, pay via Apple Pay, and authorize in third-party applications.
Capacitive fingerprint scanner Touch ID consists of an array of 500 dots per inch (ppi) microscopic capacitors placed on the surface of a silicon chip. Each capacitor measures the electrical capacitance between the finger and the sensor. The ridges of the papillary pattern (raised parts) are closer to the sensor and create higher capacitance, while the valleys create lower capacitance.
The capacitance difference between 50,000 neighboring capacitors forms a fingerprint image at a resolution of 500 ppi. A 0.1 mm thick sapphire crystal protects the sensor from scratches and provides electrical insulation. According to Apple, sapphire is second only to diamond in hardness — this prevents sensor wear even after millions of touches.
The second-generation Touch ID scanner (from iPhone 8 onwards) uses an improved capacitor array with a denser layout — 800 ppi instead of 500. This increased scanning speed by 30% and improved accuracy for wet or dry fingers. The registration time for a new fingerprint was reduced from 12 to 8 touches.
| Parameter | Touch ID Gen 1 | Touch ID Gen 2 |
|---|---|---|
| Sensor Resolution | 500 ppi | 800 ppi |
| Touches Required for Registration | 12 | 8 |
| Scan Speed | 0.3 s | 0.2 s |
| Devices | iPhone 5S, 6, 6S, 7 | iPhone 8, SE (2–3 gen), iPad |
| Sapphire Protection | Yes | Yes |
The first-generation Touch ID debuted in the iPhone 5S and was used up to the iPhone 7. The sensor was built into the mechanical Home button and had a resolution of 500 ppi. Over time, Apple improved processing algorithms: iOS 10 introduced adaptive learning — the fingerprint template gradually updates with each scan, capturing new areas of the pattern.
The second-generation Touch ID launched alongside the iPhone 8 and iPad Pro in 2018. Key changes: a denser capacitor array (800 ppi), improved performance with wet fingers, and a new integration with Secure Enclave — the seventh-generation SEP accelerated cryptographic operations by 40%. The iPhone SE (2nd and 3rd generations) retained second-generation Touch ID as an alternative to Face ID for users who prefer the Home button.
On MacBook Pro, Touch ID is implemented as a separate sensor to the right of the Touch Bar (or in the Touch ID button on models without Touch Bar). Macs use the same Secure Enclave T2 or M-chip. According to Apple Platform Security, on Mac, Touch ID stores separate templates for each user and automatically disables when guest mode is activated.
Starting with iOS 10, Touch ID supports adaptive learning — the algorithm gradually expands the fingerprint template after each successful authentication. If the user touches the sensor with different areas of the finger, the template is enriched with new minutiae (ridge branching and ending points). Adaptive learning improves recognition accuracy by 15–20% during the first two weeks after fingerprint registration.
Secure Enclave is a dedicated coprocessor in Apple’s A7–A18 and M1–M4 chips that isolates biometric data from the main operating system. During fingerprint registration, the sensor transmits the image directly to the Secure Enclave via a secure peripheral channel. iOS only receives a notification that a template was saved or a comparison result of “matched / did not match.”
The mathematical fingerprint template is stored encrypted inside the Secure Enclave. The encryption key is generated based on a unique chip identifier (UID) that is programmed during manufacturing and is unreadable. According to Apple Security White Paper, no application, including iOS, has access to the fingerprint template — the API only returns a boolean value indicating authentication success.
Touch ID is also protected against spoofing attacks. The capacitive sensor measures the electrical conductivity of living tissue, so dried or silicone fingerprint casts do not work. Additional protection: after 5 failed attempts, Touch ID locks and requires a password, and after 48 hours of inactivity, the device also requests a password before using biometrics.
Despite its high reliability, Touch ID has limitations. The scanner may not work with heavily soiled fingers (paint, oil, dirt), dermatological conditions (eczema, psoriasis), or excessively dry skin. A wet finger is the most common cause of sensor failure, as water shunts the capacitor capacitance. Apple recommends registering multiple fingerprints of the same finger at different angles to increase the likelihood of successful reading.
For payments via Apple Pay with Touch ID, the user places their finger on the sensor while holding the iPhone near the terminal. The transaction is confirmed by a cryptographic signature created by the Secure Enclave. The card number and fingerprint are not transmitted to the merchant — tokenization is used. Each transaction is assigned a unique code (token) that cannot be reused. Touch ID for Apple Pay is available on iPhone 5S and later, as well as on iPad and Mac with the sensor.
With the release of the iPhone X in 2017, Apple began transitioning from Touch ID to Face ID, but both technologies remain relevant. Touch ID is convenient when your face is covered by a mask, the phone is lying on a table, or the user cannot look at the screen. Face ID is faster for regular use — just glance at the screen without pressing a button.
Touch ID wins in multi-user support — up to 5 fingerprints versus one face for Face ID. This is handy for family iPads or corporate devices. However, Touch ID falls short in baseline security (FAR 1:50,000 vs 1:1,000,000 for Face ID).
The LocalAuthentication framework works identically for Face ID and Touch ID — developers do not need to write different code for different biometric types. The system automatically detects the available sensor and shows the appropriate dialog. Below is an example with biometric availability checking on the device.
import LocalAuthentication
class BiometricHelper {
static func checkBiometryStatus() {
let context = LAContext()
var error: NSError?
switch context.canEvaluatePolicy(
.deviceOwnerAuthenticationWithBiometrics,
error: &error
) {
case true:
let type = context.biometryType
switch type {
case .touchID:
print("Touch ID Available")
case .faceID:
print("Face ID Available")
case .none:
print("Biometrics Not Configured")
@unknown default:
print("Unknown Type")
}
case false:
print("Biometrics Unavailable: \(error)")
}
}
}
The biometryType property returns the type of available biometric sensor: .touchID, .faceID, or .none. This is the only way to programmatically determine which sensor is installed on the device. For Touch ID, iOS automatically shows the standard dialog with the fingerprint icon and requires no additional interface setup.
Frequently Asked Questions
If the skin is damaged (cut, burn, scratch), Touch ID may stop recognizing the fingerprint. In this case, the phone will prompt for a password. After healing, it is recommended to re-register the fingerprint — the old template will not update automatically. iOS removes biometrics and requires a password after 5 failed attempts.
Yes, Touch ID supports up to 5 fingerprints on a single device. You can add fingerprints of family members or colleagues. However, all added fingerprints have the same access level — phone unlock, purchase confirmation, and app access. You cannot restrict permissions for a specific fingerprint.
The Touch ID capacitive sensor measures the electrical potential difference between the finger and the capacitors. Water on the finger distorts the capacitance of each capacitor, making the papillary pattern image unreadable. Second-generation Touch ID (iPhone 8+) partially improved performance with wet fingers through a denser sensor array, but the issue is not fully resolved.
Regular fabric or leather gloves block the electrical contact between the finger and the capacitive sensor, so Touch ID does not work. Special gloves with conductive threads (supporting capacitive touch) may work, but recognition accuracy decreases due to capacitance distortion.
Fingerprints are protected at the hardware level. Secure Enclave encrypts templates with a unique device key (UID) and has no API for data extraction. Even with physical extraction of the Secure Enclave chip and bus analysis, fingerprints remain inaccessible. Apple states that neither the government nor the company itself can retrieve fingerprints from the device.
Summary
We will develop a mobile application turnkey
IT Sectr creates iOS and Android applications for startups and businesses since 2017. We will advise you and propose the best solution.
Read also