iPhone Security Lockout or Unavailable? How to Get Back In

Stuck on iPhone Unavailable or Security Lockout? Try your old passcode, erase from the Lock Screen with Forgot Passcode?, or restore with a computer.
Waiting out the timer only helps if you remember your passcode. If you don’t, tap Forgot Passcode? on the Lock Screen. If you changed your passcode in the last 72 hours, your old one can still get you in. Otherwise you’ll erase the iPhone with your Apple Account password, or with a computer, then restore from a backup.
What the iPhone Unavailable screen means
Someone, probably you, entered the wrong passcode too many times. Depending on your iOS version and the step you’re on, the Lock Screen says iPhone Unavailable or Security Lockout. On iOS 15.2 and later, the reset steps below start from either screen (Apple Support).
The timer is a brake on guessing. The delays escalate with each wrong passcode, from 1 minute up to 8 hours. Restarting doesn’t skip the wait: the delay is enforced by the Secure Enclave, and a restart starts the timer over for the current period (Apple Platform Security).
When the timer ends, you get another try. That’s all it gives you. If you know the passcode, wait and type it carefully. If you don’t, more waiting won’t help. Apart from Passcode Reset (next section), getting back in without the passcode means resetting the iPhone, and that erases the data on it (Apple Support).
One more reason to stop guessing: Erase Data. If it’s turned on in Settings > Face ID & Passcode, 10 consecutive wrong attempts remove all content and settings. Typing the same wrong passcode again doesn’t count toward that limit (Apple Platform Security). If you’re not sure whether you turned it on, I’d stop guessing now.
Changed your passcode recently? Try the old one first
On iOS 17 and later, Passcode Reset lets you use your previous passcode for 72 hours after a change. No computer, no erase (Apple Support).
- On the iPhone Unavailable screen, tap Forgot Passcode? in the bottom corner.
- Tap Enter Previous Passcode.
- Enter the old passcode, then follow the onscreen steps. You’ll be asked to set a new passcode right away.
Forgot Passcode? only appears when the iPhone is connected to cellular or Wi-Fi, signed in to an Apple Account, and has Find My turned on.
Erase your iPhone from the Lock Screen
If Passcode Reset isn’t an option, you can reset the iPhone on the iPhone itself. You need:
- iOS 15.2 or later
- Find My turned on before you got locked out
- An active cellular or Wi-Fi connection
- Your Apple Account and its password
On iOS 17 and later (Apple Support):
- Start from the iPhone Unavailable screen. If it’s showing a timer, wait until you can tap.
- Tap Forgot Passcode?
- On the Security Lockout screen, tap Start iPhone Reset.
- Enter your Apple Account password. This signs your Apple Account out of the iPhone.
- Tap Erase iPhone. This permanently deletes all your data and settings. If you use an eSIM, you can choose to keep it or delete it.
- When the iPhone restarts, set it up again, restore from a backup if you have one, and set a new passcode.
On iOS 15.2 or iOS 16, the Lock Screen shows Erase iPhone instead of Forgot Passcode?, under the same conditions. If you use an eSIM on iOS 16 or earlier, contact your carrier before you start and ask for a QR code to set it up again.
iPhone Security Lockout with no erase option
No Forgot Passcode? and no Erase iPhone means one of the conditions above is missing: iOS older than 15.2, no cellular or Wi-Fi connection, no Apple Account signed in, or Find My turned off. Then you need a computer: a Mac or Windows PC, a cable that can charge your iPhone, an internet connection and up to 60 minutes. This also erases the iPhone (Apple Support).
- Turn the iPhone off. On an iPhone with Face ID, press and hold the side button and the volume down button until the power-off slider appears, then drag it.
- Enter recovery mode. Connect the cable to the computer. Then connect it to the iPhone and quickly press and hold the side button. Keep holding it while the Apple logo appears, and let go only when you see an image of a computer and a cable. iPhone 7 and earlier models use a different button; Apple’s article lists each one.
- Find the iPhone on the computer. On a Mac, open Finder and select it in the sidebar under Locations. On Windows, open the Apple Devices app, select it, then select General.
- Choose Restore, not Update, and follow the onscreen steps.
- Be patient with the download. It can take more than 15 minutes. If the iPhone leaves recovery mode in the meantime, let the download finish, turn the iPhone off and enter recovery mode again.
- Set it up. When the Hello screen appears, disconnect the iPhone and go through setup.
If the buttons don’t respond and you never reach the recovery screen, the iPhone may need service. No computer, and none to borrow? An Apple Store or Apple Authorized Service Provider can help.
After the erase: your backup, then Activation Lock
During setup, follow the steps until you reach Transfer Your Apps & Data, then choose your iCloud backup. For a backup on a computer, connect the iPhone and use Restore Backup in Finder or the Apple Devices app (Apple Support). If you never backed up, you’ll set the iPhone up as new (iPhone User Guide).
Then there’s Activation Lock. It turns on with Find My, and every time an iPhone is activated or recovered, it checks with Apple. Your Apple Account password is required to reactivate and use the device (Apple Support). The Lock Screen reset already asked for that password. After a computer restore, have it ready.
Forgot that password too? Start account recovery at iforgot.apple.com (Apple Support). Don’t put this off: if you can’t find your Apple Account or reset its password, you might be unable to use or reactivate the iPhone at all (Apple Support).
If someone else changed your passcode
A passcode you didn’t set is a warning sign. A device locked or placed in Lost Mode by someone other than you is one of the signs of a compromised Apple Account (Apple Support).
- The change was in the last 72 hours? If you remember your old passcode, Passcode Reset above can get you back in. Once you’ve set a new passcode, go to Settings > Face ID & Passcode and tap Expire Previous Passcode Now, so an earlier passcode stops working through Passcode Reset (Apple Support).
- Take back the account. Change your Apple Account password, or reset it if someone already changed it. Then remove devices you don’t recognize at account.apple.com (Apple Support).
- The iPhone itself is gone? Mark it as lost at iCloud.com/find. Don’t remove it from Find My: that removes Activation Lock and makes the phone easier to resell (Apple Support).
For next time, Stolen Device Protection is the setting built for a thief who knows your passcode. Away from familiar places, changing your passcode needs Face ID or Touch ID, a one-hour wait, then a second scan (Apple Support). iPhone Security Delay explains how it works. I’d keep it on. If you think more than your passcode was touched, go through how to check if your iPhone is hacked.
What Mistero can and can’t do here
Mistero can’t unlock an iPhone, shorten a lockout timer or recover a passcode. For getting back in, Apple’s steps above are what you have.
It’s useful once you’re on the other side. The security check can “Review iOS version, passcode, and Face ID status” (App Store listing, read Oct 31, 2026), which is a quick look after a reset, when you’ve just set up a passcode and Face ID from scratch. The full list of checks is on Mistero security.
Sources
- Apple Support, If you forgot your iPhone, iPad, or Apple Vision Pro passcode, reset your device without a computer: https://support.apple.com/en-us/105090 (read Oct 31, 2026)
- Apple Support, If you forget your new passcode, use your old passcode to unlock your iPhone or iPad within 72 hours: https://support.apple.com/en-us/105039 (read Oct 31, 2026)
- Apple Support, Use a computer to reset your iPhone and your passcode: https://support.apple.com/en-us/118430 (read Oct 31, 2026)
- Apple Support, Expire an old passcode sooner when you change passcodes on your iPhone or iPad: https://support.apple.com/en-us/127950 (read Oct 31, 2026)
- Apple Support, Restore your iPhone, iPad, or iPod touch from a backup: https://support.apple.com/en-us/118105 (read Oct 31, 2026)
- Apple Support, Activation Lock for iPhone and iPad: https://support.apple.com/en-us/108794 (read Oct 31, 2026)
- Apple Support, If you think your Apple Account has been compromised: https://support.apple.com/en-us/102560 (read Oct 31, 2026)
- Apple Support, If your iPhone or iPad was stolen: https://support.apple.com/en-us/120837 (read Oct 31, 2026)
- Apple Support, About Stolen Device Protection for iPhone: https://support.apple.com/en-us/120340 (read Oct 31, 2026)
- Apple iPhone User Guide (iOS 27), Set a passcode on iPhone: https://support.apple.com/guide/iphone/set-a-passcode-iph14a867ae/ios (read Oct 31, 2026)
- Apple Platform Security, Passcodes and passwords: https://support.apple.com/guide/security/passcodes-and-passwords-sec20230a10d/web (read Oct 31, 2026)
- App Store, Mistero VPN: Privacy & Proxy: https://apps.apple.com/app/id1583175414 (read Oct 31, 2026)
Pricing New subscribers can start a 3-day free trial. After the trial, the subscription renews automatically at $12.99 per week unless you cancel at least 24 hours before the trial ends, in Settings > [your name] > Subscriptions (Apple Support). There's also a one-time Lifetime purchase for $99.99. These are US App Store prices as of October 2026; the purchase screen shows the current price before you confirm.