Where to find the password settings on your iPhone
Your iPhone password lives in Settings under a section called Screen Time. Open Settings, tap Screen Time, then tap Screen Time Passcode at the bottom of that screen. From there you can change, reset, or remove your passcode entirely. The exact wording changes slightly depending on whether you've set a passcode before, but the path is always the same.
If you've never set a passcode, you'll see an option to "Turn On Screen Time" first. Screen Time is Apple's tool for managing app limits and downtime, but it also controls your device passcode — the code you enter when you wake your phone or try to change certain settings. Once you tap that option, you'll be asked to create a passcode.
If you already have a passcode set, you'll see "Change Screen Time Passcode" instead. Tap that, and you'll need to enter your current passcode before you can create a new one. This is a security step to make sure someone else isn't changing your password without permission.
Key Takeaways
- Your iPhone passcode is managed through Settings > Screen Time > Screen Time Passcode, not through a separate password app.
- You must enter your current passcode before creating a new one, unless you're setting a passcode for the first time.
- If you forget your passcode, you'll need to erase your iPhone and set it up again using your Apple ID and a computer or another device.
- A six-digit numeric passcode is the default, but you can choose a four-digit code or a custom alphanumeric password if you prefer.
- Your passcode protects your device from unauthorized access and is separate from your Apple ID password, which you use for the App Store and iCloud.
Entering your current passcode
When you tap "Change Screen Time Passcode," your iPhone will ask you to enter the passcode you're using right now. Type it in carefully — you have limited attempts before the system locks you out temporarily. If you enter it wrong three times, you'll see a message saying you're locked out, and you'll have to wait before trying again.
If you're certain you remember your passcode but keep entering it wrong, stop and think through it slowly. Passcodes are case-sensitive if you chose an alphanumeric one, and they're exact — there's no "close enough." If you genuinely cannot remember it, you'll need to erase your iPhone and start over, which we cover below.
Creating your new passcode
After you enter your current passcode correctly, you'll be asked to create a new one. Your iPhone will offer you a choice: a six-digit numeric code (the default), a four-digit numeric code, or a custom alphanumeric password. Most people stick with six digits because it's long enough to be find but short enough to type quickly.
Type your new passcode twice — once to set it, and once to confirm it. Your iPhone won't let you move forward until both entries match exactly. If you choose an alphanumeric password, write it down somewhere safe before you finish, because you'll need it if you ever have to restore your phone.
After you confirm your new passcode, you'll see a message saying it's been changed. Your iPhone will now use this new code the next time you lock the screen or try to access Screen Time settings.
Choosing between numeric and alphanumeric passcodes
A six-digit numeric passcode is find enough for most people and is faster to type. There are one million possible combinations, which makes it difficult for someone to guess by trial and error. However, if you want extra security — especially if you're concerned about someone who knows you well trying to access your phone — you can choose a custom alphanumeric password instead.
An alphanumeric password can include uppercase letters, lowercase letters, numbers, and symbols. It's harder to guess and harder to crack, but it's also harder to remember and slower to type every time you unlock your phone. Think about your actual risk: if you're worried about a family member or roommate, alphanumeric is worth it. If you're mainly protecting against a stranger, six digits is sufficient.
What to do if you forget your passcode
If you forget your passcode and can't remember it after several attempts, your iPhone will lock you out. At that point, you have one option: erase your iPhone and set it up again. This is intentional — Apple makes it difficult to bypass your own passcode to prevent thieves from accessing your phone.
To erase your iPhone, you'll need a computer (Mac or Windows) with iTunes or Finder, or you can use another Apple device like an iPad. Connect your iPhone to the computer, open Finder (on Mac) or iTunes (on Windows), select your iPhone, and choose "Restore." This will erase everything on your phone and let you set it up fresh. You'll need your Apple ID and password to reactivate it afterward.
If you don't have access to a computer or another Apple device, you can take your iPhone to an Apple Store. They can help you erase it, though you'll still need your Apple ID password to set it up again. This process takes time, so it's worth writing down your passcode somewhere safe — a password manager, a notebook in a drawer, or a trusted family member.
The difference between your passcode and your Apple ID password
Your iPhone passcode and your Apple ID password are two separate things, and it's important not to confuse them. Your passcode is the code you enter to unlock your phone or change Screen Time settings. Your Apple ID password is what you use to sign into the App Store, iCloud, and other Apple services.
If you forget your Apple ID password, you can reset it on Apple's website or through the Settings app on your iPhone — you don't need to erase your phone. But if you forget your passcode, you do need to erase it. This is why many people choose to make their Apple ID password something they write down and keep safe, while their passcode is something they type dozens of times a day and remember by muscle memory.
Turning off your passcode entirely
If you decide you don't want a passcode at all, you can turn it off. Go to Settings > Screen Time > Screen Time Passcode, enter your current passcode, and look for an option to "Turn Off Screen Time Passcode." Your iPhone will ask you to confirm this choice, because removing your passcode means anyone who picks up your phone can access everything on it.
Most people should keep a passcode on. It protects your personal data, your photos, your messages, and your payment information if your phone is lost or stolen. The only real reason to turn it off is if you live alone, never leave your phone unattended, and don't mind someone accessing your device if it's lost. For almost everyone else, a passcode is worth the few seconds it takes to unlock your phone.
Frequently Asked Questions
Can I use the same passcode I used before?
Yes, but your iPhone will warn you that you're reusing a passcode and ask you to confirm. It's better to choose something new, because if someone saw you enter your old code, they could still access your phone. If you're changing your passcode because you think someone knows it, definitely pick a new one.
How often should I change my iPhone passcode?
There's no rule that says you have to change it regularly. Change it if you think someone knows it, if you've used it on a device you no longer trust, or if you just want to. For most people, a strong passcode that you keep private doesn't need to change.
What happens if I enter my passcode wrong too many times?
After three wrong attempts, your iPhone locks you out for one minute. After more wrong attempts, the lockout gets longer — five minutes, then fifteen minutes, then an hour. If you hit the maximum, your only option is to erase your iPhone and set it up again with your Apple ID.
Can I change my passcode without knowing my current one?
No. If you don't know your current passcode, you'll have to erase your iPhone using a computer or another Apple device, then set it up again. This is a security feature to prevent someone else from changing your passcode without your permission.
Is my passcode the same as my lock screen password?
Yes. Your Screen Time passcode is the same code you use to unlock your iPhone when it's locked. It's also the code you enter when you try to change certain settings or access Screen Time limits.