← Back to Blog
Smartphones

How Under-Display Fingerprint Sensors Actually Work — Optical vs. Ultrasonic Explained

How Under-Display Fingerprint Sensors Actually Work — Optical vs. Ultrasonic Explained

Your fingerprint unlocks your phone in a fraction of a second, and you barely notice it happening. But underneath that seamless gesture is a genuinely fascinating piece of engineering — one that solves a surprisingly hard problem: how do you read the ridges of a fingertip through several millimeters of glass and display panel without adding any visible hardware at all?

There are two main approaches in widespread use today, and they work in fundamentally different ways.

The optical method is the more common of the two. When you press your finger to the screen, the display itself acts as the light source — a brief, intense flash of pixels illuminates the fingertip from below. A photodetector array buried beneath the panel captures the reflected light. Because the ridges and valleys of your fingerprint reflect light differently, the sensor captures a 2D image of the pattern. That image is then compared against an encrypted template stored securely on the device. The whole process takes milliseconds. Optical sensors are relatively thin and inexpensive to integrate, which is why they appear across a wide range of price points. Their limitation is that they depend on image quality, which can be affected by wet fingers, screen protectors, or low-angle light.

Ultrasonic sensors take a different approach entirely. Instead of light, they use high-frequency sound waves — far beyond the range of human hearing — emitted by a piezoelectric transmitter beneath the display. Those waves pass through the glass and into your fingertip, where the ridges and valleys cause different amounts of sound to bounce back. The returning waves are captured and converted into a three-dimensional map of your fingerprint. Because sound can penetrate through water, dead skin cells, and even minor contaminants, ultrasonic sensors tend to be more reliable in real-world conditions. They also produce a richer data profile than a flat 2D image, making them harder to spoof with a photograph.

The tradeoff has historically been cost and integration complexity. Ultrasonic sensors require precise acoustic engineering and add more to the bill of materials, which is why they tend to appear in flagship devices. Over time, though, manufacturing improvements have been pushing ultrasonic technology further down the market.

Both approaches rely on a secure enclave or dedicated security chip to store and process biometric data. The raw fingerprint image never leaves the device in readable form — it is converted into a mathematical template, encrypted, and kept isolated from the main operating system. That separation is as important as the sensor itself.

At ShazGear, we pay close attention to how sensor placement and display stack design interact — because the best sensor in the world still fails if it is poorly positioned or buried under a suboptimal panel. Understanding how the technology works is the first step to knowing what to actually look for when you are choosing your next device.