To change your PIN in Windows, open Settings, go to Accounts, then Sign-in options, select PIN (Windows Hello), then Change PIN, and enter your current PIN before choosing a new one. If you have forgotten it, select I forgot my PIN instead, either under the PIN box on the sign-in screen or in the same Settings page.
The steps below follow Microsoft's help page "Change or reset your PIN in Windows", checked in November 2026. Menu names can differ slightly between Windows versions, so match the wording rather than the exact position.
How to change your PIN when you know it
This is the quickest route and needs the current PIN. You must be signed in.
- Open Settings. You can also paste
ms-settings:signinoptionsinto the Run box (Windows key + R) to jump straight to the Sign-in options page. - Go to Accounts, then Sign-in options.
- Select PIN (Windows Hello), then Change PIN.
- Type your current PIN, then type the new PIN and confirm it.
The new PIN works at the next sign-in or unlock. Your old one stops working at once.
How to reset a forgotten PIN from Settings
If you are already signed in, for example because the PC was still unlocked or you signed in with a fingerprint or face, the reset sits in the same place as the change:
- Go to Settings, Accounts, Sign-in options.
- Open PIN (Windows Hello) and select I forgot my PIN.
- Follow the prompts to verify your account, then create a new PIN.
The verification step proves it is really you, which is why the reset does not need the old PIN. What it asks for depends on how the account is set up, so expect a password prompt or a code sent to the contact method on the account.
How to reset your PIN from the sign-in screen
What you do here depends on the account type.
Microsoft account
Look below the PIN text box for I forgot my PIN. Select it and follow the prompts. If the PC has more than one account, choose the account you want to reset when asked, then set a new PIN.
Local account, or no reset link on screen
Microsoft says the I forgot my PIN option is available only for Microsoft accounts, not local accounts. For a local account, sign in with your password instead:
- On the sign-in screen, select Sign-in options.
- Select Enter your password and sign in.
- Open Settings, Accounts, Sign-in options and set up the PIN again under PIN (Windows Hello).
What if you forgot the password too?
Then you cannot use the password route yet, so reset the password first. The method depends on the account.
- Microsoft account: Microsoft's page points to its "reset your Microsoft account password when you aren't signed in" process. You do it from a web browser on any device, then sign in to the PC with the new password and reset the PIN.
- Local account: lock the PC, and at the sign-in screen select the arrow icon next to the password box, select OK, then select Reset password. Answer the security questions you set when you created the account. If you made a password reset disk, select Use a password reset disk instead.
If neither works, for instance a local account with no security questions and no reset disk, Microsoft's page offers no further self-service path. Microsoft's own page also notes that its support agents cannot send password reset links or change account details for you, so do not expect support to get you back into the account.
Work or school accounts
Microsoft's help page does not include instructions for work or school accounts. Those PCs usually use Windows Hello for Business, which Microsoft describes as an extension of Windows Hello that lets IT administrators manage PIN and other sign-in requirements. So your organization may set its own rules for the PIN, including its format, and may control how it is reset. If the steps above do not match what you see, ask your IT department.
PIN rules and why it is separate from your password
| Question | Answer from Microsoft's help page |
|---|---|
| What characters can it use? | Numeric by default. You can enable letters and symbols. |
| Minimum or maximum length? | Not stated on the help page. A work policy may set one. |
| Is it the same as the account password? | No. It is separate from your Microsoft account password. |
| Same PIN on every device? | No. Different devices can have different PINs. |
Microsoft Learn explains why a short PIN is acceptable: the PIN never leaves the device, and Windows Hello has built-in brute force protection. For Microsoft accounts and Entra ID accounts, Windows Hello uses key-based authentication, so there is no shared secret such as a password that can be stolen from a server or phished and used remotely. An attacker needs both the device and the PIN.
Microsoft Learn adds one caveat. Windows Hello on a local account is not backed by an asymmetric key pair, so it does not offer the same level of security as the key-based sign-in available with a Microsoft account. Microsoft recommends using Windows Hello with a Microsoft account where you can.
Choosing a new PIN
These points are practical advice, not Microsoft requirements.
- Avoid sequences such as 1234 and repeated digits, and avoid birthdays or the last digits of your phone number.
- Consider turning on letters and symbols if your device offers that option, since a longer mixed PIN has more combinations.
- Do not reuse a PIN from your bank card or phone. The Windows PIN is tied to one device, but someone who watches you type any PIN can try it on the others.
- If you also want a stronger, portable sign-in for websites, see passkeys explained, which covers how Windows Hello can hold a passkey on the PC.
If the reset still fails
- No reset link and no password route: check whether the account is a Microsoft account or a local one. Local accounts have no I forgot my PIN option.
- The reset asks for verification you cannot complete: the code goes to the contact method on the account, so fix account recovery first from a browser on another device.
- Reset keeps looping back to the PIN screen: restart the PC, then try the password route through Sign-in options. Microsoft's help page does not document this loop, so I cannot give an official fix for it.
- You want to stop using a PIN: that is a different task. The article on setting or removing a lock screen password in Windows covers the account sign-in side.
Avoid online advice that tells you to rename system files or edit folder permissions to get around a PIN. Microsoft does not document those methods, and they can leave the PC unable to start or sign in.
Frequently asked questions
- How do I change my PIN if I remember the current one?
- Open Settings, go to Accounts, then Sign-in options, select PIN (Windows Hello), then Change PIN. Enter the current PIN, then create the new one. The change applies to that device only.
- Why is there no I forgot my PIN link on my PC?
- Microsoft says the I forgot my PIN option is available only for Microsoft accounts, not local accounts. On a local account, sign in with your password, then change or remove the PIN in Settings under Accounts and Sign-in options.
- Will changing my PIN on one PC change it on my other PCs?
- No. Microsoft states that your PIN is separate from your Microsoft account password and that different devices can have different PINs. Changing it on one device does not touch the others.
- Can a Windows PIN contain letters?
- Yes. The PIN is numeric by default, and Microsoft says you can enable letters and symbols as well. Microsoft's help page does not state a minimum or maximum length, and a work or school policy can add its own rules.
- Does resetting my PIN delete my files?
- Microsoft's help page describes the reset as verifying your account and creating a new PIN. It does not describe any file deletion as part of that process.