The fastest way depends on what you remember and what phone you have
If you've locked yourself out of your phone, the path forward depends on whether you're using an iPhone or Android, and whether you still have access to the email or phone number tied to your account. Apple and Google both built recovery options into their systems specifically for this situation — they just work differently. The process takes anywhere from a few minutes to a few days, and you'll need to prove you own the device.
The key thing to understand: you can't bypass your own security without proof of ownership. That's actually protecting you. If someone could unlock your phone with a few clicks, they could unlock anyone's phone. The recovery methods ask you to verify your identity because that's how the system knows it's really you asking.
Key Takeaways
- iPhone users can use iCloud.com or the Find My iPhone app to reset their password remotely, or use Apple's account recovery process if they don't remember their Apple ID password either.
- Android users can sign into their Google account on the lock screen (on most phones) or use Google's account recovery at accounts.google.com if that option doesn't appear.
- You'll need access to a recovery email address or phone number that you set up when you created your account — this is why setting one up matters.
- If you can't access your recovery email or phone number, the process takes longer because Google and Apple have to verify your identity through additional steps.
- Factory resetting your phone erases everything on it and should be your last option, not your first.
Unlocking an iPhone when you've forgotten your password
If you remember your Apple ID and password, go to iCloud.com from any computer or another device, sign in, and select Find My iPhone. Locate your phone in the list, select it, and choose Erase iPhone. You'll be able to set a new password during the setup process that follows. This works even if your phone is turned off.
If you don't remember your Apple ID password, go to iforgot.apple.com and follow the steps to reset it. You'll need access to the email address or phone number you used to create your Apple ID. Apple will send you a verification code to that address or number. Once you've reset your Apple ID password, you can use the iCloud method above.
If you have another Apple device (iPad, Mac, Apple Watch), you can also use the Find My app on that device instead of going to iCloud.com. The steps are the same.
Unlocking an Android phone when you've forgotten your password
On most Android phones, when you see the lock screen, you'll see an option that says "Forgot password?" or "Forgot PIN?" Tap it. The phone will ask you to sign into your Google account. If you remember your Google password, enter it and you'll be able to set a new lock screen password.
If that option doesn't appear on your lock screen, or if you don't remember your Google password, go to accounts.google.com from any computer. Click "Sign in" and select "Can't sign in?" Follow Google's account recovery process, which will ask you to verify your identity using a recovery email address or phone number. Once you've regained access to your Google account, you can sign into your phone and set a new password.
The recovery process usually takes a few minutes if you have access to your recovery email or phone. If you don't, Google may ask you security questions or request additional information to confirm you own the account. This can take longer.
What to do if you can't access your recovery email or phone number
If the email address or phone number you used for account recovery is no longer active, both Apple and Google have additional verification steps. You'll be asked to provide information like the date you created the account, devices you've used with it, or payment methods on file. This process is slower — sometimes a few days — because the company is manually reviewing your request.
Start the recovery process anyway. Go to iforgot.apple.com for iPhone or accounts.google.com for Android and select the option that says you can't access your recovery email or phone. Answer the questions as completely as you can. The more information you can provide, the faster the verification usually goes.
While you're waiting for account recovery, write down any information you remember: approximate dates you created the account, email addresses you've used with it, phone numbers associated with it, or credit card numbers you've used for purchases. Have this ready if the company contacts you with follow-up questions.
Factory reset as a last resort
If you've tried account recovery and it's not working, or if you don't remember the email or phone number tied to your account at all, a factory reset will unlock your phone. But understand what this means: it erases everything on your phone — all your photos, messages, apps, and files. You cannot undo a factory reset.
On iPhone, you can factory reset through iCloud.com (select Find My iPhone, choose your phone, and select Erase iPhone) or by connecting to a computer with iTunes or Finder. On Android, the method varies by manufacturer, but usually involves holding specific buttons while the phone is off (often the power button and volume up button together) until you see a recovery menu, then selecting "Wipe data" or "Factory reset."
After a factory reset, you'll go through the phone's setup process as if it were brand new. You'll be asked to sign into your Google or Apple account. This is when you can set a new password. If you don't remember that account password either, use the account recovery methods described above before you factory reset — it's much simpler.
Why you should set up account recovery now
The reason this process exists is that you set up recovery options when you created your account. If you did, unlocking your phone takes minutes. If you didn't, it takes days or weeks. The time to fix this is now, while you still have access to your phone.
On iPhone, go to Settings > [Your Name] > Password & Security and make sure you have a recovery email address and phone number on file. On Android, go to myaccount.google.com, select Security on the left, and scroll to "How you sign in to Google." Make sure your recovery email and phone number are current and that you still have access to them.
If you've changed email addresses or phone numbers since you created your account, update them now. If you've lost access to an old recovery email, remove it and add a new one. This takes five minutes and saves you weeks of frustration if you ever lock yourself out.
Frequently Asked Questions
Can I unlock my phone if I don't have access to any other device?
Yes. Go to a library, friend's house, or internet café and use a computer to access iCloud.com (iPhone) or accounts.google.com (Android). You don't need your phone to be nearby — the recovery process works remotely. You'll just need to remember your Apple ID or Google account email address and have access to your recovery email or phone number.
What if someone else is trying to unlock my phone?
The recovery process requires proof of ownership — access to your recovery email or phone number, or answers to security questions only you should know. If someone has stolen your phone and doesn't have these, they cannot unlock it. If you think your phone has been stolen, contact your carrier and ask them to suspend your account, and report it to local police.
How long does account recovery usually take?
If you have access to your recovery email or phone number, a few minutes to an hour. If you don't, Google and Apple may take a few days to verify your identity through additional questions. Start the process as soon as you realize you're locked out — the sooner you begin, the sooner it finishes.
Will I lose my photos and files if I factory reset?
Yes, unless they're backed up to iCloud (iPhone) or Google Photos (Android). If you've been using automatic backup, your photos and many files will still be there after you sign back into your account. Check your backup settings before you factory reset. Go to Settings > [Your Name] > iCloud on iPhone, or Settings > Google on Android.
Can I use someone else's fingerprint or face to unlock my phone?
No. Biometric locks (fingerprint and face recognition) are tied to your specific device and cannot be transferred. If biometric unlock isn't working, you'll need to use your password, PIN, or pattern. If you've forgotten all of those, follow the account recovery steps above.