iPhone gives you six attempts before it starts delaying your next try

When you enter your passcode wrong on an iPhone, the device counts each failed attempt. After six wrong tries in a row, your phone locks you out for one minute before you can try again. After the tenth wrong attempt, it locks for five minutes. After the fifteenth wrong attempt, it locks for 15 minutes or longer, depending on your iPhone model and iOS version.

This is a security feature designed to stop someone else from guessing your passcode by trying thousands of combinations in rapid succession. The delays get longer each time you fail, making brute-force attacks impractical. If you keep entering the wrong passcode after many attempts, your iPhone will eventually offer you the choice to erase the device entirely — a last-resort protection that prevents anyone from accessing your data.

Key Takeaways

  • Your iPhone locks you out for one minute after six wrong passcode attempts, then five minutes after ten attempts, then 15 minutes or longer after 15 attempts.
  • The lockout timer resets if you enter the correct passcode before the timer expires.
  • After many failed attempts (the exact number varies by iOS version), your iPhone will offer to erase itself to prevent unauthorized access.
  • If you have Face ID or Touch ID enabled, you can still use those methods to unlock your phone even during a passcode lockout.

What happens at each stage of failed attempts

The first five wrong passcodes show no delay — you can try again when ready. On the sixth wrong attempt, your iPhone displays a message saying "iPhone is disabled. Try again in 1 minute." The timer counts down on your screen.

If you enter the wrong passcode again after that one-minute wait, the lockout extends. The exact progression depends on your iOS version, but generally: after ten total wrong attempts, you wait five minutes; after 15 wrong attempts, you wait 15 minutes or longer. Some iPhone models extend this to one hour or more after 19 or more failed attempts.

During these lockout periods, you cannot enter your passcode at all. However, you can still use Face ID or Touch ID if you have either enabled. You can also make emergency calls, receive calls, and use other features that do not require unlocking the phone.

The lockout timer resets when you succeed

If you enter the correct passcode before the lockout timer expires, the counter resets to zero. Your next wrong attempt will not trigger an when ready lockout — you will have five more tries before the one-minute delay kicks in again.

This is why the feature works: it assumes that a person who knows their own passcode will eventually get it right, while someone guessing will fail repeatedly and face longer and longer delays. A legitimate user might need two or three tries if they are tired or distracted, but they will not need 15 tries in a row.

What "iPhone is disabled" means and what to do

When your iPhone shows "iPhone is disabled," it means the device has temporarily blocked passcode entry as a security measure. You are not locked out permanently — you just have to wait. The message will tell you exactly how long to wait before you can try again.

If you know your passcode and you are willing to wait out the timer, you can unlock your phone by entering the correct code when the timer expires. If you do not know your passcode, you will need to use another method: Face ID or Touch ID if you have set those up, or recovery mode if you do not.

Recovery mode: what happens after many failed attempts

After a very high number of failed passcode attempts — the exact number varies, but it is typically 19 or more — your iPhone will display a message offering to erase the device. This is the final security barrier. The message says something like "iPhone is disabled. Erase iPhone?" and requires you to confirm.

If you tap "Erase iPhone," the device wipes all data and settings, then returns to the setup screen as if it were brand new. This prevents a thief from ever accessing your photos, messages, banking apps, or other sensitive information, no matter how many times they try to guess your passcode.

If you have a backup in iCloud or on a computer, you can restore your data after erasing. If you do not have a backup, the data is gone permanently. This is why Apple makes the choice so severe: the company is betting that you would rather lose your data than let someone else access it.

How to avoid getting locked out of your own phone

If you know your passcode, the lockout feature will not stop you for long. Wait out the timer and enter your code correctly. If you have Face ID or Touch ID set up, use those instead — they do not trigger the passcode lockout counter.

If you have forgotten your passcode entirely, you cannot unlock the phone by waiting. You will need to use recovery mode, which requires a computer with iTunes or Finder, a USB cable, and your Apple ID password. Recovery mode erases the phone and lets you set a new passcode. This process takes 20 to 30 minutes.

If you do not remember your Apple ID password either, you will need to recover that first through Apple's account recovery process, which can take several days. This is why Apple recommends writing down your passcode somewhere safe, or using a password manager that stores it securely.

Why iPhones lock you out instead of just letting you keep trying

A passcode is usually four to six digits, which means there are only 10,000 to 1,000,000 possible combinations. Without delays, a computer could try all of them in minutes. The lockout delays make this attack take weeks or months, which makes it pointless for a thief who just wants to use your phone.

The feature also protects against someone trying your passcode while you are not looking — a family member, a coworker, or someone who finds your phone. After a few wrong tries, they will give up rather than wait five minutes between attempts.

The final erase option is Apple's way of saying: if someone is determined enough to wait through all these delays and try 19 or more times, we will destroy the data rather than let them have it. It is a security choice that prioritizes your privacy over the phone itself.

Frequently Asked Questions

Can I unlock my iPhone during the lockout period if I know my passcode?

No. During the lockout timer, the passcode entry field is completely disabled. You must wait for the timer to expire. However, if you have Face ID or Touch ID enabled, you can use those to unlock your phone when ready without waiting.

Does the attempt counter reset if I turn off my iPhone?

No. The counter persists even if you power off the phone. Turning it back on will not reset your failed attempts or skip the lockout timer. You still have to wait out the delay before you can try again.

What if I enter the wrong passcode 100 times — will it lock forever?

No. After a very high number of attempts (typically 19 or more), your iPhone will offer to erase itself. If you confirm the erase, the phone wipes all data and returns to setup mode. You can then set a new passcode. The phone does not lock permanently.

If I use Face ID or Touch ID, do I still have a passcode lockout?

Yes, the passcode lockout still exists as a backup security layer. However, if Face ID or Touch ID works, you will never need to enter your passcode, so you will not trigger the lockout. You only hit the lockout if you try to enter a passcode directly.

Can I check how many failed attempts I have made?

No. Your iPhone does not show you a running count of failed attempts. It only tells you when you have hit a threshold that triggers a lockout delay. At that point, the message on your screen will tell you how long to wait.