What you can do without erasing everything

If you forgot your phone password, you have several paths forward that do not require a factory reset. The fastest route depends on whether you set up account recovery beforehand — a Google account on Android or an Apple ID on iPhone. Both let you reset your password from another device without losing your photos, messages, or apps. If you did not set up recovery, you can still unlock the phone through your carrier, though this takes longer and may require proof of ownership.

The key difference between these methods is what information you need and how long each takes. Account recovery is fastest because you control it yourself. Carrier unlock requires you to contact your phone company and may take a day or two. Both preserve your data.

Key Takeaways

  • If you have a Google account or Apple ID linked to your phone, you can reset your password from a computer or another device without losing any data.
  • Android phones let you use your Google account to unlock the device even if you forgot the PIN or pattern; iPhone requires you to use Find My iPhone or iCloud.com.
  • If you have no account recovery set up, your carrier can unlock the phone after you verify your identity, though this typically takes 24 to 48 hours.
  • Fingerprint or face unlock will still work even if you forgot your password, and you can change the password once you are back in the phone.

Using your Google account on Android

On most Android phones, if you enter your password incorrectly five times, the screen will offer a "Forgot password?" link. Tap it and enter the Google account email and password you used to set up the phone. Google will send a verification code to that email address. Enter the code on the phone, and you can then create a new password.

If the "Forgot password?" link does not appear after failed attempts, go to Google Account Recovery from any web browser. Enter your email address, and Google will walk you through confirming your identity — usually by sending a code to a recovery email or phone number you set up earlier. Once you confirm, you can reset your Google password, then use that new password to unlock your phone.

This method works on phones from Samsung, Google Pixel, Motorola, and most other Android manufacturers. The exact wording on the screen may vary slightly, but the process is the same: failed attempts trigger the recovery option, or you can start recovery from Google's website.

Using Find My iPhone or iCloud on Apple devices

On an iPhone or iPad, go to iCloud.com from any computer or another device. Sign in with your Apple ID. Click "Find My iPhone" and select your locked device from the list. Choose "Erase iPhone" to wipe the device, then set it up again using your Apple ID. Your photos, messages, and other data will restore from your iCloud backup once setup is complete.

If you do not have iCloud backup turned on, erasing through Find My iPhone will remove your data. In that case, you may want to try the carrier method instead. If you have a second Apple device (another iPhone, iPad, or Mac), you can also use the Find My app instead of iCloud.com — the steps are identical.

This method requires that you remember your Apple ID password. If you forgot that too, you can reset it at iforgot.apple.com before you start the Find My process.

Unlocking through your phone carrier

Call your carrier's customer service line — the number is on your bill or on the carrier's website. Tell them you forgot your phone password and cannot access the device. They will ask you to verify your identity, usually by confirming your account number, the phone number on the account, and the last four digits of the Social Security number or ID used to open the account.

Once verified, the carrier can send a remote unlock command to your phone. This usually takes 24 to 48 hours. You will receive a notification on the phone when the unlock is complete, and you can then set a new password. Your data remains on the phone throughout this process.

This method works on any phone with any carrier — Verizon, AT&T, T-Mobile, or smaller regional carriers. The exact process varies slightly by carrier, but all of them have a process for this situation. Keep your account information handy when you call, as they will need it to confirm you are the account holder.

Using biometric unlock to get back in

If you set up fingerprint or face unlock on your phone, you can use that to open the device even if you forgot your password. Once you are in, go to Settings and change your password to something you will remember. This bypasses the password problem entirely.

Biometric unlock is available on most modern Android phones and all recent iPhones. If you have it enabled, it is usually the fastest way back into your phone. You do not need to contact anyone or wait for a code — just use your fingerprint or face.

What to do if you have no recovery method set up

If you have no Google account, Apple ID, biometric unlock, or carrier account information, a factory reset becomes necessary. This erases everything on the phone. Before you go that route, check whether you have any recovery email or phone number on file with your carrier. Call them and ask what information they have for your account — sometimes they can unlock the phone with less information than you think.

If the carrier cannot help, you will need to factory reset the phone. The exact steps depend on your phone model, but most phones let you reset from the lock screen by holding specific buttons or by connecting to a computer with manufacturer software. After the reset, you can set up the phone fresh and restore data from a backup if you have one.

Preventing this in the future

Set up account recovery now while you can still access your phone. On Android, go to Settings, then Accounts, then Google, and make sure your recovery email and phone number are current. On iPhone, go to Settings, then [Your Name], then Password and Security, and add a recovery email and phone number.

Also turn on biometric unlock — fingerprint or face — so you have a backup way into your phone if you forget your password. This takes two minutes and saves you hours of trouble later. Write your password down in a find place, like a password manager or a locked drawer, so you can look it up if you need it.

Frequently Asked Questions

How long does it take to unlock my phone through my carrier?

Most carriers complete a remote unlock within 24 to 48 hours. Some carriers may do it faster if you call during business hours and have all your account information ready. You will get a notification on your phone when the unlock is complete.

Will I lose my photos and messages if I use Google Account Recovery?

No. Using your Google account to reset your password keeps all your data on the phone. The same is true for Apple ID recovery through iCloud — your data restores from backup once setup is complete, as long as you had backup turned on.

Can I unlock my phone if I forgot both my password and my Google account password?

Yes. Go to Google Account Recovery at accounts.google.com/signin/recovery and reset your Google password using a recovery email or phone number. Once you reset it, use the new password to unlock your phone. If you have no recovery method on your Google account either, contact your carrier.

What if my phone is not connected to the internet?

You will need internet to use account recovery or carrier unlock. Connect to Wi-Fi if possible, or use a computer to start the recovery process, which will then push the unlock to your phone. If you cannot connect to Wi-Fi, the carrier method is your best option — they can unlock the phone remotely without needing the phone to be online first.

Does factory reset really erase everything?

Yes. A factory reset removes all photos, messages, apps, and settings from the phone. If you have a backup in Google Drive, iCloud, or another service, you can restore from it after the reset. If you have no backup, the data is gone permanently.