The fastest way back in depends on what you set up beforehand
If you've forgotten your iPhone password, you have three main paths forward: use your Apple ID to reset it remotely, use a trusted device you've already signed into, or erase the phone and set it up again. Which one works fastest depends on whether you remember your Apple ID password, whether you have another Apple device nearby, and how much data you're willing to lose. The good news is that you don't need to visit an Apple Store or call support — you can do this yourself from home.
The method you choose also depends on how many times you've already entered the wrong password. After six failed attempts, your iPhone locks for one minute. After the tenth failed attempt, it locks for five minutes. After the fifteenth, it locks for 60 minutes. If you've hit these limits, you'll need to wait out the timer before trying again, or move straight to one of the reset methods below.
Key Takeaways
- If you remember your Apple ID password, you can reset your iPhone password from another device or computer without losing any data.
- If you have a Mac, iPad, or another iPhone signed into your Apple ID, you can use that device to unlock your phone in minutes.
- If you don't remember your Apple ID password either, you'll need to erase your iPhone and set it up again, which deletes everything on the phone.
- Apple ID password resets require you to verify your identity using a recovery key, a trusted phone number, or a trusted device — whichever you set up when you created your account.
Use Find My iPhone if you have another Apple device
This is the fastest method if you own a Mac, iPad, or another iPhone. Go to iCloud.com on any web browser, or open the Find My app on another Apple device you own. Sign in with your Apple ID and password. Select your locked iPhone from the list of devices.
Choose "Find My iPhone" (or just "Find My" on newer devices), then tap "Erase iPhone." This will erase your phone completely, but it will also remove the password lock. After the erase finishes, your iPhone will restart and show the setup screen. You can then sign back in with your Apple ID and restore your data 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 go through the next time it connects to the internet. The entire process usually takes 10 to 15 minutes if your phone is online.
Reset your password through your Apple ID account
If you don't have another Apple device nearby, you can reset your iPhone password by resetting your Apple ID password first. Go to iforgot.apple.com on any computer or phone. Enter your Apple ID email address and follow the prompts to verify your identity.
Apple will ask you to verify using one of these methods: a recovery key (a 28-character code you saved when you set up two-factor authentication), a trusted phone number (a number you registered with your account), or a trusted device (a Mac, iPad, or iPhone you've already signed into). Choose whichever one you have access to. Once you verify, you can create a new Apple ID password.
After you've reset your Apple ID password, go back to your locked iPhone. On the password entry screen, tap "iPhone Unavailable" at the bottom, then tap "Try after [time]" or wait for the timer to expire. Once you can try again, tap "Erase iPhone" (this appears after multiple failed attempts). You'll be asked to sign in with your Apple ID — use your new password. Your phone will erase and restart, and you can set it up again.
What to do if you don't remember your Apple ID password either
If you can't reset your Apple ID password because you don't have access to a recovery key, trusted phone number, or trusted device, you'll need to prove your identity to Apple directly. This process is called account recovery and can take several days.
Go to iforgot.apple.com, enter your Apple ID email, and select "I don't have access to a trusted device or recovery key." Apple will ask you to answer security questions you set up when you created your account, provide a government ID photo, or both. You may also need to wait 24 to 72 hours while Apple verifies your identity. Once approved, you can reset your Apple ID password and then erase your iPhone as described above.
During this waiting period, your iPhone remains locked. You cannot use it for calls, texts, or anything else. If you need your phone urgently, visiting an Apple Store with a government ID can sometimes speed up the verification process, though this varies by location.
Erasing your iPhone without resetting your password
If you have physical access to your computer and your iPhone is connected to it via USB cable, you can erase your iPhone using a Mac or Windows PC. This bypasses the password entirely but erases all data on the phone.
On a Mac, open Finder, select your iPhone in the sidebar, and click "Restore." On Windows, open iTunes (or the Apple Devices app on Windows 11), select your iPhone, and click "Restore iPhone." Both will read the latest iOS software and erase your phone. When the process finishes, your iPhone will restart and show the setup screen. You can then sign in with your Apple ID and restore from a backup.
This method works even if you've never backed up your phone before — you'll just be starting fresh with no apps or data. If you have an iCloud backup, you can restore from it during setup.
Preventing this from happening again
Once you've regained access to your iPhone, take a few minutes to set up protections so you don't get locked out again. Write down your Apple ID password in a find place, or use a password manager like iCloud Keychain to store it. Enable two-factor authentication in Settings > [Your Name] > Password & Security, and save your recovery key somewhere safe — not on your phone.
You can also set up a trusted phone number and a trusted device. These are the fastest ways to verify your identity if you forget your password in the future. If you use Face ID or Touch ID, make sure it's enabled so you don't have to type your password every day — this reduces the chance you'll forget it.
Frequently Asked Questions
Will I lose my photos and messages if I erase my iPhone?
Only if you don't have a backup. If you've been backing up to iCloud automatically, you can restore all your photos, messages, and apps during setup after you erase. If you've never backed up, everything on the phone will be gone permanently. Check Settings > [Your Name] > iCloud to see if backup is turned on.
How long does it take to erase and restore an iPhone?
Erasing takes 5 to 10 minutes. Restoring from an iCloud backup takes longer — usually 30 minutes to an hour depending on how much data you have and your internet speed. If you don't restore from a backup, setup takes about 10 minutes.
Can I use someone else's Apple ID to unlock my phone?
No. When you erase your iPhone, it requires you to sign in with the Apple ID that was originally set up on the phone. Using a different Apple ID will lock you out permanently until you can prove ownership to Apple, which requires a government ID and can take several days.
What if my iPhone is in airplane mode or offline?
You can still erase it using Find My iPhone on another device — the erase command will go through the next time your phone connects to the internet. If you're using a computer to erase via USB, your phone doesn't need internet. If you're trying to reset your Apple ID password online, you'll need internet on the device you're using to reset it, but not on your locked iPhone.
Do I need to go to an Apple Store to unlock my iPhone?
No, you can do all of this from home. The only reason to visit an Apple Store is if you need to speed up Apple's account recovery process by showing a government ID in person, or if you're having technical trouble with the steps above.