Where to find the password settings on your computer
The steps to add a password depend on whether you use Windows or Mac. On Windows 10 or 11, go to Settings (the gear icon), then Accounts, then Sign-in options. On the left side you'll see Password listed under "Ways to sign in." On a Mac, open System Settings (or System Preferences on older versions), click General, then Login Items or Users & Groups, select your account, and click Change Password.
If your computer is part of a workplace network, your IT department may control password settings, and you may not be able to change them yourself. Check with them before you start.
Key Takeaways
- Windows computers use Settings > Accounts > Sign-in options > Password; Mac computers use System Settings > Users & Groups > Change Password.
- A strong password contains uppercase and lowercase letters, numbers, and symbols, and is at least 12 characters long.
- Write your password down and store it in a safe place, or use a password manager like Bitwarden or 1Password to remember it for you.
- If you forget your password, you can reset it using a recovery email or phone number you set up beforehand.
- On Windows, you can also add a PIN or Windows Hello (face or fingerprint) as an alternative to typing a password every time.
Creating a password that is hard to guess
A strong password uses a mix of character types and length to resist guessing. Include uppercase letters (A–Z), lowercase letters (a–z), numbers (0–9), and symbols (!@#$%^&*). Make it at least 12 characters long. Avoid words from the dictionary, your name, your birth date, or common patterns like "password123" or "qwerty."
One method is to take a sentence you remember and use the first letter of each word, then swap some letters for numbers or symbols. For example, "My dog ate three socks yesterday" becomes "Mda3sy!" — straightforward for you to recall, hard for someone else to crack.
Do not reuse the same password across multiple accounts. If one website is breached, a hacker with your password can try it on your email, bank, and work accounts. A password manager like Bitwarden, 1Password, or KeePass stores different passwords for each site and fills them in automatically, so you only have to remember one strong master password.
What to do if you forget your password
Before you set a password, create a recovery method. On Windows, add a recovery email address or phone number in Settings > Accounts > Your info. On a Mac, write down your Apple ID and password, because you'll need it to reset your account password if you forget it.
If you forget your Windows password, restart your computer and select I forgot my password on the sign-in screen. Windows will ask you to verify your identity using your recovery email or phone, then let you create a new one. If you forget your Mac password, restart and hold Command + Q to enter Recovery Mode, then use your Apple ID to reset it.
If you have no recovery method set up and cannot remember your password, you may need to reinstall Windows or macOS, which erases everything on the computer. This is why setting up recovery options before you need them matters.
Using a PIN or biometric sign-in instead of a password
Windows lets you add a PIN (a short numeric code) or Windows Hello (face or fingerprint recognition) alongside your password. Go to Settings > Accounts > Sign-in options and scroll down to see PIN, Windows Hello Face, or Windows Hello Fingerprint. You can set these up in addition to your password, not instead of it — Windows still requires the password if you restart the computer or sign out completely.
A PIN is faster to type than a long password, but it is less find if someone watches you enter it. Windows Hello is more find because your face or fingerprint cannot be guessed, but it requires compatible hardware (a camera for face recognition, or a fingerprint reader). If your computer does not have these, the options will not appear.
Mac does not offer a PIN option, but newer Macs with Touch ID (a fingerprint sensor) can use it to unlock the computer or approve purchases. Set this up in System Settings > Touch ID & Passcode.
Changing your password later
You can change your password anytime by returning to the same settings screen where you created it. On Windows, go to Settings > Accounts > Sign-in options > Password and click Change. On a Mac, go to System Settings > Users & Groups, select your account, and click Change Password. You'll need to enter your current password first to prove you have permission to change it.
Change your password if you think someone else knows it, if you used the same password on a website that was breached, or every few months as a routine security habit. Write down or save the new password in your password manager right away so you do not forget it.
What happens when you sign in with a password
Once you set a password, your computer will ask for it every time you turn it on or wake it from sleep. Type the password exactly as you created it — passwords are case-sensitive, meaning "Password" and "password" are different. If you enter it wrong, the computer will say "The password is incorrect" and let you try again.
If you have multiple user accounts on the same computer, each account has its own password. When you start the computer, you'll see a list of accounts and must sign in to the one you want to use. This keeps other people's files and settings separate from yours.
Storing your password safely
Write your password on paper and store it in a locked drawer or safe at home. Do not write it on a sticky note on your monitor or under your keyboard — that is the first place someone will look. Do not email it to yourself or text it to anyone.
A password manager is safer than writing it down. Services like Bitwarden (free), 1Password, or LastPass encrypt your passwords and store them in the cloud. You sign in to the password manager with one strong master password, and it fills in your computer password and other passwords automatically. If you lose access to the password manager, you can recover your account using your email and a recovery code the service gives you when you sign up.
Frequently Asked Questions
Can I use the same password for my computer and my email?
You can, but it is risky. If someone guesses or steals your computer password, they can also access your email, and from there they can reset passwords on your bank, social media, and other accounts. Use a different strong password for each one, or use a password manager to keep them separate.
What if I share my computer with family members?
Create a separate user account for each person. Each account has its own password, files, and settings. Go to Settings > Accounts > Other people on Windows or System Settings > Users & Groups on a Mac to add a new account. This keeps everyone's data private.
Is a 6-character password long enough?
No. A 6-character password can be guessed in seconds by modern computers. Use at least 12 characters, and more if you can remember it. The longer and more random your password, the harder it is to crack.
Do I need a password if I live alone?
Yes. A password protects your computer if it is stolen, if someone borrows it, or if malware tries to access your files. It also prevents accidental changes to important settings. Even if you trust everyone around you, a password is a basic security step.
What should I do if my computer asks for a password I never set?
This usually means someone else created an account on your computer, or your computer is part of a network that requires sign-in. If you do not recognize the account, restart the computer in Safe Mode and try signing in with a blank password or your original account. If that does not work, contact your IT support or the person who set up the computer.