iPhone Unavailable or Forgot Passcode? What Actually Works
Your screen says iPhone Unavailable, Security Lockout, or on older versions of iOS, iPhone is disabled. Maybe a child got hold of it, maybe it went off in a pocket, or maybe you’ve simply forgotten your iPhone passcode. Here’s the honest answer up front, because a lot of websites won’t give it: there is no way to bypass an iPhone passcode. The only fix is to erase the phone and restore from a backup. This guide shows how to do that safely and how to find out what you’ll get back.
Why your iPhone says “iPhone Unavailable”
After several wrong passcode guesses in a row, iOS makes you wait before trying again, and each additional wrong attempt makes the wait longer, stepping up from about a minute to as long as an hour. After roughly ten wrong attempts, the phone locks for good. On recent iOS versions it shows iPhone Unavailable or Security Lockout with no timer; older versions show iPhone is disabled, connect to iTunes.
If Erase Data was turned on in Settings → Face ID & Passcode (or Touch ID & Passcode), the iPhone erases itself automatically after ten failed attempts.
Forgot your iPhone passcode? The honest answer
Nobody can bypass an iPhone passcode. Not Apple, not a repair shop, not a data recovery lab, and not any software you can buy. That includes us.
This isn’t a policy choice. The passcode is part of how the phone’s data is encrypted, and without it, that data can’t be read. So the real question isn’t “how do I unlock it?” but “what do I have backed up, and how do I get it back after I erase the phone?”
Before you erase: find out what you have
Check for an iCloud backup
On another iPhone or iPad signed in to the same Apple Account, go to Settings → [your name] → iCloud → Manage Account Storage → Backups (the exact wording varies on recent iOS versions). On a Mac, look under System Settings → [your name] → iCloud and manage storage. You’ll see each device that backs up to iCloud and the date of its last backup.
Check for a computer backup
If you ever backed up the phone to a Mac (in Finder) or a Windows PC (in the Apple Devices app or iTunes), that backup is still on the computer. If you encrypted it, you’ll need the backup password to restore it.
Check what’s synced to iCloud, even without a backup
Many things are synced to iCloud continuously, separate from a backup. Sign in at iCloud.com or look on another Apple device to see:
- Photos, if iCloud Photos was turned on
- Contacts, Calendars, Notes and Reminders
- iCloud Drive files
- Messages, if Messages in iCloud was turned on
- Passwords saved in iCloud Keychain
Also check third-party services such as Google Photos or WhatsApp’s chat backup. Whatever isn’t in a backup or synced to a cloud service will be lost when the phone is erased. That’s a hard fact, and it’s better to know it now.
If you might remember the passcode
If there’s a real chance the passcode will come back to you, don’t burn your remaining attempts on random guesses. Each wrong try adds a longer wait, and the final one locks the phone permanently.
- Stop and think instead of guessing. Was it 4 digits, 6 digits, or a custom code with letters? Did you change it recently?
- Write down your best candidates and only try the ones you’re genuinely confident about, once each.
- Ask anyone who might have set it, such as a family member or the person who set the phone up for you.
- If you changed your passcode recently: on iOS 17 and later, tapping Forgot Passcode? may offer an option to enter your previous passcode for a limited time (Apple says 72 hours) after a change.
If you’re not confident, stop guessing and move on to erasing and restoring.
How to erase a locked iPhone
All three methods erase everything on the phone. Make sure you’ve checked your backups first.
Option 1: From the lock screen (recent iOS versions)
On iOS 15.2 and later, the lockout screen offers a way to erase the phone directly.
- Keep entering a passcode until the lockout screen shows Erase iPhone (iOS 15.2 to 16) or Forgot Passcode? (iOS 17 and later) in the bottom corner.
- Tap it, then confirm you want to reset the iPhone.
- Enter your Apple Account password to sign out and erase the phone.
The iPhone needs a cellular or Wi-Fi connection, and you need to know your Apple Account password.
Option 2: From Find My
If the phone is online, sign in at iCloud.com/find or use the Find My app on another Apple device, select the iPhone, and choose Erase This Device.
Option 3: Restore with a computer in recovery mode
If you don’t have your Apple Account password handy or the lock screen option isn’t available:
- Turn the iPhone off and connect it to a Mac or PC.
- On iPhone 8 and later, press and hold the Side button while connecting the cable, and keep holding until the recovery mode screen appears.
- In Finder, the Apple Devices app or iTunes, choose Restore.
If a restore fails partway with an error, our guides to an iPhone stuck in recovery mode and iPhone error 4013 can help.
After the erase: Activation Lock and restoring your data
When the phone restarts, it goes through setup like a new iPhone. If Find My was on, you’ll hit Activation Lock, which asks for the Apple Account and password that was signed in before. Without them, the phone can’t be set up. If you’ve lost those too, Apple’s account recovery process is the route back.
During setup, choose Restore from iCloud Backup or Restore from Mac or PC, pick the most recent backup, and let it finish. Then sign in to your other apps and let synced data download.
Avoid “iPhone unlock” scams
Search for “iPhone unavailable fix” and you’ll find software and services promising to unlock an iPhone without the passcode. Tools that “remove” a passcode work by erasing the phone, which you can do yourself for free. Anyone claiming to unlock a phone and keep your data is not telling the truth, and some of these downloads carry malware or ask for your Apple Account password. Our guide to whether data recovery software is safe covers the warning signs.
The bottom line
If your iPhone says iPhone Unavailable or Security Lockout and you’ve forgotten the passcode, nobody can unlock it without erasing it. Check what’s in iCloud and on any computer backups first, stop guessing unless you’re genuinely close to remembering, then erase from the lock screen, Find My, or recovery mode, and restore from your latest backup. Have your Apple Account password ready for Activation Lock. Afterward, the 3-2-1 backup rule makes sure a forgotten code never costs you your photos again.
To be clear about where we fit: we can’t help with a forgotten passcode, and no honest lab can. Our iPhone recovery service is for iPhones that are physically damaged or won’t turn on when the owner knows the passcode, such as a dead board after a drop or liquid damage. In those cases we repair the original logic board enough to boot it and extract your data, for one flat $1,200 for a single device, with free prepaid shipping, and you pay nothing unless the recovery succeeds.
