What "locked" means and why it happens
A locked iPhone means the phone requires a passcode, Face ID, or Touch ID before you can use it. This is a security feature — it stops someone who finds or steals your phone from accessing your photos, messages, banking apps, or any other data stored on it.
Your iPhone locks automatically after a set time (usually a few minutes), or you can lock it manually by pressing the side button and volume button together, then sliding to power off. When you try to unlock it and enter the wrong passcode too many times, the phone disables itself temporarily or permanently to prevent someone from guessing your code.
If you've forgotten your passcode, you cannot straightforward guess it — the phone is designed to stop that. You'll need to use one of the recovery methods Apple built in, and each one has different requirements and takes different amounts of time.
Key Takeaways
- If you remember your Apple ID password, you can unlock your iPhone through iCloud.com from any computer or another device, and the phone will unlock within minutes.
- If you don't remember your Apple ID password, you can reset it through Apple's account recovery page, but this takes at least a few hours and sometimes several days.
- If you have a computer where you previously synced this iPhone, you can connect it and restore the phone through iTunes or Finder without needing your Apple ID password.
- If none of those options work, Apple's support team can help you prove ownership and unlock the phone, but you'll need to visit an Apple Store or call Apple Support with proof of purchase.
Unlocking through iCloud if you remember your Apple ID password
This is the fastest method if you have access to another device and remember your Apple ID password. Go to iCloud.com on any computer, tablet, or phone. Sign in with your Apple ID and password. Click "Find My" (or "Find My iPhone" on older accounts). Select your locked iPhone from the list of devices. Click "Erase iPhone," then "Erase." The phone will unlock and reset to factory settings within a few minutes.
After the erase completes, your iPhone will show the setup screen. You can set it up as a new phone or restore your data from a backup if you have one saved to iCloud. This method erases everything on the phone, so you lose any data that wasn't backed up to iCloud.
Resetting your Apple ID password if you've forgotten it
If you don't remember your Apple ID password, go to iforgot.apple.com on any computer. Enter your Apple ID (usually your email address). Apple will ask you to verify your identity — you can choose to receive a code by email, answer security questions you set up when you created the account, or use a trusted device where you're already signed in to your Apple ID.
Once you verify your identity, you can create a new password. This process usually takes a few minutes, but if you can't access your email or don't remember your security questions, Apple may require you to wait 24 to 72 hours before you can reset the password. After you've reset it, follow the iCloud method above to unlock your phone.
Using a computer you previously synced with
If you have a Mac or Windows computer where you previously connected this iPhone and synced it through iTunes or Finder, you can use that computer to unlock the phone without needing your Apple ID password. Connect the locked iPhone to the computer with a USB cable. On a Mac with macOS Catalina or newer, open Finder and select the iPhone. On Windows or older Mac, open iTunes.
Click "Restore" (or "Restore iPhone"). The computer will read the current iOS software and install it on your phone. This erases the phone and removes the passcode. After the restore finishes, you can set up the phone again. You'll be asked to sign in with your Apple ID during setup, so you'll need to remember that password — but you won't need the old passcode.
Contacting Apple Support if you're locked out completely
If you don't remember your Apple ID password, don't have access to your email, can't reach a computer you previously synced with, and can't answer your security questions, you'll need to contact Apple directly. Call Apple Support at 1-800-MY-APPLE or visit an Apple Store in person. Have your proof of purchase ready — a receipt, order confirmation email, or credit card statement showing the purchase.
Apple will verify that you own the phone and can unlock it remotely or walk you through additional recovery steps. This process can take anywhere from a few hours to several days depending on how much verification Apple needs. In-person visits at an Apple Store are usually faster than phone support.
What happens if your iPhone is disabled after too many wrong attempts
If you enter the wrong passcode too many times, your iPhone will show a message saying it's "Disabled" and tell you to try again in a certain number of minutes — starting at 1 minute, then 5, then 15, then 60, and eventually longer. This is not the same as being permanently locked.
You can wait out the timer and try again, or you can use any of the methods above (iCloud, computer sync, or Apple Support) to unlock the phone without waiting. The phone is not permanently broken — it's just temporarily blocked to prevent someone from guessing your passcode by trying thousands of combinations.
Preventing this from happening again
After you unlock your phone, set up a passcode you'll actually remember, or use Face ID or Touch ID so you don't have to type a code every time. Write your Apple ID password somewhere safe — a password manager like 1Password or Bitwarden, a locked notebook, or a trusted person who can help you if you forget it.
Turn on iCloud backup so your photos, messages, and app data are saved automatically. This way, if you ever need to erase your phone to unlock it, you can restore everything afterward. Go to Settings, tap your name, select iCloud, then turn on iCloud Backup.
Frequently Asked Questions
Can I unlock my iPhone without erasing it?
Not if you've forgotten your passcode. Any method that unlocks the phone requires erasing it first. However, if you have an iCloud backup, you can restore your data after the erase is complete, so you won't lose photos, messages, or app data — only any changes made since the last backup.
How long does it take to unlock an iPhone through iCloud?
Usually 5 to 15 minutes from the time you click "Erase." The phone needs to connect to Apple's servers, receive the erase command, and restart. If your phone is offline, it will erase the next time it connects to the internet.
What if I don't have another device to access iCloud.com?
You can use any computer at a library, friend's house, or internet café. You only need a web browser and your Apple ID password. Alternatively, visit an Apple Store and bring proof of purchase — they can unlock it for you in person.
Will unlocking my iPhone delete my photos and messages?
Yes, unless you restore from a backup. If you have iCloud backup turned on, your photos and messages are already saved to iCloud and will come back when you restore. If you don't have a backup, they will be permanently deleted.
Can Apple unlock my phone if I don't have proof of purchase?
Apple can try to verify ownership through other means — your Apple ID account history, the phone number associated with the account, or security questions — but proof of purchase makes the process much faster. Without any proof, Apple may not be able to help.