Quick Answer
You get 10 tries to unlock an iPhone with its passcode. The first 3 wrong passcodes have no penalty. After the 4th, the iPhone makes you wait 1 minute, and the wait grows with each new mistake: 5 minutes, 15 minutes, 1 hour, 3 hours and 8 hours. After the 10th wrong try, the iPhone locks completely (Security Lockout), or erases itself if you turned on Erase Data.
Below you'll find the full attempts table from Apple, what each lock screen message means, how to make your remaining tries count, and 4 ways to unlock your iPhone after too many attempts.
Part 1. How Many Tries Before iPhone Is Disabled?
Part 2. How Many Failed Passcode Attempts Before iPhone Erases Data?
Part 3. How to Get More Tries to Unlock iPhone
Part 4. How to Unlock iPhone After Too Many Attempts?
- 4.1 Erase iPhone from the Lock Screen (iOS 15.2 or Later)
- 4.2 Erase with Find My or iCloud.com
- 4.3 Restore in Recovery Mode with a Computer
- 4.4 Use PassFab iPhone Unlock (No Apple Account Password Needed)HOT
FAQs on How Many Tries to Unlock iPhone
Conclusion
Part 1. How Many Tries Before iPhone Is Disabled?
Apple adds "escalating time delays" after wrong passcodes to stop people from guessing. Here's how many attempts you have to unlock an iPhone, and how long you wait after each one:
These numbers come from Apple's own Platform Security guide. Many older articles say you get 5 free tries, but Apple's current table starts the first 1-minute delay at the 4th wrong attempt.
| Wrong attempts | What Unavailable iPhone Says |
|---|---|
| 1–3 | Try again, no wait |
| 4 | iPhone Unavailable. Try again in 1 minute |
| 5 | iPhone Unavailable. Try again in 5 minutes |
| 6 | iPhone Unavailable. Try again in 15 minutes |
| 7 | iPhone Unavailable. Try again in 1 hour |
| 8 | iPhone Unavailable. Try again in 3 hours |
| 9 | iPhone Unavailable. Try again in 8 hours |
| 10 | iPhone locks (Security Lockout), or data is erased if Erase Data is on |
1.1 What the Lock Screen Messages Mean
The wording you see depends on your iOS version:
- iOS 14 and earlier: "iPhone is disabled. Try again in X minutes." After the last try, it says "iPhone is disabled. Connect to iTunes."
- iOS 15.2 to iOS 16: "iPhone Unavailable," with a timer and an Erase iPhone option after too many tries.
- iOS 17 and later: "iPhone Unavailable" with a timer, then Security Lockout, and a Forgot Passcode? option at the bottom of the screen.
Part 2. How Many Failed Passcode Attempts Before iPhone Erases Data?
The answer is 10 failed passcode attempts, but only if Erase Data is turned on. It's off by default, so most iPhones don't erase themselves. They just lock you out.
To check the setting, go to Settings > Face ID & Passcode (or Touch ID & Passcode) and scroll to Erase Data. Turn it on if you're worried about theft. Leave it off if kids often play with your phone.
Part 3. How to Get More Tries to Unlock iPhone
There's no setting that adds more attempts or resets the counter. But you can make sure you don't waste the tries you have left:
- Repeating the same wrong code doesn't count. iOS only counts different wrong passcodes, so a repeated mistake doesn't use up a try. It won't unlock anything, though, so move on to a new guess.
- Don't restart during a timer. Apple says the delay is still enforced after a restart, and the timer starts over for the current period. Keep the iPhone on and charged, and wait.
- Try Face ID or Touch ID. If the iPhone hasn't been restarted, Face ID or Touch ID may still unlock it.
- Use your old passcode (iOS 17 and later). If you changed your passcode in the last 72 hours, tap Forgot Passcode? > Enter Previous Passcode. Then set a new passcode. This is called Passcode Reset.
- Make a short list before you guess again. Write down your old codes, birthdays or the code from another device, so you don't burn your last tries on random guesses.
Note:
Changing the date, turning on Airplane Mode or making an emergency call doesn't reset the attempt counter.
Part 4. How to Unlock iPhone After Too Many Attempts
If you've used all 10 tries, or you can't remember the code at all, these are your options. Every method below except Passcode Reset erases the iPhone, so you'll restore from a backup afterward.
4.1 Erase iPhone from the Lock Screen (iOS 15.2 or Later)
What you need:
- iOS 15.2 or later.
- Find My turned on.
- A Wi-Fi or cellular connection.
- Your Apple Account password.
-
Keep entering your passcode until the iPhone Unavailable screen appears.
-
Tap Forgot Passcode? in the bottom corner (on iOS 15.2 to 16, tap Erase iPhone).
-
On the Security Lockout screen, tap Start iPhone Reset.
-
Enter your Apple Account password, then tap Erase iPhone.
-
When the iPhone restarts, set it up again and restore your backup.
4.2 Erase with Find My or iCloud.com
If you have another Apple device, or a computer with a browser, you can erase the locked iPhone remotely. Open the Find My app or sign in at iCloud.com/find, select your iPhone and choose Erase This Device. The locked iPhone needs Find My turned on and an internet connection.
4.3 Restore in Recovery Mode with a Computer
Use this method when the iPhone is offline or the lock screen options don't appear.
Turn off your iPhone.
-
Connect it to your Mac or Windows PC and put it in recovery mode. On an iPhone with Face ID, connect the cable and hold the side button until you see the image of a computer and a cable.
-
On a Mac, open Finder. On Windows, open the Apple Devices app. Select your iPhone.
-
Click Restore when you see Restore or Update.
-
Wait for the download and restore to finish, then set up your iPhone.
Note:
Apple says this can take up to 60 minutes. If the download takes more than 15 minutes, the iPhone may exit recovery mode. Let the download finish, then start recovery mode again.
4.4 Use PassFab iPhone Unlock (No Apple Account Password Needed)
If Find My is off, the iPhone is offline, or you don't remember your Apple Account password, PassFab iPhone Unlock is a simpler way to remove the lock screen from your computer.
Key features:
- Removes 4-digit and 6-digit passcodes, custom codes, Face ID and Touch ID in minutes.
- Works on a disabled, unavailable or Security Lockout iPhone.
- Also removes Apple ID and Activation Lock, and bypasses Screen Time and MDM.
- Supports iOS/iPadOS 27 and the latest models, including iPhone 18 Pro, iPhone 18 Pro Max and iPhone Duo.
-
Install and open PassFab iPhone Unlock on your Windows PC or Mac, then click Start under Unlock iOS Screen.
-
Connect your iPhone with a USB cable and click Next. If the iPhone isn't recognized, follow the on-screen guide to put it into recovery mode or DFU mode.
-
Choose a save path and click Download to get the matching firmware.
-
Click Start to Remove and wait. When you see "Screen Lock Removed Successfully," set up your iPhone as new or restore your backup.
Note:
Like Apple's own methods, removing a screen passcode erases the iPhone and updates it to the latest iOS version. Make sure you have a backup to restore.
4.5 Which Method Should You Use?
| Method | Needs a computer | Needs Apple Account password | Keeps your data |
|---|---|---|---|
| Passcode Reset (iOS 17+) | No | No | Yes |
| Erase iPhone from the lock screen | No | Yes | No |
| Find My / | Another device | Yes | No |
| Recovery mode | Yes | Yes, to get past Activation Lock afterward | No |
| PassFab iPhone Unlock | Yes | No (for removing the screen lock) | No |
FAQs on How Many Tries to Unlock iPhone
1.Does the attempt counter reset after a correct passcode?
Yes. Once you enter the correct passcode, the count goes back to zero.
2.Can I unlock a locked iPhone without losing data?
Only if you remember the passcode or use Passcode Reset with your previous passcode within 72 hours of changing it (iOS 17 and later). Every other method erases the iPhone.
3.Do failed Face ID attempts count toward the 10 tries?
No. After several failed Face ID scans, the iPhone asks for your passcode, and only wrong passcodes count toward the 10 tries.
4.How long is the longest iPhone lockout?
The longest timer is 8 hours, after the 9th wrong passcode. After the 10th, there's no timer. The iPhone stays locked until you reset it.
Conclusion
So, how many tries to unlock an iPhone? You get 10. The first 3 are free, then the waits grow from 1 minute to 8 hours, and the 10th wrong try locks or erases the iPhone. Try Passcode Reset, the lock screen Erase option or Find My first. If those don't work for you, PassFab iPhone Unlock removes the lock screen in a few clicks, with no Apple Account password needed.