How to Set a passcode on iPhone or iPad Pro

Modified on Wed, 19 Feb at 11:21 AM

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:

  • Turn Passcode Off: tap this option to turn off your passcode.

  • Change Passcode: enter a new six-digit passcode. Or tap Passcode Options to switch to a four-digit numeric code, a custom numeric code or a custom alphanumeric code.

  • Require Passcode: as soon as you lock your screen, the default for this setting will ask you to enter your passcode to unlock. If you don't want an immediate passcode requirement, change this setting. (For your own security, if you use Touch ID or Apple Pay, you can't change the immediate passcode requirement).

  • Allow Access When Locked: use this option to allow access to some features when your device is locked, including Today ViewNotification Centre, Control Centre on iPhone and iPod touch or iPad, Siri, Reply with Message, Home Control, Wallet, Return Missed Calls and USB accessories.

  • Erase Data: choose whether to erase your device automatically after 10 failed passcode attempts. If you don't enable this option, your device will need to be restored on a computer after 10 failed attempts.

  • Expire Previous Passcode Now (iOS 17 and later): If you forget your new passcode in the first 72 hours after you changed passcodes, your previous passcode can be used once to access your device and reset your passcode. Use this to turn off the feature before 72 hours have passed.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article