Apple requires you to set a six-digit passcode as a back up to get into your iPhone, whether you have a Touch ID model or a Face ID model. This used to be a four-digit passcode, though this changed a few years ago. You can change it back to a four-digit code though - or opt for a custom or alphanumeric passcode, which we cover below too.

You'll sometimes be asked for your iPhone passcode if one of the other biometric methods isn't working properly or can't recognise your face or fingerprint, but it also keeps your device secure if it was to get into the wrong hands.

If you think someone might know your passcode and you want to know how to change your iPhone passcode, you're in the right place. We're assuming you know your current password so if you do, here's how to change it.

How to change your iPhone passcode

Follow the steps below to change your iPhone passcode.

  1. Open Settings on your iPhone
  2. Scroll down to 'Face ID & Passcode' or 'Touch ID & Passcode'
  3. Type in your current Passcode
  4. Scroll down to 'Change Passcode'
  5. Type in your current passcode
  6. Enter your new passcode
  7. Re-enter your new passcode

That's it. Be sure to remember your new passcode or you won't be able to unlock your device.

How to change your iPhone passcode back to four-digits or custom code

It is possible to change your iPhone passcode to be four digits, like it was by default until the launch of iOS 13. You can also choose an Alphanumeric passcode or a custom numeric passcode. 

Here are the steps you need to follow:

  1. Open Settings on your iPhone
  2. Scroll down to 'Face ID & Passcode' or 'Touch ID & Passcode'
  3. Type in your current Passcode
  4. Scroll down to 'Change Passcode'
  5. Type in your current passcode
  6. Tap on 'Passcode Options'
  7. Select 'Alphanumeric Code', 'Custom Numeric Code' or '4-Digit Numeric Code'
  8. Choose your new passcode
  9. Verify your new passcode
  10. Tap 'Done'

If you choose Alphanumeric, you can choose to have a written password as your iPhone passcode with letters rather than just numbers. It's also worth noting that if you choose to revert back to a four-digit passcode, your phone won't be as secure.