The fastest way to add a password
On Windows, open Settings by pressing the Windows key and typing "Settings," then select it. Go to Accounts on the left, then Sign-in options. Under "Password," click Add. Type your new password twice to confirm it matches, add a password hint if you want one (something only you would understand), then click Next and Finish.
On Mac, open System Settings from the Apple menu, click General on the left, then Login Options. You'll see your account listed. Click the lock icon at the bottom to unlock the settings, enter your current password, then click the edit button next to your account. Change the password field, confirm it, and click Save.
If you don't have a password yet, your computer will ask you to create one the first time you turn it on or when you first set up your account. If you already have one and want to change it, follow the same steps above but select Change instead of Add, and enter your old password first.
Key Takeaways
- Windows users find the password option in Settings > Accounts > Sign-in options, while Mac users go to System Settings > General > Login Options.
- Your password should be at least eight characters long and mix letters, numbers, and symbols to be harder to guess.
- Write down your password somewhere safe offline, or use a password manager like Bitwarden or 1Password to store it securely.
- If you forget your password, Windows lets you reset it with a Microsoft account, but Mac requires your Apple ID or a recovery key you set up beforehand.
Making your password strong enough to actually protect you
A strong password is long and mixed. Use at least 12 characters if you can, and include uppercase letters, lowercase letters, numbers, and symbols like ! or #. Avoid passwords based on your name, birthday, or common words — these are the first things someone will try.
The easiest strong passwords are random. You don't have to remember them if you write them down in a physical notebook kept somewhere safe, or better yet, store them in a password manager. Password managers like Bitwarden (free), 1Password, or Dashlane remember all your passwords behind one master password you do have to remember.
Never use the same password on multiple websites or accounts. If one site gets hacked, someone with that password can try it on your email, your bank, and your computer. A password manager makes this painless because it fills in different passwords automatically.
What happens when you restart your computer
Once you set a password, your computer will ask for it every time it starts up or wakes from sleep. You'll see a login screen with your account name and a blank password field. Type your password exactly as you set it — passwords are case-sensitive, so "Password" is different from "password" — and press Enter or click the arrow button.
If you type it wrong, the screen will shake slightly and you'll see a message. You can try again. After several wrong attempts, some computers will lock you out for a few minutes to prevent someone from guessing repeatedly.
If you share your computer with other people, each person can have their own account with their own password. When the computer starts, it shows all accounts and each person logs in with their own password. This keeps files and settings separate.
Resetting a password you've forgotten
On Windows, if you forget your password, the login screen shows a "Reset password" link. Click it and answer the security questions you set up when you created your account, or use your Microsoft account to reset it. You'll need access to the email address connected to your Microsoft account.
On Mac, restart the computer and hold Command + Q when you see the login screen to open the reset options. You can reset your password using your Apple ID, or if you set up a recovery key when you created your account, you can use that instead. If you have neither, you may need to restart in Recovery Mode — hold Command + R during startup — and use your Apple ID there.
This is why writing down your password somewhere safe, or storing it in a password manager, matters. Recovery is possible but slower than just knowing your password.
Using Windows Hello or Touch ID instead
Both Windows and Mac offer faster ways to log in once you have a password set. Windows Hello lets you unlock your computer with your face or fingerprint if your computer has a camera or fingerprint reader. Mac has Touch ID on newer models, which reads your fingerprint from the keyboard or trackpad.
These methods are faster than typing a password, but they work alongside your password, not instead of it. You still need the password for situations where the camera or fingerprint reader doesn't work, or if you're logging in from somewhere else.
To set up Windows Hello, go to Settings > Accounts > Sign-in options and look for "Windows Hello." To set up Touch ID on Mac, go to System Settings > General > Login Options and look for "Touch ID." Both will ask you to confirm your password first, then scan your face or fingerprint.
Keeping your password safe after you set it
Never tell anyone your password, not even someone who says they work for tech support or your computer maker. Real support staff will never ask for your password. If someone calls or emails asking for it, that's a scam.
Don't type your password where other people can see your screen. If you're in a public place or someone is watching, cover the keyboard with your hand or wait until you're alone.
Change your password if you think someone else knows it, or if you've used the same password on a website that got hacked. You can change it anytime by following the same steps you used to create it, but select "Change password" instead of "Add."
Frequently Asked Questions
Can I use a password I've used before on another website?
You can, but it's risky. If that other website gets hacked, someone with your password can try it on your computer. It's safer to use a unique password for your computer and each important account like email or banking. A password manager makes this straightforward by storing different passwords for you.
What if I want to remove my password and log in without one?
On Windows, go to Settings > Accounts > Sign-in options, click your password, and select Remove. On Mac, go to System Settings > General > Login Options, click the lock to unlock, then delete the password from your account. Without a password, anyone with physical access to your computer can turn it on and see everything on it.
Does my password protect my files if someone steals my computer?
Your password stops someone from turning on the computer and looking at your files when ready. But a determined person with technical skills can sometimes bypass it. For real protection of sensitive files, use encryption — Windows has BitLocker (on Pro and higher versions) and Mac has FileVault, both found in Settings under Security.
Can I use spaces or special characters in my password?
Yes. Spaces, punctuation marks, and symbols all make your password stronger. A password like "blue ocean 42!" is harder to guess than "blueocean42" because it's longer and mixes character types. Just make sure you remember exactly where the spaces are.
What should I do if I see a login screen asking for a password I don't remember setting?
This usually means someone else set up the account on your computer, or your computer was reset. Try the password you normally use. If that doesn't work, restart the computer and look for a "Reset password" option on the login screen, or contact whoever set up the computer originally.