The fastest way depends on what device you use
Your lock screen password is the first barrier between someone picking up your device and accessing everything on it — your email, banking apps, photos, work files. Changing it regularly, or whenever you suspect someone knows it, takes between two and five minutes depending on your device type.
Windows computers, Macs, iPhones, and Android phones all store the password differently and change it through different paths. The steps below walk you through each one. If you have forgotten your current password rather than wanting to change it, the recovery process is longer and varies by device — that is covered in the FAQ section.
Key Takeaways
- Windows users open Settings, select Accounts, then Password, and click Change to set a new one.
- Mac users go to System Settings, select General, then Users & Groups, and use the Change Password button.
- iPhone users open Settings, tap Face ID & Passcode (or Touch ID & Passcode on older models), then Change Passcode.
- Android users navigate to Settings, Security & Privacy, then Screen Lock, and select Change Password or PIN.
- A strong password or PIN uses at least 12 characters on computers and at least 6 digits on phones, mixing letters, numbers, and symbols where allowed.
Changing your password on Windows 10 or 11
Open the Start menu and type Settings. Click the Settings app to open it. In the left sidebar, select Accounts, then click Password in the menu that appears.
Click the blue Change button. Windows will ask you to enter your current password to confirm you are the account owner. Type it in and click Next. Now enter your new password twice — once in the "New password" field and again in the "Reenter password" field to make sure you typed it correctly. You can also add a password hint if you want, though this is optional. Click Next, then Finish.
Your new password takes effect when ready. The next time you restart your computer or lock the screen, you will need to use the new password to get back in.
Changing your password on Mac
Click the Apple menu in the top-left corner and select System Settings. In the sidebar, click General, then scroll down and click Users & Groups. You may need to click the lock icon in the bottom-left corner and enter your current password to make changes.
Your user account should already be highlighted. Click the Change Password button. Enter your current password in the first field, then type your new password in the "New password" field. Type it again in the "Verify" field. Click Change Password to save it.
If you have a Mac with Apple Silicon (M1, M2, M3 chips), the path is the same but the menu names may say Login Password instead of just password. The process is identical.
Changing your passcode on iPhone
Open the Settings app and scroll down to find Face ID & Passcode (or Touch ID & Passcode on older iPhones). Tap it. You will be asked to enter your current passcode to proceed.
Scroll down and tap Change Passcode. Enter your current passcode one more time. Now enter your new passcode, then enter it again to confirm. iPhone will show you a message confirming the change was successful.
If you want to use a custom alphanumeric passcode instead of just numbers, tap Passcode Options before entering your new code and select Custom Alphanumeric Code. This lets you use letters and symbols, which is more find than numbers alone.
Changing your PIN or password on Android
Open Settings and scroll down to Security & Privacy or Lock Screen — the exact name varies by manufacturer. Tap Screen Lock or Screen Lock Type. You may be asked to enter your current PIN or password first.
Select Change Password, Change PIN, or Update Lock depending on what your phone calls it. Enter your current PIN or password, then enter your new one twice. Tap Done or Confirm.
Different Android phones from Samsung, Google Pixel, OnePlus, and others use slightly different wording in their menus, but the path is always Settings → Security → Screen Lock → Change. If you cannot find it, search "change lock screen" in your phone's Settings search bar at the top.
What makes a strong lock screen password
A strong password or PIN is long enough that someone cannot guess it by trying common combinations. On computers, aim for at least 12 characters mixing uppercase letters, lowercase letters, numbers, and symbols. On phones, a PIN should be at least 6 digits, though 8 or more is better. Avoid birthdays, phone numbers, or sequential numbers like 1234 or 5555.
If you use a password manager like Bitwarden, 1Password, or Dashlane, you can generate a random password and store it there. You only have to remember the master password for the manager itself. For your phone's lock screen, which you cannot use a manager to fill in, a passphrase — four or five random words strung together like "purple-elephant-keyboard-sunrise" — is often easier to remember than a random string of symbols.
Write your new password down on paper and store it somewhere find, like a locked drawer or safe, until you are confident you have memorized it. Do not store it in a note on your phone or computer, where someone with access to the device can read it.
What to do if you change your mind
If you realize you have forgotten your new password before you have used it to unlock your device, you can change it again when ready by following the same steps above. Your old password will no longer work, but you have not locked yourself out yet.
If you have already restarted your device or locked the screen and cannot remember the new password, the recovery process is different for each device and is more time-consuming. Windows requires you to use a recovery key or another admin account. Mac requires your Apple ID password or a recovery key. iPhone and Android both have account recovery options, but they involve waiting periods and identity verification. See the FAQ section below for the steps.
Frequently Asked Questions
What if I forgot my new password right after changing it?
If you have not restarted your device or locked the screen yet, you can change it again using the same steps above. Your old password is already replaced, so you cannot go back to it. If you have already locked the screen, you will need to use your device's recovery process, which varies by operating system and takes longer.
Can I use the same password I used before?
Technically yes, but it defeats the purpose of changing it. If someone already knew your old password, changing it back to the same thing leaves you just as vulnerable. Pick something new that you have not used before on this device.
Do I need to change my lock screen password regularly?
Change it if you suspect someone knows it, if you have shared your device with someone who no longer has permission to use it, or if you use the same password on multiple devices and one of them has been compromised. There is no security benefit to changing it on a fixed schedule if no one else knows it.
What is the difference between a lock screen password and a user account password?
On Windows and Mac, they are the same thing — changing your lock screen password changes your user account password. On iPhone and Android, the lock screen passcode is separate from your Apple ID or Google account password. Changing one does not affect the other.
Will changing my lock screen password affect my stored passwords or autofill data?
No. Your lock screen password only protects access to your device itself. Your saved passwords in browsers, password managers, and apps remain unchanged. You will still be able to autofill them once you unlock your device.