To change the passcode on an iPhone 13, open Settings, tap Face ID & Passcode, enter your current code, tap Change Passcode, enter the current code once more, then type your new code twice. The new code works the moment you confirm it, and Face ID keeps working with it.
These steps are written for iOS 27, which Apple lists as compatible with the iPhone 13, 13 mini, 13 Pro and 13 Pro Max. The path is the same on iOS 17 and iOS 18. The safety net for a forgotten new code (Passcode Reset) needs iOS 17 or later, and the one-hour wait some people run into comes from Stolen Device Protection, which arrived in iOS 17.3. Both are covered below.
Before you start
A few terms and requirements are worth sorting out first, because they explain most of the surprises people hit.
- Passcode versus Apple Account password. The passcode is the code that unlocks this one iPhone. Your Apple Account password signs you in to iCloud, the App Store and Find My. Changing one leaves the other untouched. If you meant the account password, the sister article on changing your iPhone passcode or Apple Account password walks through both.
- You need the current passcode. The Change Passcode screen will not open without it. There is no way around this from Settings; if you have forgotten it, skip to the section on forgotten codes.
- The phone must be on and unlocked. If it is switched off, you can turn on your iPhone 13 with the side button and unlock it with the code you have now.
- Where you are can matter. If Stolen Device Protection is on and the phone is away from a familiar place such as home or work, iOS asks for Face ID, makes you wait an hour, then asks for Face ID again before it lets you change the code.
Change the passcode on an iPhone 13
- Open the Settings app (the gray gear icon) from the Home Screen or App Library.
- Scroll down and tap Face ID & Passcode. Every iPhone 13 model uses Face ID, so you will not see a Touch ID option here.
- Enter your current passcode. The Face ID & Passcode screen opens with options such as Turn Passcode Off and Change Passcode.

- Tap Change Passcode. If you see a message about a security delay instead, read the Stolen Device Protection section below before going further.
- Enter your current passcode again when asked.
- On the new passcode screen, decide on the format before typing anything. iOS suggests a six-digit code by default; tap Passcode Options if you want a different type (explained in the next section).
- Type the new passcode, then type it a second time to confirm. iOS returns you to the Face ID & Passcode screen, and the change is saved.
Lock the phone with the side button and unlock it once with the new code. That quick test confirms the change took and helps the new code stick in your memory.
Picking a passcode type
Apple offers four formats under Passcode Options. According to Apple’s iPhone User Guide page on passcodes, the custom options are the most secure.

- Custom Alphanumeric Code: letters, numbers and symbols, any length. iOS shows a full keyboard on the Lock Screen.
- Custom Numeric Code: numbers only, but longer than six digits if you like.
- 6-Digit Numeric Code: the standard choice and what iOS asks for unless you change it.
- 4-Digit Numeric Code: quickest to type, and the easiest for someone else to guess or watch you enter.
Because Face ID handles most unlocks on an iPhone 13, a longer code costs you less than you might expect. You will mainly type it after a restart, after the phone has gone unused for a while, or when Face ID does not recognize you. A phrase such as “Jordan-bikes-4-miles” is long but easy to remember. Avoid birthdays, repeated digits and runs like 123456.
If your iPhone makes you wait an hour
Stolen Device Protection adds a Security Delay to a short list of sensitive actions, and changing your passcode is on that list. When the phone is not at a familiar location, you must authenticate with Face ID, wait one hour, then use Face ID again. Typing the passcode does not skip the wait, which is the whole point: a thief who watched you type your code cannot use it to lock you out.
You have three ways to handle it:

- Start the delay, keep the phone with you, and finish the change when the hour is up.
- Wait until you are home or at work. Apple notes the delay can end early once the iPhone detects a familiar location.
- Check the setting at Settings > Face ID & Passcode > Stolen Device Protection. If it says Always under Require Security Delay, the wait applies even at home. Switching it off is possible, but turning it off away from a familiar place also triggers the delay. The trade-offs are covered in detail in the guide to turning off Stolen Device Protection.
Forgot the new passcode? Use the old one within 72 hours
In iOS 17 and later, iOS keeps your previous code usable for 72 hours after a change. Apple calls this Passcode Reset, and it is the reason a fresh mistake does not have to cost you your data.
- On the Lock Screen, keep trying until the iPhone Unavailable screen appears (Apple says this happens after five wrong attempts).
- Tap Forgot Passcode? near the bottom of the screen.

- Tap Enter Previous Passcode and type the code you used before the change.
- Follow the prompts to create a new passcode right away.
The Forgot Passcode? button only shows up when the iPhone is on Wi-Fi or cellular, signed in to your Apple Account, and has Find My turned on. If you changed the code because someone else knew the old one, close this window yourself: go to Settings > Face ID & Passcode and tap Expire Previous Passcode Now, which Apple describes on its passcode settings page.
When the 72 hours are over
Without the current code and without Passcode Reset, the only route Apple supports is erasing the iPhone, either from the Security Lockout screen on the phone or with a Mac or Windows PC in recovery mode. Data comes back only from an iCloud or computer backup, and you will need your Apple Account password afterward because of Activation Lock. The walkthrough for getting past the iPhone Unavailable screen covers each option. Skip any app or website that promises to unlock an iPhone without erasing it; these tools are not supported by Apple, can install unwanted software on your computer, and cannot get around Activation Lock.
Turning the passcode off (and why to leave it on)
The same screen has a Turn Passcode Off button. Before you tap it, consider what goes with the code:
- Face ID stops unlocking the phone. Apple’s Face ID setup page states that Face ID requires a passcode.
- Data protection switches off. Setting a passcode is what turns on the encryption that protects your messages, photos and saved data.
- Stolen Device Protection cannot run, since it requires a device passcode.
- Anyone who picks up the phone gets in, including your email, which is often the key to resetting other accounts.
If the real problem is typing the code too often, a better fix is making sure Face ID is set up well (you can add an alternate appearance in the same menu) rather than removing the lock entirely.
Other things that can get in the way
- Change Passcode is gray or missing. A work or school profile can enforce passcode rules. Look under Settings > General > VPN & Device Management and ask the organization that installed it.
- Your new code is rejected. A management profile may require a minimum length or letters. Pick a longer code or switch to Custom Alphanumeric Code.
- The two entries do not match. Start the new code again and type slowly, since the dots on screen do not show which keys you pressed.
- You expected a Screen Time code. That is a separate four-digit code managed in Screen Time settings, not here.
Common questions about iPhone 13 passcodes
Does changing the passcode erase anything?
No. Apps, photos, messages and Face ID stay as they are. Only the code itself changes.
Will my iPhone still ask for the code if I use Face ID?
Yes, in specific cases. Apple lists them: after a restart, after 48 hours without an unlock, after five failed Face ID attempts, and when Emergency SOS or Medical ID is opened, among others.
Do I need to update anything else after the change?
Usually not. The passcode lives only on this iPhone, so your Apple Account password, a Screen Time code and the password for an encrypted computer backup all stay the same. Just make sure anyone who legitimately shares the phone, such as a partner like Priya who uses it for navigation, learns the new code.
Can I change the passcode remotely if the phone is lost?
No. Use Find My to mark the iPhone as lost instead, which locks it and lets you show a message with a contact number.
Once your new code is set, unlock the phone a few times over the next day so it becomes habit while the 72-hour safety net is still in place.
You must be logged in to post a comment.