Pocket How
Passcode and privacy

How to change your passcode on iPhone

Works on iPhone and iPad. By Cihat Salik, updated .

Short answer

Open Settings, tap Face ID & Passcode, enter your current passcode, then tap Change Passcode. Tap Passcode Options for a four-digit, custom numeric or alphanumeric code.

Change the passcode

  1. Open Settings and tap Face ID & Passcode. On an iPhone with a Home button it is Touch ID & Passcode.

    1. Settings
    2. Face ID & Passcode
    3. Touch ID & Passcode
  2. Enter your current passcode.

  3. Tap Change Passcode and enter the current one again.

  4. Enter a new six-digit passcode, or tap Passcode Options to choose 4-Digit Numeric Code, Custom Numeric Code or Custom Alphanumeric Code.

  5. Enter it again to confirm.

If you forget the new one

  1. For 72 hours after a change, tap Forgot Passcode? on the Lock Screen.

  2. Tap Enter Previous Passcode and type the old one.

  3. Set a new passcode straight away.

End the 72 hours early

  1. Open Settings and tap Face ID & Passcode.

    1. Settings
    2. Face ID & Passcode
  2. Tap Expire Previous Passcode Now, so nobody who knew the old code can use it.

Good to know

If Stolen Device Protection is on and you are away from a familiar location, changing the passcode needs Face ID, an hour’s wait and Face ID again. After ten wrong attempts the iPhone has to be erased, so keep the new code somewhere safe.

Checked against Apple Support

Traceline: Light Box Trace

Traceline locks against stray touches while you trace a picture from the screen.

Download on the App Store
Traceline on iPhone, App Store screenshot 1Traceline on iPhone, App Store screenshot 2Traceline on iPhone, App Store screenshot 3Traceline on iPhone, App Store screenshot 4
  • Shows the drawing over your paper through the camera, with the phone on a stand
  • A light box mode for thin paper laid on the glowing screen
  • Locks against stray touches, and turns a photo into a sketch in four styles

No account; photos are processed on your device.

We make Traceline. You do not need it for the steps above.

Traceline website: how it works, guides and support

See every app we make

Questions people also ask

  • Can I use a 4-digit passcode on iPhone?

    Yes. Tap Passcode Options while setting a new one and choose 4-Digit Numeric Code. Six digits or more is safer.

  • Does changing the passcode change my Apple ID password?

    No. They are separate. Change the Apple Account password under your name in Settings.

More things your iPhone can do

Traceline Also from us Get