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.
- Read time
- 4 min
- Updated
- Nov 20, 2026
- Sources
- 5
- 0.3% to about 5%Failure rate of the most accurate pre-pandemic algorithms, unmasked and then with a digital mask, in one-to-one matchingNIST news release on NISTIR 8311, July 2020
- 20% to 50%Failure rate on masked faces for many otherwise competent algorithms among the 89 testedNIST news release on NISTIR 8311, July 2020
- 2.4% to 5%Error rate on masked faces in the best cases, once algorithms submitted after the pandemic began were added (152 in total)NIST news release on NISTIR 8331, December 2020
- 10 to 100 timesHow much higher false match rates ran when the face was covered in both photos being comparedNIST news release on NISTIR 8331, December 2020
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.
What does a covered face mean for a face search?
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.
- NIST, NIST Launches Studies into Masks' Effect on Face Recognition Software, on NISTIR 8311 (27 July 2020)
- NIST, Face Recognition Software Shows Improvement in Recognizing Masked Faces, on NISTIR 8331 (1 December 2020)
- NIST, FRTE Face Mask Effects, status log entries of 20 January 2022 and 22 February 2024 (accessed November 2026)
- Tian, Wu, King and Bowyer, Impact of Sunglasses on One-to-Many Facial Identification Accuracy, arXiv, for IEEE FG 2025 (7 December 2024)
- Apple Support, About Face ID advanced technology (published 18 September 2026)
Keep reading
Related pages
- Answers5 min readHow to avoid facial recognitionMasks, glasses, makeup, clothing and photo cloaking, each with the study that tested it. Then the levers that hold up.Read
- Answers4 min readDoes makeup or a filter fool face recognition?Everyday makeup and beauty filters: mostly no. Software-designed makeup and eye-covering filters: sometimes. What the studies measured.Read
- Answers4 min readCan face recognition tell twins apart?Mostly no. What NIST's twins evaluation measured, what Apple says about Face ID, and what it means for look-alike results.Read
- Face scans7 min readAirport face scansTSA's checkpoint photo is optional. What TSA, CBP and the EU border system capture, how long they say they keep it, and how to decline.Read
- Product4 min readAI face searchWhat the AI does with your photo, step by step, and what comes back.Read
Start with one photo
Upload a photo and see where a similar face appears on the public web. Pages, not names.