You need to set a passcode through Settings, not through Find iPhone
The passcode you use to unlock your iPhone is created in the Settings app on your device itself, not through Find iPhone. Find iPhone is a separate tool that helps you locate a lost phone or lock it remotely — it uses your Apple ID password, not your device passcode. If you're setting up a new iPhone or want to add a passcode to one that doesn't have one, you'll do that directly on the phone.
Your iPhone passcode is the four-digit, six-digit, or custom code you enter every time you wake the screen. This is different from your Apple ID password, which you use to sign into iCloud and the App Store. Both matter for security, but they work in different places.
Key Takeaways
- Open Settings, tap Face ID & Passcode (or Touch ID & Passcode on older models), and select Set Up Passcode to create a new code.
- You can choose between a four-digit code, six-digit code, or a custom alphanumeric passcode — six digits is the default.
- If you forget your passcode, you'll need to erase the iPhone and set it up again using your Apple ID or a computer.
- Your passcode protects your phone from unauthorized access, while your Apple ID password protects your iCloud account and purchases.
How to create a new passcode on your iPhone
Start by opening the Settings app on your iPhone. Scroll down and tap Face ID & Passcode if you have a newer model with Face ID, or Touch ID & Passcode on older iPhones with a home button. If your phone has never had a passcode, you'll see an option that says Turn On Passcode or Set Up Passcode. Tap that option.
The phone will ask you to enter a passcode twice — once to create it, and once to confirm it. If this is your first time setting a passcode, the default option is a six-digit code. The phone will show you a numeric keypad. Enter six numbers, then tap Next. Re-enter the same six numbers on the second screen and tap Done. Your passcode is now active.
If you want a four-digit code instead, or a longer custom code with letters and numbers, tap Passcode Options before you enter your code. You'll see three choices: 6-Digit Numeric, 4-Digit Numeric, or Custom Alphanumeric. Pick the type you want, then enter your code twice as described above.
What to do if you already have a passcode and want to change it
Go to Settings, then Face ID & Passcode (or Touch ID & Passcode). The phone will ask you to enter your current passcode to proceed. Once you do, you'll see an option that says Change Passcode. Tap it. The phone will ask for your current passcode one more time, then ask you to enter your new passcode twice.
If you want to switch from a six-digit code to a four-digit code, or to a custom code with letters, tap Passcode Options before entering your new code. Choose the format you want, then enter your new passcode twice and tap Done.
The difference between your passcode and your Apple ID password
Your passcode is what you type into your phone every time you unlock it. It lives on your device only. Your Apple ID password is what you use to sign into iCloud, read apps, and make purchases in the App Store. If someone gets your Apple ID password, they can access your email, photos, and payment methods from any device. If someone gets your passcode, they can only use your phone if they have it in their hands.
Find iPhone uses your Apple ID password to work. When you set up Find iPhone, you're signing in with your Apple ID, not creating a new password. That's why changing your device passcode doesn't affect Find iPhone — they're completely separate security systems.
What happens 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, you'll see a message saying you can try again in 30 seconds, then one minute, then five minutes, and so on. After ten wrong attempts, your phone will ask if you want to erase it.
If you've forgotten your passcode completely, you'll need to erase your iPhone and set it up again. You can do this using a computer with iTunes or Finder, or by using Find iPhone on another device. When you set up the phone again, you'll sign in with your Apple ID, and the phone will restore your data from a backup if you have one. This process requires your Apple ID password, not your old device passcode.
Why you should use a passcode you can remember
A passcode protects your phone from someone picking it up and accessing your messages, photos, banking apps, and email. Even if your phone is stolen, a strong passcode makes it much harder for a thief to use it or sell it. However, if you forget your passcode, recovering your phone is time-consuming and requires your Apple ID.
Choose a code that's hard for someone else to guess — avoid birthdays, anniversaries, or repeating numbers like 1111. Write it down and store it somewhere safe, separate from your phone. If you use a custom alphanumeric code, make sure it's something you can type quickly without looking, since you'll enter it many times a day.
Frequently Asked Questions
Can I use the same passcode on multiple iPhones?
Yes, you can use the same passcode on as many devices as you want. Each iPhone stores its passcode locally, so changing the passcode on one phone doesn't affect another. However, using the same passcode on multiple devices means if someone learns it, they can unlock all your phones.
What's the difference between a passcode and Face ID or Touch ID?
Face ID and Touch ID are faster ways to unlock your phone, but they both require a passcode as a backup. If Face ID or Touch ID fails, you'll enter your passcode instead. You can't remove your passcode and use only Face ID or Touch ID — the passcode must stay active.
Do I need a passcode if I have Find iPhone turned on?
Yes, they're separate. Find iPhone helps you locate your phone remotely using your Apple ID, but it doesn't protect your phone if someone picks it up and turns it on. A passcode is what stops them from accessing your data. Both are worth having.
Can I set a passcode without an Apple ID?
Yes, you can create a device passcode without signing into an Apple ID. However, you'll need an Apple ID to use Find iPhone, read apps, or restore your phone if you forget the passcode. Most people set up an Apple ID during the initial iPhone setup.