You need the passcode, Face ID, or your Apple ID to unlock an iPhone
An iPhone locked with a passcode, Face ID, or Touch ID cannot be disabled without one of those three things. Apple designed it this way so that a stolen phone cannot be wiped and resold. If you are locked out of your own device, your path forward depends on whether you remember your passcode and whether you still have access to the Apple ID that created the account.
If someone else's iPhone is locked and you do not have permission to access it, you cannot and should not try to disable the lock. If you are the owner but locked out, the steps below will walk you through the legitimate ways back in.
Key Takeaways
- A forgotten passcode requires you to erase the iPhone and set it up again using your Apple ID and password.
- If you remember your Apple ID password, you can unlock the phone yourself using iCloud or a computer running macOS or Windows.
- If you do not remember your Apple ID password, you will need to reset it using a trusted phone number or email address linked to the account.
- Apple ID account recovery can take several days if you cannot verify your identity when ready through a trusted device.
- Contacting Apple Support with proof of purchase is the fastest route if you are locked out and cannot reset your Apple ID.
Unlocking an iPhone when you know the passcode
If you remember your passcode, unlock the iPhone by entering it. This is the simplest path and requires nothing else. If you have forgotten the passcode but still have access to a trusted device — another iPhone, iPad, or Mac that is signed into your Apple ID — you can use that device to unlock the locked iPhone without erasing it.
On the trusted device, open Settings, tap your name at the top, then tap Find My. Select the locked iPhone from the list of devices. Tap Find My iPhone, then tap the locked device again. Choose Unlock This Device, enter your Apple ID password, and the lock will open. The iPhone will remain as it is, with all data intact.
Resetting a forgotten passcode using iCloud
If you do not have a trusted device nearby but you remember your Apple ID password, you can erase the iPhone and set it up again through iCloud. Go to iCloud.com on any computer or phone, sign in with your Apple ID, and select Find My. Choose Find My iPhone, then select the locked device from the list.
Click the information icon next to the device name, then select Erase This Device. Confirm the action. The iPhone will be erased and you will see the setup screen. You can then set it up as new or restore from a backup using your Apple ID. All your data will be gone unless you have a backup saved to iCloud or to a computer.
Resetting your Apple ID password if you are locked out
If you do not remember your Apple ID password, you will need to reset it before you can unlock the iPhone. Go to iforgot.apple.com on any device and enter your Apple ID email address. Apple will ask you to verify your identity using a trusted phone number or a recovery email address linked to your account.
If you have access to a trusted phone number, Apple will send a verification code by text or call. Enter the code and you can reset your password when ready. If you do not have access to a trusted phone number or recovery email, Apple will require you to answer security questions you set up when you created the account. If you cannot answer those questions, account recovery can take several days while Apple verifies your identity through other means.
Once your password is reset, follow the iCloud steps above to erase and unlock the iPhone.
Using a computer to unlock the iPhone
If you have a Mac or Windows computer that you have previously synced with the iPhone, you can unlock it without going through iCloud. Connect the locked iPhone to the computer with a USB cable. On a Mac, open Finder and select the iPhone from the sidebar. On Windows, open iTunes.
Select Restore, which will erase the iPhone and install the latest version of iOS. When the restore finishes, you will see the setup screen. Sign in with your Apple ID and password, and you can restore your data from a backup or set up as new.
Contacting Apple Support when you cannot reset your account
If you cannot remember your passcode, your Apple ID password, or the answers to your security questions, contact Apple Support directly. You will need to prove you own the device. Apple accepts a receipt, order confirmation email, or the serial number from the original box.
Apple Support can verify your identity through additional methods and help you regain access. This process typically takes longer than the self-service routes above, but it is the correct path when you have exhausted other options. You can reach Apple Support through apple.com/support, by phone, or by visiting an Apple Store in person with your proof of purchase.
Why you should not try to bypass the lock
The iPhone lock exists to protect your data if the phone is lost or stolen. Attempting to bypass it — whether through third-party software, online services claiming to unlock phones, or other methods — either does not work or voids your warranty and may expose your device to malware.
These services often ask for your Apple ID password or claim they can unlock the phone remotely. They cannot. If a service claims it can unlock an iPhone without your Apple ID credentials, it is a scam. The only legitimate ways to unlock an iPhone are the ones Apple provides, and they all require proof that you own the device or access to your Apple ID account.
Frequently Asked Questions
Can I unlock an iPhone without my Apple ID password?
No. You need either your passcode, your Apple ID password, or access to a trusted phone number or email linked to your account. If you have none of these, you will need to contact Apple Support with proof of purchase to verify you own the device.
How long does it take to unlock an iPhone through Apple Support?
It depends on how quickly you can provide proof of purchase and verify your identity. If you have a receipt or order confirmation email, it usually takes one to two business days. If Apple needs to verify your identity through other methods, it can take up to a week.
Will unlocking my iPhone erase my data?
Using Find My iPhone or a computer to unlock it will erase the device. If you have a backup saved to iCloud or a computer, you can restore your data after setup. If you have no backup, your data will be lost.
What if I unlock the iPhone but do not remember my Apple ID password?
You will be asked to sign in with your Apple ID during setup. If you do not remember the password, you can reset it at iforgot.apple.com before completing setup. You will need access to a trusted phone number or recovery email to reset it.
Is there a way to unlock an iPhone without erasing it?
Yes, if you have access to another device signed into the same Apple ID. Use Find My on that device to unlock the locked iPhone remotely without erasing it. If you do not have a trusted device, erasing is the only option.