
Out of the box, the iPhone asks you to set a 6-digit passcode. That is great for security, but typing six digits every time you unlock can get old — especially if you remember the simpler 4-digit codes from older iPhones. The good news is that Apple still offers the shorter option. It is just tucked behind a small "Passcode Options" link that is easy to miss. Here is how to switch.
All you need is your current passcode. The 4-digit choice only appears while you are changing your code, so make sure you know the existing one before you start.
Before you change it
A shorter code is faster to type but mathematically easier to guess: 10,000 possible combinations instead of 1,000,000. For most people that trade-off is fine, especially if you unlock with Face ID or Touch ID most of the time and only type the code occasionally. If you store sensitive data on your phone, consider keeping the longer code and using a password manager instead — see our guide to fixing weak passwords with iCloud Keychain on iPhone.
Switch to a 4-digit passcode
- Open Settings on your iPhone.
- Tap Face ID & Passcode (or Touch ID & Passcode on models with a Home button).
- Enter your current passcode when asked.
- Tap Change Passcode.
- Enter your current passcode once more to confirm it is you.
- On the "Enter your new passcode" screen, tap Passcode Options just above the keypad.
- Choose 4-Digit Numeric Code from the list.
- Type your new 4-digit code, then enter it again to verify.
That is it — from now on, the lock screen asks for four digits. The change takes effect immediately, and you can test it by locking your phone with the side button.
If it still doesn’t work
Do not see "Passcode Options"? Some work or school device-management profiles force a 6-digit or alphanumeric code, and in that case the option is hidden by policy — check with your IT administrator. Also check Settings > Screen Time > Content & Privacy Restrictions: if passcode changes are restricted there, the option will not appear. If "Change Passcode" itself is greyed out, look under Settings > General > VPN & Device Management for an installed profile enforcing the rule. For more on keeping your lock screen private, read how to tell if someone used your iPhone.
FAQ
Is a 4-digit passcode less secure?
Yes, strictly speaking. But paired with Face ID or Touch ID — which handle nearly all unlocks — the practical difference is small for everyday use. After several wrong attempts, iOS adds delays and can wipe the device if you enabled that option.
Can I switch back to a 6-digit code later?
Absolutely. Follow the same steps and choose 6-Digit Numeric Code (or Custom Alphanumeric Code) under Passcode Options. You can change it as often as you like.
Conclusion
Switching to a 4-digit passcode is a thirty-second change that makes unlocking noticeably quicker. Just remember the security trade-off and keep biometric unlock turned on. For more lock-screen tweaks, see how to disable Spotlight on the lock screen. MacRumors covers iOS security changes with each release, Apple’s iPhone pages document the official passcode options, and YouTube has quick video walkthroughs if you want to watch the steps.
