iPhone Unavailable? How to Reset a Forgotten Passcode Safely

Table of Contents

Generic smartphone with password dots, a key and a magnifying glass beside a closed notebook
Concept illustration, not an iPhone lock screen.

If your iPhone says “iPhone Unavailable” after a forgotten passcode, stop guessing and check whether you changed the code in the last 72 hours. On iOS 17 or later, Apple may let you use the previous passcode to set a new one without erasing the phone. If that option is unavailable, Apple’s reset methods erase the device. Check what you can recover before choosing one.

This guide is for a phone you own or are authorized to manage. An iPhone lock-screen passcode is different from the password for your Apple Account and from a Screen Time passcode.

Choose the right recovery path

  • Recently changed your code and know the old one? Look for Forgot Passcode? and Enter Previous Passcode. This is the first route to try because it does not require a device erase.
  • No usable previous code, but Forgot Passcode? is shown? The on-device reset may be available. It erases the iPhone, so check your backup and account access first.
  • No on-device reset option? Use a Mac or Windows PC to restore the iPhone in recovery mode. This erases it too.
  • Not your phone or it says “Locked to Owner”? Contact its owner or seller. A passcode reset is not a way to remove someone else’s Activation Lock.

Before you reset: protect your photos, number and account

There is no promise that a locked phone can make a fresh backup. From another trusted device, check what is already in iCloud, including photos and contacts you had chosen to sync. If you used a computer backup, check for that backup before starting. Data that exists only on the iPhone and is not backed up or synced may be lost when you erase it.

Make sure you can sign in to the Apple Account associated with the phone. Apple may require that account to activate the device after an erase. If you do not know the password, start with the Apple Account recovery guide or Apple’s official support. Never send a passcode, password or verification code to someone who contacts you unexpectedly.

If your phone uses an eSIM, keep your carrier’s support details handy. Apple’s on-device steps offer a choice to keep or delete an eSIM on iOS 17 and later. For iOS 16 or earlier, Apple says to contact your carrier before using the on-device reset and ask for a QR code to set the eSIM up again. Avoid deleting a cellular plan as a troubleshooting experiment.

Try your previous passcode within 72 hours

Apple’s Passcode Reset instructions apply when you changed your passcode on iOS 17 or later and still know the previous one. Apple allows it for 72 hours after the change unless the old code was expired sooner. This is not a universal bypass for an older forgotten code.

  1. On the iPhone Unavailable screen, tap Forgot Passcode? when it appears.
  2. Choose Enter Previous Passcode.
  3. Enter the previous code and follow the prompts to set a new one immediately.

Apple says the Forgot Passcode? option appears when the locked device has a cellular or Wi-Fi connection, is signed in to the Apple Account, and had Find My turned on. If you do not see it, do not keep entering guesses. Check whether the phone was connected and whether the previous-code window has expired. If the option is missing or the old code does not work, use the appropriate reset path below or contact Apple.

Reset without a computer, if the option is available

This process permanently erases the data and settings currently on the iPhone. You can restore an available backup during setup; anything absent from the backup or another synced copy may not return. Check your Apple Account password and backup before confirming an erase.

For Apple’s on-device reset, the phone needs iOS 15.2 or later, Find My previously enabled, a working Wi-Fi or cellular connection, and the associated Apple Account and password. Menus differ by version.

  1. At the unavailable or security lockout screen, select Forgot Passcode? on iOS 17 or later when available. On iOS 15.2 or 16, Apple describes an Erase iPhone option instead.
  2. Follow the onscreen reset prompts. Enter the Apple Account password when requested.
  3. Read the erase and eSIM choices carefully. On iOS 17 or later, select whether to keep the eSIM or delete it as part of the erase.
  4. After the phone restarts, follow setup, restore an available backup and create a new passcode.

If the option does not appear, do not assume the phone is broken. A missing connection, Find My setting or an older software version may make this route unavailable. Apple’s computer method is the next option.

Use a Mac or Windows PC for recovery mode

A computer restore also erases the phone. You need a Mac or Windows PC, an internet connection and a cable that connects the phone to the computer. Apple says to allow up to an hour. The button sequence differs by iPhone model, so use Apple’s computer reset guide and choose the correct device type before following it.

  1. Turn off the iPhone. On a Face ID model, hold the side button and volume down until the power slider appears, then turn it off.
  2. Connect the cable to the computer. Connect the iPhone and quickly hold its side button until the recovery screen showing a computer and cable appears. Keep holding through the Apple logo. Home-button models use the model-specific instructions in Apple’s guide.
  3. On a Mac, open Finder and select the iPhone under Locations. On Windows, open Apple Devices and select the iPhone. Choose Restore and follow the prompts.
  4. Let the download finish. If it takes more than 15 minutes and the phone leaves recovery mode, Apple says to repeat the recovery-mode steps after the download completes.
  5. When the Hello screen appears, disconnect the phone and set it up. Restore an available backup and sign in as required.

If buttons do not respond or you cannot borrow a computer, Apple directs you to an Apple Store or an Apple Authorized Service Provider. Bring proof of ownership if requested and ask about recovery options before authorizing service.

What if you do not have a backup?

Check separately for content that was synced to your Apple Account before the lockout. Sync and backup are not the same thing: a photo already available in iCloud may reappear when you sign in, while a local item that was never synced or backed up may not. Do not pay a stranger who promises to recover everything or unlock the device without the account. Ask Apple or an authorized service provider what they can verify for your situation.

Do not confuse these three locks

The iPhone passcode unlocks the screen. The Apple Account password is used for Apple services and may be needed during reset or activation. The Screen Time passcode controls restrictions and has a separate recovery process; see how to reset a forgotten Screen Time passcode. A carrier unlock, meanwhile, concerns using the phone on another network and does not remove the screen passcode.

Frequently asked questions

Can I reset the code without losing data?

Possibly, if you recently changed the passcode and qualify for Apple’s 72-hour previous-passcode option. The on-device erase and computer restore methods delete the phone’s current data. A backup or synced copy can help restore what was saved.

Does “iPhone Unavailable” mean my Apple Account is disabled?

No. The screen can appear after incorrect device passcode attempts. An Apple Account lock is a different issue with its own recovery process. Read the exact message before choosing a fix.

Should I remove the eSIM before a reset?

Not as a first step. Check your carrier’s reactivation process and Apple’s instructions for your iOS version. On iOS 17 and later, the on-device erase workflow offers a choice to keep the eSIM; earlier versions may require carrier help.

Apple’s passcode, on-device reset and computer recovery instructions checked December 1, 2026. Available buttons and steps depend on the device and iOS version.

Advertisement

Recent Posts

Advertisement

Advertisement