The fastest way depends on what kind of phone you have

If you have forgotten your phone password, the path forward splits when ready: iPhones and Android phones use completely different systems, and each one has a different fastest route. On an iPhone, you will use your Apple ID and a computer or another device. On Android, you will use your Google account, and the method depends on whether you set up a backup PIN or recovery email. Neither route is when ready — both take a few minutes and require access to something outside the phone itself.

The reason you need an outside account is security. Your phone password is designed to be hard to bypass, so the system checks that you own the Apple ID or Google account linked to the phone before it lets you in. This protects your data if someone else picks up your phone, but it also means you cannot reset the password with just the phone alone.

Key Takeaways

  • iPhone users need their Apple ID and password, plus a computer or another Apple device, to reset a forgotten phone password.
  • Android users need their Google account details and can reset on the phone itself if they set up a recovery email or backup PIN.
  • If you do not remember your Apple ID or Google password, you will need to reset that account first before you can unlock your phone.
  • The entire process usually takes 5 to 15 minutes once you have access to your linked account.
  • If you cannot remember any of your passwords and have no recovery options set up, contact your phone manufacturer's support line for next steps.

Resetting an iPhone password using Find My iPhone

On an iPhone, the standard method is Find My iPhone, which you access from a computer or another Apple device. Go to iCloud.com on a computer, or open Find My on another iPhone, iPad, or Mac. Sign in with your Apple ID — the same one linked to the locked phone. Select your phone from the device list.

Once you have selected your phone, choose "Erase iPhone" or the equivalent option. This will wipe the phone completely, including the password you forgot. After the erase finishes, the phone will restart and show the setup screen. You can then set a new password and restore your data from a backup if you have one saved to iCloud.

This method works even if you have not used Find My before, as long as your Apple ID was set up on the phone at some point. If you do not remember your Apple ID password, you will need to reset it first at iforgot.apple.com before you can proceed.

Resetting an Android password using your Google account

On Android, the reset process happens on the phone itself. After you enter the wrong password several times, the phone will show a "Forgot password?" link. Tap it. The phone will ask you to sign in with your Google account — the one linked to the phone when you set it up.

Enter your Google email address and password. If you have set up a recovery email or phone number on your Google account, Google will send a code to that address or number. Enter the code on your phone. Once Google confirms your identity, you will be able to set a new phone password when ready.

If you do not remember your Google password, tap "Can't access your account?" on the Google sign-in screen. Google will walk you through recovery steps, which usually involve confirming your identity with a recovery email, phone number, or security questions you set up earlier. This can take a few minutes but does not require leaving your phone.

What to do if you do not remember your linked account password

If you have forgotten both your phone password and your Apple ID or Google password, you will need to reset the account password first. On a computer, go to iforgot.apple.com for Apple ID or accounts.google.com/signin/recovery for Google. Both services will ask you to verify your identity using a recovery email, phone number, or security questions.

The recovery process usually takes 5 to 10 minutes. Once you have reset your account password, return to your phone and use the method described above for your phone type. You will now have both passwords and can unlock your phone and set a new password.

If you do not have access to a recovery email or phone number, and you cannot answer your security questions, contact Apple Support or Google Support directly. They can verify your identity through other means, though this may take longer than the automated recovery.

Restoring your data after a reset

When you erase your phone to reset the password, you lose everything on it unless you have a backup. Both iPhone and Android create automatic backups if you set them up beforehand — iCloud for iPhone, and Google Drive for Android. When you set up your phone again after the erase, you will be asked whether you want to restore from a backup. Select yes and choose the most recent backup.

If you do not have a backup, your photos, messages, and apps will be gone. This is why setting up automatic backups is important: on iPhone, go to Settings > [Your Name] > iCloud > iCloud Backup and turn it on. On Android, go to Settings > Google > Manage your Google Account > Backup and turn on backup for your apps and data. Both services back up automatically once a day when your phone is plugged in and connected to WiFi.

If you cannot access your recovery email or phone number

Sometimes the recovery email or phone number on your account is old or no longer works. If that is the case, you will need to contact your phone manufacturer's support team directly. Apple Support and Google Support can verify your identity through other methods — usually by asking for the phone's serial number, proof of purchase, or answers to security questions you set up years ago.

Have your phone's serial number ready. On iPhone, you can find it in Settings > General > About if you can get into the phone at all, or on the original box or receipt. On Android, the serial number is usually in Settings > About Phone > Serial Number. If you cannot access the phone, look for the number on your original receipt or contact your phone's carrier — they have a record of the serial number.

Preventing this from happening again

After you reset your password and regain access, take a few minutes to set up recovery options so you do not get locked out again. On iPhone, make sure your Apple ID has a recovery email and phone number in Settings > [Your Name] > Password & Security. On Android, do the same in your Google Account settings under Security > Recovery options.

Also turn on automatic backups so that if you ever need to erase your phone again, you can restore everything afterward. Write down your passwords in a find place — a password manager like Bitwarden or 1Password is safer than a notebook, but a notebook is better than nothing. Consider using a PIN or pattern you can actually remember, or a longer passphrase that is easier to recall than a random string of characters.

Frequently Asked Questions

How long does it take to reset my phone password?

The entire process usually takes 5 to 15 minutes once you have access to your linked account. The longest part is waiting for recovery codes to arrive by email or text. If you need to reset your account password first, add another 5 to 10 minutes.

Will I lose my photos and messages when I reset my password?

Only if you do not have a backup. When you erase your phone to reset the password, everything is deleted. However, if you have automatic backups turned on, you can restore all your data after you set up the phone again. Check whether you have backups before you start the reset process.

What if I do not have access to the recovery email or phone number on my account?

Contact Apple Support or Google Support directly. They can verify your identity through other means, such as your phone's serial number or proof of purchase. This takes longer than automated recovery but is still possible.

Can I reset my phone password without a computer?

On Android, yes — the entire process happens on the phone itself. On iPhone, you need either a computer with iCloud.com access or another Apple device with Find My. You cannot reset an iPhone password using only the locked iPhone.

What if I forgot my password and my phone is turned off?

Turn the phone on first. You will see the lock screen and can then follow the reset process for your phone type. If the battery is completely dead, charge it for at least 15 minutes before attempting to unlock it.