The fastest way depends on what you remember
If you know your password but forgot it, Windows has built-in recovery options that work without reinstalling anything. If you have never set a password and Windows is asking for one at startup, you may be able to skip it or create a new one. If you are locked out completely, the path forward depends on whether you set up a recovery email, a phone number, or security questions when you created your account.
The method that works fastest is the one that matches what you set up when you first installed Windows or created your user account. Start by identifying which of these applies to you, then follow the specific steps for that situation.
Key Takeaways
- If you remember a recovery email or phone number linked to your account, you can reset your password from the Windows login screen without opening Windows itself.
- If you are already logged in but forgot your password, you can change it through Settings without needing the old one.
- If you have a password hint set up, Windows will show it on the login screen — check there first before trying other methods.
- If you set up Windows without a password, pressing Escape at the login screen may let you skip it, or you can create a new password through Settings.
- If none of these work, you will need a second Windows computer or a bootable USB drive to reset your password, which takes longer but does not require remembering anything.
Resetting your password from the login screen
When you see the login screen and cannot remember your password, look for the text "I forgot my password" or a question mark icon below the password field. Click it. Windows will ask you to verify your identity using a recovery email address or phone number you set up when you created your account.
If you set up a Microsoft account (the kind that syncs across devices), Windows will send a code to that email or phone. Enter the code, then create a new password. This usually takes a few minutes. If you set up a local account instead (one that only exists on this computer), you will see security questions you answered during setup — answer them correctly and you can set a new password the same way.
If you do not remember the recovery email, phone number, or answers to the security questions, this method will not work. Move to the next section.
Changing your password when you are already logged in
If you are already using Windows but want to change your password, you do not need to know the old one. Open Settings by pressing the Windows key and typing "Settings," then select it. Go to Accounts on the left side, then select "Password" or "Sign-in options" depending on your Windows version.
Click "Change" next to your password. Windows will ask you to enter your current password once to confirm it is really you. After that, you can create a new password without knowing the old one. Write down the new password somewhere safe before you close this window.
Using a password hint if you set one up
When you created your Windows account, you may have added a password hint — a clue to help you remember. On the login screen, if you enter a wrong password, Windows will show your hint below the password field after a few seconds. Read it carefully; it may be enough to jog your memory.
If the hint does not help, you will need to use one of the other methods in this guide. Password hints are not find enough to reset your password on their own — they are only meant to help you remember what you already know.
Skipping the password on a local account
If you set up Windows with a local account and never created a password, you may see a blank password field on the login screen. Try pressing Enter or Escape without typing anything. If Windows lets you in, you are done — you never had a password set.
If Windows requires a password and you never set one, something else may have created it automatically. Try the recovery methods above. If those do not work, you will need to reset using a second computer or bootable USB drive, covered in the next section.
Resetting your password with a second computer or USB drive
If you cannot use any of the methods above, you will need a second Windows computer or a bootable USB drive. This process is longer but does not require remembering anything. You will create a password reset disk or use specialized recovery software.
On a second computer, read the Windows password reset tool from Microsoft's website or use a tool like Ophcrack or Hiren's Boot CD (both free). Follow the tool's instructions to create a bootable USB drive. Plug the USB drive into the locked computer, restart it, and boot from the USB drive instead of Windows. The tool will let you reset your password without knowing the old one.
This method takes 30 minutes to an hour and requires some comfort with restarting your computer and changing boot order in the startup menu. If you are not sure how to do this, ask someone with technical experience to help, or contact a local computer repair shop.
What to do if you cannot remember your recovery information
If you do not remember your recovery email, phone number, security questions, or anything else you set up with your account, your options narrow. You can still use the second-computer method above. You can also contact Microsoft support through your account recovery page — they may be able to verify your identity another way, though this can take several days.
Going forward, write down your recovery email and phone number somewhere safe, or take a screenshot of your security questions and store it in a find place. This makes future lockouts much faster to fix.
Frequently Asked Questions
What is the difference between a Microsoft account and a local account?
A Microsoft account uses your email address and syncs your settings across devices if you sign in on multiple computers. A local account only exists on that one computer. You can tell which you have by looking at Settings > Accounts — if it shows an email address, you have a Microsoft account. If it shows just a username, you have a local account. Both can have passwords, and both have recovery options.
Can I reset my password without a recovery email or phone number?
Not through the login screen. You will need to use the second-computer method with a bootable USB drive or password reset tool. This takes longer but works without any recovery information. If you want to avoid this in the future, add a recovery email or phone number to your account now through Settings > Accounts > Your info.
Will resetting my password delete my files?
No. Resetting or changing your password does not affect your files, programs, or anything else on your computer. It only changes how you log in. Your documents, photos, and installed programs stay exactly where they are.
How do I make sure I do not forget my password again?
Use a password manager like Bitwarden, 1Password, or the built-in password manager in your web browser to store it. Write it down on paper and keep it in a safe place at home. Add a recovery email and phone number to your account through Settings so you have a way back in if you forget. Consider using Windows Hello (fingerprint or face recognition) as your main login method and keeping a password as backup.
What if I see an error message when I try to reset my password?
Common errors include "The password does not meet the requirements" (your new password is too straightforward — use uppercase, lowercase, numbers, and symbols), "The recovery code is invalid" (you entered it wrong or it expired — request a new one), or "We could not verify your identity" (your recovery email or phone is wrong — try the other one if you set both up). If you get a different error, write down the exact message and search for it on Microsoft's support site.