What "disabled" means on an iPhone and why it happens
An iPhone becomes disabled when you enter the wrong passcode too many times in a row. After six failed attempts, the phone locks you out for one minute. After ten failed attempts, it locks for five minutes. After fifteen failed attempts, the phone displays "iPhone is disabled" and stops accepting passcode entries altogether — sometimes for hours, sometimes permanently depending on your settings.
This is a security feature, not a malfunction. Apple built it in so that if someone steals your phone, they cannot guess your passcode by trying thousands of combinations. The downside is that you can lock yourself out if you forget your code or enter it wrong repeatedly under stress.
The phone is not broken. Your data is still there. You just cannot access it without proving you own the device.
Key Takeaways
- A disabled iPhone stops accepting passcode entries after too many wrong attempts, but your data remains intact on the device.
- If you remember your passcode, waiting out the lockout timer (one minute to several hours depending on attempts) will let you try again.
- If you do not remember your passcode, you must use a computer with iTunes or Finder to erase the phone and set it up fresh.
- Recovery mode erases all data on the phone but lets you regain access without knowing the original passcode.
- If you have a backup in iCloud or on a computer, you can restore your photos, messages, and apps after erasing the phone.
Waiting out the lockout timer if you might remember your passcode
If you think you know your passcode but entered it wrong a few times, the simplest path is to wait. After six wrong attempts, wait one minute. After seven wrong attempts, wait five minutes. After eight wrong attempts, wait fifteen minutes. The wait times grow longer with each failure.
During the wait, the phone displays a countdown timer on the screen. Do not try to enter the code while the timer is running — the phone will not accept it and will reset the timer. When the timer reaches zero, try your passcode again. If you get it right, the phone unlocks normally and you regain full access.
This approach only works if you actually remember the code. If you have no idea what it is, or if you have already failed fifteen times, move to the recovery mode method below.
Using recovery mode on a Mac or Windows computer
Recovery mode is the standard way to unlock an iPhone when you do not know the passcode. It erases the phone completely and lets you set it up as new, or restore from a backup you saved earlier. You need a computer with a USB cable that fits your iPhone.
On a Mac with macOS Monterey or newer, plug your iPhone into the computer with the USB cable. Open Finder and click your iPhone in the sidebar. Click "Restore" and confirm. Finder will read the current iOS software and erase your phone. On a Mac with an older operating system, use iTunes instead of Finder — the steps are the same.
On Windows, plug your iPhone in and open iTunes. Click the iPhone icon in the top left, then click "Restore iPhone" and confirm. iTunes will read the software and erase the phone. The process takes ten to thirty minutes depending on your internet speed and which iPhone model you have.
After the erase completes, the phone will ask you to set it up. You can choose "Restore from iCloud Backup" if you have one, or "Restore from Mac/PC" if you backed up to a computer. If you have neither backup, you will set the phone up as new and your old data will be gone.
Restoring from an iCloud backup after erasing
If you backed up your iPhone to iCloud before it became disabled, your photos, messages, contacts, and app data are still there. During the setup process after erasing, the phone will ask "Do you want to restore from an iCloud backup?" Choose yes and sign in with your Apple ID.
The phone will show you a list of available backups — usually the most recent one from the day before you locked yourself out. Select it and the phone will read your data. This can take anywhere from a few minutes to an hour depending on how much data you have and how fast your internet is.
Your apps will reinstall automatically, but you may need to sign back into some of them — email, social media, banking apps, and others will ask for your passwords. Keep those passwords handy before you start the restore.
Restoring from a computer backup if you have one
If you previously connected your iPhone to a Mac or Windows computer and let it back up, that backup file still exists on the computer. During setup after erasing, choose "Restore from Mac/PC" and plug the phone back into that same computer.
On a Mac, Finder will show your available backups. On Windows, iTunes will show them. Select the most recent backup and click restore. The phone will read your data from the computer instead of from iCloud, which is usually faster if you are on the same network.
This method only works if you still have access to the same computer you backed up to, and if you did not delete the backup file. If you are not sure whether you have a backup, check your computer's storage or ask someone who may have set up the phone for you originally.
What to do if you do not have a backup
If you erase the phone and have no iCloud backup and no computer backup, your data is gone. The phone itself will work fine — you can set it up as new, read apps, and use it normally. But your old photos, messages, notes, and other personal data cannot be recovered.
This is why backing up regularly matters. Going forward, turn on iCloud backup in Settings > [Your Name] > iCloud > iCloud Backup, and toggle "iCloud Backup" on. The phone will back up automatically when it is plugged in, locked, and on Wi-Fi.
If you have an old iPhone or a family member's phone you can borrow, you might be able to retrieve some data from a backup on that device. Ask anyone who may have set up your phone or who has access to your Apple ID.
Preventing this from happening again
Use a passcode you actually remember, or use Face ID or Touch ID instead so you do not have to type a code at all. If you must use a passcode, write it down and store it somewhere safe — not on a sticky note on your monitor, but in a password manager, a locked drawer, or with a trusted family member.
Turn on iCloud backup so that if you ever lock yourself out again, your data is safe. You can also enable "Erase Data" in Settings > Face ID & Passcode (or Touch ID & Passcode), which will automatically erase the phone after ten failed passcode attempts. This sounds scary, but it means you will not be stuck in a disabled state — the phone will erase itself and you can restore from backup.
If you share your phone with family members, consider using a simpler passcode that multiple people know, or let them use Face ID or Touch ID instead of typing a code.
Frequently Asked Questions
Can I unlock my iPhone without erasing it?
Not if you do not know the passcode. Apple's security system does not allow any way to bypass the passcode without erasing the phone first. If you remember the code, waiting out the lockout timer is your only option. If you do not remember it, erasing is the only path forward.
Will I lose my photos and messages if I erase my iPhone?
Only if you do not have a backup. If you backed up to iCloud or to a computer before the phone became disabled, you can restore everything after erasing. If you have no backup, the data is permanently lost. Check iCloud.com or your computer before you erase to see whether a backup exists.
How long does recovery mode take?
The erase itself takes five to fifteen minutes depending on your iPhone model. Downloading the iOS software takes another five to thirty minutes depending on your internet speed. Restoring from a backup can take anywhere from a few minutes to an hour depending on how much data you have. Plan for at least thirty minutes total.
What if I do not have a computer or access to one?
You can use any Mac or Windows computer — a friend's, a family member's, a library computer, or a computer at an Apple Store. You do not need to own the computer. Just plug your iPhone in and follow the recovery mode steps above. An Apple Store can also do this for you if you bring your iPhone and proof of purchase.
Can I unlock my iPhone if I forgot my Apple ID password too?
Yes. During setup after erasing, when the phone asks for your Apple ID, click "Do not have an Apple ID or forgot it?" and follow the prompts to reset your password or create a new account. You can also skip signing in and set up the phone without an Apple ID, though you will not be able to restore from an iCloud backup.