The fastest way back in depends on what phone you have

If you've forgotten your phone password, the path forward splits between iPhone and Android — they use different recovery systems, and which one you have determines what you'll need and how long it takes. iPhone users go through Apple ID recovery or a computer. Android users typically use their Google account, a recovery email, or a PIN backup they may have set up earlier. Both routes work, but neither is when ready, and both require you to prove you own the device.

The reason for the delay is intentional: phone makers lock you out this way to prevent someone else from walking off with your phone and emptying it in minutes. That same lock protects you if your phone is stolen. You'll need patience and access to an email account or recovery phone number you set up before you forgot the password.

Key Takeaways

  • iPhone users need either a computer with iTunes or access to the Apple ID email address and recovery phone number used when the account was created.
  • Android users can unlock through their Google account, a recovery email, or a PIN they set up in advance, depending on their phone model and Android version.
  • The recovery process usually takes 24 to 48 hours because phone makers intentionally slow it down to prevent theft.
  • If you set up a recovery phone number or backup email before forgetting your password, you can start the unlock process when ready.
  • Factory reset is a last resort that erases everything on the phone and should only be attempted if you have backed up your data elsewhere.

Unlocking an iPhone with your Apple ID

On an iPhone, your Apple ID is the master key. If you remember the email address and password for the Apple ID linked to your phone, you can unlock it from the lock screen itself. Tap "iPhone Unavailable" or "Try Again Later" until you see the option to use your Apple ID, then enter that email and password. Apple will send a verification code to the recovery email or phone number on file — check both places if you're not sure which one you used.

This method works when ready if you have access to that email inbox or phone number. If you don't remember the Apple ID password either, you'll need to reset it through Apple's website before you can proceed. Go to iforgot.apple.com, enter the email address, and follow the steps to reset the password using a recovery email or phone number. This can take a few hours to a full day depending on which recovery method you use.

If you don't have access to the recovery email or phone number, or if you can't remember the Apple ID email at all, you'll need a computer. Connect your iPhone to a Mac or Windows PC with a USB cable, open Finder (Mac) or iTunes (Windows), and select your phone. Choose "Restore" to erase the phone and set it up fresh. You'll still need the Apple ID email and password to reactivate it afterward, but at least you'll be back in the phone itself.

Unlocking an Android phone with your Google account

Android phones are typically unlocked through the Google account you used when you first set up the phone. After several wrong password attempts, you'll see a "Forgot password?" link on the lock screen. Tap it and enter the email address for your Google account. Google will send a verification code to that email — check your inbox and spam folder both, as the message sometimes lands in the wrong place.

Once you enter the code, you can set a new phone password right there on the lock screen. This process usually takes just a few minutes if you have when ready access to the recovery email. If you don't remember the Google account email or password, go to myaccount.google.com on another device and use Google's account recovery process, which may ask you to verify your identity through a recovery phone number or backup email.

Some Android phones, particularly Samsung devices, offer additional recovery options. If you set up a PIN backup or recovery email within the phone's settings before you forgot the password, you can use those instead of your Google account. Check the lock screen for a "Use another method" or "More options" button — the exact wording varies by manufacturer and Android version.

What to do if you don't have access to your recovery email or phone number

If the recovery email is an old account you no longer use, or the recovery phone number is disconnected, you're in a harder position but not a hopeless one. For iPhone, contact Apple Support directly — they can verify your identity through the original purchase receipt, the last four digits of the credit card used to buy the phone, or other account details. This process takes longer, often several days, but it works if you can prove ownership.

For Android, Google has a similar verification process. Go to myaccount.google.com and select "Security" from the left menu, then follow the account recovery steps. You'll be asked to verify your identity, which might mean answering security questions you set up years ago, providing a government ID photo, or confirming details about your account history. This can take 24 to 48 hours.

If you bought the phone from a carrier like Verizon, AT&T, or T-Mobile, you can also contact them directly with your account information and a photo ID. They can sometimes help unlock the device or confirm your identity to the phone maker, which speeds up the process.

Factory reset as a last resort

A factory reset erases everything on your phone — all photos, messages, apps, and files — and returns it to the state it was in when it left the factory. This should only be your choice if you have already backed up your data to cloud storage (Google Photos, iCloud, OneDrive) or a computer, and if you've exhausted the recovery methods above.

To factory reset an iPhone without knowing the password, you need a computer. Connect the phone via USB, open Finder or iTunes, and select "Restore." The computer will erase the phone and install a fresh copy of iOS. You'll still need the Apple ID email and password to set it up again, so this doesn't solve the problem if you've also forgotten that.

To factory reset an Android phone, the process depends on the manufacturer. Most phones have a recovery menu you can access by holding specific buttons (usually Power and Volume Down together) while the phone is off. Navigate to "Wipe data / factory reset" and confirm. Again, you'll need your Google account information to set up the phone afterward.

Preventing this from happening again

Once you're back in your phone, take 10 minutes to set up recovery options so you're never locked out this way again. On iPhone, go to Settings > [Your Name] > Password & Security and make sure you have a recovery email and phone number on file. On Android, go to Settings > Google > Manage your Google Account > Security and check that your recovery email and phone number are current.

Consider using a password manager like Bitwarden, 1Password, or the built-in password manager on your phone. These store passwords securely and can generate strong ones you don't have to remember. Many people forget their phone password because they're trying to remember something too complex — a password manager removes that burden.

If you use biometric unlock (fingerprint or face recognition), enable it alongside your password. You'll still need the password for certain operations, but you won't have to type it every day, which means you're less likely to forget it.

How long the recovery process usually takes

If you have access to your recovery email or phone number and can receive verification codes when ready, you can be back in your phone within minutes to an hour. If you need to reset a forgotten Google or Apple ID password first, add 24 to 48 hours. If you need to contact support and verify your identity through purchase records or other documentation, expect 3 to 5 business days.

The delay is built in intentionally — phone makers slow down the unlock process to make it harder for thieves to break in. This protection works both ways: it locks you out if you forget, but it also locks out anyone who steals your phone.

Frequently Asked Questions

Can I unlock my phone without the recovery email or phone number?

Yes, but it takes longer. Contact Apple Support (for iPhone) or Google Support (for Android) with proof of ownership — a purchase receipt, the credit card used to buy the phone, or a government ID. They can verify your identity and help you regain access, though the process typically takes several days.

Will factory reset let me back into my phone without a password?

A factory reset erases the phone and returns it to its original state, but you'll still need your Apple ID or Google account password to set it up again. It only helps if you've backed up your data elsewhere and you remember the account password. If you've forgotten both the phone password and the account password, factory reset doesn't solve the problem.

What if I set up a PIN backup on my Android phone?

If you created a PIN backup in your phone's settings before you forgot the password, you can use it to unlock the device. Look for a "Use another method" or "More options" button on the lock screen. The exact location varies by phone model, but it's usually near the password entry field.

Can I unlock my phone if I don't remember which email I used for my Apple ID?

If you remember the phone number associated with the account, go to iforgot.apple.com and enter that number instead of the email. Apple can look up the account and send you a recovery code. If you don't remember the phone number either, contact Apple Support with proof of purchase.

How do I know if my recovery email is still active?

Try logging into it on another device or computer. If you can't remember the password to that email account either, use the email provider's account recovery process (Gmail, Outlook, Yahoo all have these). It's worth doing this before you try to unlock your phone, because you'll need access to that email to complete the phone unlock.