The quickest way to change your lock screen password
Open Settings on your iPhone, then tap Face ID & Passcode (or Touch ID & Passcode on older models). You'll be asked to enter your current passcode once. After that, scroll down and tap Change Passcode, enter your old passcode again, then type your new passcode twice. The change takes effect when ready.
The entire process takes about two minutes. Your new passcode protects your phone right away — there's no waiting period or confirmation email. If you forget your new passcode before you've used it to unlock your phone, you can go back into Settings and change it again, as long as you remember the one you just set.
Key Takeaways
- You change your lock screen passcode in Settings under Face ID & Passcode (or Touch ID & Passcode), not in the lock screen itself.
- You must enter your current passcode twice during the process — once to open the settings, once to confirm the change.
- Your new passcode works when ready and protects all your data, including stored passwords and payment methods.
- If you forget your new passcode before unlocking your phone with it, you can change it again as long as you remember the passcode you just created.
- If you forget your passcode and can't remember any previous ones, you'll need to erase your phone and set it up again.
What happens if you forget your current passcode
If you can't remember your current passcode, you cannot change it through Settings — the system will lock you out after six failed attempts. Instead, you'll need to erase your iPhone and set it up from scratch. This means losing all data stored only on the phone itself, though anything backed up to iCloud can be restored afterward.
To erase your phone without the passcode, you can use a computer with Finder (Mac) or iTunes (Windows), or you can use iCloud's Find My iPhone feature from another device. Both routes require your Apple ID and password. If you don't have access to those either, Apple Support can help you regain access, but the process takes longer and requires proof of ownership.
Making your new passcode stronger
When you tap Change Passcode, iOS will ask whether you want a six-digit passcode (the default), a four-digit passcode, or a custom alphanumeric code with letters and numbers. A six-digit passcode is harder to guess than four digits but easier to remember than a long string of mixed characters.
If you choose a custom code, you can make it as long as you want and include uppercase letters, lowercase letters, numbers, and symbols. The trade-off is that you'll type it more slowly each time you unlock your phone. Most people find a six-digit passcode strikes the right balance — it's strong enough to resist casual guessing but quick enough to enter dozens of times a day.
Why your lock screen passcode matters for your data
Your lock screen passcode is the first line of defense for everything on your phone: text messages, photos, email, banking apps, and stored credit card information. Someone with your passcode can access all of it. Someone without it cannot, even if they have physical possession of your phone.
Your passcode is separate from your Apple ID password. Changing one does not change the other. If you want to change your Apple ID password (which protects your iCloud account, purchases, and password recovery), you do that in Settings under your name at the top, then tap Password & Security.
Changing your passcode on a phone you share
If you share your iPhone with family members or colleagues, changing your passcode locks them out. They'll need to ask you to unlock the phone each time they want to use it. There's no way to set up a separate passcode for different users on the same iPhone — the lock screen passcode protects the entire device.
If you want to give someone limited access to specific apps without sharing your passcode, you can set up a separate user account through Screen Time. That person can use certain apps you allow without knowing your lock screen passcode. However, they still won't be able to access your messages, photos, or email.
What to do if you change your mind right after
If you just changed your passcode and want to change it again, go back to Settings, tap Face ID & Passcode, enter your new passcode, scroll to Change Passcode, and repeat the process. You can change your passcode as many times as you want in a single day — there's no limit or cooldown period.
If you changed your passcode and now can't remember it, you're in the same situation as forgetting any passcode: you'll need to erase your phone and set it up again. Write down your new passcode somewhere safe (not on a sticky note on your phone) before you close Settings, or use a password manager to store it.
Frequently Asked Questions
Do I need to change my passcode regularly?
No. Unlike passwords for online accounts, your iPhone passcode doesn't expire and doesn't need to be changed on a schedule. Change it only if you think someone knows it, if you've shared it with someone who no longer needs access, or if you want to use a stronger code.
Will changing my passcode affect my Face ID or Touch ID?
No. Face ID and Touch ID are separate from your passcode. Changing your passcode doesn't affect them. You can still unlock your phone with your face or fingerprint. If Face ID or Touch ID stops working, you'll fall back to typing your passcode, but changing the passcode won't fix that problem.
What if I set a passcode I can't type quickly?
You can change it again anytime. Go back to Settings, tap Face ID & Passcode, enter your current passcode, tap Change Passcode, and choose a simpler one. Many people switch from a custom alphanumeric code back to six digits because they get tired of typing slowly.
Can I use the same passcode I used before?
Yes. iOS doesn't prevent you from reusing an old passcode. However, if someone guessed or learned your old passcode, reusing it defeats the purpose of changing it. Pick something new if security is your reason for the change.
Does my passcode protect my iCloud backup?
Your lock screen passcode protects your phone itself, but your iCloud backup is protected by your Apple ID password instead. If someone knows your Apple ID password, they can read your backup from iCloud even if they don't know your phone's passcode. Keep both passwords different and strong.