Use a passcode with your iPhone, iPad, or iPod touch

Learn how to set, use, and change a passcode on your iPhone, iPad, or iPod touch.

Set a passcode on your device to help protect your data. If your device supports Touch ID, you can often use your fingerprint instead of your passcode. If your device supports Face ID, you can use face recognition instead of your passcode. Your device will require your passcode when you do the following:

Set up a passcode

  1. On iPhone X and later, or iPad with Face ID, go to Settings > Face ID & Passcode. On earlier iPhone models, go to Touch ID & Passcode. On devices without Touch ID, go to Settings > Passcode.

  2. Tap Turn Passcode On.

    ios-17-control-center-ping-watch-icon
  3. Enter a six-digit passcode. Or tap Passcode Options to switch to a four-digit numeric code, a custom numeric code, or a custom alphanumeric code.

  4. Enter your passcode again to confirm it and activate it.

Change your passcode or passcode settings

On iPhone X and later, or iPad with Face ID, go to Settings > Face ID & Passcode. On earlier iPhone models, go to Settings > Touch ID & Passcode. On devices without Touch ID, go to Settings > Passcode.

You'll find several settings and options:

Learn what to do if you want to change your Apple Account password instead

Need more help?

Tell us more about what's happening, and we’ll suggest what you can do next.

Get suggestions