The fastest way depends on what you're locked out of
Password reset steps differ depending on whether you're locked out of your computer itself, a website account, or an app. For your computer's main login, you'll use your operating system's built-in recovery tools. For websites and apps, you'll use the "Forgot Password" link on the login page. The method also depends on whether you set up a recovery email, phone number, or security questions when you created the account — so the first thing to check is what backup information you have on file.
If you're locked out of your Windows computer, you can reset your password from the login screen without needing to remember the old one. If you're on a Mac, the process is similar but uses Apple's recovery tools. For any website or app, the reset link or code goes to the email address or phone number you registered with, so you'll need access to that account to proceed.
Key Takeaways
- Windows computers let you reset your password directly from the login screen using a recovery email or phone number you set up beforehand.
- Mac computers require you to restart in Recovery Mode and use your Apple ID or a recovery key to reset your login password.
- Website and app passwords reset through the "Forgot Password" link, which sends a code or reset link to your registered email or phone.
- If you don't have access to your recovery email or phone, you may need to contact the website's support team or use a backup recovery code you saved earlier.
- Setting up a recovery email, phone number, and backup codes now prevents being locked out later.
Resetting a Windows password from the login screen
On the Windows login screen, click "I forgot my password" below the password field. Windows will ask you security questions or send a code to your recovery email or phone number — whichever method you set up when you created your account. If you chose email recovery, check your inbox for a message from Microsoft and follow the link inside it.
If you set up phone recovery, you'll receive a text or call with a code. Enter that code on the Windows login screen, then create a new password. Make sure your new password is at least eight characters long and includes uppercase letters, lowercase letters, numbers, and symbols — this makes it harder to guess. Once you've entered your new password twice to confirm it, you can log in to your computer.
If you don't remember setting up recovery information and you can't see those options on the login screen, you may have created a local account instead of a Microsoft account. In that case, you'll need to restart your computer in Safe Mode or use a password reset disk if you created one earlier. Contact Microsoft Support if you're unsure which type of account you have.
Resetting a Mac password using Recovery Mode
Restart your Mac and hold down Command + R as it starts up. Keep holding until you see the Apple logo or a spinning globe. This boots your computer into Recovery Mode, where you can reset your password without knowing the old one. Once Recovery Mode loads, click "Utilities" in the menu bar, then select "Reset Password."
Choose your user account from the dropdown menu. If you have an Apple ID linked to your Mac, you can reset your password using that Apple ID — you'll need to enter the email address and password for your Apple ID account. If you don't have an Apple ID linked, you can use a recovery key if you saved one when you first set up your Mac. After you've verified your identity, create a new password and click "Save."
If you don't have an Apple ID or recovery key available, you'll need to contact Apple Support or take your Mac to an Apple Store. Restart your computer normally after resetting your password, and you should be able to log in with the new one.
Resetting a password on a website or app
On the login page, click the "Forgot Password" or "Forgot Username" link. Enter the email address or username associated with your account. The website will send a password reset link or code to the email address on file — check your inbox and also your spam or junk folder in case the email was filtered there.
Click the reset link in the email, or copy the code and paste it into the app or website where it asks for it. You'll then be prompted to create a new password. Enter your new password twice to confirm it matches, then submit. You should be able to log in when ready with your new password.
Some websites send a temporary password instead of a reset link. If that happens, log in with the temporary password, then go to your account settings or security page to create a permanent one. Always change a temporary password as soon as you log in — don't leave it as your permanent password.
What to do if you can't access your recovery email or phone
If the recovery email or phone number on file is no longer active, you have a few options. First, check whether you saved a backup recovery code when you set up two-factor authentication or account recovery. These codes are usually printed or downloaded as a list and kept in a safe place — check your files, email, or password manager to see if you have one.
If you have a backup code, use it instead of the recovery email or phone. Enter the code on the password reset screen, and you'll be able to create a new password. If you don't have a backup code and can't access your recovery email or phone, contact the website's or app's support team. They can verify your identity using other information — such as your account creation date, billing address, or answers to security questions — and help you regain access.
For your computer, if you can't access your recovery email or phone and you don't have a recovery key, you may need to reinstall your operating system. This erases everything on your computer, so it's a last resort. Before you do that, try contacting Microsoft (for Windows) or Apple (for Mac) support to see if there are other recovery options available to you.
Setting up recovery information to prevent lockouts
The best time to set up password recovery is right after you create an account, before you ever need it. On most websites and apps, go to your account settings or security page and look for "Recovery Options," "Security," or "Account Recovery." Add a recovery email address (ideally one you check regularly), a phone number, and security questions with answers only you would know.
For your computer, make sure you've linked a Microsoft account (Windows) or Apple ID (Mac) to your login. You can check this in your account settings. If you use a local account on Windows, create a password reset disk by going to Settings > Accounts > Sign-in Options > Password > Create a Password Reset Disk. Store this disk somewhere safe.
If your website or app offers backup recovery codes, read or print them and store them in a find location — not on your computer or in an email account that uses the same password. A physical copy in a safe, a password manager, or a find cloud storage account all work well. These codes let you regain access even if your recovery email or phone is compromised.
Frequently Asked Questions
How long does it take to reset a password?
Most password resets happen when ready once you've verified your identity through email or phone. Website resets usually take seconds to a few minutes. Computer resets through Recovery Mode take a few minutes to complete. If you're waiting for an email with a reset code, check your spam folder — it sometimes takes a few minutes to arrive.
Can I reset my password if I don't remember my security questions?
Yes. If you can't remember your security question answers, use your recovery email or phone instead. Most systems let you choose which recovery method to use. If none of your recovery methods work, contact the website's support team and they can verify your identity another way.
What if I reset my password but still can't log in?
Make sure you're typing your new password correctly — passwords are case-sensitive, meaning uppercase and lowercase letters are different. If you're still locked out after trying several times, wait a few minutes before trying again; some systems temporarily block login attempts after multiple failures. If the problem continues, contact support for that website, app, or device.
Is it safe to use the same password on multiple websites?
No. If one website is hacked and your password is stolen, someone could use that same password to access your other accounts. Use a unique password for each important account — especially email, banking, and social media. A password manager like Bitwarden, 1Password, or Dashlane can generate and store unique passwords for you.
Should I write down my passwords?
Writing passwords on paper or in a document on your computer is risky because anyone with physical access can find them. A password manager is safer because it encrypts your passwords and protects them with one strong master password. If you do write passwords down, keep the list in a locked drawer or safe, not on your desk or in a file on your computer.