Open Settings and find the password option
To change your iPhone password, start by opening the Settings app — the grey icon with gears that sits on your home screen. Tap it, then scroll down and look for "Face ID & Passcode" or "Touch ID & Passcode" depending on which model you have. You'll need to enter your current password first before you can create a new one.
If you don't see this option, your iPhone may use a different security method. Older models might show "Passcode" instead. The location is always in the main Settings menu, not buried in a submenu.
Key Takeaways
- You must enter your current password before you can set a new one — there is no way around this step.
- Your new password can be a 4-digit code, a 6-digit code, or a longer alphanumeric password with letters and numbers.
- If you forget your new password after setting it, you will need to erase your iPhone and set it up again — Apple cannot recover a forgotten passcode.
- Changing your password does not affect your Apple ID password, which is separate and controls access to iCloud, the App Store, and other Apple services.
Enter your current password
When you tap "Face ID & Passcode" or "Touch ID & Passcode", the system will ask you to enter your current password. This is a security step — it confirms that you are the person who owns the phone. Type in the code you use now to unlock your iPhone.
If you cannot remember your current password, you cannot change it from this screen. You will need to erase your iPhone and set it up as new, which means you lose all data unless you have a backup. This is why Apple requires the current password: to prevent someone else from locking you out of your own device.
Choose your new password type
After you enter your current password, you'll see options for what kind of new password to create. You can choose a 4-digit code (the shortest option), a 6-digit code (the default), or a custom alphanumeric password with letters, numbers, and symbols (the strongest option).
A 4-digit code is easiest to remember but offers less security. A 6-digit code is harder to guess and is the standard Apple recommends. An alphanumeric password is the most secure but also the hardest to type in every day. Pick whichever fits your comfort level with security and convenience.
Type your new password twice
Once you choose the type, you'll be asked to enter your new password. Type it in carefully — you won't see the numbers or letters as you type them, only dots. After you finish, you'll be asked to enter it again to confirm. Both entries must match exactly, or the system will ask you to try again.
Take your time and double-check what you're typing. A typo in the first entry and a different typo in the second will cause a mismatch, and you'll have to start over. If you make a mistake, tap "Clear" or use the backspace button to erase and try again.
Confirm the change is complete
Once your new password is confirmed, you'll see a message saying the change was successful. You can then exit Settings. The next time you lock your iPhone or restart it, you'll need to use your new password to unlock it.
Test your new password right away by locking your phone and unlocking it again. This confirms you typed it correctly and will help you remember it. If you cannot unlock your phone with the new password, you've made a typo — but you can try again because you're still in the Settings screen.
What to do if you forget your new password
If you set a new password and then forget it, Apple cannot retrieve it for you. Your only option is to erase your iPhone completely and set it up again. You can do this through Settings > General > Reset > Erase All Content and Settings, or by connecting to a computer and using Finder or iTunes.
If you have a backup of your iPhone stored in iCloud or on a computer, you can restore your data after erasing. But the process takes time and you'll lose any data created after your last backup. This is why it's important to write down your new password somewhere safe, or use a password manager to store it.
How your iPhone password differs from your Apple ID password
Your iPhone password (also called a passcode) is separate from your Apple ID password. The iPhone password unlocks your device. Your Apple ID password controls access to iCloud, the App Store, Apple Music, and other Apple services. Changing one does not change the other.
If you want to change your Apple ID password instead, go to Settings > [Your Name] > Password & Security > Change Password. That process is different and is handled through Apple's account system, not your device settings. Make sure you know which password you need to change before you start.
Frequently Asked Questions
Can I change my iPhone password without knowing my current one?
No. Apple requires you to enter your current password before you can set a new one. If you've forgotten it, you must erase your iPhone and set it up again. This is a security feature to prevent someone else from changing your password without your knowledge.
Will changing my iPhone password affect my iCloud account?
No. Your iPhone password and your Apple ID password are completely separate. Changing your device password does not change your iCloud login, and you will not be logged out of iCloud or the App Store.
What's the difference between a 4-digit, 6-digit, and alphanumeric password?
A 4-digit password is four numbers only (0000–9999). A 6-digit password is six numbers only (000000–999999). An alphanumeric password can include uppercase letters, lowercase letters, numbers, and symbols, making it much harder to guess but also harder to type. Choose based on how much security you want versus how often you're willing to type it.
Can I change my password from my computer instead of my iPhone?
No. Your iPhone password can only be changed on the device itself, through Settings. You cannot change it remotely from a Mac, PC, or iCloud.com. You must have physical access to your iPhone and know your current password.
What happens if I enter the wrong password too many times?
If you enter an incorrect password multiple times, your iPhone will lock you out temporarily and show a countdown timer. After the timer expires, you can try again. If you continue to fail, the lockout period gets longer. Eventually, after many failed attempts, your iPhone will ask you to connect to a computer to restore it.