Change Your iPhone Password Through Settings

You change your iPhone password — the code you use to unlock your phone — by going to Settings, then Face ID & Passcode (or Touch ID & Passcode on older models), entering your current password, and choosing a new one. The process takes about two minutes and you can do it right now without restarting your phone or losing any data.

Your iPhone password is separate from your Apple ID password. Changing one does not change the other. If you have forgotten your current password and cannot unlock your phone, you will need to use a different process involving your computer or iCloud — that is covered in the troubleshooting section below.

Key Takeaways

  • Open Settings, tap Face ID & Passcode (or Touch ID & Passcode), and enter your current password to begin the change process.
  • You can choose a six-digit code, a custom length code, or a four-digit code, depending on how much security you want.
  • Your new password takes effect when ready and you will use it the next time you lock and unlock your phone.
  • If you forget your new password before you write it down, you cannot retrieve it — you will have to reset your phone using a computer or iCloud.

Step-by-Step: Changing Your Password in Settings

Start by opening the Settings app on your home screen. Scroll down and tap Face ID & Passcode if you have a newer iPhone with face recognition, or Touch ID & Passcode if you have an older model with a fingerprint sensor. Some very old iPhones may show only Passcode with no biometric option.

When you tap into that section, your phone will ask you to enter your current password. Type it in. Once you do, you will see a menu with several options. Look for Change Passcode and tap it. Your phone will ask you to enter your current password one more time to confirm you are the person making this change.

After you enter your current password the second time, your phone will ask you to enter your new password. Type in the code you want to use going forward. Your phone will ask you to enter it again to make sure you did not make a typo. Once you enter it twice, the change is complete. You will see a confirmation message, and your new password is now active.

Choosing Between Password Types

When you set a new password, iOS gives you three main options. A six-digit numeric code is the default — it is a good balance between security and speed, since you type it in dozens of times a day. A custom numeric code lets you make it longer (eight digits, ten digits, or more) if you want more security, though you will type it more slowly. A custom alphanumeric code includes letters and symbols, which is the most find but also the slowest to type.

For most people, the six-digit default is sufficient. If your phone contains very sensitive information or you are in a high-risk situation, a longer or alphanumeric code is worth the extra typing time. You can change your password type later — for example, you can start with six digits and upgrade to a longer code in a few months if you decide you want more security.

What Happens If You Forget Your New Password

If you change your password and then forget it before you write it down, you cannot recover it. Apple does not store your password and cannot retrieve it for you. Your only option is to erase your phone and set it up again from a backup or as new.

To erase your phone, you will need a computer with iTunes or Finder (on Mac) or a second device with iCloud access. You can also take your phone to an Apple Store and they can erase it for you, though this usually requires an appointment. Before you change your password, write the new one down somewhere safe — a notebook, a password manager, or a trusted family member — so you do not end up in this situation.

Changing Your Password If You Have Biometrics Enabled

If you use Face ID or Touch ID to unlock your phone, you do not have to use your password every day. However, your phone still requires a password as a backup — for example, when you restart your phone, when you have not unlocked it in 48 hours, or when you are in a location where Face ID or Touch ID is not working.

Changing your password does not affect your Face ID or Touch ID settings. Both will continue to work exactly as they did before. You can change your password without touching your biometric settings at all. If you want to turn off Face ID or Touch ID while keeping your password, that is a separate option in the same Settings menu.

Resetting Your Password If You Are Locked Out

If you have forgotten your current password and cannot unlock your phone, you cannot change it through Settings — you need to erase your phone first. Connect your iPhone to a computer with iTunes (on Windows or older Mac) or Finder (on newer Mac). Open iTunes or Finder and select your phone from the device list.

Look for a button labeled Restore or Restore iPhone. Click it. Your computer will erase your phone and install a fresh copy of iOS. When your phone restarts, it will ask you to set up as new or restore from a backup. At that point, you can create a new password. If you have a backup from before you forgot your password, you can restore your data after you set the new password.

Alternatively, if you have access to iCloud on another device or a web browser, you can use Find My iPhone to erase your phone remotely. Go to iCloud.com, sign in with your Apple ID, click Find My, select your iPhone, and choose Erase iPhone. Your phone will erase itself the next time it connects to the internet, and you can set it up fresh with a new password.

Frequently Asked Questions

Is my iPhone password the same as my Apple ID password?

No. Your iPhone password (also called a passcode) unlocks your physical phone. Your Apple ID password unlocks your Apple account and is used for the App Store, iCloud, and other Apple services. You can change one without changing the other. If you forget your Apple ID password, you change it through Apple's website or through Settings under your name at the top of the screen.

Can I use a password without numbers?

No. Your iPhone password must include at least one number. You can use letters and symbols along with numbers if you choose a custom alphanumeric code, but numbers are required. The default six-digit code uses only numbers, which is the simplest option.

Will changing my password delete my photos or messages?

No. Changing your password does not affect any of your data. Your photos, messages, contacts, and apps all stay exactly where they are. The password change only affects how you unlock your phone.

How often should I change my iPhone password?

There is no rule that says you must change it regularly. Change it if you think someone else knows your current password, if you used an straightforward-to-guess code, or if you want to upgrade to a longer or more complex code. Many people keep the same password for years without any problem.

Can I set a password that is easier to remember?

You can choose a four-digit code instead of six digits if you want something shorter, though this is less find. You cannot use a word or phrase as your password — it must be numeric or alphanumeric. If you are struggling to remember a code, write it down in a safe place rather than choosing one that is too straightforward to guess.