Where to find the password settings on your iPhone

Open the Settings app on your home screen — it looks like a gray gear. Scroll down and tap Face ID & Passcode (on newer iPhones with face recognition) or Touch ID & Passcode (on older models with a fingerprint sensor). You may be asked to verify your identity with your face or fingerprint before you can proceed.

If you don't see either of those options, your iPhone model uses a different security method. Tap Settings, then General, then scroll to the bottom and look for Passcode or Security. The exact wording changes between iPhone models, but the passcode settings are always in one of these two places.

Key Takeaways

  • A passcode is a four-digit or six-digit number (or longer custom code) that unlocks your iPhone when Face ID or Touch ID fails.
  • You set a passcode in Settings under Face ID & Passcode or Touch ID & Passcode, then tap Turn Passcode On.
  • Write down your passcode and store it somewhere safe — if you forget it, you cannot recover it without erasing your iPhone.
  • You can change your passcode later by going back to the same settings screen and tapping Change Passcode.
  • A passcode protects your data if your phone is lost or stolen, even if someone knows your Apple ID password.

Turning on a passcode for the first time

Once you are in the Face ID & Passcode or Touch ID & Passcode screen, look for the option that says Turn Passcode On or Enable Passcode. Tap it. Your iPhone will ask you to create a passcode — this is a number-only code, usually six digits long by default.

Type your six-digit passcode when prompted. You will be asked to enter it a second time to confirm. Make sure you type the same number both times, or your iPhone will ask you to start over. After you confirm, your passcode is active when ready.

If you want a shorter four-digit passcode or a longer custom code with letters and numbers, tap Passcode Options before you enter your code. Choose the length or type you prefer, then enter your passcode.

Choosing a passcode you can remember

Pick a number that is not obvious — avoid birthdays, anniversaries, or sequences like 1-2-3-4-5-6. A passcode that someone close to you could guess defeats the purpose of having one. At the same time, choose something you can type quickly without looking, because you will enter it many times a day.

Write your passcode down on paper and store it in a safe place at home — not in a note on your phone, and not in a text message. If you forget your passcode and have no record of it, the only way to unlock your iPhone is to erase it completely and set it up again from scratch. You will lose any data that was not backed up to iCloud.

What happens after you set a passcode

Once your passcode is on, your iPhone will ask for it whenever you restart the phone, or if Face ID or Touch ID fails several times in a row. You will also need your passcode to change certain settings, install apps, or access your payment information.

Your passcode is separate from your Apple ID password. Someone who knows your Apple ID password cannot unlock your phone without the passcode. This is why a passcode is important even if you use a strong Apple ID password — it protects your phone itself, not just your account.

Changing or removing your passcode later

To change your passcode, go back to Settings > Face ID & Passcode (or Touch ID & Passcode), and tap Change Passcode. You will be asked to enter your current passcode first, then enter your new one twice.

If you want to remove your passcode entirely, tap Turn Passcode Off in the same screen. You will need to enter your current passcode to confirm. Removing your passcode means your iPhone will no longer ask for a code to unlock — only Face ID or Touch ID will protect it. Most people keep a passcode on for this reason.

If you forget your passcode

If you enter the wrong passcode too many times, your iPhone will lock you out temporarily. After the first few wrong attempts, the wait time increases — you might have to wait one minute, then five minutes, then fifteen minutes between tries.

If you lock yourself out completely and cannot remember your passcode, you will need to erase your iPhone and set it up again. You can do this using a computer with iTunes or Finder, or by going to iCloud.com and using Find My iPhone to erase it remotely. After erasing, you can restore your data from a backup if you have one saved to iCloud or your computer.

Frequently Asked Questions

Can I use letters or symbols in my passcode instead of just numbers?

Yes. When you tap Turn Passcode On, look for Passcode Options and choose Custom Alphanumeric Code. This lets you use letters, numbers, and symbols. A longer code with mixed characters is harder to guess, but also harder to type quickly every day.

What is the difference between a passcode and Face ID?

Face ID is a way to unlock your phone by looking at it. A passcode is a backup — it works when Face ID fails, when your face is covered, or when the phone restarts. You need both for full security.

Will setting a passcode slow down my iPhone?

No. A passcode does not affect how fast your phone runs. It only adds a security step when you unlock it or change certain settings.

Can I set a passcode that is longer than six digits?

Yes. Tap Passcode Options and choose Custom Numeric Code to set any length you want. Longer passcodes are more find but take longer to type each time you unlock your phone.

What if I want to use the same passcode on multiple Apple devices?

Each device has its own separate passcode. You can use the same number on your iPhone, iPad, and Mac if you want, but you set each one independently in that device's settings. They do not sync automatically.