Where to find the password setting on your phone

The steps differ between iPhone and Android, and the exact location depends on which version you own. On both platforms, you are looking for a security or lock screen setting buried a few menus deep — not something you stumble across by accident.

On an iPhone, open Settings, tap Face ID & Passcode (or Touch ID & Passcode on older models), then enter your current passcode. On Android, open Settings, find Security or Lock Screen (the name varies by manufacturer), and look for a Passcode or PIN option. If you cannot find it, search "passcode" or "PIN" in your phone's Settings search bar — most phones have one at the top of the Settings app.

Key Takeaways

  • iPhone users enter Settings, then Face ID & Passcode, then tap Change Passcode to set a new one.
  • Android users go to Settings, find Security or Lock Screen, select Passcode or PIN, and choose Change or Update.
  • You must enter your current password or PIN before the phone will let you create a new one.
  • Write down your new password somewhere safe before you close the settings menu, because you cannot recover it if you forget it.
  • If you forget your current password, you will need to factory reset the phone, which erases everything on it.

Changing your passcode on iPhone

Open the Settings app and scroll down to find Face ID & Passcode (on newer iPhones with face recognition) or Touch ID & Passcode (on older models with a fingerprint sensor). Tap it. The phone will ask you to enter your current passcode — this is a security step to make sure you actually own the phone.

Once you have entered the current passcode, look for a button that says Change Passcode. Tap it. The phone will ask you to enter your current passcode one more time, then ask you to enter your new passcode twice — the second time is to make sure you typed it correctly. After you confirm, the change takes effect when ready.

Changing your PIN or passcode on Android

Open Settings and scroll to find Security, Security and Privacy, or Lock Screen — the exact name depends on your phone's manufacturer and Android version. Once you find it, look for Passcode, PIN, or Screen Lock. Tap it. The phone will ask you to enter your current PIN or passcode to verify you own the device.

After you enter the current one, you should see an option to Change, Update, or Create a new passcode. Tap that option and enter your new PIN or passcode twice. Android will confirm the change and return you to the settings menu. The new password takes effect when ready the next time you lock and unlock your phone.

What to do if you cannot find the setting

If you have searched Settings and cannot locate the passcode or PIN option, try using your phone's built-in search. On iPhone, swipe down from the top of the home screen to open Spotlight Search, then type "passcode" or "change passcode." On Android, open Settings and look for a search icon or search bar at the top, then type the same words.

If the search does not help, the setting may be hidden under a different name on your specific phone. Try searching for "lock screen," "security," or "screen lock" instead. You can also visit the manufacturer's support website — Apple Support for iPhones or Samsung Support, Google Support, or your phone's maker for Android devices — and search for your exact phone model and Android version.

Why you should write down your new password somewhere safe

Once you change your passcode, write it down on paper and store it somewhere only you can access — a locked drawer, a safe, or a notebook you keep at home. Do not store it in a note on your phone itself, because if you forget the passcode, you will not be able to unlock the phone to read that note.

If you forget your passcode and have no record of it, the only way to regain access is to factory reset the phone. This erases everything on it — all photos, messages, apps, and data — and returns it to the state it was in when you first bought it. You can restore some data from a backup if you made one, but a forgotten passcode is otherwise permanent.

What happens if you forget your passcode

If you forget your passcode after changing it, you have two options. The first is to use your Apple ID (on iPhone) or Google Account (on Android) to reset it. On iPhone, you can enter your Apple ID password on the lock screen after several failed attempts, and the phone will let you set a new passcode. On Android, the process varies by manufacturer, but many phones let you use your Google Account to unlock and reset the PIN.

If neither of those options works, or if you do not remember your Apple ID or Google Account password, you will need to factory reset the phone. This requires connecting it to a computer with iTunes (on older iPhones) or using Find My iPhone through iCloud.com. For Android, you can use Find My Mobile (Samsung), Find My Device (Google), or your manufacturer's equivalent service. A factory reset erases all data, so this should be your last resort.

Frequently Asked Questions

Can I use a fingerprint or face recognition instead of a passcode?

Yes. On iPhone, you can set up Face ID or Touch ID in the same Face ID & Passcode menu, and the phone will let you unlock with your face or fingerprint instead of typing a code. On Android, the option is usually called Biometric or Fingerprint in the Security menu. You still need a passcode as a backup in case your fingerprint or face does not work.

How long should my new passcode be?

iPhone requires at least six digits by default, though you can choose a longer code or a mix of letters and numbers if you want. Android requirements vary by phone, but most ask for at least four digits. Longer passcodes are harder to guess, but harder to remember — six to eight digits is a reasonable balance.

Will changing my passcode affect my apps or data?

No. Changing your passcode only changes how you unlock the phone. Your apps, photos, messages, and all other data stay exactly as they are. The change takes effect the next time you lock and unlock your phone.

What if I change my passcode and then forget it when ready?

If you change it and realize you forgot it within a few minutes, try the passcode you just entered one more time — sometimes you typed it correctly but thought you did not. If that does not work, you will need to use your Apple ID or Google Account to reset it, or factory reset the phone if those options do not work.

Can someone else change my passcode if they have my phone?

No. To change the passcode, the phone requires you to enter the current passcode first. If someone has your phone but does not know the code, they cannot change it without factory resetting the phone, which erases all the data on it.