The fastest way back into your iPhone
If you have forgotten your iPhone password, the fastest route is to use Find My iPhone on another device or computer to reset it remotely. This works if you set up Find My iPhone before you locked yourself out, and it takes about ten minutes. If you do not have Find My iPhone set up, you will need to use a computer with iTunes or Finder to restore your iPhone, which erases everything on it but lets you set a new password afterward.
The method you use depends on what you have access to right now: another Apple device, a Mac or Windows computer, or neither. Each path is different, so start with whichever applies to you.
Key Takeaways
- Find My iPhone is the fastest way to reset your password if you have access to another Apple device or a web browser, and it does not erase your data.
- If you do not have Find My iPhone turned on, you must use a computer with iTunes or Finder to restore your iPhone, which erases everything on the phone.
- You will need your Apple ID and password to complete any reset method, whether remote or on a computer.
- After you regain access, turn on Find My iPhone when ready so you have this option if it happens again.
Using Find My iPhone from another Apple device
If you have an iPad, Mac, or another iPhone nearby, this is your quickest path. Open the Find My app (on iPad or another iPhone) or open Finder and click Find My in the sidebar (on Mac). Sign in with the same Apple ID that is on your locked iPhone.
Tap or click Devices, then select your locked iPhone from the list. Tap or click Erase This Device. You will be asked to confirm your Apple ID password — enter it. Your iPhone will erase and restart, and you will see the setup screen. At that point, you can set a new password and restore your data from a backup if you have one.
This method does not require a computer and takes about five to ten minutes. Your data stays safe if you have a backup in iCloud.
Using iCloud.com from any web browser
If you do not have another Apple device but you have access to any computer or phone with a web browser, go to iCloud.com and sign in with your Apple ID. Click Find My, then select Devices from the menu on the left.
Find your iPhone in the list and click it. A panel will open showing its location. Click Erase This Device. Confirm your Apple ID password when prompted. Your iPhone will erase and restart, and you will see the setup screen where you can create a new password.
This method works on any computer or even on an Android phone, as long as you have internet access and remember your Apple ID password.
Using a Mac or Windows computer with Finder or iTunes
If you do not have Find My iPhone set up and you cannot use iCloud.com, you will need to connect your iPhone to a computer with a USB cable. On a Mac running macOS 11 or newer, open Finder. On a Mac running an older version or on Windows, open iTunes.
Plug your iPhone into the computer with a USB cable. When your iPhone appears in Finder or iTunes, click it. You will see a button that says Restore. Click it and choose Restore again to confirm. The computer will read the latest iPhone software and install it on your phone, erasing everything in the process.
When the restore finishes, your iPhone will restart and show the setup screen. You can then set a new password and restore your data from a backup if you saved one to this computer or to iCloud.
This method takes longer than Find My iPhone — usually 20 to 45 minutes depending on your internet speed — because it has to read and install the full iPhone software. It also erases all data on your phone unless you restore from a backup afterward.
What you need before you start
No matter which method you choose, you will need your Apple ID and password. This is the email address and password you use to sign into iCloud, the App Store, or any other Apple service. If you do not remember your Apple ID password, you can reset it at iforgot.apple.com before you start the unlock process.
If you have a backup of your iPhone data — either in iCloud or on a computer — you can restore it after you set your new password. If you do not have a backup, your data will be gone after you erase your phone. You cannot recover it.
After you unlock your iPhone
Once you are back into your iPhone, set a password you will remember, or use a password manager to store it securely. Then turn on Find My iPhone when ready so you have this option if you forget your password again.
To turn on Find My iPhone, go to Settings, tap your name at the top, tap Find My, then tap Find My iPhone and turn it on. You will need to enter your Apple ID password. This takes less than a minute and saves you from having to erase your phone next time.
Frequently Asked Questions
What if I do not remember my Apple ID password?
Go to iforgot.apple.com and enter your Apple ID email address. Apple will send you a link to reset your password, or you can answer security questions if you set them up. You need to complete this before you can unlock your iPhone, because every unlock method requires your Apple ID password.
Will I lose my photos and messages if I erase my iPhone?
Yes, if you do not have a backup. If you have iCloud backup turned on, your data is already saved and you can restore it after you set your new password. If you have a backup on a computer, you can restore from that after the erase. If you have neither, your data is gone.
Can I unlock my iPhone without a computer or another Apple device?
Only if you have access to iCloud.com through a web browser on any device — even an Android phone or a friend's computer. If you have no internet access and no other device, you will need to borrow a computer or phone to reach iCloud.com or to use Finder or iTunes.
How long does it take to unlock my iPhone?
Find My iPhone takes five to ten minutes. Using a computer with Finder or iTunes takes 20 to 45 minutes because the software read and install take time. The exact time depends on your internet speed and how much software needs to be installed.
What if Find My iPhone says my device is offline?
Your iPhone must be connected to the internet for Find My iPhone to reach it. If it is offline, you will need to use a computer with Finder or iTunes instead. If your iPhone is turned off, you can still erase it through Find My, but the erase will happen the next time it connects to the internet.