How Many Attempts to Unlock iPhone Before It Locks (2026 Guide)

John Hawley

iPhone 6S

Unlocking an iPhone can sometimes be tricky, especially if you forget your passcode. You have 10 attempts to enter your passcode before your iPhone is disabled. This is a critical step to know because exceeding these attempts will lock your device, requiring further steps to regain access.

iPhones come with multiple security features to protect user data. If you fail to unlock your iPhone five times using Face ID or Touch ID, your device will ask for a passcode instead. This adds a layer of protection but can catch users off guard if they aren’t aware of the limits.

Knowing these security measures ensures you don’t get locked out of your own device. By understanding how many failed attempts you have, you can avoid frustration and enjoy the peace of mind that comes with knowing how to access your iPhone safely.

How Many Attempts to Unlock an iPhone Before It Locks

If you’ve ever entered the wrong passcode on your iPhone too many times, you’ve likely seen the message “iPhone Unavailable” or “iPhone Disabled.” This is Apple’s built-in security system designed to protect your data from unauthorized access.

In this guide, we’ll explain how many attempts you get to unlock your iPhone, what happens after too many failed tries, and how to safely regain access if your device becomes locked or disabled.


🔐 Why iPhones Lock After Wrong Passcode Attempts

Apple uses a progressive lockout system to deter brute-force attacks. Each incorrect passcode attempt increases the waiting time before you can try again. After a certain number of failed attempts, your iPhone will lock completely and may even erase all data (if that setting is enabled).

This system applies to all Face ID and Touch ID models, including iPhones running iOS 17, iOS 18, and later.


📱 Number of Attempts Before iPhone Locks

Here’s the breakdown of how many wrong passcode attempts you’re allowed before your iPhone locks temporarily or permanently:

Failed AttemptsResult / MessageWait Time Before Next Attempt
1–4No lockoutImmediate retry
5iPhone Unavailable – Try Again in 1 Minute1 minute
6Try Again in 5 Minutes5 minutes
7Try Again in 15 Minutes15 minutes
8Try Again in 15 Minutes15 minutes
9Try Again in 60 Minutes1 hour
10iPhone Unavailable or iPhone Disabled – Connect to iTunesLocked permanently

⚠️ Important: If you have Erase Data enabled under Settings → Face ID & Passcode → Erase Data, your iPhone will automatically erase all data after 10 failed attempts.


🧭 What “iPhone Unavailable” or “iPhone Disabled” Means

When you see:

  • “iPhone Unavailable” (iOS 15.2 and later) – your iPhone is locked out temporarily or permanently.
  • “iPhone Disabled – Connect to iTunes” (older iOS versions) – you must restore your iPhone using a computer.

In both cases, you’ll need to wait for the timer to expire (if available) or erase and restore your device if it’s permanently locked.


🧰 How to Unlock iPhone After Too Many Attempts

If your iPhone is permanently locked, you can regain access using one of the following official methods:

Option 1: Use “Erase iPhone” (iOS 15.2 or Later)

If your iPhone shows “iPhone Unavailable” with an Erase iPhone option:

  1. Tap Erase iPhone on the lock screen.
  2. Enter your Apple ID password to sign out.
  3. Follow the prompts to erase all data and settings.
  4. Set up your iPhone again and restore from iCloud or Finder/iTunes backup.

Option 2: Use Finder or iTunes (Computer Restore)

If you don’t see the Erase iPhone option:

  1. Connect your iPhone to a Mac or PC.
  2. Open Finder (macOS Catalina or later) or iTunes (Windows/macOS Mojave or earlier).
  3. Put your iPhone into Recovery Mode:
    • Quickly press Volume Up, then Volume Down, then hold Side Button until you see the recovery screen.
  4. Choose Restore when prompted.
  5. Once done, set up your iPhone and restore your data.

Option 3: Use iCloud (Find My iPhone)

If Find My iPhone is enabled:

  1. Go to iCloud.com/find.
  2. Sign in with your Apple ID.
  3. Select your locked iPhone.
  4. Click Erase iPhone.
  5. After erasing, set up your device again.

🧩 Prevent Getting Locked Out Again

To avoid future lockouts:

  • Use Face ID or Touch ID for quicker, safer access.
  • Write down or securely store your passcode.
  • Back up regularly to iCloud or a computer.
  • Disable “Erase Data” if you share your device with kids or family.
  • Add a Recovery Contact under Settings → Apple ID → Sign-In & Security → Account Recovery.

🧠 Pro Tip: Use Apple’s Recovery Key and Contact

Starting with iOS 15, Apple allows you to set up:

  • Recovery Key (25-character code) for account recovery.
  • Recovery Contact (trusted person) who can help you regain access if you’re locked out of your Apple ID.

This ensures you can always get back into your account — even if you forget your passcode or lose your device.


✅ Summary

AttemptsLockout DurationOutcome
1–4NoneRetry immediately
51 minuteTemporary lock
65 minutesTemporary lock
7–815 minutesTemporary lock
960 minutesTemporary lock
10Permanent lockMust erase and restore

If your iPhone says “iPhone Unavailable” or “iPhone Disabled,” you’ll need to erase and restore it through Erase iPhone, iTunes/Finder, or iCloud.


Sources:

Key Takeaways

  • You have 10 tries to enter your passcode before your iPhone is disabled.
  • Failing to unlock with Face ID or Touch ID five times requires the passcode.
  • Understanding these security limits helps prevent lockouts.

Understanding iPhone Security Features

iPhone security features are designed to protect user data from unauthorized access. Key features include passcodes, biometric locks, and security protocols to handle multiple failed unlock attempts.

Passcode and Biometric Locks

Every iPhone requires a passcode to unlock. Users can set a 4-digit or 6-digit passcode. A longer passcode increases security.

Additionally, many iPhones use Face ID or Touch ID. Face ID recognizes facial features, while Touch ID uses fingerprints. These biometric locks add convenience and a higher level of security. Both methods protect data and grant access to various services and apps.

Failed Unlock Attempts and iPhone Disablement

Incorrect password attempts result in increasing lockout periods. For example:

AttemptsConsequence
1-5No consequence
61-minute lockout
75-minute lockout
8+Longer lockout times

After ten failed attempts, the iPhone shows “iPhone is Disabled”. Possible data erasure depends on settings.

Security Protocols for Unauthorized Access

To prevent unauthorized access, iPhones use iCloud Activation Lock. This feature ties the device to the user’s Apple ID. If someone tries to erase and set up the device, they must enter the Apple ID and password.

Another important feature is the security lockout screen. If the screen lock is on due to failed attempts, users need the correct passcode or Apple ID credentials to proceed. Other protocols include screen time passcode for parental controls and enhanced privacy settings. These layers ensure the safety of user data against unauthorized access.