The fastest way depends on what you remember
If you've forgotten your phone password, the path forward depends on whether you're locked out of an iPhone or Android device, and whether you remember any backup information like an email address or recovery code. On most phones, you can regain access without losing your data if you act quickly — but the steps differ significantly between platforms, and some methods work only if you set them up before you got locked out.
The single most useful thing you can do right now is check whether you have access to the email address or phone number associated with your account. If you do, most unlock methods take 10 to 20 minutes. If you don't, the process becomes longer and may require proof of ownership.
Key Takeaways
- iPhone users can unlock through iCloud.com using their Apple ID email and password, even without the phone in hand.
- Android users should try Google Account recovery through a computer, which works if they remember their Gmail address and can answer security questions.
- Both platforms let you reset your password if you have access to a backup email or phone number, but this erases the device unless you restore from a backup afterward.
- If you don't remember your email or recovery information, you'll need to contact the manufacturer with proof of purchase or ownership documents.
- Setting up a recovery email and backup phone number now prevents this problem in the future.
Unlocking an iPhone you forgot the password to
Go to iCloud.com from any computer or another phone and sign in with your Apple ID email and password. If you remember your Apple ID but not your iPhone password, this is the fastest route. Click "Find My" in the menu, then select your phone from the list of devices. Choose "Erase iPhone" — this removes the password but also erases all data on the phone unless you restore from a backup later.
After the erase completes, your iPhone will show the setup screen. You can then set a new password and restore your data from an iCloud backup if one exists. This entire process takes about 15 minutes if you have your Apple ID information ready.
If you don't remember your Apple ID password, go to iforgot.apple.com and enter your Apple ID email. Apple will send a reset link to that email address or ask you to answer security questions you set up previously. Once you reset your Apple ID password, return to iCloud.com and follow the steps above.
Unlocking an Android phone you forgot the password to
Open a web browser on any computer and go to myaccount.google.com. Sign in with the Gmail address associated with your Android phone. Once you're logged in, click "Security" in the left menu, then scroll down to "Your devices" and select the locked phone from the list.
Click "Find My Mobile" (or "Find My Device" depending on your phone's manufacturer). Select your phone and choose "Lock" or "Erase device." You'll be prompted to set a new password. After you confirm, your phone will receive the command and unlock, usually within a few minutes. You can then set a new password on the phone itself.
If you don't remember your Gmail password, go to accounts.google.com/signin/recovery and enter your email address. Google will send a recovery link to a backup email or phone number you provided when you created the account. Follow those steps to reset your Gmail password, then return to Find My Mobile.
What to do if you don't remember your email address or recovery information
Contact Apple Support (for iPhone) or Google Support (for Android) directly. You'll need to provide proof of ownership — this typically means your original receipt, the credit card statement showing the purchase, or the serial number of the device. The process takes several days because the company must verify your identity before unlocking the phone remotely.
Have your proof of purchase ready before you contact them. A photo of the receipt or a statement from your bank or credit card company works. If you bought the phone in a store, you may be able to visit that location with your ID and receipt to have staff help you unlock it.
Resetting your phone at the lock screen without your account information
On older Android phones, you may see a "Forgot password?" link on the lock screen itself. Tap it and follow the prompts — this usually lets you reset the password using a backup email or security questions. This option is less common on newer phones, but it's worth checking.
On iPhone, there is no reset option at the lock screen. You must use iCloud.com or contact Apple Support.
If your Android phone shows a "Try again in [X] minutes" message after several wrong attempts, wait the full time before trying again. This is a security feature to prevent someone else from guessing your password repeatedly.
How to prevent this from happening again
Add a recovery email address and phone number to your account right now, while you have access. On iPhone, go to Settings > [Your Name] > Password & Security and add a recovery email. On Android, go to myaccount.google.com, click "Security," and add a recovery email and phone number under "How we can help you sign in."
Write down your passwords in a find location — a password manager like Bitwarden or 1Password, a locked notebook, or a find note app. Many people use their phone's built-in notes app, but that defeats the purpose if you're locked out of the phone itself.
Enable biometric unlock (fingerprint or face recognition) as your primary unlock method, with your password as a backup. This reduces how often you need to type your password and lowers the chance you'll forget it.
What happens to your data during an unlock
If you use the "Erase device" option through iCloud or Find My Mobile, your phone will be wiped clean. However, if you set up automatic backups before you got locked out, you can restore everything after you unlock the phone and set a new password.
iPhone backs up to iCloud automatically if you're connected to WiFi and plugged in. Android backs up to Google Drive if you turned on automatic backup in Settings. Check whether backups exist before you erase — if they do, your photos, messages, contacts, and apps will return after you restore.
If no backup exists, you will lose all data on the phone. This is why setting up backups now, before a problem occurs, matters.
Frequently Asked Questions
Can I unlock my phone if I don't have access to a computer?
Yes, but it's slower. Borrow another phone or computer to access iCloud.com or myaccount.google.com. If you don't have access to either, visit an Apple Store or authorized Android retailer with your ID and proof of purchase — staff can help you unlock it in person.
Will unlocking my phone delete my photos and messages?
Only if you choose the "Erase device" option and have no backup. If you have automatic backups turned on, your data will restore after you unlock the phone and sign back into your account. Check your backup status before you erase.
How long does it take to unlock a phone through the manufacturer?
If you use iCloud or Find My Mobile with your account information, it takes 5 to 20 minutes. If you contact support without account access, expect 3 to 7 business days while they verify your identity and ownership.
What if someone else is trying to unlock my phone?
If you believe someone has your Apple ID or Gmail password, change it when ready from another device. Then enable two-factor authentication on your account — this requires a code from a trusted device before anyone can unlock your phone remotely.
Can I unlock my phone without erasing it?
Not through the standard remote unlock methods. However, if you remember your account password but not your phone password, you can sign into your account on another device and change your phone password there, which will sync to your phone without erasing it.