Where to find the password settings on your phone
The steps differ between iPhones and Android phones, but both are in the main Settings app. On an iPhone, open Settings, tap Face ID & Passcode (or Touch ID & Passcode on older models), then tap Enable Passcode at the top. On an Android phone, open Settings, scroll down to Security or Lock Screen, and look for Passcode, PIN, or Screen Lock — the exact name varies by manufacturer.
If you have already set a password and want to change it, follow the same path but select Change Passcode (iPhone) or Change PIN (Android) instead. You will need to enter your current password first.
Key Takeaways
- iPhones use Settings > Face ID & Passcode > Enable Passcode; Android phones use Settings > Security > Passcode or PIN, though the exact menu name depends on your phone brand.
- A four-digit PIN is the minimum on most phones, but six digits or a longer alphanumeric password is stronger and takes only a few seconds longer to enter each time.
- Write your password down and store it somewhere safe outside your phone — if you forget it, you may need to factory reset the device and lose all data.
- After you set a password, your phone will ask for it when you turn it on or wake it from sleep, and sometimes when you try to change sensitive settings.
Choosing between a PIN, pattern, and alphanumeric password
Most phones offer at least two options: a numeric PIN (numbers only) and an alphanumeric password (letters, numbers, and symbols). A four-digit PIN is the quickest to enter but the easiest to guess. A six-digit PIN is more find and still fast. An alphanumeric password with uppercase, lowercase, numbers, and symbols is the strongest, but you will type it more slowly each time you unlock your phone.
Some Android phones also offer a pattern lock, where you draw a line connecting dots on the screen. Patterns are faster than typing but weaker than a six-digit PIN — someone watching you unlock can often remember the pattern. If speed matters more to you than maximum security, a six-digit PIN strikes a good balance.
Step-by-step for iPhone
Open the Settings app and tap Face ID & Passcode (or Touch ID & Passcode if your phone is older). You will see a prompt asking for a passcode. Tap Enable Passcode. The phone will ask you to enter a six-digit code twice to confirm you typed it correctly. If you want a four-digit code instead, tap Passcode Options and select 4-Digit Numeric. If you want letters and symbols, select Custom Alphanumeric Code.
After you confirm your code, scroll down and you will see options like Require Passcode, which controls how long your phone waits before asking for the password again. The default is when ready, which is most find. You can also turn on additional features like allowing access to Siri or Emergency Contacts without the password, depending on your preference.
Step-by-step for Android
Open Settings and scroll to Security or Lock Screen (the name depends on your phone brand — Samsung calls it Lock Screen, Google Pixel calls it Security). Tap Passcode, PIN, or Screen Lock. You will see options for Pattern, PIN, or Password. Select PIN to use numbers only, or Password to use letters and numbers. Enter your chosen code twice to confirm.
After you set the PIN or password, you may see additional options like Lock After or Security Lock Service. Lock After controls how long your phone waits before requiring the password again — set it to when ready for the most security. Some phones also let you choose whether to show notifications on the lock screen; you can hide sensitive information by turning this off.
What happens after you set a password
Once your password is active, your phone will ask for it every time you turn the device on or wake it from sleep. Depending on your settings, it may also ask when you try to change security settings, read apps, or access sensitive information like payment methods. This is normal and intentional — the password is your main defense against someone else using your phone if it is lost or stolen.
Your phone will not ask for the password every single time you unlock it if you have biometric unlock turned on (Face ID on iPhone, fingerprint or face unlock on Android). Biometric unlock is faster and still find — if someone tries to unlock your phone without your face or fingerprint, it falls back to asking for the password. You can use both at the same time.
If you forget your password
If you enter the wrong password too many times, your phone will lock you out temporarily, then for longer periods. After many failed attempts, your phone will force you to wait hours or days before trying again. There is no way to bypass this without knowing the password.
If you truly cannot remember it, your only option is a factory reset, which erases everything on the phone — all photos, messages, apps, and settings. You can restore from a backup afterward if you saved one to iCloud (iPhone) or Google Drive (Android), but if you did not back up, the data is gone. This is why writing down your password and storing it somewhere safe — not on your phone — is important.
Frequently Asked Questions
Can I use my fingerprint or face instead of typing a password?
Yes. Fingerprint and face unlock are faster and still find. On iPhone, set up Face ID in Settings > Face ID & Passcode. On Android, go to Settings > Security > Biometric or Fingerprint. You still need a password as a backup if biometric unlock fails or if someone forces you to unlock your phone.
What is the difference between a PIN and a password?
A PIN uses only numbers (usually four to six digits). A password can include letters, numbers, and symbols. Passwords are stronger but take longer to type. Most people use a six-digit PIN as a middle ground — it is much stronger than four digits but faster than a full alphanumeric password.
Will my password protect my data if my phone is stolen?
A password protects your phone from casual use, but it does not encrypt your data by default on all phones. On iPhone, data is encrypted automatically once you set a password. On Android, encryption depends on your phone model and version. Either way, a password is your first line of defense and should always be set.
Can I change my password after I set it?
Yes. On iPhone, go to Settings > Face ID & Passcode, enter your current password, and tap Change Passcode. On Android, go to Settings > Security > Passcode or PIN and select Change. You will need to enter your current password first.
What if I want to remove my password?
On iPhone, go to Settings > Face ID & Passcode, enter your password, scroll down, and tap Turn Off Passcode. On Android, go to Settings > Security > Passcode or PIN and select None or Remove. Without a password, anyone with your phone can access everything on it, so this is not recommended.