Setting up a lock screen password takes three minutes and one trip to Settings

A lock screen password is the first barrier between someone picking up your computer and accessing your files. Windows 11 calls this a PIN or password, and you set it through Settings rather than through the login screen itself. The fastest route is to open Settings, go to Accounts, and create a PIN — which works faster than a traditional password because Windows stores it locally on your device.

You do not need to remove an existing password to add a PIN. You can have both at the same time, and Windows will accept either one when you wake your computer. If you want only a PIN and no password, you can delete the password afterward. The process is the same whether you use a Microsoft account or a local account, though the screens look slightly different.

Key Takeaways

  • Open Settings, select Accounts, then choose Sign-in options to add a PIN or password to your lock screen.
  • A PIN is faster to type than a password and works even if you are offline, because Windows stores it on your device.
  • You can set up a PIN without removing your existing password, and Windows will accept either one at the lock screen.
  • If you forget your PIN, you can still sign in with your password, then delete the PIN and create a new one.
  • Windows 11 requires at least a PIN or password on most devices; you cannot leave your lock screen completely unprotected.

How to add a PIN in Windows 11

Open the Start menu and type Settings, then press Enter. In Settings, select Accounts on the left side. Then click Sign-in options.

Under the "Sign-in options" section, you will see a list that includes Password, PIN, Windows Hello, and other methods. Click on PIN (Windows Hello). A window will open asking you to set up a PIN. Click the Set up button.

Windows will ask you to confirm your current password or PIN first — this is a security check to make sure you are the person who owns the account. Type your current password and click OK. Then you will see a box asking you to enter a new PIN. Type a number combination of at least four digits. You can use longer PINs if you want — six or eight digits is common. Click Next.

Windows will ask you to type the same PIN again to confirm it. Type it exactly as you did the first time, then click Finish. Your PIN is now active. The next time you lock your screen or restart your computer, you can sign in with either your password or your PIN.

How to add a traditional password instead

If you prefer a password over a PIN, the process is similar. Open Settings, go to Accounts, and select Sign-in options. This time, click on Password instead of PIN.

Click Add. Windows will ask you to enter a new password. Type something you can remember but that is not obvious — avoid birthdays, names, or straightforward sequences. Windows will show you a strength meter as you type. Click Next.

Type the password again to confirm it, then click Next. Windows will ask you for a password hint — something that reminds you of the password without giving it away. This hint appears on the lock screen if you forget. Type a hint and click Next, then click Finish.

Your password is now active. You can sign in with this password at the lock screen. If you also have a PIN set up, Windows will accept either one.

The difference between a PIN and a password

A PIN is a number-only code that Windows stores on your device. It is faster to type because it is shorter, and it works even if you are not connected to the internet. Windows checks your PIN against the copy stored locally on your computer, so there is no network delay. Most people find a PIN easier to remember because it is just numbers.

A password can include letters, numbers, and symbols, which makes it harder to guess. Passwords are more flexible if you want something longer or more complex. However, they take longer to type, and on some older devices they may require an internet connection to verify (though Windows 11 usually stores a local copy too).

You do not have to choose one or the other. Having both a PIN and a password means you can use whichever is convenient at the moment. If you forget your PIN, you can still sign in with your password. If you forget your password, you can still sign in with your PIN.

What to do if you forget your PIN

If you forget your PIN but remember your password, sign in with your password instead. Once you are logged in, go back to Settings, Accounts, Sign-in options, and click on PIN. Select Remove to delete the old PIN, then click Set up to create a new one.

If you forget both your PIN and your password, you will need to reset your account. The process depends on whether you use a Microsoft account or a local account. With a Microsoft account, you can reset your password through the Microsoft website on another device, then use that new password to sign in. With a local account, you will need to use a password reset disk (if you created one earlier) or contact Windows support for recovery options.

Why Windows 11 requires a lock screen password

Windows 11 is designed to require at least a PIN or password on most devices. This protects your files if someone else picks up your computer. Without a lock screen password, anyone could walk up to your desk, wake your screen, and access everything on your device.

Some devices — particularly those used in businesses or schools — may have additional requirements set by an administrator. If you see a message saying you cannot remove your PIN or password, your device is likely managed by an organization, and you will need to contact your IT department to change that setting.

Frequently Asked Questions

Can I use a PIN with letters or symbols, or just numbers?

Windows PIN is numbers only. If you want to use letters or symbols, you need to set up a password instead. A PIN is designed to be quick and straightforward, which is why it is limited to digits.

What happens if I set up a PIN but forget it?

You can still sign in with your password if you have one set up. Once you are logged in, go to Settings, Accounts, Sign-in options, and remove the old PIN, then create a new one. If you have no password and forget your PIN, you will need to reset your account through your Microsoft account or use a recovery method.

Do I need an internet connection to use my PIN?

No. Windows stores your PIN locally on your device, so it works whether you are online or offline. This is one reason many people prefer a PIN over a password — it is always available, even if your network is down.

Can I change my PIN without removing it first?

Yes. Go to Settings, Accounts, Sign-in options, click PIN, and select Change. Windows will ask you to confirm your current PIN, then let you type a new one. You do not have to remove and recreate it.

Is a PIN as find as a password?

A PIN is find for most everyday use because it is stored locally and tied to your specific device. A longer password with mixed characters is technically harder to guess, but a PIN is sufficient for protecting your computer from casual access. Choose whichever you will actually use consistently.