The fastest way depends on what you remember and what phone you have

If you've locked yourself out of your phone, your options split into two paths: recovering access through the account you set up the phone with, or doing a factory reset that erases everything. Which one works depends on whether you remember your Google account password (Android) or Apple ID password (iPhone), and whether you set up a recovery email or phone number when you created that account.

The account recovery route takes longer but keeps your data. A factory reset is faster but you lose everything unless you have a backup. Most people can recover their phone in 15 minutes to an hour if they remember their account password, or in a few days if they need to verify their identity through email or a recovery phone number.

Key Takeaways

  • Android phones can be unlocked through your Google account if you remember the password, using Google's Find My Mobile or the Android Device Manager website.
  • iPhones can be unlocked through your Apple ID if you remember the password, either by using iCloud.com or by connecting to a computer with iTunes or Finder.
  • If you don't remember your account password, you can reset it using a recovery email or phone number, but this adds several days to the process.
  • A factory reset erases all data on the phone but doesn't require your account password, and is the fastest option if you have a backup elsewhere.
  • You will need proof of ownership (receipt, ID, or account information) if you contact the phone manufacturer or carrier directly.

Unlocking an Android phone with your Google account

Go to myaccount.google.com on any computer or another phone. Sign in with the Google account you used to set up the locked phone. Click Security on the left side, then scroll down to Your devices and select Manage all devices.

Find your locked phone in the list and click it. You'll see an option to Find, find, and Erase. Click find device, then set a new PIN or pattern. This new code will unlock your phone. Once you're in, you can change it to something you'll remember.

If that option doesn't appear, your phone may be too old or wasn't fully set up with Google's Find My Mobile service. In that case, try connecting the phone to a computer with Android Debug Bridge (ADB) installed, which is a technical tool that requires downloading software and using command lines. Most people find the Google account method simpler if it's available.

Unlocking an iPhone with your Apple ID

Go to iCloud.com on any computer and sign in with the Apple ID you used to set up the locked iPhone. Click Find My, then Find My iPhone. Select your phone from the list of devices.

Click Erase iPhone. This removes the password and erases all data on the phone, but it also removes the Apple ID lock, so you can set up the phone fresh. You'll be able to restore your data from an iCloud backup if you have one, or set up the phone as new.

If you have a Mac or Windows computer with iTunes or Finder installed, you can also connect your iPhone with a USB cable. Put the phone in recovery mode by holding the power button and volume down button together until the recovery screen appears, then click Restore in iTunes or Finder. This does the same thing as erasing through iCloud.

Resetting your Google or Apple ID password if you don't remember it

Go to accounts.google.com/signin/recovery (Android) or iforgot.apple.com (iPhone). Enter your email address or phone number. Google and Apple will send a code to the recovery email or phone number you set up when you created the account.

Check that email or text message for the code, enter it on the recovery page, and create a new password. This process usually takes a few minutes if you have access to your recovery email or phone, but can take several days if you need to verify your identity through additional steps like answering security questions or uploading a photo ID.

Once you've reset your account password, use the steps above to unlock your phone through your Google or Apple account.

Doing a factory reset without your account password

A factory reset erases everything on the phone and removes the password lock, but you lose all data unless you have a backup. This is the fastest option if you don't remember your account password and don't want to wait for account recovery.

On Android, the steps vary by manufacturer. Most phones let you power off, then hold the power button and volume up button together until the recovery menu appears. Use the volume buttons to navigate to Wipe data / factory reset and press the power button to select it. The phone will restart and be unlocked, but empty.

On iPhone, you need a computer with Finder (Mac) or iTunes (Windows). Connect the phone with a USB cable, put it in recovery mode by holding power and volume down, then click Restore. The phone will erase and restart.

Contacting your phone's manufacturer or carrier

If none of the above methods work — for example, if your phone is very old, or if you can't access your recovery email or phone number — you can contact the manufacturer (Samsung, Google, Apple) or your carrier (Verizon, AT&T, T-Mobile) directly. They will ask you to prove you own the phone by providing your receipt, account number, or other identifying information.

This process can take several days or longer because the company needs to verify your identity before they unlock the phone. Have your phone's serial number (usually on the back or in Settings) and any documentation of purchase ready when you call.

What to do if you have a backup but no password

If you have a backup of your phone's data stored in Google Drive (Android) or iCloud (iPhone), you can do a factory reset to remove the password, then restore your data from the backup. This gets you back into the phone and recovers your files, photos, and settings.

After the factory reset, when the phone asks you to set up, choose to restore from backup. Sign in with your Google or Apple account and select the backup you want to restore. This takes 15 to 30 minutes depending on how much data you have.

Frequently Asked Questions

Can I unlock my phone if I don't remember my Google or Apple ID password?

Yes. Go to the password recovery page for your account (accounts.google.com/signin/recovery or iforgot.apple.com), and use your recovery email or phone number to reset your password. Once you've created a new password, you can unlock your phone through your account.

Will I lose my photos and files if I factory reset my phone?

Yes, a factory reset erases everything on the phone. But if you have a backup in Google Drive or iCloud, you can restore your data after the reset. If you don't have a backup, the data is gone.

How long does it take to unlock a phone through my account?

If you remember your account password, unlocking takes 5 to 15 minutes. If you need to reset your password first, add 10 minutes to a few hours depending on how quickly you receive and respond to the recovery email or text. If you need to verify your identity, it can take several days.

What if my phone is very old and doesn't support Find My Mobile or Find My iPhone?

Older phones may not have these services. Try a factory reset instead, or contact the manufacturer with proof of ownership. They can sometimes unlock the phone remotely, but this takes longer and requires documentation.

Do I need the original receipt to unlock my phone?

Only if you're contacting the manufacturer or carrier directly and can't unlock it through your account. If you can access your Google or Apple account, you don't need a receipt.