Where to find the password settings on your iPhone
Your iPhone password — called a passcode — is the code you enter to unlock your phone. You change it in the Settings app, not in a separate password manager. Open Settings, tap Face ID & Passcode (or Touch ID & Passcode on older models), then enter your current passcode when prompted.
The exact wording depends on which iPhone model you have. If you see "Face ID & Passcode", your phone uses facial recognition. If you see "Touch ID & Passcode", it uses your fingerprint. Either way, the process for changing your passcode is the same from that point forward.
Key Takeaways
- Open Settings, then tap Face ID & Passcode or Touch ID & Passcode, and enter your current passcode to access the change screen.
- Tap "Change Passcode" and enter your current code again, then create a new one that is at least six digits long (or four if you choose a simpler code).
- Your new passcode takes effect immediately and you will need it the next time you unlock your phone.
- If you forget your passcode, you cannot retrieve it — you will need to erase your phone and set it up again using your Apple ID.
The step-by-step process to create a new passcode
After you tap Face ID & Passcode (or Touch ID & Passcode) and enter your current passcode, look for the option that says "Change Passcode" near the top of the screen. Tap it. Your phone will ask you to enter your current passcode one more time to confirm you are the owner.
Next, you will see a screen asking you to enter a new passcode. By default, iPhone requires at least six digits. Type your new code. Then type it again to confirm. Your phone will accept the new passcode immediately, and you will use it the next time you lock and unlock your phone.
Choosing between a six-digit code and other options
iPhone defaults to a six-digit passcode because it is harder to guess than a four-digit one. However, you can choose a different format if you prefer. On the "Change Passcode" screen, before you enter your new code, look for options like "Passcode Options" or a similar link.
You can select a four-digit numeric code (less secure but easier to remember), a custom numeric code of any length, or a custom alphanumeric code that includes letters and numbers. The longer and more random your passcode, the harder it is for someone else to unlock your phone. A six-digit code is a reasonable middle ground for most people.
What happens if you forget your passcode
If you enter the wrong passcode too many times, your iPhone will lock you out temporarily. After the first few wrong attempts, you will see a message saying "iPhone is disabled" and a timer telling you how long to wait before trying again. The wait time increases with each failed attempt.
If you forget your passcode entirely, there is no way to recover it. You cannot call Apple Support to retrieve it, and you cannot bypass it without erasing your phone. Your only option is to erase your iPhone using a computer with iTunes or Finder, then set it up again using your Apple ID and password. This process deletes everything on your phone unless you have a backup.
How to avoid losing access to your phone
Write your passcode down and store it somewhere safe — not on a sticky note on your monitor, but in a locked drawer or a password manager on your computer. If you use a password manager like iCloud Keychain, you can store your passcode there, though you will still need to remember it to unlock your phone initially.
If you think someone else knows your passcode, change it right away using the same steps above. You should also change it if you have shared it with someone and no longer want them to have access. Your passcode is the only thing protecting your personal data, photos, and financial information on your phone.
Passcode versus Apple ID password
Your iPhone passcode and your Apple ID password are two different things. Your passcode unlocks your phone. Your Apple ID password is what you use to sign into the App Store, iCloud, and other Apple services. You change your Apple ID password in a web browser on your computer or in Settings under your name at the top of the screen, not in Face ID & Passcode.
If you forget your Apple ID password, you can reset it on Apple's website using your email address or phone number. If you forget your iPhone passcode, you cannot reset it — you must erase your phone. This is why your passcode is so important to keep safe.
Frequently Asked Questions
Can I use the same passcode on multiple devices?
Yes, you can use the same passcode on your iPhone, iPad, and Mac if you want. However, using different passcodes on different devices is more secure. If someone learns one passcode, they cannot access your other devices.
Will changing my passcode affect my Apple ID or iCloud?
No. Your iPhone passcode only unlocks your phone. It does not change your Apple ID password or affect your iCloud account. You can change your passcode without worrying about being locked out of your email or other Apple services.
What should I do if someone else knows my passcode?
Change it immediately using the steps above. After you create a new passcode, your phone is secure again. If you think someone has accessed your phone without permission, you may also want to change your Apple ID password and review your iCloud account activity.
Is a longer passcode more secure than a shorter one?
Yes. A six-digit code is harder to guess than a four-digit code, and an alphanumeric code with letters and numbers is harder still. However, a passcode you can remember is more useful than one so complex you write it down and leave it visible.