---
title: biometryLockout
framework: localauthentication
role: symbol
role_heading: Type Property
path: localauthentication/laerror-swift.struct/code/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

### Biometry failure

- [LAError.Code.biometryDisconnected](localauthentication/laerror-swift.struct/code/biometrydisconnected.md)
- [biometryNotAvailable](localauthentication/laerror-swift.struct/code/biometrynotavailable.md)
- [biometryNotEnrolled](localauthentication/laerror-swift.struct/code/biometrynotenrolled.md)
- [LAError.Code.biometryNotPaired](localauthentication/laerror-swift.struct/code/biometrynotpaired.md)
- [LAError.Code.touchIDLockout](localauthentication/laerror-swift.struct/code/touchidlockout.md)
- [LAError.Code.touchIDNotAvailable](localauthentication/laerror-swift.struct/code/touchidnotavailable.md)
- [LAError.Code.touchIDNotEnrolled](localauthentication/laerror-swift.struct/code/touchidnotenrolled.md)
