FixSign-in and accounts
Forgot your Windows PIN? Reset it from the sign-in screen
- Applies to
- Windows 11 and Windows 10
- Difficulty
- Easy
- Time
- About 15 min
- Risk
- Changes settings
- Reviewed
Quick answer
On the sign-in screen, select I forgot my PIN below the PIN box and confirm it's you with your Microsoft account. On a local account, sign in with your password instead, then set a new PIN in Settings.
Your Windows PIN only works on this one PC, and it's separate from your account password. That's good news: forgetting the PIN doesn't lock you out of your account, and you can usually set a new one in a few minutes.
Fix 1Rule out the small things
A PIN that "suddenly" stops working is often being typed differently, not forgotten. These checks take seconds.
- If you type the PIN on a number pad, make sure Num Lock is on.
- Check the keyboard language shown near the bottom right of the sign-in screen. A different layout can move letters and symbols.
- If more than one person uses the PC, check the account name in the bottom-left corner and select yours.
- Remember whether you set the PIN up with letters and symbols. Some people forget that theirs isn't numbers only.
Fixed? You can stop here. Still happening: go to Fix 2
Fix 2Select "I forgot my PIN" on the sign-in screen
If you sign in to Windows with a Microsoft account (an email address such as Outlook.com, Hotmail or Gmail), Windows can confirm it's you through that account and let you create a new PIN. The PC needs an internet connection for this.
- If the PC isn't online, select the network icon at the bottom right of the sign-in screen and connect to Wi-Fi.
- Select I forgot my PIN below the PIN box.
- Follow the prompts to prove it's you. Windows usually asks for your Microsoft account password and then sends a security code to your recovery email or phone.
- Confirm that you want to reset the PIN, then type a new PIN twice and select OK.
A good result is Windows signing you straight in with the new PIN. If you don't know your Microsoft account password either, reset it first from your phone or another computer. Our page on Microsoft account sign-in problems walks through that.
Fixed? You can stop here. Still happening: go to Fix 3
Fix 3Sign in with your password instead
The PIN is only one way to sign in. Your account password still works, and it's the only way back in for a local account (one that isn't linked to an email address), because the "I forgot my PIN" option only appears for Microsoft accounts.
- Select Sign-in options below the PIN box.
- Select the key icon to switch to password sign-in.
- Type your password and press Enter, then set a new PIN using the next fix.
Fixed? You can stop here. Still happening: go to Fix 4
Fix 4Set a new PIN in Settings
Once you're signed in by any method, Settings can replace the forgotten PIN. You'll need your account password or a security code, but not the old PIN.
On Windows 11
- Open Settings then
Accounts then .Sign-in options - Select PIN (Windows Hello) to expand it.
- Select I forgot my PIN, then Continue, and confirm it's you.
- Type a new PIN twice and select OK.
On Windows 10
- Open Settings then
Accounts then .Sign-in options - Select Windows Hello PIN.
- Select I forgot my PIN, then Continue, and confirm it's you.
- Type a new PIN twice and select OK.
If you remember the old PIN and just want a new one, use Change PIN in the same place.
Fixed? You can stop here. Still happening: go to Fix 5
Fix 5Fix "Your PIN isn't available"
Windows keeps your PIN tied to a security chip in the PC. After some updates, firmware changes or repairs, that link breaks, and Windows shows Something happened and your PIN isn't available. The PIN itself isn't wrong; it just needs setting up again.
- On that screen, select the link to set up your PIN again.
- Sign in with your Microsoft account password when asked, and confirm it's you.
- Create a new PIN.
If the link loops back to the same message, sign in with your password (using Sign-in options), then in Settings then
Fixed? You can stop here. Still happening: go to Fix 6
Fix 6Reset a forgotten local account password
If you use a local account and have forgotten both the PIN and the password, Windows can still let you back in if you set up security questions, or if someone else has an administrator account on the same PC.
- Type any password and press Enter. When Windows says it's incorrect, select OK.
- If a Reset password link appears, select it, answer your security questions, and choose a new password.
- If not, ask whoever has another administrator account on the PC to sign in and open Control Panel > User Accounts > User Accounts > Manage another account, select your account, then Change the password.
Fixed? You can stop here. Still happening: what to do next
If you can't get in any other way
When none of these work, the remaining option is reinstalling Windows with Reset this PC, which you can start from the sign-in screen.
If none of these worked
Stop here rather than trying riskier changes. These are the right places to go next:
- Microsoft SupportOfficial help for Windows, including the Get Help app built into Windows.
- Your PC maker's support siteFor hardware faults, drivers and warranty repairs. Find your model in Settings then
System then , then type the maker's web address yourself.About - A local repair shop you can visitFor hardware faults such as a failing drive, screen or battery.
Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam
Sources and review
Checked against Microsoft's own documentation:
- Microsoft Support: Change or reset your PIN in Windows
- Microsoft Support: Reset a forgotten Microsoft account password
Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.