How to Fix iPhone Unavailable in 2026: A Complete Guide

Jerome
Last updated: Nov 11, 2026
Summary: Seeing "iPhone Unavailable" or "Security Lockout" on your iPhone? This guide explains what these messages mean and shows you how to unlock your iPhone, including methods that won't erase your data.

Have you entered the wrong passcode too many times and suddenly found yourself locked out of your iPhone? Perhaps your screen says "iPhone Unavailable, try again in 15 minutes," "try again in 3 hours," or "try again in 8 hours." In other cases, you may see "iPhone Unavailable" without a countdown timer or a "Security Lockout" message.

Whatever your situation, you probably want to know why this happened and, more importantly, how to unlock your iPhone.

This guide focuses on iPhone Unavailable on iOS 15.2 and later. We'll explain what these messages mean and walk you through several ways to regain access, including options that don't require erasing your data.

How to Fix iPhone Unavailable: A Complete Guide

What Does "iPhone Unavailable" Mean?

iPhone Unavailable is a security message that appears on your iPhone Lock Screen after too many incorrect passcode attempts. It's designed to prevent unauthorized access to your personal information.

Apple introduced the iPhone Unavailable and Security Lockout screens in iOS 15.2. Depending on the number of incorrect passcode attempts and your iOS version, you may encounter different messages, such as:

If you're seeing any of these messages, your iPhone has entered a security lockout after repeated incorrect passcode attempts.

What's the difference between iPhone Unavailable and Security Lockout?

Both messages indicate that your iPhone is locked because of too many incorrect passcode attempts. They are part of Apple's security mechanism in iOS 15.2 and later. Depending on your iOS version and lockout state, your device may display one or both messages.

Note
If your iPhone displays "iPhone is Disabled. Connect to iTunes," see our separate guide on how to fix iPhone is Disabled. Connect to iTunes.

How to Fix iPhone Unavailable Without Losing Data

Before erasing your iPhone, try the following methods. Depending on your situation, you may be able to regain access without deleting your data.

Method 1. Wait for the Timer to Expire

If your iPhone displays a countdown, such as "iPhone Unavailable, try again in 15 minutes" or "try again in 3 hours," you can simply wait until the timer expires.

Here's what to do:

  1. Leave your iPhone alone and wait for the countdown to finish.
  2. When the waiting period ends, enter your correct passcode.
  3. If the passcode is correct, your iPhone will unlock normally.
Tip
This method only works if you remember your correct passcode. Waiting won't remove the passcode or unlock your iPhone automatically.

Method 2. Use Your Previous Passcode (iOS 17 and Later)

Did you recently change your iPhone passcode and then forget the new one? There's good news.

Starting with iOS 17, Apple introduced a Passcode Reset feature that allows you to use your previous passcode to regain access within 72 hours of changing it.

Here's how:

  1. On the iPhone Unavailable screen, tap Forgot Passcode?.
  2. Select Enter Previous Passcode.
  3. Enter the passcode you used before changing it.
  4. Follow the onscreen instructions to create a new passcode.

Once completed, you can access your iPhone again without erasing your data.

Tip
This feature is only available within 72 hours of changing your passcode. Your iPhone must also meet Apple's requirements for displaying the Forgot Passcode? option.

How to Fix iPhone Unavailable If You Forgot Your Passcode

If you don't remember your passcode and cannot use the previous-passcode feature, you'll need to erase your iPhone to regain access.

Apple provides several ways to do this, including resetting your iPhone directly from the Lock Screen, erasing it remotely through iCloud, or restoring it using a computer.

Keep in mind that these methods will erase your iPhone's existing data and settings. If you have a backup, you can restore your data after setting up the device again.

Method 1. Erase Your iPhone Directly from the Lock Screen

If your iPhone meets Apple's requirements, you can erase it directly from the Lock Screen without connecting it to a computer.

The steps differ slightly depending on your iOS version.

  • For iOS 17, 18, 26 and 27:

    1. On the iPhone Unavailable screen, tap Forgot Passcode?.
    2. Tap Start iPhone Reset.
    3. Enter your Apple Account password to sign out of your Apple Account.
    4. Tap Erase iPhone to confirm.
    5. Wait for your iPhone to restart, then set it up again.
  • For iOS 15.2 and iOS 16:

    1. On the Security Lockout screen, tap Erase iPhone.
    2. Tap Erase iPhone again to confirm.
    3. Enter your Apple Account password when prompted.
    4. Confirm that you want to erase your iPhone.
    5. Once the process is complete, set up your iPhone again.
Unlock iPhone in Security Lockout Mode
  • Requirements:
  • Your iPhone must be running iOS 15.2 or later.
  • Find My must have been enabled before your iPhone was locked.
  • Your iPhone must have an active Wi-Fi or cellular connection.
  • You must know the Apple Account password associated with your iPhone.
Tip
If the Erase iPhone or Forgot Passcode? option doesn't appear, your device may not meet Apple's requirements. For example, Find My may not have been enabled, or your iPhone may not be connected to a network.

Method 2. Erase Your iPhone via iCloud

If you can't find the Erase iPhone or Forgot Passcode? option on your Lock Screen, you can also erase your locked iPhone remotely using iCloud Find Devices.

Here's how:

  1. Go to iCloud Find Devices.
  2. Sign in with the Apple Account associated with your locked iPhone.
  3. Click All Devices and select the iPhone you want to erase.
    All Devices in iCloud
  4. Select Erase This Device.
    Erase iPhone with iCloud
  5. Follow the onscreen instructions to confirm the erasure.
  6. Once the process is complete, set up your iPhone again and restore your data from a backup if available.
