Where to find and change your iPhone password
Your iPhone has two separate passwords you might want to change: your Apple ID password (which controls your account across Apple services) and your screen lock passcode (which unlocks your phone itself). Most people mean the screen lock when they say "iPhone password," but both are worth securing.
To change your screen lock passcode, open Settings, tap Face ID & Passcode (or Touch ID & Passcode on older models), enter your current passcode, then tap Change Passcode. You'll enter your old code once more, then create a new one. To change your Apple ID password, go to Settings, tap your name at the top, select Password & Security, then tap Change Password.
Both changes take less than a minute. Your screen lock passcode takes effect immediately. Your Apple ID password change may take a few minutes to sync across your devices.
Key Takeaways
- Your screen lock passcode is changed through Settings > Face ID & Passcode > Change Passcode, and it protects access to your phone itself.
- Your Apple ID password is changed through Settings > [Your Name] > Password & Security > Change Password, and it protects your account across all Apple services.
- A strong passcode should be at least six digits and should not use obvious sequences like 123456 or your birth year.
- If you forget your screen lock passcode, you will need to erase your iPhone and set it up again, so write down a new passcode somewhere safe after changing it.
- Changing your Apple ID password will sign you out of iCloud on all your devices, and you'll need to sign back in with the new password.
Step-by-step: changing your screen lock passcode
Open the Settings app and tap Face ID & Passcode (iPhone X and newer) or Touch ID & Passcode (iPhone 8 and earlier). If you use Face ID or Touch ID, you'll see this option at the top of the Security section. If you use only a passcode, it will be labeled just Passcode.
When prompted, enter your current passcode. Then tap Change Passcode near the top of the screen. Enter your current passcode one more time to confirm. Now enter your new passcode twice — once to set it, and once to verify it matches. Your new passcode is active immediately.
If you want to change from a numeric passcode to an alphanumeric one (letters and numbers), or vice versa, tap Passcode Options before entering your new code. You can also choose a custom numeric length — the default is six digits, but you can use four or any longer number you prefer.
Step-by-step: changing your Apple ID password
Open Settings and tap your name at the very top of the screen. Select Password & Security, then tap Change Password. You'll be asked to enter your current Apple ID password, then your new password twice. Your new password takes effect after you tap Change.
After you change your Apple ID password, you'll be signed out of iCloud on all your devices. On your iPhone, you'll see a prompt to sign back in — enter your Apple ID and your new password. This process usually completes within a few minutes, but can take longer if you have a large iCloud backup or slow internet.
If you use your Apple ID to sign into other apps (like Spotify, Slack, or banking apps), you don't need to update those separately — they'll continue working with your old credentials until you manually sign out and back in.
What makes a strong iPhone passcode
A strong passcode is hard to guess and hard to crack by brute force. Avoid sequences like 111111, 123456, or your birth year. Avoid repeating digits or patterns that appear on a keyboard. If you use a numeric passcode, six digits is the minimum Apple recommends, but eight or more is better.
If you choose an alphanumeric passcode (mixing letters and numbers), it becomes much harder to crack — a six-character mix of letters and numbers is stronger than a twelve-digit numeric code. However, you'll have to type it every time you unlock your phone, so choose based on how often you unlock and how much security matters to you.
Never use a passcode that matches your Apple ID password, your email password, or any password you use elsewhere. If someone learns one, they shouldn't be able to access multiple accounts or devices.
What happens if you forget your passcode
If you forget your screen lock passcode, there is no way to recover it. You cannot bypass it, and Apple support cannot reset it for you. Your only option is to erase your iPhone completely and set it up again from scratch or from a backup.
To erase your iPhone without knowing the passcode, you'll need to use Find My iPhone (through iCloud.com or another Apple device), or take it to an Apple Store. After erasing, you can restore from a backup if you have one, or set up as a new device. This process can take an hour or more.
For this reason, write down your new passcode somewhere safe — not on your phone, and not in a note app. A piece of paper in a drawer, a password manager, or a trusted family member are all better options than nothing.
Changing your password on a shared or family device
If your iPhone is part of a Family Sharing group, changing your Apple ID password affects only your account, not anyone else's. Each family member has their own Apple ID and password. However, if you share an iPhone with another person (both signing in with the same Apple ID), changing the password will sign both of you out.
If you share a device but want different screen lock passcodes, that's not possible — one passcode unlocks the phone for everyone. The only way to have separate access is to set up separate user accounts, which requires iOS 16.1 or later and a compatible iPhone model. With separate accounts, each person can have their own passcode, apps, and data.
Syncing password changes across your devices
When you change your Apple ID password, it syncs to all your Apple devices — iPhone, iPad, Mac, Apple Watch — but not instantly. On each device, you'll see a notification asking you to sign back in with your new password. Sign in as soon as you see the prompt to avoid interruptions to iCloud services like email, photos, and backups.
Your screen lock passcode does not sync. Each device has its own separate passcode. If you own multiple iPhones, you'll need to change the passcode on each one individually if you want them all to match.
Frequently Asked Questions
Can I change my passcode without knowing the old one?
No. To change your screen lock passcode, you must enter the current one first. If you've forgotten it, your only option is to erase the iPhone and set it up again. To change your Apple ID password, you must enter your current Apple ID password or use a recovery key if you've set one up.
Will changing my password sign me out of apps?
Changing your screen lock passcode won't affect any apps. Changing your Apple ID password will sign you out of iCloud on all your devices, but apps that use your Apple ID for sign-in (like App Store or Apple Music) will prompt you to sign back in. Apps that use their own login (like Gmail or Facebook) are not affected.
How often should I change my iPhone password?
There's no set rule. Change your passcode if you think someone knows it, if you've used the same one for years, or if your phone was lost or stolen and then recovered. Change your Apple ID password if you suspect your account has been compromised, or every few years as a precaution.
What if I see a prompt to change my password but didn't request it?
Apple sometimes prompts you to change your password for security reasons — usually if they've detected suspicious activity on your account. Follow the prompt and create a new password. If you're concerned, check your Apple ID security settings for any unfamiliar devices or recent sign-ins.
Can I use the same passcode on my iPhone and iPad?
Yes, but they're separate settings. Changing the passcode on your iPhone doesn't change it on your iPad. If you want them to match, you'll need to change both manually. Your Apple ID password, however, is shared across all devices.