How Many Attempts to Unlock iPhone? Lockout Times Explained

Updated by Brian Davis on Sep 15, 2026 • Category: Unlock iOS
8 mins read

How many wrong passcodes can you enter before your iPhone locks? Apple uses increasing security delays as failed passcode attempts add up, with recovery required after 10 or more counted attempts.

This guide explains how many iPhone passcode attempts you get, how long each lockout lasts, what happens after 10 failed attempts, and what to do next.

how many attempts to unlock iphone

Quick Answer: How Many Failed Passcode Attempts Are Allowed?

Apple adds increasing security delays after repeated incorrect passcodes. According to Apple Platform Security, the 4th failed attempt triggers a 1-minute delay, followed by 5 minutes, 15 minutes, 1 hour, 3 hours, and 8 hours. At 10 or more failed attempts, normal passcode entry is no longer available and the iPhone requires recovery or reset.

Failed Passcode AttemptSecurity DelayDetailed Guide
1st–3rdNo delay
4th1 minuteiPhone Try Again in 1 Minute
5th5 minutes
6th15 minutesiPhone Try Again in 15 Minutes
7th1 houriPhone Try Again in 1 Hour
8th3 hoursiPhone Try Again in 3 Hours
9th8 hoursiPhone Try Again in 8 Hours
10th or moreNormal passcode entry unavailable; recovery requiredSee recovery options

note icon Important Note

Do not keep guessing your passcode. More incorrect attempts lead to longer delays and can eventually require you to reset the iPhone.

link If your device already shows iPhone Unavailable, see our complete guide to fix iPhone Unavailable.

How Long Does iPhone Lock After Wrong Passcode Attempts?

iPhone uses increasing time delays to make repeated passcode guessing more difficult. These delays are enforced by the Secure Enclave, Apple's hardware-based security subsystem.

For example, after the fourth incorrect attempt, you must wait 1 minute before trying again. By the ninth failed attempt, the delay increases to 8 hours.

If your Lock Screen shows Try Again in X Minutes or Try Again in X Hours, wait until the displayed time ends before entering the correct passcode. Avoid random guesses.

You may see iPhone Unavailable or Security Lockout during the passcode lockout and recovery process. These are related lockout screens rather than fixed labels for a specific attempt number.

link For more details about the second message, see our guide to Security Lockout on iPhone.

Does the Same Wrong Passcode Count Toward the 10-Attempt Erase Limit?

No. Apple states that consecutive entries of the same incorrect passcode do not count toward the 10-attempt Erase Data limit.

However, repeatedly trying passcodes is still not recommended. If you are unsure of the correct passcode, use the recovery options available on your Lock Screen instead.


What Happens After 10 Failed Passcode Attempts?

What happens after 10 consecutive incorrect passcodes depends partly on whether Erase Data was enabled before the lockout.

Erase Data SettingWhat Happens
EnabledThe iPhone automatically erases its content and settings after 10 consecutive incorrect passcodes.
DisabledThe iPhone does not automatically erase itself, but normal passcode attempts are no longer available and recovery is required.

If Erase Data Is Enabled

After the 10th consecutive incorrect passcode, the iPhone erases its stored content and settings. You can then set up the device again. If you have an existing iCloud or computer backup, you can restore your backed-up data during setup.

If Erase Data Is Disabled

The iPhone does not automatically wipe itself after the 10th failed attempt.

However, this does not mean you can continue guessing indefinitely. Normal passcode entry becomes unavailable, and you must use an available recovery or reset method to regain access.

How to Enable or Check Erase Data Before a Lockout

You can only check this setting while you still have access to the iPhone.

  • Step 1. Go to Settings > Face ID & Passcode, or Settings > Touch ID & Passcode.
  • Step 2. Enter your current passcode, scroll down, and find Erase Data.
  • Step 3. When enabled, this feature automatically erases the iPhone after 10 consecutive failed passcode attempts.

erase iphone data or not

If your iPhone is already unavailable or locked out, you cannot enter Settings to check this option.

note icon Note

