In this guide
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 see | What it means | Best next step |
|---|---|---|
| Forgot Passcode? → Enter Previous Passcode | Recent passcode change on a supported version | Use the old code within 72 hours |
| Forgot Passcode? → Start iPhone Reset | On-device erase is available | Confirm Apple Account and backup first |
| Erase iPhone | Older on-device reset flow, usually iOS 15.2 or 16 | Read the erase warning and account requirements |
| No reset option at the bottom | Version, connection, or Find My condition is not met | Use 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.
- Use the previous passcode within 72 hours
- Reset from the Security Lockout screen
- Restore a disabled iPhone with recovery mode
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.
