Forgot Your Windows Password or PIN? How to Get In

Locked out of your Windows 11 or Windows 10 PC? The fix depends on whether you forgot a PIN or a password, and what kind of account you use.

Short answer

If you forgot your PIN, select "I forgot my PIN" on the sign-in screen and follow the prompts. For a Microsoft account password, select "I forgot my password" or use Microsoft's Reset password page on any device to get a code. For a local account, answer your security questions or use a password reset disk. Resetting the PC is the last resort and may need your BitLocker key.

In this article 9 sections
  1. First, work out what you've forgotten
  2. Forgot your PIN
  3. Forgot your Microsoft account password
  4. Forgot your local account password
  5. Work or school account
  6. Last resort: reset the PC
  7. How to avoid getting locked out again
  8. When to get help
  9. Common questions
The Windows 11 lock screen showing the time and date
From the lock screen, Windows offers reset links for a forgotten password or PIN. Photo: Background: Benh LIEU SONG This screenshot: Microsoft / Wikimedia Commons, CC BY-SA 4.0

First, work out what you've forgotten

Windows can ask for two different things at the sign-in screen: a PIN (a short number set up with Windows Hello) or a password. It also matters which kind of account you use, because the fix is different for each.

  • Microsoft account: you sign in with an email address. The password is stored by Microsoft online, so you reset it on the web or from the sign-in screen.3,4
  • Local account: the account exists only on that PC. You reset it on the PC itself using security questions, a password reset disk or another administrator account.1
  • Work or school account: your organisation's IT administrator decides whether you can reset it yourself.6

If you're not sure, look at the sign-in screen: an email address under your name usually means a Microsoft account.

Forgot your PIN

A forgotten PIN is the easiest problem to fix, and it works the same way on Windows 11 and Windows 10.2

  1. On the sign-in screen, check you've selected the right account and that you're typing the right digits.2

  2. Select I forgot my PIN, under the PIN box.2

  3. Follow the prompts to confirm your identity and set a new PIN.2

The "I forgot my PIN" link only appears for Microsoft accounts. If you use a local account, select Sign-in options, choose the password option and sign in with your password instead. You can then set a new PIN in Settings > Accounts > Sign-in options > PIN (Windows Hello) > Change PIN.2

Forgot your Microsoft account password

Because the password belongs to your Microsoft account, you can reset it on the PC or on any other device with a web browser.3

  1. On the Windows sign-in screen, select I forgot my password. If you don't see it, Microsoft also lists Sign-in options > Web sign-in > Forgot my password.3 On another device, open Microsoft's Reset password page.4

  2. Enter the email address, phone number or Skype name you use for the account and select Next.4

  3. Choose where to get a security code, such as your backup email or phone number, and type the hidden part to confirm it. Select Get code.4

  4. Enter the code, select Next, then create a new password.4

  5. Sign in to Windows with the new password.3

If you can't reach the email address or phone number on the account, Microsoft points you to its Sign-in helper and then to its account recovery form.4,5 The form asks questions that only the real owner should be able to answer. Microsoft suggests filling it in on a device and in a place you've used before, and giving an email address you can check, such as a friend's or a new free one. You should hear back within 24 hours, and you can submit it up to twice a day.5

Nobody can reset it for you

Microsoft says its support agents cannot send password reset links or get around a forgotten password.3,5 Anyone who phones or messages offering to "unlock" your Microsoft account is a scammer. If two-step verification is on and you have no backup method, Microsoft says it cannot help you recover the account.5

Forgot your local account password

For an account that only exists on the PC, Windows offers a few routes.1

  1. Type any password and select the arrow to submit it. When Windows says it's incorrect, select OK.1

  2. Select Reset password and answer the security questions you set up when you created the account.1

  3. If you made a password reset disk (a USB stick) earlier, choose Use a password reset disk instead and follow the Password Reset Wizard.1,9

  4. Create a new password and sign in.1

If someone else on the PC has an administrator account, they can set a new password for you. Microsoft's route is Computer Management > Local Users and Groups > Users, then right-click your user name and choose Set Password.1

If none of this works and there's no other administrator account, Microsoft's advice is to reset the PC.1 That's a last resort, explained below.

Work or school account

Self-service reset only works if your organisation has switched it on and you registered security info, such as a phone number, beforehand. On the sign-in page, choose Can't access your account? and follow the steps. If you see "Contact your administrator", your IT team will need to reset it for you.6

Last resort: reset the PC

If you can't get back in any other way, you can reinstall Windows. From the sign-in screen you can reach the recovery environment, then choose Troubleshoot > Reset this PC.7

  • Keep my files reinstalls Windows and removes apps and settings, but keeps your personal files.7
  • Remove everything also deletes your personal files.7

You can choose Cloud download or Local reinstall to get Windows. The screen can stay black for more than 15 minutes during the reset, so don't turn the PC off.7 Our guide to factory resetting a Windows PC or Mac covers the process in more detail.

You may need your BitLocker key

If your PC's drive is encrypted, you need the BitLocker recovery key to reset it from the recovery environment.7 The 48-digit key is often saved to the Microsoft account that set up the PC. Without it, Microsoft cannot recover the key, and resetting removes all your files.8 See our guide on how to find your BitLocker recovery key.

How to avoid getting locked out again

Once you're back in, add a backup email address and phone number to your Microsoft account so a reset code can always reach you.4 For a local account, it's worth making a password reset disk on a USB stick.9 A password manager can also remember long passwords for you, and our guide on how to create a strong password has tips for ones you'll remember.

When to get help

If the recovery form fails more than once, or you think someone else changed your password, treat it as a possible hacked account and follow our guide on what to do if your account is hacked. For a work laptop, contact your IT team before trying anything else, as resetting a managed PC can break access to work systems.6 A local repair shop can help with a home PC, but don't hand over your passwords.

Common questions

Is my PIN the same as my password?

No. They are separate, and Windows lets you reset each one on its own. If you've forgotten the PIN but know the password, choose the password option under Sign-in options, sign in, then set a new PIN in Settings.2

Can I reset my Microsoft password from my phone?

Yes. Because a Microsoft account password is stored online, you can reset it from Microsoft's Reset password page on any device with a browser, then use the new password on your PC.3,4

Sources and further reading

  1. Change or reset your local account password in Windows — Microsoft Support2026-09-28
  2. Change or reset your PIN in Windows — Microsoft Support2026-11-26
  3. Change or reset your Microsoft account password in Windows — Microsoft Support2026-04-15
  4. Reset a forgotten Microsoft account password — Microsoft Support2026-11-30
  5. Help with the Microsoft account recovery form — Microsoft Support2026-11-26
  6. Reset your Microsoft work or school account password using security info — Microsoft Support2026-11-26
  7. Reset your PC — Microsoft Support2026-03-11
  8. Find your BitLocker recovery key — Microsoft Support2026-03-16
  9. How to recover lost Windows passwords — TechRadar2022-09-28

Was this article helpful?

Tell us where you got stuck

Didn’t work? Tell us which step went wrong. We read every note and use them to fix and improve this guide.

Private. This goes only to the ByteExplained editors with the guide’s title. It isn’t published on the site.

Please don’t include passwords, QR or activation codes, or identifiers such as your phone number, EID or IMEI.

Comments

No comments yet. Questions and tips from readers are welcome.