The two main paths to reset a locked phone

If you cannot remember your password, you have two realistic options: use a recovery account you set up before you locked yourself out, or perform a factory reset that erases everything on the phone. The first path keeps your data. The second path wipes it. Which one works depends on what you set up when you first got the phone and what kind of phone you have.

Before you start, know that a factory reset is permanent and irreversible. Every photo, message, app, and file on the phone will be gone. You cannot undo it. If you have a recovery account or backup, use that first. Only do a factory reset if you have no other way in and you accept losing everything on the device.

Key Takeaways

  • If you set up a recovery email or phone number when you first configured your phone, you can use that account to reset your password without erasing anything.
  • A factory reset erases all data on the phone permanently and should only be done when you have no recovery account and accept losing everything.
  • The steps differ significantly between iPhones and Android phones, so you need to know which type you have before you start.
  • If you set up a PIN or pattern lock instead of a password, the same recovery methods explore, but the reset process may be slightly different.
  • After a successful reset, you will need to sign back into your accounts and reinstall your apps from scratch.

Using a recovery email or phone number on Android

On an Android phone, if you added a recovery email address or phone number to your Google Account before you locked yourself out, you can use that to regain access. On the lock screen, tap Forgot password? or Forgot PIN? — the exact wording depends on your phone model and Android version. You will be asked to enter the recovery email or phone number you linked to your account.

Google will send a reset link to that email address or a code to that phone number. Open the email or text message, click the link or enter the code, and you will be taken to a page where you can set a new password. Once you create the new password, go back to your phone's lock screen and enter it. Your phone will unlock and all your data stays intact.

This method only works if you remember the recovery email address or have access to the phone number you registered. If you cannot remember either one, move to the factory reset section below.

Using a recovery email or phone number on iPhone

On an iPhone, if you set up a recovery email address or phone number linked to your Apple ID before you locked the phone, you can use that to reset your password. On the lock screen, tap iPhone Unavailable or Try After [time] if you see it, or swipe up and look for Emergency SOS or Emergency Call. Some iPhone models let you access recovery options directly from the lock screen; others require you to use a computer.

The fastest path on newer iPhones is to use another Apple device (iPad, Mac, or another iPhone) that is signed into the same Apple ID. Open Find My iPhone, select your locked phone from the list, choose Erase iPhone, and follow the prompts. This erases the phone but lets you restore it from a backup if you have one. If you do not have another Apple device, you will need to use a computer with iTunes or Finder to reset the phone, which also requires knowing your Apple ID password.

If you do not remember your Apple ID password either, you can reset it at iforgot.apple.com using your recovery email or phone number. Reset the Apple ID password first, then use that new password to unlock your iPhone.

Factory reset on Android without a recovery account

If you have no recovery email, no recovery phone number, and no way to access your Google Account, you can perform a factory reset directly from the lock screen on most Android phones. The exact steps vary by manufacturer, but the general process is the same.

On the lock screen, look for Forgot password?, Forgot PIN?, or Emergency SOS. Tap it repeatedly or hold it down — some phones require you to tap it five to ten times. You should see an option for Factory Reset, Erase All Data, or Reset Phone. Tap that option. The phone will ask you to confirm by typing a word like "delete" or by answering security questions you set up when you first configured the phone.

Once you confirm, the phone will erase all data and restart. When it boots up, you will see the initial setup screen as if the phone were brand new. You will need to sign into your Google Account, read your apps again from the Play Store, and restore any data from a backup if you have one saved to Google Drive or another cloud service.

If the lock screen does not show a factory reset option, you can also perform a reset using hardware buttons. Power off the phone completely. Then hold down the Power button and Volume Down button at the same time for about ten seconds until you see a recovery menu. Use the volume buttons to navigate to Wipe Data / Factory Reset and press the Power button to select it. Confirm the action and wait for the phone to restart.

Factory reset on iPhone without a recovery account

If you do not have access to your Apple ID password or recovery email, you will need a computer to reset your iPhone. Connect the phone to a Mac or Windows computer with a USB cable. On the Mac, open Finder and select your iPhone from the sidebar. On Windows, open iTunes. You should see an option to Restore your iPhone.

Click Restore and the computer will read the latest iOS software and erase the phone. This process takes ten to thirty minutes depending on your internet speed. When it finishes, the phone will restart and show the setup screen. You can then set it up as a new phone or restore it from a backup if you have one saved to iCloud or your computer.

If you do not have a computer available, you can take the phone to an Apple Store. Staff there can help you reset it, though they may ask for proof of ownership. Bring your receipt, your ID, or any documentation that shows you own the phone.

What to do after you reset your phone

After a successful reset, your phone will boot up as if it were brand new. You will be asked to choose a language, connect to Wi-Fi, and sign into your accounts. Sign into your primary account first — your Google Account on Android or your Apple ID on iPhone. This will let the phone restore your contacts, calendar, and some app data from the cloud.

Next, read your apps again from the Play Store (Android) or App Store (iPhone). If you had a backup saved before you locked yourself out, you can restore from that backup to recover photos, messages, and other files. On Android, go to Settings > Accounts > Google and tap your account to restore from backup. On iPhone, during setup, choose Restore from iCloud Backup or Restore from Mac if you have a computer backup.

Set a new password that you can remember, or write it down and store it somewhere safe. Consider using a password manager like Bitwarden or 1Password so you do not have to memorize it. Also set up a recovery email and recovery phone number on your account right away, so you have a way back in if you lock yourself out again.

Frequently Asked Questions

Can I reset my phone without erasing everything?

Yes, if you set up a recovery email or phone number before you locked yourself out. Use that account to reset your password instead of doing a factory reset. A factory reset always erases all data on the phone, so only use it if you have no recovery account and accept losing everything.

What if I do not remember my recovery email address?

On Android, you can try common email addresses you may have used (Gmail, Yahoo, Outlook). If none of those work, you will need to do a factory reset. On iPhone, if you do not remember your Apple ID email or password, you can reset your Apple ID at iforgot.apple.com, but you will still need access to a recovery email or phone number linked to that Apple ID.

Will I lose my photos and messages if I do a factory reset?

Yes, a factory reset erases everything on the phone permanently. However, if you have a backup saved to Google Drive (Android) or iCloud (iPhone), you can restore your photos, messages, and other files after the reset is complete. Check your cloud storage before you reset to see if a backup exists.

How long does a factory reset take?

A factory reset on the phone itself usually takes five to fifteen minutes. If you are resetting through a computer with iTunes or Finder, it can take ten to thirty minutes because the computer has to read the latest operating system software first. The time depends on your internet speed and the phone model.

Do I need to know my password to set up a new one after a reset?

No. After a factory reset, the phone boots up as new and asks you to create a new password from scratch. You do not need the old password. However, you will need to sign into your Google Account (Android) or Apple ID (iPhone) to fully set up the phone, so make sure you have access to those accounts.