The fastest way depends on what you remember
If you know your current password, you can remove it in settings without losing any data. If you've forgotten it, the process is longer and will erase your phone — you'll need to prove ownership to your carrier or use a backup account you set up before you locked yourself out.
The exact steps differ between iPhones and Android phones, and between older and newer models. Start with what you remember: your password, your Apple ID or Google account, or neither.
Key Takeaways
- If you know your password, you can turn off the lock in settings without erasing anything on iPhone or Android.
- If you forgot your password, removing it means erasing the phone, which requires proof of ownership through your Apple ID, Google account, or carrier.
- On iPhone, you'll need your Apple ID password even if you know your phone password; on Android, you'll need your Google account or carrier verification.
- Backup accounts and recovery codes set up before you lock yourself out are the fastest way back in — set these up now if you haven't already.
- If you're locked out and have no backup account, contact your carrier with a photo ID; they can verify ownership and help you reset.
Removing a password you still remember on iPhone
Open Settings and tap Face ID & Passcode (or Touch ID & Passcode on older models). You'll be asked to authenticate with your face, fingerprint, or the passcode itself. Enter your current password.
Scroll to the bottom and tap Turn Passcode Off. Confirm by entering your password one more time. Your phone will no longer require a password to unlock, and all your data stays on the device.
If you can't remember your Apple ID password, you'll be stuck here — iPhone requires your Apple ID password to turn off the passcode, even if you know the passcode itself. You can reset your Apple ID password at iforgot.apple.com, but you'll need access to the email address or phone number tied to that account.
Removing a password you still remember on Android
The steps vary slightly by manufacturer. On most Android phones, open Settings, search for "Lock screen" or "Security," and find the option for Screen Lock or Passcode. Tap it and authenticate with your current password.
Select None or Remove to turn off the lock. Your phone will ask you to confirm, and the password will be gone. Your data remains untouched.
If you're using a Samsung phone, go to Settings > Biometrics and Security > Screen Lock Type, authenticate, and select None. The process is the same — you keep everything on the phone.
If you've forgotten your password on iPhone
You cannot remove a forgotten iPhone password without erasing the phone. Apple's security design locks you out completely to prevent theft. You have three paths forward, each requiring proof that you own the phone.
Path 1: Use your Apple ID. On the lock screen, tap "iPhone Unavailable" or "Try Again Later" until you see "Use Your Apple ID to Reset Your iPhone." Tap that option and sign in with your Apple ID and password. Your phone will erase and set up fresh. This is the fastest route if you remember your Apple ID credentials.
Path 2: Use iCloud.com. Go to iCloud.com from another device, sign in with your Apple ID, open Find My iPhone, select your phone, and choose Erase iPhone. This erases the device remotely. You'll set it up again using your Apple ID when you turn it back on.
Path 3: Use Recovery Mode with a computer. Connect your iPhone to a Mac or Windows PC with iTunes or Finder, force restart the phone (the key combination depends on your model), and choose Restore. This erases the phone and lets you set it up again. You'll need your Apple ID password during setup.
All three paths erase your phone. If you have a backup in iCloud or on your computer, you can restore your data after setup is complete.
If you've forgotten your password on Android
Android phones vary widely by manufacturer, but most offer a recovery path through your Google account. On the lock screen, enter your password incorrectly several times until you see "Forgot Password?" or "Forgot PIN?" Tap it.
You'll be asked to sign in with your Google account. If you can sign in, you can set a new password without erasing the phone. This is the fastest path and preserves all your data.
If you don't remember your Google password, go to accounts.google.com/signin/recovery from another device and reset it. You'll need access to your recovery email or phone number.
If you have no access to your Google account, you'll need to erase the phone. The exact process depends on your phone's manufacturer — Samsung, Google Pixel, and others have slightly different recovery modes. Contact your phone's manufacturer or your carrier with a photo ID to verify ownership. They can walk you through a factory reset or unlock the phone remotely.
What to do if you have no backup account and no carrier access
If you're locked out, don't have an Apple ID or Google account set up on the phone, and can't reach your carrier, you're in a difficult position. The phone is designed to stay locked until someone proves ownership.
Contact your carrier with a government-issued photo ID. Bring your account information or the phone's IMEI number (dial *#06# to see it). The carrier can verify that you own the account and the phone, and they can help you reset it or unlock it remotely. This process takes a few days to a week.
If the phone was purchased secondhand and you don't have the original account information, you may not be able to unlock it. This is intentional — it prevents theft. Your only option is to contact the original owner and ask them to remove the phone from their account.
Setting up recovery options now so you don't get locked out later
The best time to prepare for a forgotten password is before you forget it. On iPhone, make sure you know your Apple ID password and have a recovery email and phone number set up on your account. Test your recovery email by going to iforgot.apple.com and making sure you can receive the reset link.
On Android, sign in with your Google account on your phone and make sure you have a recovery email and phone number on that account. You can check this at myaccount.google.com. Write down your recovery email somewhere safe — not on the phone itself.
Both phones also let you set up biometric unlock (fingerprint or face recognition) alongside your password. This doesn't remove the password requirement, but it means you're less likely to type it in wrong repeatedly and lock yourself out.
Frequently Asked Questions
Can I remove my password without erasing my phone if I forgot it?
No. Both iPhone and Android are designed so that a forgotten password requires a factory reset to prevent theft. You can restore your data afterward if you have a backup, but the phone itself must be erased first.
What if I know my password but forgot my Apple ID or Google password?
On iPhone, you're stuck — you need your Apple ID password to turn off the passcode, even if you know the phone password. Reset your Apple ID at iforgot.apple.com. On Android, you can turn off the lock in settings without your Google account, so you only need your phone password.
Will removing my password delete my photos and files?
No, not if you know your password and turn it off in settings. Your data stays on the phone. If you've forgotten your password and have to erase the phone, you can restore from a backup afterward.
How long does it take to get help from my carrier if I'm locked out?
Carrier support varies. Some can verify ownership and help you reset over the phone in one call. Others require you to visit a store with ID. Call your carrier's customer service line to find out what they need from you.
Can I remove a password from someone else's phone?
No. Both iPhone and Android require proof of ownership — either the password itself, a backup account, or carrier verification. This is intentional security. If you're trying to access a phone that isn't yours, the owner needs to remove the password themselves or authorize the carrier to help you.