<!--
{
  "availability" : [
    "iOS: 8.3.0 - 9.0.0",
    "iPadOS: 8.3.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.10.3 - 10.11.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "LocalAuthentication",
  "identifier" : "/documentation/LocalAuthentication/LAContext/maxBiometryFailures",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Local Authentication"
    ],
    "preciseIdentifier" : "c:objc(cs)LAContext(py)maxBiometryFailures"
  },
  "title" : "maxBiometryFailures"
}
-->

# maxBiometryFailures

The number of biometric authentication failures after which the context falls back to another mechanism.

```
var maxBiometryFailures: NSNumber? { get set }
```

## Discussion

Biometry lockout happens after too many wrong attempts, regardless of how you set this property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)