How do I regain access when locked out of an Apple iPhone?
Answer
What “locked out” means on an iPhone decides the fix: a forgotten passcode usually needs erase and restore, while an Activation Lock or Apple ID password problem needs the correct Apple ID recovery path at iforgot.apple.com. Use only official Apple account pages and avoid anyone asking for your codes.
Before you start: stop right away if…
- Erasing an iPhone deletes data that was not backed up to iCloud or a computer.
- Third-party “unlock” tools or paid unlock sites are often scams and can permanently complicate Activation Lock.
Follow these steps
Identify the lock screen message
Read the iPhone screen carefully. Note whether it says iPhone Unavailable, Disabled, Security Lockout, or asks for an Apple ID password. That wording chooses the recovery path.
You should see: You know whether this is a passcode lockout, Activation Lock, or Apple ID password problem.
Recover the Apple ID password if needed
On an iPad, computer, or another phone, open Apple’s official iforgot.apple.com page. Enter the Apple ID email exactly as the iPhone expects and follow Apple’s password reset or account recovery steps.
You should see: You can sign in with a new Apple ID password, or Apple shows the status of account recovery.
Connect the iPhone to a trusted network when prompted
If the iPhone can reach Settings or a Wi‑Fi chooser during recovery, join a known home Wi‑Fi network so Apple’s servers can verify the account. Avoid public captive portals if sign-in fails.
You should see: The iPhone stays online long enough to complete Apple ID or activation steps.
Erase the iPhone only if passcode recovery requires it
For a forgotten passcode with Unavailable/Disabled, use Apple’s official erase path: Find My on the web if the device was in Find My, or a Mac/PC with Finder or iTunes recovery mode as Apple documents for your iPhone model.
You should see: The iPhone erases and returns to the setup screen.
Activate with the same Apple ID
After erase, set up the iPhone and sign in with the Apple ID that was previously on the device when Activation Lock asks for it. Then restore from backup if you have one.
You should see: Activation Lock clears and the phone can be set up again under your account.
Use Apple Support remotely if you are stuck
If injury or travel prevents a store visit, contact Apple Support through the official support site or app from your iPad or another device, and share the exact on-screen message—not passwords in email or chat with strangers.
You should see: Apple walks you through the matching recovery option for your lock screen text.
Not sure this is the right page? Check here
0 of 5 checked
Extra tips
What to look for: Exact lock screen text such as “iPhone Unavailable,” “Disabled,” “Security Lockout,” or an Apple ID / Activation Lock sign-in prompt—not a vague “locked out” alone.
Before you change anything: Write down the Apple ID email that was used on the iPhone before you erase anything. Check whether you have an iCloud backup you are willing to restore after erase. Prefer Apple’s official iforgot and support paths; do not use third-party “unlock” services. Never share Apple ID passwords or one-time codes with unexpected callers.