Note
Your iPhone must be connected to the internet for the remote erase command to take effect immediately. If it's offline, the erase request will remain pending until the device connects to the internet.

Method 3. Unlock Your iPhone via BuhoUnlocker

If you can't erase your iPhone directly from the Lock Screen or prefer using a computer, you can try BuhoUnlocker, an iOS unlocking tool developed by Dr.Buho.

It helps remove forgotten screen passcodes from locked iPhones. You don't need advanced technical knowledge. Just connect your iPhone to a computer and follow the instructions.

DownloadRuns on Windows & Mac
Security Verified & 100% Safe

Here's how to unlock your iPhone with BuhoUnlocker:

  1. Download and install BuhoUnlocker on your Mac or Windows PC.
  2. Launch the software and select Unlock Screen Passcode.
    BuhoUnlock Unlock Screen Passcode
  3. Click Unlock Now.
    Unlock Screen Passcode with BuhoUnlocker
  4. Connect your iPhone to your computer using a USB cable and follow the instructions to put it into Recovery Mode.
    Put iPhone In Recovery Mode
  5. Download the required firmware for your iPhone.
    Download Firmware for iPhone
  6. Once the firmware download is complete, click Unlock Now and wait for the process to finish.
  7. When your iPhone displays the Hello screen, follow the setup instructions.
DownloadRuns on Windows & Mac
Security Verified & 100% Safe
Tip
Removing the screen passcode with BuhoUnlocker will erase all data and settings on your iPhone. If you have an iCloud or computer backup, you can restore your data after unlocking.

Method 4. Restore Your iPhone Using Finder or iTunes

If the previous methods don't work, you can restore your iPhone using a computer.

On a Mac running macOS Catalina or later, use Finder. On a Windows PC, use the Apple Devices app or iTunes, depending on your setup.

Here's how:

  1. Turn off your iPhone.

  2. Connect it to your computer using a USB cable while pressing and holding the appropriate button to enter Recovery Mode.

    • iPhone 8, iPhone 8 Plus, iPhone X and later, and iPhone SE (2nd and 3rd generation): Press and hold the Side button.
    • iPhone 7 and iPhone 7 Plus: Press and hold the Volume Down button.
    • iPhone SE (1st generation), iPhone 6s, and earlier: Press and hold the Home button.
  3. Keep holding the button until the Recovery Mode screen appears.

    iPhone Recovery Mode Screen
  4. Open Finder, Apple Devices, or iTunes on your computer and select your iPhone.

  5. When the Restore and Update options appear, choose Restore.

    Restore iPhone in Recovery Mode
  6. Wait for your computer to download the required software and restore your iPhone.

  7. Once the restoration is complete, disconnect your iPhone and follow the setup instructions.

Tip
If the software download takes more than 15 minutes and your iPhone exits Recovery Mode, let the download finish, then turn off your iPhone and enter Recovery Mode again before continuing.

Frequently Asked Questions About iPhone Unavailable

Can I Fix iPhone Unavailable Without Losing Data?

Yes, but only under certain conditions.

If you remember your correct passcode, wait for the countdown to finish and try again. If you recently changed your passcode and are using iOS 17 or later, you may also be able to use your previous passcode within 72 hours through Apple's Passcode Reset feature.

However, if you've completely forgotten your passcode and cannot use this feature, you'll need to erase your iPhone to regain access.

Does iPhone Unavailable Mean My iPhone Is Permanently Locked?

No. iPhone Unavailable doesn't necessarily mean your iPhone is permanently locked.

If a countdown appears, wait for it to finish and enter the correct passcode. If you've forgotten your passcode, you can erase and reset your iPhone using Apple's built-in options or Recovery Mode.

What Happens If I Keep Entering the Wrong iPhone Passcode?

Repeatedly entering the wrong passcode triggers increasingly longer security lockouts. Your iPhone may display "iPhone Unavailable" or "Security Lockout" and require you to wait before trying again.

If Erase Data is enabled under Settings > Face ID & Passcode (or Touch ID & Passcode), your iPhone will automatically erase all data after 10 consecutive incorrect passcode attempts.

If this setting is disabled, your iPhone won't automatically erase its data after 10 incorrect attempts. However, you may eventually need to restore it using a computer.

To avoid longer lockouts or accidental data loss, don't keep guessing if you're unsure of your passcode.

Can I Fix iPhone Unavailable Without a Computer?

Yes. You can erase and reset your iPhone without a computer using either of these methods, provided your device meets Apple's requirements:

  • Use the Lock Screen: On iOS 17 or later, tap Forgot Passcode? on the iPhone Unavailable screen and follow the onscreen instructions. On iOS 15.2 or iOS 16, you may see an Erase iPhone option instead.
  • Use Find Devices: Visit iCloud.com/find on another device, sign in with your Apple Account, select your locked iPhone, and choose Erase This Device.

Can iOS 27 Recovery Fix the iPhone Unavailable Screen?

Not directly. iOS 27 introduces a new on-device recovery environment that lets you access recovery options without first connecting your iPhone to a computer. However, it doesn't bypass your passcode or directly unlock an iPhone showing "iPhone Unavailable."

The Erase All Content and Settings option requires your device passcode, while the traditional Recovery Mode option still requires a Mac or Windows PC to restore your iPhone.

Jerome is a passionate enthusiast of all things Apple. He is expertise in crafting tech-related articles, with a portfolio of more than 100 articles covering various Apple products like the iPhone, iPad, and Mac.