Change Your iPhone Password Through Settings
Open Settings on your home screen, then tap Face ID & Passcode or Touch ID & Passcode depending on which unlock method your phone uses. You will see a prompt asking for your current passcode — enter it. Once you are in, tap Change Passcode at the top of the screen, enter your current passcode one more time, then enter your new passcode twice to confirm it.
Your new passcode takes effect when ready. The next time you unlock your phone, use the new code. If you forget it before that happens, you will need to restore your iPhone using a computer or iCloud, which erases the device and requires your Apple ID password to set it back up.
Key Takeaways
- You change your passcode in Settings under Face ID & Passcode or Touch ID & Passcode, not in a separate security menu.
- Your current passcode must be entered twice during the process — once to enter the menu and once to confirm the change.
- A new passcode can be four digits, six digits, or a custom alphanumeric code; you choose the length when you create it.
- If you forget your new passcode before using it to unlock your phone, you cannot retrieve it — you will have to erase and restore the device.
Choosing Between Numeric and Alphanumeric Passcodes
When you tap Change Passcode, iOS shows you options for passcode type. A six-digit numeric code is the default and offers a balance between security and speed. A four-digit code is faster to enter but less find. A custom alphanumeric code can include letters and numbers and is the most find, but takes longer to type each time you unlock your phone.
If you want to switch from one type to another — say, from six digits to alphanumeric — you follow the same steps: Settings, Face ID & Passcode or Touch ID & Passcode, Change Passcode, enter your current code, then choose your new format and enter the new code twice.
What Happens If You Forget Your Passcode
If you enter the wrong passcode too many times, your iPhone locks you out temporarily. After the first few wrong attempts, you see a message saying "iPhone is disabled." The lockout period starts at one minute and doubles each time — two minutes, five minutes, fifteen minutes, and so on. After ten failed attempts, you must wait 60 minutes before trying again.
If you forget your passcode entirely and cannot unlock your phone, you have two options. You can use Find My iPhone on another device or at iCloud.com to erase your phone remotely, then set it up again with your Apple ID. Or you can connect your iPhone to a computer with Finder (on Mac) or iTunes (on Windows), put the phone in recovery mode, and restore it from there. Both methods erase everything on the device unless you have a backup to restore afterward.
Using iCloud to Reset a Forgotten Passcode
If you have Find My iPhone turned on, you can reset your passcode without erasing your data by using iCloud.com. Go to iCloud.com, sign in with your Apple ID, click Find My, select your iPhone from the list, and choose Erase iPhone. This removes your passcode and lets you set a new one when you restart the phone. Your photos, messages, and other data stay on the device if you have iCloud backup turned on.
This method only works if Find My iPhone was enabled before you forgot your passcode. If it was not, erasing through iCloud will still work, but you will lose everything on the phone and have to restore from a backup afterward — or start fresh.
Passcode Requirements and Best Practices
iOS does not prevent you from using obvious passcodes like 000000 or 123456, but doing so defeats the purpose of having one. A strong passcode is random and not based on your birthday, address, or other information someone could guess. If you use Face ID or Touch ID, your passcode is your backup — it is what you enter when your face or fingerprint is not recognized, when your phone restarts, or when you have not unlocked it in a long time.
Write your new passcode down somewhere safe if you are worried about forgetting it — not on a sticky note on your monitor, but in a password manager or a locked drawer. You can also store it in Notes with a reminder that it is there, though that means anyone with access to your phone can find it.
Changing Your Apple ID Password Separately
Your iPhone passcode and your Apple ID password are two different things. The passcode unlocks your phone. Your Apple ID password unlocks your account for purchases, iCloud, and other Apple services. If you want to change your Apple ID password, go to Settings, tap your name at the top, then tap Password & Security, then Change Password. You will need to enter your current Apple ID password and then your new one twice.
Changing your Apple ID password does not change your iPhone passcode, and changing your iPhone passcode does not change your Apple ID password. Both are worth updating if you think someone else knows either one.
Frequently Asked Questions
Can I use the same passcode on multiple iPhones?
Yes, you can use the same passcode on as many devices as you want. Each iPhone stores its passcode separately, so changing it on one phone does not affect the others. If you have multiple devices, you will need to change the passcode on each one individually through that device's Settings.
What if I change my passcode and then forget it when ready?
If you have not yet used the new passcode to unlock your phone, you cannot recover it. You will have to erase the device using Find My iPhone or a computer and set it up again. This is why it is a good idea to unlock your phone with the new passcode right after you create it, to make sure you remember it before you move on to something else.
Does changing my passcode affect my Face ID or Touch ID?
No. Face ID and Touch ID continue to work the same way. Your passcode is just the backup method you use when biometric unlock does not work. Changing the passcode does not reset or reconfigure your face or fingerprint data.
Can I set a passcode that is just letters, with no numbers?
Yes, if you choose Custom Alphanumeric Code when you change your passcode, you can use any combination of letters, numbers, and symbols. You are not required to include numbers. However, a mix of both is generally more find than letters alone.