The fastest way: enter your password correctly
If you remember your password, unlock your phone by entering it on the lock screen. On most phones, you get a certain number of attempts before the device locks you out temporarily — usually five to ten tries depending on your phone type. After that, you will see a timer telling you to wait before trying again, which can range from one minute to several hours.
The most common reason people think they have forgotten a password is that they are entering it wrong. Check whether your keyboard is set to the language you used when you created the password. If you set it in English but your phone is now set to another language, the keys may be in a different order. Also verify that Caps Lock is not on — passwords are case-sensitive, meaning a capital letter is different from a lowercase one.
If you are certain of your password but keep getting an error, restart your phone and try again. A temporary software glitch can sometimes cause the lock screen to reject a correct password.
Key Takeaways
- Most phones let you try your password five to ten times before locking you out temporarily, so take your time and check your keyboard language and Caps Lock status.
- If you have a backup password, PIN, or pattern set up, you can use that instead of your main password on the lock screen.
- Android phones linked to a Google account can be unlocked through Google's Find My Mobile or through your Google account recovery page if you are locked out.
- iPhones can be reset through iCloud or by using a computer with iTunes or Finder, but this erases the phone unless you have a backup.
- If your phone belongs to your employer or school, contact their IT department — they may have a way to reset it without erasing your data.
Using a backup unlock method on your lock screen
Many phones offer a backup way to unlock if you forget your main password. On Android, this is often a PIN, pattern, or fingerprint you set up during initial setup. On iPhone, it is usually Face ID or Touch ID. Look at your lock screen for options like "Use PIN instead" or a fingerprint icon — the exact wording depends on your phone model.
If you set up a backup method but cannot remember it either, you will need to use account recovery or a factory reset. A backup method only helps if you remember at least one way to unlock the phone.
Unlocking an Android phone through your Google account
If you have forgotten your Android password and do not have a working backup method, you can unlock the phone using the Google account linked to it. After several failed password attempts, your lock screen should show an option like "Forgot password?" or "Can't access your account?" Tap this and follow the prompts to verify your identity using your Google account credentials.
Google will ask you to enter the email address and password for the Google account on the phone. You may also need to verify your identity by entering a recovery code, answering security questions, or confirming a code sent to a backup email or phone number. Once verified, you can set a new phone password.
If the "Forgot password?" option does not appear after failed attempts, go to Google's Find My Mobile website from another device. Sign in with the same Google account, select your phone, and choose the option to unlock it. This method works only if you remember your Google account password and have access to the recovery methods you set up with Google.
Unlocking an iPhone through iCloud or a computer
If you have forgotten your iPhone password, you can reset it using iCloud from any web browser or another Apple device. Go to iCloud.com, sign in with your Apple ID, and select Find My iPhone. Locate your phone in the list, tap it, and choose "Erase iPhone." This removes the password but also erases all data on the phone unless you have a backup.
After erasing, you can restore from a backup if you have one saved to iCloud or to a computer. If you do not have a backup, the phone will be empty and you will set it up as new.
Alternatively, if you have a Mac or Windows computer with iTunes or Finder, connect your iPhone to it with a USB cable. Open Finder (Mac) or iTunes (Windows), select your phone, and choose the option to restore. Like the iCloud method, this erases the phone but lets you restore from a backup afterward.
What to do if you do not have account access
If you cannot access your Google account or Apple ID — for example, you do not remember that password either — you will need to prove ownership of the phone to the manufacturer. Contact Google or Apple directly with proof of purchase, such as a receipt or order confirmation. They can verify that you own the device and may be able to help you regain access.
This process takes longer than using your account and may require you to provide serial numbers, IMEI numbers, or other identifying information about the phone. You can find these numbers in your phone's settings under "About Phone" (Android) or "About" (iPhone), or on the original box or receipt.
Unlocking a work or school phone
If your phone is managed by your employer or school, contact their IT department or help desk before trying any of the methods above. Many organizations have their own way to unlock phones without erasing them, and using the standard reset methods may cause problems with work email, apps, or security settings.
Your IT department may be able to unlock the phone remotely or guide you through a process that preserves your data. This is faster and safer than doing a factory reset on a managed device.
Preventing this problem in the future
Write your password down and store it somewhere find, like a locked drawer or a password manager app. A password manager is a program that stores all your passwords in one encrypted place — you only have to remember one master password to access them all. Popular options include Bitwarden, 1Password, and Dashlane.
Set up a backup unlock method — a PIN, pattern, or biometric option — so you have another way in if you forget your main password. Also make sure you remember your Google or Apple account password, since you will need it to unlock your phone if you are locked out. If you are worried about forgetting that password too, store it in a password manager or write it down and keep it safe.
Enable automatic backups so that if you have to erase your phone, you can restore your data afterward. On Android, turn on Google Drive backups in Settings. On iPhone, turn on iCloud backups in Settings under your name.
Frequently Asked Questions
How many times can I try my password before the phone locks me out?
Most Android phones allow five to ten attempts before locking you out for a set time. iPhones lock after six failed attempts, then require you to wait increasingly longer between tries — starting at one minute and going up to hours. The exact number varies by phone model and manufacturer.
Can I unlock my phone if I do not remember my Google or Apple account password?
You can start the account recovery process by selecting "Forgot password?" on the sign-in screen. Google and Apple will ask you to verify your identity using recovery codes, backup email addresses, or phone numbers you set up beforehand. If you cannot verify your identity, contact the manufacturer with proof of purchase.
Will resetting my phone erase everything on it?
Yes, a factory reset erases all data, apps, and settings. However, if you have a backup saved to iCloud (iPhone) or Google Drive (Android), you can restore your data after the reset. Without a backup, the phone will be empty.
What should I do if my phone is locked by my company or school?
Contact your IT department or help desk first. They may have a way to unlock it without erasing your data. Using standard reset methods on a managed phone can disable work email and security features.
Can I unlock my phone if I do not have access to another device or computer?
If you have a backup unlock method like a PIN or fingerprint, you can use that on the lock screen itself. Otherwise, you will need access to another device to use iCloud, Find My Mobile, or to contact the manufacturer for account recovery.