How to Fix iPhone Unavailable / Security Lockout Screen
What “iPhone Unavailable” means
The iPhone Unavailable screen — sometimes called the Security Lockout screen on newer iOS versions — appears when too many wrong passcodes are typed in a row. It’s deliberate: iOS assumes someone is trying to guess their way into your phone, so it imposes a cooling-off timer. Six failed attempts bring a 1-minute lockout, seven bring 5 minutes, eight bring 15 minutes, and nine bring 1 hour. On iOS 15.2 and later, after the final round of failures, an Erase iPhone (or Forgot Passcode?) button appears on the lockout screen itself.
This screen replaced the old “iPhone is disabled, connect to iTunes” message. It usually comes from an honest mistake — a mistyped new passcode, a kid tapping the screen, or the phone registering touches in a pocket. Whatever the cause, there is no way to simply bypass it: the only options are waiting out the timer with the correct passcode, or erasing and restoring the phone. Before you do anything, check that you know your Apple ID password — you’ll need it to sign back in after any erase.
Common causes
- Repeated wrong passcodes: a changed-and-forgotten passcode is the classic trigger.
- Pocket or bag touches: accidental taps on the lock screen entering garbage digits.
- Kids or pranksters: enthusiastic tapping that runs the attempt counter up.
- Face ID failing silently: a broken camera or dirty sensor forcing constant manual entry.
- Rushing the timer: each guessed attempt during a lockout makes the next wait longer.
How to fix iPhone Unavailable — step by step
Start with the timer — it’s the only option that keeps your data without a restore.
- Wait out the countdown and try the right passcode. The lockout shows a timer — 1 minute, 5 minutes, 15 minutes, 1 hour — that gets longer with each failed attempt. When the timer ends, carefully enter the correct passcode once. Don’t rush or guess wildly: every failed attempt lengthens the next lockout. If the passcode works, the iPhone unlocks and the lockout clears on its own.
- Tap Erase iPhone on the lockout screen. On iOS 15.2 and later, after the final round of failed attempts a button labeled Erase iPhone (or Forgot Passcode? on iOS 17+) appears at the bottom-right of the lockout screen. Tap it, then tap Erase iPhone again to confirm, and enter your Apple ID password when asked. This requires the iPhone to be connected to Wi-Fi or cellular data. The phone erases itself and returns to the Hello setup screen.
- Erase remotely with Find My iPhone. If there’s no Erase iPhone button — for example the phone has no internet connection — sign in at iCloud.com/find on any device with the same Apple ID. Select the locked iPhone, click Erase iPhone, and confirm. The phone must be online to receive the erase command; when it does, it wipes itself and returns to the Hello screen.
- Restore in recovery mode with a computer. If there’s no internet and no Erase button, connect the iPhone to a Mac (Finder) or PC (iTunes or the Apple Devices app). Put the iPhone into recovery mode: on iPhone 8 and later, press and quickly release Volume Up, press and quickly release Volume Down, then press and hold the Side button until the recovery screen appears. On a Mac, open Finder and select the iPhone; on Windows, open iTunes or Apple Devices. Choose Restore when prompted. This downloads fresh iOS and wipes the phone.
- Restore your backup. After the erase, the iPhone restarts to the Hello screen. On the Transfer Your Apps & Data screen, choose From iCloud Backup and sign in with your Apple ID, or choose From Mac or PC and connect to the computer backup. This brings back your photos, messages, apps, and settings. Make sure you know your Apple ID password before you erase — without it you can’t sign back in.
- Set a passcode you’ll remember and back up regularly. When you’re back in, go to Settings > Face ID & Passcode and set a passcode you can enter confidently. Turn on iCloud Backup in Settings > [your name] > iCloud > iCloud Backup so the next lockout costs you minutes, not memories. Use Face ID so you rarely need to type the passcode at all.
Did this fix it? Quick checklist
- The lockout timer ended and the correct passcode unlocks the phone, or
- The iPhone erased successfully (on-screen button, iCloud.com/find, or recovery mode)
- You can sign in with your Apple ID after the erase
- Your backup restored and the phone is usable again
If recovery mode doesn’t detect the iPhone on any computer, or the restore repeatedly fails, the device may have a hardware issue — book an appointment at an Apple Store or authorized repair provider. Also note: a stolen or second-hand iPhone stuck on Activation Lock that you can’t sign out of is a different problem — you’ll need proof of purchase and Apple’s help.
Frequently asked questions
What does “iPhone Unavailable” mean?
It means too many wrong passcodes were entered in a row, so iOS locked the phone as a security measure. The countdown is a cooling-off period. On iOS 15.2 and later, enough failures also trigger an Erase iPhone option that wipes the phone so you can set it up again.
Will fixing it delete everything on my iPhone?
Erasing is the price of a full lockout: the phone’s data is wiped so it can be set up again. But nothing is lost if you restore from an iCloud or computer backup afterward. Waiting out the timer and entering the correct passcode is the only option that preserves data without a restore.
Why don’t I see the Erase iPhone button?
It only appears on iOS 15.2 and later, and only after the final set of failed attempts — usually when the timer says try again in 15 minutes or 1 hour. The phone also needs Wi-Fi or cellular data. If it never appears, erase with iCloud.com/find or restore in recovery mode with a computer instead.
How many wrong passcodes trigger iPhone Unavailable?
After 6 failed attempts the 1-minute lockout begins; 7 failures bring 5 minutes, 8 bring 15 minutes, 9 bring 1 hour, and 10 or more can disable the phone entirely or offer the erase option, depending on your settings. The exact schedule can vary slightly by iOS version.
Can I avoid the lockout from a pocket-dial or a toddler?
Mostly yes. Enable Face ID so typing is rare, and turn on Settings > Face ID & Passcode > Erase Data only if you want a strict wipe after 10 attempts — leaving it off keeps pocket-dials from wiping the phone. Regular iCloud backups make any lockout a minor inconvenience instead of a data disaster.