The fastest way depends on what you remember
If you have forgotten your iPhone password, you have three main paths: use your Apple ID to reset it remotely, restore the phone through a computer, or take it to Apple. Which one works depends on whether you can access your Apple ID, whether you have a computer nearby, and how much time you have. None of these paths will recover your data if you do not have a backup — the phone will erase during the unlock process.
The remote reset through Find My iPhone is the simplest if you remember your Apple ID password and have another device or a computer. The computer-based restore through a Mac or Windows machine works even if you cannot access Find My, but takes longer and requires a cable. Taking the phone to an Apple Store works if you have proof of purchase, but you will wait for an appointment and the process takes time.
Key Takeaways
- Unlocking your iPhone erases all data on the phone unless you restore from a backup afterward, so understand what you will lose before you start.
- If you remember your Apple ID password, use Find My iPhone on another device or at iCloud.com — this is the fastest remote option.
- If you do not have another device, connect your iPhone to a Mac or Windows computer and use Finder (Mac) or iTunes (Windows) to restore it.
- Apple Stores can unlock your phone with proof of purchase, but you need an appointment and the process takes time.
- Recovery mode on your phone itself is the last resort if you have no computer and no other device, but it still requires your Apple ID password at the end.
Using Find My iPhone if you have another device
This is the fastest method if you have access to another iPhone, iPad, or Mac, or if you can reach iCloud.com from any computer. Open Find My on another Apple device or go to iCloud.com in a web browser on any computer. Sign in with the Apple ID that is linked to your locked iPhone.
Tap or click "Find My iPhone" (or just "Find My" on newer devices). Select your locked iPhone from the list of devices. Tap "Erase iPhone" and confirm. The phone will begin erasing and will ask for your Apple ID password when it restarts — you must enter the correct Apple ID password to finish the unlock. After the phone restarts, you can set it up as new or restore from a backup if you have one saved to iCloud.
This method works even if your iPhone is offline or in airplane mode — the erase command will execute the next time it connects to the internet. You do not need the phone's password for this step, only your Apple ID password.
Restoring through a computer if you have no other device
If you do not have another Apple device or access to iCloud.com, connect your iPhone to a Mac or Windows computer with a USB cable. On a Mac running macOS Monterey or newer, open Finder and select your iPhone in the sidebar. On a Mac running an older system or on Windows, open iTunes instead.
Look for a button that says "Restore" (on Mac) or "Restore iPhone" (in iTunes). Click it and confirm that you want to erase and restore the phone. The computer will read the current iPhone software and install it, which erases your phone completely. When the process finishes, your phone will restart and ask for your Apple ID password — enter the correct password to complete the unlock.
This process takes 15 to 30 minutes depending on your internet speed and which iPhone model you have. You will need your Apple ID password at the end, so make sure you remember it before you start. If you do not remember your Apple ID password, you will need to reset it through Apple's website before you finish this step.
Resetting your Apple ID password if you are locked out of that too
If you have forgotten both your iPhone password and your Apple ID password, you will need to reset your Apple ID password first. Go to iforgot.apple.com on any computer or phone. Enter the email address or phone number linked to your Apple ID.
Apple will send you a verification code by email or text message. Enter the code, then create a new password. Once you have reset your Apple ID password, you can go back to either the Find My method or the computer restore method and use your new password to complete the unlock.
This step adds time to the process but is necessary if you cannot remember your Apple ID password. Keep your new password in a safe place after you reset it.
Going to an Apple Store if you have proof of purchase
If you do not have access to another device, a computer, or your Apple ID password, you can visit an Apple Store with proof of purchase (your receipt, order confirmation email, or credit card statement showing the purchase). The store will verify that you own the phone and can unlock it for you.
You will need to make an appointment through the Apple website or by calling your local store — walk-ins may have long waits. The process usually takes 30 minutes to an hour. The store will erase your phone during the unlock, so you will not recover any data unless you have a backup saved to iCloud or a computer.
This method is slower than the remote options but does not require you to remember any passwords. It is the safest option if you are not comfortable doing the unlock yourself.
Recovery mode as a last resort
If you have no other device, no computer, and no access to iCloud.com, you can put your iPhone into recovery mode using only the phone itself. The steps vary by iPhone model: on newer iPhones without a home button, quickly press and release the volume up button, then quickly press and release the volume down button, then press and hold the side button until you see the recovery mode screen. On older iPhones with a home button, press and hold both the top (or side) button and the home button until you see the recovery mode screen.
Once in recovery mode, you will see an option to restore. Tap it, and the phone will ask you to connect to a computer to complete the restore. At this point you will need a computer with Finder or iTunes to finish the process — you cannot complete a recovery mode restore on the phone alone. After the restore finishes, you will need your Apple ID password to unlock the phone.
This method is rarely necessary because most people have access to another device or a computer, but it is an option if you are truly stuck with only your locked iPhone.
What happens to your data after the unlock
All of these methods erase your iPhone completely. Any photos, messages, apps, or other data stored only on the phone will be gone. If you have an iCloud backup, you can restore from it after the unlock is complete — the phone will ask you during setup whether you want to restore from a backup.
To check whether you have an iCloud backup, go to iCloud.com on any computer, sign in with your Apple ID, and look for iCloud Backup in the settings. If you see a recent backup date, you can restore your data after the unlock. If you do not have a backup, the phone will start as new and you will need to reinstall your apps and re-enter your data manually.
Frequently Asked Questions
Can I unlock my iPhone without my Apple ID password?
Not through the remote methods — all paths eventually require your Apple ID password to complete the unlock. If you do not remember it, reset it at iforgot.apple.com first. The only exception is taking the phone to an Apple Store with proof of purchase, which does not require your password.
Will I lose my photos and messages?
Yes, unless you have a backup. All data on the phone erases during the unlock. If you have an iCloud backup, you can restore it after the phone restarts. Check iCloud.com to see if you have a recent backup before you start the unlock process.
How long does the unlock process take?
Find My iPhone takes 5 to 10 minutes if your phone is online. A computer restore takes 15 to 30 minutes. An Apple Store appointment takes 30 minutes to an hour plus the time to get an appointment. Recovery mode takes as long as a computer restore because you still need a computer to finish it.
What if my iPhone is offline or turned off?
Find My iPhone will still work — the erase command waits until your phone connects to the internet, then executes. For the other methods, you need the phone to be on and connected to a computer or network, so turn it on first if it is off.
Can I unlock someone else's iPhone?
No. All unlock methods require either the Apple ID password for that phone or proof of purchase at an Apple Store. These protections exist to prevent theft. If you are helping someone unlock their own phone, they will need to provide their Apple ID password or proof of purchase.