| |

How To Change The Passcode On An iPhone 17 (2026)

You can change the passcode on an iPhone 17 in Settings, under Face ID & Passcode.

Tap Change Passcode, then enter a new code. To use a different format, tap Passcode Options first.

The steps are the same on other iPhones that have Face ID.

Table of Contents

Quick answer

What you wantWhere to tap
Change the passcodeSettings > Face ID & Passcode > Change Passcode
Use a different code formatChange Passcode > Passcode Options
Turn the passcode offSettings > Face ID & Passcode > Turn Passcode Off
Make the phone ask sooner or laterSettings > Face ID & Passcode > Require Passcode

How to change your passcode

  1. Open Settings.
  2. Tap Face ID & Passcode.
  3. Enter your current passcode if the phone asks for it.
  4. Tap Change Passcode.
  5. Enter the new passcode, then enter it again to confirm.

The new passcode works right away.

Pick something you will remember but others cannot guess.

Choose a different passcode format

By default, the phone asks for a six-digit passcode.

Tap Passcode Options on the new-passcode screen to see the other choices.

Apple lists three alternatives to the six-digit default.

FormatWhat it means
Four-digit numeric codeShortest and easiest to type, but the easiest to guess.
Custom numeric codeDigits only, any length you choose.
Custom alphanumeric codeLetters and numbers, the hardest to guess.

The labels on screen may be worded slightly differently from the list above.

What makes a good passcode

  • Avoid birthdays, phone numbers and repeated digits like 111111.
  • Avoid simple runs like 123456.
  • Do not reuse the passcode of your bank card.
  • A longer custom code is harder to guess than six digits.

If you carry the phone in public often, a longer code is worth the extra seconds.

Does Face ID still work after the change?

Yes. Face ID stays set up when you change the passcode.

You will still need the new passcode after a restart and in a few other cases, such as after too many failed face scans.

Apple notes that if you use Face ID or Apple Pay, you cannot change the Require Passcode setting away from immediate.

If Stolen Device Protection is on

Stolen Device Protection adds a wait when you are away from familiar places like home or work.

Apple says that to change the passcode away from a familiar location, you must use Face ID or Touch ID, wait for a one-hour security delay, then authenticate again.

The delay can end early if the phone detects that you have reached a familiar location.

The simplest fix is to change the passcode while you are at home.

To learn about other strong protections, see how to turn on Lockdown Mode on your iPhone.

Turn the passcode off

On the same screen, tap Turn Passcode Off.

This is not recommended, because anyone who picks up the phone can open it.

Face ID and Apple Pay are tied to having a passcode, so turning it off affects how they work.

Change how soon the phone asks for the passcode

Under Require Passcode, the default is that the phone asks as soon as the screen locks.

Apple says you can allow a delay, but not if you use Touch ID, Face ID or Apple Pay.

SettingResult
Immediately (default)Passcode needed every time the screen locks.
DelayedAvailable only if you do not use Face ID or Apple Pay.

If you forget the new passcode

Apple says that for 72 hours after a change, your previous passcode can be used once to reset the passcode.

You can end that window early with Expire Previous Passcode Now, available on iOS 17 and later.

If you enable Erase Data, the phone erases itself after ten failed attempts.

If it is not enabled, the phone must be restored on a computer after ten failed attempts, so back up regularly. See how recovery mode works on an iPad for a similar process.

What to do after you change it

  • Write the new passcode down and keep it somewhere safe at home.
  • Tell a trusted family member where it is kept, if others depend on the phone.
  • Update any shared notes or password managers that stored the old code.
  • Make a fresh backup so you are never forced to erase the phone without one.

If you ever suspect someone saw you type the passcode, change it again straight away.

It takes less than a minute and costs nothing.

If it doesn’t work

  • Menu has a different name: iPhone X and later use Face ID & Passcode. Older models use Touch ID & Passcode.
  • Cannot finish the change away from home: Stolen Device Protection may be making you wait an hour. See the section above.
  • Wrong current passcode: After repeated wrong attempts the phone locks you out for a period of time.
  • Nothing happens: Restart the phone and try again.

Also check that the phone is updated. Your Apple Account data is protected further if you turn on Advanced Data Protection for iCloud.

FAQ

Do I need my old passcode to change it?

Yes, expect to type the current passcode when you open the Face ID & Passcode screen.

Can I use letters in my passcode?

Yes. Choose Custom Alphanumeric Code under Passcode Options.

Will changing the passcode erase my data?

No. Changing the passcode keeps your photos, apps and settings.

Is the menu named Face ID & Passcode on all iPhones?

On iPhone X and later it is Face ID & Passcode. Older models with a Home button use Touch ID & Passcode.

Sources: Apple Support: Use a passcode with your iPhone, Apple Support: About Stolen Device Protection for iPhone.

Leave a Reply

Your email address will not be published. Required fields are marked *