English Repair Guides Published: Updated: 6 min read

iPhone Unavailable: Can Your Previous Passcode Save the Data?

Check the 72-hour previous-passcode window before choosing erase or recovery mode.

iPhone Unavailable decision between a previous passcode within 72 hours and recovery mode erase
Safety note: Stop using and charging the device if the battery swells, smells, smokes, overheats abnormally, or liquid is inside the port. Do not open the phone or puncture the battery.
In this guide
Before erasing an iPhone Unavailable screen, ask one question: did you change the passcode within the last 72 hours? On iOS 17 or later, Forgot Passcode? may let you enter the previous passcode and create a new one without erasing the phone. If that route is unavailable, regaining access normally requires a reset that removes the data currently stored on the iPhone.

iPhone Unavailable and Security Lockout appear after repeated incorrect passcode attempts. Waiting can end a temporary timer, but it does not reveal a forgotten passcode. The useful decision is not “which unlock tool should I buy?” It is whether the phone qualifies for Apple’s previous-passcode window, can reset itself on the lock screen, or must enter recovery mode with a computer.

The first screen check can save your data

If you recently changed the device passcode and then forgot the new one, stop guessing. On iOS 17 and later, Apple provides a 72-hour Passcode Reset window. After the Unavailable screen appears, tap Forgot Passcode? and look for Enter Previous Passcode. Entering the old passcode successfully lets you choose a new passcode immediately.

Apple documents this exception in its previous-passcode reset guide. It only helps when the passcode was changed recently; it is not a general bypass for an unknown code. If the option is absent, do not keep entering guesses in the hope that it will appear.

What you seeWhat it meansBest next step
Forgot Passcode? → Enter Previous PasscodeRecent passcode change on a supported versionUse the old code within 72 hours
Forgot Passcode? → Start iPhone ResetOn-device erase is availableConfirm Apple Account and backup first
Erase iPhoneOlder on-device reset flow, usually iOS 15.2 or 16Read the erase warning and account requirements
No reset option at the bottomVersion, connection, or Find My condition is not metUse recovery mode with a Mac or PC

Before choosing erase, inventory what can return

A reset removes the data currently on the iPhone. It does not create a backup of a locked device first. From another trusted device or browser, verify that you know the Apple Account used on this iPhone, can receive any required verification code, and know whether an iCloud or computer backup exists. After reset, Activation Lock can still require the same Apple Account.

Photos already synchronized to iCloud Photos are different from items stored only inside a device backup. Messages, app data and settings also depend on what was enabled before the lockout. If your previous backups had storage errors, our iCloud backup capacity check explains why a listed phone does not automatically prove that every recent item was backed up.

Route A: reset directly from the lock screen

Apple’s current Security Lockout instructions require a supported software version, an active Wi-Fi or cellular connection, Find My previously enabled, and the Apple Account password. On iOS 17 or later, tap Forgot Passcode?, choose to start the device reset, enter the Apple Account password, then confirm erase. Models using eSIM may offer a choice to keep or remove the eSIM.

Do not remove the eSIM casually if you do not have the carrier activation details. The choice affects cellular setup after erase, not whether local photos survive. When the Hello screen returns, restore from the backup you verified or set up the iPhone as new.

Route B: recovery mode with a Mac or Windows PC

If the lock-screen option is missing or cannot complete, use Apple’s forgotten-passcode recovery procedure. You need a cable, internet access and a Mac or Windows PC. Turn the iPhone off, then connect it while holding the model-specific recovery button until the cable-and-computer screen appears:

  • Face ID models, iPhone 8 series and iPhone SE 2/3: hold the side button while connecting.
  • iPhone 7 and 7 Plus: hold Volume Down while connecting.
  • iPhone 6s, iPhone SE 1 and earlier: hold the Home button while connecting.

In Finder on a current Mac, or Apple Devices on Windows, select the iPhone and choose Restore. If the software download takes longer than 15 minutes and the phone leaves recovery mode, let the download finish, then repeat the power-off and recovery-button sequence. Repeatedly unplugging during the download only restarts the same problem.

Route C: erase through Find Devices

If the iPhone appears in Find Devices and can receive the command, Apple also lists erase through iCloud Find Devices as a fallback. This still erases local data and still leaves Activation Lock tied to the account. It is not a data-preserving unlock method.

Claims to avoid

Be cautious with services promising to remove the passcode while preserving all local data, disable Activation Lock without the owner account, or “unlock by IMEI.” A normal passcode reset intentionally erases protected data. Do not share an Apple Account password, verification code, recovery key or proof-of-purchase document with an unknown remote operator. If the Apple Account itself rejects a known password, use the steps in our Apple Account verification guide before repeating the device reset.

When Apple service is the right next step

Seek Apple or an authorized provider if the required physical button does not respond, the computer never detects recovery mode with a known cable and port, or you cannot borrow a computer. Bring proof of purchase if ownership needs to be established. Service can help restore the device, but it cannot reconstruct local data that was never backed up.

Sources and review

This guide was reviewed on August 1, 2026 against current Apple documentation. Interface wording varies by iOS version, region and device type.

See the SMSM Hub editorial and update policy.

Frequently asked questions

Can I unlock iPhone Unavailable without losing data?

Only the supported 72-hour previous-passcode route can restore access without erase. Other official forgotten-passcode reset routes erase the device, after which a backup may be restored.

Why is Forgot Passcode missing?

The iOS version, network connection, Find My status or eligibility for a particular reset flow may not meet the requirements. Use recovery mode instead.

Does recovery mode remove Activation Lock?

No. After restore, the iPhone can still require the Apple Account previously associated with Find My.

Sources and editorial review

Last updated: 2026-08-02

Sources and review for this guide

This article connects the visible symptom to the device or code, then orders safe checks before any internal or risky step.

DeviceiPhone showing iPhone Unavailable or Security Lockout after repeated incorrect passcode attempts ModeliPhone on iOS 17 or later for the 72-hour previous-passcode route, with iOS 15.2 or later on-device reset and recovery-mode fallback ProblemForgotten device passcode requiring previous-passcode reset, on-device erase, Find Devices erase or computer recovery mode Error codeiPhone Unavailable / Security Lockout Search intentiPhone Unavailable, Security Lockout, Forgot Passcode, old passcode 72 hours, erase iPhone, recovery mode

Review method

  1. Match the device type and code or message before interpreting the cause.
  2. Start with safe external checks such as cable, filter, hose, airflow, settings, or one restart.
  3. Stop at electricity, gas, water near power, swollen batteries, painful heat, or internal disassembly.

Content review and safety

  • Last updated: 2026-08-02.
  • Category: English Repair Guides.
  • This guide focuses on safe external checks and does not encourage opening appliances or working with electricity, gas, or batteries.
  • If you spot information that needs correction, contact us from the contact page.

Read our editorial and review policy

Broader diagnostic path

Related topic hubs

If this symptom belongs to a recurring device or brand issue, use these hubs to compare codes and symptoms before replacing parts or resetting everything.

PC مشاكل الكمبيوتر واللابتوب البطء والحرارة والصوت والكاميرا وويندوز والبطارية. Open hub iPhone iPhone problems Charging, heat, battery, liquid detection, and Wi-Fi checks. Open hub

Prepared and reviewed by

SMSM Hub Editorial Team

The SMSM Hub editorial team reviews repair, phone, and internet guides with a method focused on safe external checks, clear steps, and knowing when a qualified technician is needed.

About the editorial team Safety and review method

Did this guide help?

If a step is unclear or your device behaved differently with the same fault, send us a note. Reader feedback helps us update guides and correct anything that needs review.