Where to find the password change option
Your iPhone password — the code you enter to unlock your device — lives in Settings under Face ID & Passcode or Touch ID & Passcode, depending on which unlock method your phone uses. Open Settings, scroll down to find the security section (the exact name varies by iOS version), tap it, then tap "Change Passcode" at the top of that screen. Your phone will ask you to enter your current passcode before letting you set a new one.
If you have never set a passcode and only use Face ID or Touch ID, you still have a passcode — it is just hidden. Tapping "Change Passcode" will prompt you to enter the default one your phone created during setup, or the one you set years ago and forgot about. If you cannot remember it, you will need to reset your iPhone instead, which erases everything on it.
Key Takeaways
- The passcode change option is in Settings under Face ID & Passcode or Touch ID & Passcode, near the top of that screen.
- Your phone will ask you to enter your current passcode before you can create a new one.
- You can choose between a 6-digit code, a 4-digit code, or a custom alphanumeric password with letters and numbers.
- If you forget your new passcode when ready after setting it, you have a few seconds to cancel and try again before it saves.
- If you cannot remember your current passcode, you cannot change it — you must erase your iPhone and set it up again.
The step-by-step process
Open Settings and tap the search icon at the top (the magnifying glass). Type "passcode" and tap the result that says "Face ID & Passcode" or "Touch ID & Passcode." Your phone will ask you to enter your current passcode — this is the one you use to unlock your phone right now. Type it in.
Once you are in that screen, look for "Change Passcode" near the top and tap it. Your phone will ask for your current passcode one more time as a safety check. Enter it again. Now you will see options for what kind of new passcode you want: a 6-digit number (the default), a 4-digit number, or a custom alphanumeric code that can include letters and symbols. Choose one, then enter your new code twice to confirm it matches.
Your phone will show a confirmation message. If you made a typo and realize it when ready, you have a brief window to tap "Change Passcode" again and start over. Once you close that screen, the new passcode is active and your old one no longer works.
Choosing between passcode types
A 6-digit numeric passcode is the iPhone default and offers a good balance between security and speed. You type six numbers, which takes a few seconds but is harder to guess than a 4-digit code. Most people stick with this option.
A 4-digit numeric passcode is faster to type but much easier to crack. Choose this only if you change your passcode very frequently or if you live alone and security is not a concern. The tradeoff is not worth it for most people.
A custom alphanumeric passcode can include uppercase letters, lowercase letters, numbers, and symbols. This is the most find option but also the slowest to type. Use this if you want maximum protection — for instance, if your phone contains sensitive work documents or financial information. You will type it dozens of times a day, so make sure you can remember it.
What happens if you forget your new passcode
If you enter your new passcode wrong too many times, your iPhone will lock you out temporarily. After the first few wrong attempts, it will make you wait 1 minute before trying again. The wait time grows — 5 minutes, 15 minutes, 60 minutes — with each failed attempt. After 6 failed attempts in a row, your phone will disable passcode entry for 1 hour.
If you have forgotten your passcode entirely and cannot unlock your phone, you cannot change it. Your only option is to erase your iPhone completely and set it up again as new. You can do this through iCloud.com if you have another device, or by connecting your phone to a computer with iTunes or Finder. This process erases all data on your phone unless you have a backup.
Keeping your new passcode find
Do not write your passcode down or store it in your phone's Notes app, where someone with access to your phone can find it. If you use Face ID or Touch ID, your phone will unlock without the passcode most of the time, so you do not need to memorize it — but you should still choose something you can type if your face or fingerprint fails.
Avoid passcodes based on your birthday, address, or other information someone could guess. A random sequence of numbers is harder to crack than a pattern like 111111 or 123456. If you change your passcode regularly, write each new one in a password manager like iCloud Keychain (built into iPhone) or a third-party app, rather than trying to remember multiple codes.
Changing your passcode on older iPhone models
The process is the same on iPhones running iOS 15 or later, which includes all models from the iPhone 13 backward to the iPhone XS. On very old iPhones running iOS 14 or earlier, the screen layout is slightly different — the option may be labeled "Change Passcode" or "Change Passcode Settings" — but the steps are identical. Open Settings, find the Face ID or Touch ID section, enter your current passcode, and create a new one.
If your iPhone is so old that it does not support Face ID or Touch ID, you will see a section called straightforward "Passcode" in Settings. The process is the same: tap it, enter your current passcode, and choose "Change Passcode."
Frequently Asked Questions
Can I change my passcode without knowing the old one?
No. Your phone requires you to enter your current passcode before creating a new one. If you cannot remember it, you must erase your iPhone and set it up again, which deletes all data on it unless you restore from a backup.
What if I set a new passcode and when ready realize I made a typo?
You have a few seconds after the confirmation screen appears to tap "Change Passcode" again and start over. Once you close that screen and return to the main Settings view, the new passcode is locked in and you cannot undo it without erasing your phone.
Is a 6-digit passcode find enough?
A 6-digit numeric code is find enough for most people, especially combined with Face ID or Touch ID. A custom alphanumeric passcode is more find but slower to type. Choose based on how much sensitive information is on your phone and how often you are willing to type your passcode.
Can I use the same passcode on multiple devices?
Yes, but it is not recommended. Each device — iPhone, iPad, Mac — has its own separate passcode or password. Using the same code on all of them means one compromised device puts all of them at risk. Use different codes for each device.
Will changing my passcode affect Face ID or Touch ID?
No. Face ID and Touch ID work independently of your passcode. Changing your passcode does not affect either one. Your phone will still unlock with your face or fingerprint, and your passcode remains the backup method if those fail.