On managed work or school devices, an administrator may set a lower failed-passcode limit.

link View Also: iPhone Erase Data After 10 Attempts: Must Know Security Tips

What Should You Do After Too Many Failed Passcode Attempts?

The best next step depends on what appears on your Lock Screen. Do not keep testing random passcodes.

Your SituationWhat to Do
Countdown shown and you know the current passcodeWait, then enter the correct passcode carefully
Changed the passcode within the last 72 hoursTry Previous Passcode
Forgot Passcode? or Erase iPhone appearsUse the Lock Screen recovery option
Find My was enabledErase the iPhone remotely with Find My
No usable on-device recovery optionUse Recovery Mode with Apple Devices or Finder
Prefer a guided computer-based processUse TunesKit iPhone Unlocker

Try Previous Passcode First If You Recently Changed It

On iOS 17 or later, Apple provides a 72-hour Passcode Reset period after you change your passcode. If you forget the new passcode but still remember the previous one, you may be able to regain access without erasing the iPhone.

This option requires:

  • iOS 17 or later
  • The passcode was changed within the last 72 hours
  • Wi-Fi or cellular access
  • An Apple Account signed in
  • Find My enabled
  • Forgot Passcode? available on the Lock Screen

ios 17 enter previous passcode

Start with Passcode Reset. If it isn't available, try an on-device reset, then use computer recovery if neither option works.

If You Have Forgotten the Passcode Completely

If Previous Passcode is unavailable, you may need to reset or restore the iPhone. Available options include:

  • Resetting from Forgot Passcode? or Erase iPhone
  • Using Find My
  • Restoring through Apple Devices on Windows or Finder on Mac
  • Using a computer-based screen-passcode removal tool such as TunesKit iPhone Unlocker

Try TunesKit iPhone Unlocker

If you can no longer enter the correct passcode and need a guided computer-based solution, TunesKit iPhone Unlocker can help remove the forgotten iPhone screen passcode. It guides you through device detection, firmware download, and screen-lock removal on Windows and Mac.

Try It Free safe 600,000+ Downloads

Unlock screen with TunesKit iPhone Unlocker

note icon Note

Resetting or removing a forgotten screen passcode normally erases the current data on the device. If Activation Lock appears afterward, the linked Apple Account may still be required.

link For detailed steps, see our complete iPhone Unavailable recovery guide.

FAQs About iPhone Passcode Attempts

  • How many failed passcode attempts before an iPhone locks?

    Apple starts adding security delays after repeated incorrect attempts. The 4th failed attempt triggers a 1-minute delay, and the delays increase with further attempts. At 10 or more failed attempts, normal passcode entry is no longer available.

  • Does iPhone erase itself after 10 failed attempts?

    Only if Erase Data was enabled. If the setting is off, the iPhone does not automatically erase itself, but recovery is required after 10 failed passcode attempts.

  • Does restarting an iPhone reset failed passcode attempts?

    No. Restarting does not clear the passcode lockout or failed-attempt state. If a security delay is already active, restarting also does not let you bypass it.

  • Can Face ID or Touch ID failures count as passcode attempts?

    No. Failed Face ID or Touch ID attempts do not count as incorrect passcode entries. However, iPhone may require the passcode after repeated biometric failures.

  • Can I avoid losing data after too many passcode attempts?

    Sometimes. If another passcode attempt becomes available and you know the correct passcode, wait and enter it carefully. If you changed your passcode within the last 72 hours on iOS 17 or later, Previous Passcode may also let you regain access without erasing the iPhone.


Conclusion

iPhone does not use a simple "10 tries and permanently locked" rule. Instead, Apple applies increasing security delays as incorrect passcode attempts continue. At 10 or more failed attempts, normal passcode entry is no longer available, and the device may also erase itself if Erase Data was enabled.

If you are already locked out, avoid further guesses. Wait for another passcode attempt when available, try Previous Passcode if eligible, or use the appropriate recovery option for your device.

Add a review

home Home > Unlock iOS > How Many Attempts to Unlock iPhone? 2026 Guide