Where to find the password change option on your iPhone
Your iPhone password — the code you enter when you unlock your phone or restart it — lives in Settings under a section called Face ID & Passcode (if you have an iPhone with face recognition) or Touch ID & Passcode (if you have an older model with a fingerprint sensor). You do not need a computer or iTunes. Everything happens on the phone itself.
Open the Settings app (the gray icon with gears). Scroll down until you see either "Face ID & Passcode" or "Touch ID & Passcode" depending on your model. Tap it. You will be asked to enter your current passcode before you can change it — this is a security step to make sure only you can alter your password.
Key Takeaways
- Your iPhone password is changed in Settings under Face ID & Passcode or Touch ID & Passcode, not in a separate password manager.
- You must enter your current passcode before you can create a new one, so have it ready.
- A new passcode can be four digits, six digits, or a custom combination of numbers and letters — you choose the length when you set it.
- If you forget your new passcode after changing it, you will need to erase the phone and set it up again, so write it down or use a password manager.
- Changing your passcode does not affect Face ID or Touch ID — those still work the same way.
The step-by-step process for entering a new passcode
After you tap "Change Passcode" in the Face ID & Passcode menu, the phone will ask you to enter your current passcode. Type it in. Then you will see a screen that says "Enter a new passcode." This is where you create the new code.
Your iPhone will offer you three options: a six-digit numeric code (the default), a four-digit numeric code, or a custom alphanumeric code (letters and numbers mixed). Most people stick with six digits because it is harder to guess than four but easier to remember than a long string of letters. Tap whichever option you want, then type your new passcode. The phone will ask you to enter it again to confirm you did not make a typo.
Once you confirm, the change is complete. Your old passcode no longer works. The next time you lock your phone or it locks automatically, you will unlock it with the new code.
Why you should not use a passcode you have used before
Your iPhone will warn you if you try to reuse a passcode you have used in the past. This is a security feature — if someone saw your old code, they could still unlock your phone. The phone keeps a record of old passcodes specifically to prevent this.
If the phone rejects your new passcode because you have used it before, choose something different. There is no way around this restriction, and it exists to protect your data.
What to do if you forget your new passcode
If you change your passcode and then forget it, there is no "forgot passcode" button on an iPhone. You cannot recover it or have it sent to you. Your only option is to erase the entire phone and set it up again from scratch or from a backup.
This is why it is worth writing down your new passcode somewhere safe — a physical notebook, a password manager app like 1Password or Bitwarden, or even a note in a locked drawer. Do not text it to yourself or email it, because those messages can be intercepted. The goal is to keep it somewhere only you can access.
How Face ID and Touch ID still work after you change your passcode
Changing your passcode does not affect Face ID or Touch ID. Your face or fingerprint will still unlock your phone the same way it did before. The passcode is a backup — it is what you use when Face ID or Touch ID fails, when you restart the phone, or when the phone has not been unlocked in a long time.
If you want to change which faces or fingerprints can unlock your phone, that is a separate process in the same Face ID & Passcode menu. But the passcode change itself does not touch those settings.
Changing your passcode on different iPhone models
The process is identical on all iPhones running iOS 16 or later. Older iPhones running iOS 15 or earlier have the same menu structure, just with slightly different wording. Look for "Touch ID & Passcode" on iPhone 8 and earlier, or "Face ID & Passcode" on iPhone X and newer.
If you are not sure which version of iOS your phone is running, go to Settings, tap General, then tap About. The "Software Version" line shows your iOS version. The steps in this guide work on any version from iOS 15 onward.
Frequently Asked Questions
Can I change my passcode without entering the old one first?
No. The phone requires you to enter your current passcode before you can change it. This prevents someone who picks up your phone from locking you out by changing the code. If you have forgotten your current passcode, you will need to erase the phone and set it up again.
What is the difference between a passcode and a password?
On an iPhone, "passcode" refers to the code that unlocks your phone itself. "Password" usually means the code for your Apple ID account, which is different and is changed in Settings under your name at the top of the screen. This guide covers the passcode only.
Will changing my passcode erase my photos or data?
No. Changing your passcode does not touch any of your data, photos, apps, or settings. It only changes the code you use to unlock the phone. Everything on your phone stays exactly as it was.
Do I need to change my passcode regularly?
There is no rule that says you must change it on a schedule. Change it if you think someone knows your current code, if you used a code that was straightforward to guess, or if you want to update it for any reason. Otherwise, one strong passcode that you do not share is sufficient.
What happens if I enter the wrong passcode too many times?
After six failed attempts, the phone will lock you out for one minute. After more failures, the lockout periods get longer — eventually reaching 60 minutes or more. If you enter the wrong code too many times in a row, the phone will ask you to try again later or will offer to erase itself. This is a security feature to stop someone from guessing your code.