The password on your phone depends on what you are trying to unlock

A phone has several different passwords, and which one you need depends on what you are locked out of. The most common is your screen lock password — the code you enter when you turn on the phone or wake it from sleep. But you might also need your SIM card PIN (a four-digit code that protects your phone number and carrier service), your Google account password (if you have an Android phone), your Apple ID password (if you have an iPhone), or passwords for individual apps like email or banking.

If you set the password yourself and remember it, you can straightforward enter it. If you forgot it, the path forward depends on which password you lost and what phone you have. If someone else set it — a parent, employer, or previous owner — you will need to contact that person or go through a recovery process that proves you own the device.

Key Takeaways

  • Your screen lock password is separate from your Google or Apple account password, and you recover each one differently.
  • If you forgot your screen lock, you can reset it through your Google account (Android) or Apple ID (iPhone) if you remember that password.
  • A SIM card PIN is set by your carrier and can be reset by calling them with proof of identity.
  • If a parent or employer set the password and you cannot contact them, you may need to factory reset the phone, which erases all data.

Resetting a forgotten Android screen lock password

If you have an Android phone and forgot your screen lock password, you can reset it using your Google account. After you enter the wrong password several times, the phone will show a "Forgot password?" link. Tap it and enter the email address and password for the Google account linked to that phone. The phone will then let you set a new screen lock password.

This works only if you remember your Google account password. If you do not, you will need to recover your Google account first by going to accounts.google.com on a computer or another device, clicking "Can't sign in?", and following Google's recovery steps — usually entering a recovery email address or phone number you set up when you created the account.

If you cannot recover your Google account and no one else has access to it, your only option is a factory reset. This erases everything on the phone — all photos, messages, apps, and settings. You can do this by holding the power button and volume-down button together until a recovery menu appears, then selecting "Wipe data / factory reset." After the reset, you can set up the phone as new or sign in with a different Google account.

Resetting a forgotten iPhone screen lock password

If you have an iPhone and forgot your screen lock password (called a passcode), you can reset it using your Apple ID. Connect the iPhone to a computer with iTunes or Finder, put it in recovery mode by holding the power button and volume-down button together, and select "Restore." iTunes or Finder will ask you to sign in with your Apple ID. Once you do, you can set a new passcode.

If you do not have access to a computer, you can use Find My iPhone on another device. Go to iCloud.com, sign in with your Apple ID, select "Find My," choose your iPhone, and tap "Erase iPhone." This erases the phone and removes the passcode. You can then set it up again and restore your data from a backup if you have one.

Like Android, this requires you to remember your Apple ID password. If you do not, go to iforgot.apple.com and follow Apple's account recovery process, which usually involves a recovery email or phone number.

Recovering a SIM card PIN

Your SIM card PIN is a four-digit code that protects your phone number and carrier service. It is set by your carrier — Verizon, AT&T, T-Mobile, or whoever provides your service — not by you. If you forgot it, call your carrier's customer service number (usually on your bill or the carrier's website) and ask them to reset it. They will verify your identity by asking for your account number, phone number, or the last four digits of your Social Security number.

Once they reset it, your carrier will give you a temporary PIN. You can then change it to something you will remember by going into your phone's Settings, finding the SIM card or Security section, and looking for "Change SIM PIN" or "SIM PIN settings."

Getting into an account-protected phone

If a parent, employer, or previous owner set up the phone with parental controls, mobile device management (MDM), or a factory reset protection, you cannot bypass it without their help or proof of ownership. These protections are intentional — they prevent someone from stealing a phone and erasing the owner's data.

If a parent set it up, ask them to remove the protection or give you the password. If an employer set it up, contact your IT department or manager. If you bought the phone used and the previous owner set it up, contact them and ask them to remove it remotely, or ask the seller to do so before you complete the purchase.

If you cannot reach the person who set it up and you have proof you own the phone (a receipt, your name on the account with the carrier, or the original box), you can contact the phone manufacturer — Apple or Samsung, for example — and ask them to help you regain access. This process varies and may take several days.

Passwords for email, banking, and other apps

If you forgot the password to an app like Gmail, your bank, or a social media account, that password is not stored on your phone — it is stored by the company that runs the app. You recover it by going to the app's website on a computer and using their "Forgot password?" link. Most apps will send a reset link to your email address or phone number.

If you do not have access to the email address or phone number linked to the account, contact the company's support team. They can verify your identity and help you regain access.

Frequently Asked Questions

What is the default password on a new phone?

New phones do not have a default password. When you first set up a phone, you choose whether to use a passcode, pattern, or biometric unlock like a fingerprint or face recognition. If you skip this step, the phone has no lock.

Can I see what password I entered if I forgot it?

No. Passwords are not stored in a way that lets you see them — that is the point of a password. You can only reset it through the recovery process for your phone type and account.

What if I do not remember my Google or Apple ID password either?

You will need to recover your account first. Go to accounts.google.com (Android) or iforgot.apple.com (iPhone) and follow the recovery steps, which usually involve a recovery email or phone number you set up when you created the account. If you do not have access to those either, you may need to contact the company's support team with proof of identity.

Will factory resetting my phone delete my photos and messages?

Yes. A factory reset erases everything on the phone. If you have a backup — through Google Drive (Android) or iCloud (iPhone) — you can restore your data after the reset. If you do not have a backup, the data is gone.

Can someone else reset my phone password without my permission?

Not without your Google or Apple account password. If someone has your account password, they can reset your phone remotely. If you think someone has your account, change your password when ready and enable two-factor authentication.