Skip to content

Short answers

Does face recognition work with masks and sunglasses?

Yes, less accurately. In July 2020 NIST found that the best algorithms built before the pandemic failed to match about 5% of digitally masked faces, against about 0.3% unmasked. By December 2020, algorithms submitted after the pandemic began had cut errors by as much as a factor of 10 in some cases. A 2024 study found dark sunglasses cost about as much accuracy as strong blur. For a face search, a covered face means fewer and weaker matches.

Two free credits. No card. Written by The FaceGPT Team. Facts checked on November 20, 2026.

Two faces, one question: same person or not?
Read time
4 min
Updated
Nov 20, 2026
Sources
5
NIST's face mask evaluations

What did NIST find about masks?

Nose coverage
The more of the nose a mask covers, the lower the accuracy.
Shape and color
Round masks gave fewer errors. Black and red masks tended to give more than surgical blue.
Kind of error
In July 2020, failures to match rose while false positives stayed stable or fell modestly.
Test method
Masks were added digitally to existing photos. NIST's own researcher noted they were not the real thing.

These were one-to-one tests: is this masked face the same person as that photo? NIST's first report did not test one-to-many search, where a face is compared with a whole gallery. NIST told operators to learn how their own software behaves, because algorithms differ.

Do sunglasses and hats work better than a mask?

There is less evidence, and it points the same way. A study accepted at the IEEE face and gesture recognition conference for 2025 measured one-to-many identification and found that sunglasses degrade accuracy by an amount similar to strong blur or noticeably lower resolution, and more when combined with either. Adding sunglasses photos to training data cut the error rate.

Phone unlock is the consumer version. Apple says Face ID is designed to work with hats, scarves, glasses, contact lenses and many sunglasses, and that on iPhone 12 or later it can work with a face mask if the camera can see your eyes. We found no NIST evaluation of hats.

A face search is one-to-many: one photo against a very large set of public images. Less visible face means less to compare, so a masked or shaded photo tends to return fewer results, and the ones it returns deserve more doubt. If you have another photo of the same person with the face clear, search with that one.

Questions

What people ask next

01Does facial recognition work with a face mask?

Yes, with more errors. NIST reported in December 2020 that the best algorithms were wrong on 2.4% to 5% of masked faces in one-to-one matching, after developers adapted to the pandemic. In July 2020 the best pre-pandemic algorithms failed about 5% of the time, and many failed 20% to 50% of the time.

02Does facial recognition work with sunglasses?

Usually, with a loss of accuracy. A 2024 study by Tian, Wu, King and Bowyer found that sunglasses reduce one-to-many identification accuracy about as much as strong blur or noticeably lower resolution. Apple says Face ID is designed to work with many sunglasses, which implies not all of them.

03Did face recognition get better at masks?

Yes. NIST's December 2020 report said that in some cases error rates fell by as much as a factor of 10 between a developer's pre-pandemic and post-pandemic algorithms. A January 2022 update covered 266 algorithms submitted since March 2020. NIST ended the mask benchmark in February 2024.

04Does the type of mask matter?

In NIST's tests it did. Masks that covered more of the nose caused more errors. Error rates were generally lower with round masks in the first study, and black and red masks tended to produce higher error rates than surgical blue. All masks were digital overlays, so real fabric may behave differently.

05Can I run a face search with a photo where the face is partly covered?

You can, and it may still find matches, but expect fewer and treat each with more caution. A covered face gives the comparison less to work with, so look-alikes become more likely. A clear, uncovered photo of the same person is the better input. FaceGPT never confirms that two photos show the same person.

Sources

Every external fact on this page traces to one of these. Tell us if one has changed.

  1. NIST, NIST Launches Studies into Masks' Effect on Face Recognition Software, on NISTIR 8311 (27 July 2020)
  2. NIST, Face Recognition Software Shows Improvement in Recognizing Masked Faces, on NISTIR 8331 (1 December 2020)
  3. NIST, FRTE Face Mask Effects, status log entries of 20 January 2022 and 22 February 2024 (accessed November 2026)
  4. Tian, Wu, King and Bowyer, Impact of Sunglasses on One-to-Many Facial Identification Accuracy, arXiv, for IEEE FG 2025 (7 December 2024)
  5. Apple Support, About Face ID advanced technology (published 18 September 2026)

Keep reading

Start with one photo

Upload a photo and see where a similar face appears on the public web. Pages, not names.

We'd like to use analytics cookies to understand how FaceGPT is used and improve it. Your photos and account pages are never recorded. Privacy policy