---
title: biometryLockout
framework: localauthentication
role: symbol
role_heading: Type Property
path: localauthentication/laerror-swift.struct/biometrylockout
---

# biometryLockout

Biometry is locked because there were too many failed attempts.

## Declaration

```swift
static var biometryLockout: LAError.Code { get }
```

## Discussion

Discussion A passcode is now required to unlock biometry. Try the LAPolicy.deviceOwnerAuthentication policy instead to allow use of a passcode.

## See Also

### Error Codes

- [appCancel](localauthentication/laerror-swift.struct/appcancel.md)
- [systemCancel](localauthentication/laerror-swift.struct/systemcancel.md)
- [userCancel](localauthentication/laerror-swift.struct/usercancel.md)
- [biometryDisconnected](localauthentication/laerror-swift.struct/biometrydisconnected.md)
- [biometryNotAvailable](localauthentication/laerror-swift.struct/biometrynotavailable.md)
- [biometryNotEnrolled](localauthentication/laerror-swift.struct/biometrynotenrolled.md)
- [biometryNotPaired](localauthentication/laerror-swift.struct/biometrynotpaired.md)
- [touchIDLockout](localauthentication/laerror-swift.struct/touchidlockout.md)
- [touchIDNotAvailable](localauthentication/laerror-swift.struct/touchidnotavailable.md)
- [touchIDNotEnrolled](localauthentication/laerror-swift.struct/touchidnotenrolled.md)
- [authenticationFailed](localauthentication/laerror-swift.struct/authenticationfailed.md)
- [invalidContext](localauthentication/laerror-swift.struct/invalidcontext.md)
- [invalidDimensions](localauthentication/laerror-swift.struct/invaliddimensions.md)
- [notInteractive](localauthentication/laerror-swift.struct/notinteractive.md)
- [passcodeNotSet](localauthentication/laerror-swift.struct/passcodenotset.md)
