To change your PIN in Windows 11, open Settings > Accounts > Sign-in options, select PIN (Windows Hello), then select Change PIN, type your current PIN once and your new PIN twice, and select OK. If you’ve forgotten the current PIN, use I forgot my PIN instead, either on that same Settings page or on the sign-in screen.
These steps are written for Windows 11 on a home PC. Windows 10 uses the same path, though the PIN entry there is labeled Windows Hello PIN, so the instructions below work there too. A PC from work or school can have its own PIN rules, which are covered near the end.
What you need before you start
- Your current PIN, or your account password. Windows asks for the old PIN before it accepts a new one. If you don’t remember it, you’ll verify yourself with your account password instead.
- To be signed in to your own account. A PIN belongs to one user on one PC, so each person changes their own.
- An internet connection, if you use a Microsoft account and have forgotten the PIN. Resetting it checks your identity with Microsoft, which can include a code sent to your phone or email.
Not sure which kind of account you have? Open Settings > Accounts > Your info. An email address under your name means a Microsoft account; just a name with “Local account” underneath means the account exists only on this PC. That difference matters if you forget the PIN. Anyone who prefers an offline sign-in can switch to or add a local account on Windows 11, and a local account can still use a Windows Hello PIN.
Change your PIN in Settings
- Open Settings. Press Windows logo key + I, or select Start and then Settings (the gear icon).
- Go to Accounts. Select Accounts in the left pane. The right side lists your account details and a set of account pages.
- Open Sign-in options. Select Sign-in options. You’ll see a section called Ways to sign in with entries such as Facial recognition, Fingerprint recognition, PIN, Security key and Password.
- Expand PIN (Windows Hello). Select PIN (Windows Hello) so it opens and shows its buttons. If a PIN is already set up, you’ll see Change PIN and, below it, I forgot my PIN.
- Select Change PIN. A small Windows Security window opens with three boxes.
- Type the old PIN, then the new PIN twice. The first box is your current PIN, the second is the new one, and the third confirms it. If you want letters or symbols in the new PIN, look for the checkbox in this window that allows them before you type.
- Select OK. The window closes without a message. The new PIN works immediately; no restart is needed.
Microsoft’s own steps for this, including the reset paths below, are on its Change or reset your PIN in Windows page.
If you see Set up instead of Change PIN
That means the account has no PIN yet. Select Set up, confirm your account password, and create a PIN the same way. Windows Hello also covers face and fingerprint sign-in on PCs with the right hardware; the walkthrough on setting up Windows Hello covers those options.
Choosing a PIN that’s hard to guess
A Windows Hello PIN doesn’t have to be four digits. Windows 11 lets you choose a longer one, and the checkbox in the PIN window lets you mix in letters and symbols. On a home PC the minimum is usually four characters. Organizations can require more: when a work policy for Windows Hello for Business sets no length, Microsoft’s default minimum is six characters, and the maximum is 127.
Work and school PCs can also block obvious choices. Microsoft says the Windows Hello for Business simple-PIN check rejects number PINs that step by a constant amount from one digit to the next, such as 1111, 1234 or 1357. A home PC may accept them, so it’s up to you to avoid them. That check doesn’t apply to PINs that include letters, so avoid easy words too.
A few practical rules:
- Don’t reuse your phone unlock code or your bank card PIN. If one leaks, the others shouldn’t.
- Six or more digits is a good habit even when Windows accepts four.
- Avoid birthdays and house numbers that anyone who knows you could guess.
Why Windows prefers a PIN to a password
A PIN can look weaker than a long password, but Microsoft explains that it works differently. Your Windows Hello PIN is tied to the one PC where you created it. It’s checked on that device, never sent over the internet, and isn’t stored on a server. On PCs with a TPM (a security chip that most modern PCs have and that Windows 11 requires), the PIN unlocks keys held by that chip, and the chip slows down or locks out repeated wrong guesses.
That has two consequences for you:
- Each PC has its own PIN. Changing the PIN on your laptop doesn’t change it on your desktop. If you want the same PIN everywhere, change it on each device.
- Your PIN isn’t your password. Changing the PIN leaves your Microsoft account password or local password exactly as it was. To change the password itself, follow the separate steps for changing your password in Windows 11.
Microsoft sums up Windows Hello on its Configure Windows Hello page, where it notes the PIN is associated with only one device.
Reset a PIN you’ve forgotten
Resetting doesn’t touch your files or apps. It only replaces the PIN. Which route you can use depends on your account type.
From the sign-in screen (Microsoft account)
- On the sign-in screen, look under the PIN box and select I forgot my PIN. If several people use the PC, make sure your account is the one selected first.
- Enter your Microsoft account password when asked, then complete any verification Microsoft requests, such as a code sent to your phone, email or the Authenticator app.
- When the Set up a PIN window appears, type the new PIN twice and select OK. You’re signed in with the new PIN.
Microsoft says this lock-screen option is only available for Microsoft accounts, not local accounts.
When I forgot my PIN isn’t on the sign-in screen (local account)
- Select Sign-in options under the PIN box, choose the password option (the key icon), and sign in with your account password.
- Go to Settings > Accounts > Sign-in options > PIN (Windows Hello).
- Select I forgot my PIN, confirm your password, and create the new PIN.
If you’ve forgotten the password too
You’ll need to reset the password first, then come back and reset the PIN:
- Microsoft account: select I forgot my password on the sign-in screen, or reset the password from any browser on another device, then use the new password with I forgot my PIN.
- Local account: select Sign-in options, choose the password (key) option, then select the arrow button next to the empty password box, select OK, then Reset password, and answer the security questions you set up when the account was created. If you made a password reset disk, choose Use a password reset disk instead.
If your account has no password at all because you’ve only ever used a PIN on a local account, it’s worth fixing that once you’re back in: adding a password in Windows 11 gives you a fallback way in, and it’s what Windows asks for when you reset the PIN. Before you go without a password, compare the Windows 11 sign-in options and what each one gives up.
When the PIN options are missing or won’t work
- “You’ve entered an incorrect PIN several times.” After a few wrong tries, Windows can ask you to type the phrase A1B2C3 before it gives you another attempt. Microsoft explains that continued wrong guesses trigger the TPM’s lockout, with longer waits each time. Stop guessing and use I forgot my PIN instead.
- Remove is grayed out under PIN. On a PC signed in with a Microsoft account, check Sign-in options > Additional settings for a switch that starts “For improved security, only allow Windows Hello sign-in for Microsoft accounts”. When it’s on, Windows hides some password and PIN options. On a work or school PC, the grayed-out buttons usually mean your organization manages sign-in; ask IT rather than changing policies yourself.
- The new PIN is rejected. It’s probably too short, too simple, or doesn’t meet a work policy (for example, it needs a letter or a symbol). Try a longer PIN that doesn’t follow a pattern.
- The reset gets stuck verifying. Check the network icon on the sign-in screen and connect to Wi-Fi; a Microsoft account reset needs the internet.
- Your face or fingerprint still works but the PIN doesn’t. Sign in with the face or fingerprint, then use I forgot my PIN in Settings to set a new one.
Check that the new PIN works
Press Windows logo key + L to lock the PC, then sign back in with the new PIN. If the old one is still in your fingers, you’ll find out now rather than tomorrow morning. Don’t worry if the lock screen turns black while you wait, since Windows uses its own short display timeout on a locked PC, as this rundown of Windows 11 display timers explains.
There’s no undo button for a PIN change, but you can change it again at any time with the same steps. If you’d rather sign in with a password only, the steps for turning off the PIN in Windows 11 explain what to check first.
Common questions about Windows PINs
Do I need to change my PIN regularly?
Not on a personal PC. Because the PIN only works on your device, the bigger risks are someone watching you type it or guessing an obvious one. Change it if you think someone has seen it. Work PCs can be set to make PINs expire; if yours asks for a new PIN, that’s the reason.
Will changing my PIN sign me out of anything?
No. Your apps, files, email and saved sign-ins stay as they are. Only the code you type at the Windows sign-in screen changes.
Can someone else on my PC see or change my PIN?
No. Each user’s PIN is tied to their own account on that PC, and Windows never shows it. Another person with an administrator account can’t read your PIN; you change or reset your own from your account.
Once your new PIN works, consider adding face or fingerprint sign-in as a second quick way in, so a forgotten PIN never locks you out.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.