Entering an incorrect passcode multiple times on an iPhone locks the device and displays the warning: “iPhone Unavailable” or “Security Lockout”, often accompanied by a countdown timer (such as “try again in 15 minutes”). In iOS, the Secure Enclave hardware processor tracks failed passcode attempts to prevent brute-force attacks against system encryption. Once the threshold of failed attempts is reached, the device disables input temporarily or locks permanently, requiring device reset and re-authentication with your Apple Account (formerly Apple ID). This tutorial explains how to reset an unavailable iPhone directly on-screen, via iCloud, or through computer Recovery Mode.
Why Does the iPhone Unavailable Alert Display?
The lock screen progression follows a strict security sequence designed by Apple to protect personal data:
- 5 Incorrect Attempts: Device temporarily locks for 1 minute.
- 6 Incorrect Attempts: Device temporarily locks for 5 minutes.
- 7 Incorrect Attempts: Device temporarily locks for 15 minutes.
- 8 or 9 Incorrect Attempts: Device locks for 60 minutes with Security Lockout.
- 10 Incorrect Attempts: The iPhone locks permanently with no remaining timer, requiring a full system wipe and restore.
Method 1: Reset Directly via the ‘Forgot Passcode?’ On-Screen Option
On devices running iOS 15.2 or later connected to an active Wi-Fi or cellular network, you can erase and reset the device directly from the lock screen without a computer.
- Tap the screen to wake your iPhone and view the iPhone Unavailable or Security Lockout screen.
- Look at the bottom corner for Forgot Passcode? (or Erase iPhone on iOS 15.2–16).
- Tap Forgot Passcode?, then tap Start iPhone Reset on the confirmation screen.
- Enter your Apple Account password to sign out of Find My and disarm Activation Lock.
- Tap Erase iPhone to permanently delete all data, passcodes, and settings.
- After the device restarts, follow the on-screen Setup Assistant to restore your data from an iCloud or computer backup.
Method 2: Erase the iPhone Remotely via iCloud Find My
If your unavailable iPhone cannot connect to Wi-Fi but has mobile data, you can trigger a remote wipe from any web browser or another Apple device.
- Open a browser on another device and navigate to iCloud.com/find.
- Sign in with the Apple Account associated with the locked iPhone.
- Click All Devices at the top of the map and select your locked iPhone.
- Click Erase This Device.
- Confirm the prompt and enter your Apple Account password.
- Once the iPhone receives the remote erase command, it will wipe and restart into the Hello welcome screen.
Method 3: Restore Using Recovery Mode on Mac or Windows PC
If your device does not have an active internet connection, has no ‘Forgot Passcode’ option, or fails to respond, computer Recovery Mode forces a full restore.
- Connect your iPhone to a Mac (via Finder) or Windows PC (via the Apple Devices app or latest iTunes) using a certified USB cable.
- Put the iPhone into Recovery Mode depending on your model:
- iPhone 8, iPhone SE (2nd/3rd gen), iPhone X through iPhone 16: Press and quickly release Volume Up. Press and quickly release Volume Down. Then press and hold the Side (Power) button until the recovery mode screen (cable pointing to a computer) appears. Do not release when the Apple logo appears.
- iPhone 7 and 7 Plus: Press and hold both the Volume Down and Side buttons simultaneously until the recovery screen appears.
- In Finder or iTunes on your computer, a dialogue box will appear stating: “There is a problem with the iPhone that requires it to be updated or restored.”
- Click Restore (do not choose Update, as a forgotten passcode cannot be resolved via update).
- Wait while your computer downloads clean iOS firmware and flashes the device. Once finished, configure your device and restore your backup.